protobuf-platform 1.2.103 → 1.2.104

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,2368 @@ 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
+ };
17332
+
17333
+ if (includeInstance) {
17334
+ obj.$jspbMessageInstance = msg;
17335
+ }
17336
+ return obj;
17337
+ };
17338
+ }
17339
+
17340
+
17341
+ /**
17342
+ * Deserializes binary data (in protobuf wire format).
17343
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17344
+ * @return {!proto.cms.FooterPartnersMediaItem}
17345
+ */
17346
+ proto.cms.FooterPartnersMediaItem.deserializeBinary = function(bytes) {
17347
+ var reader = new jspb.BinaryReader(bytes);
17348
+ var msg = new proto.cms.FooterPartnersMediaItem;
17349
+ return proto.cms.FooterPartnersMediaItem.deserializeBinaryFromReader(msg, reader);
17350
+ };
17351
+
17352
+
17353
+ /**
17354
+ * Deserializes binary data (in protobuf wire format) from the
17355
+ * given reader into the given message object.
17356
+ * @param {!proto.cms.FooterPartnersMediaItem} msg The message object to deserialize into.
17357
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17358
+ * @return {!proto.cms.FooterPartnersMediaItem}
17359
+ */
17360
+ proto.cms.FooterPartnersMediaItem.deserializeBinaryFromReader = function(msg, reader) {
17361
+ while (reader.nextField()) {
17362
+ if (reader.isEndGroup()) {
17363
+ break;
17364
+ }
17365
+ var field = reader.getFieldNumber();
17366
+ switch (field) {
17367
+ case 1:
17368
+ var value = /** @type {string} */ (reader.readString());
17369
+ msg.setHref(value);
17370
+ break;
17371
+ case 2:
17372
+ var value = /** @type {number} */ (reader.readInt32());
17373
+ msg.setPriority(value);
17374
+ break;
17375
+ case 3:
17376
+ var value = /** @type {string} */ (reader.readString());
17377
+ msg.setAlt(value);
17378
+ break;
17379
+ case 4:
17380
+ var value = /** @type {string} */ (reader.readString());
17381
+ msg.setImageCdn(value);
17382
+ break;
17383
+ default:
17384
+ reader.skipField();
17385
+ break;
17386
+ }
17387
+ }
17388
+ return msg;
17389
+ };
17390
+
17391
+
17392
+ /**
17393
+ * Serializes the message to binary data (in protobuf wire format).
17394
+ * @return {!Uint8Array}
17395
+ */
17396
+ proto.cms.FooterPartnersMediaItem.prototype.serializeBinary = function() {
17397
+ var writer = new jspb.BinaryWriter();
17398
+ proto.cms.FooterPartnersMediaItem.serializeBinaryToWriter(this, writer);
17399
+ return writer.getResultBuffer();
17400
+ };
17401
+
17402
+
17403
+ /**
17404
+ * Serializes the given message to binary data (in protobuf wire
17405
+ * format), writing to the given BinaryWriter.
17406
+ * @param {!proto.cms.FooterPartnersMediaItem} message
17407
+ * @param {!jspb.BinaryWriter} writer
17408
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17409
+ */
17410
+ proto.cms.FooterPartnersMediaItem.serializeBinaryToWriter = function(message, writer) {
17411
+ var f = undefined;
17412
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
17413
+ if (f != null) {
17414
+ writer.writeString(
17415
+ 1,
17416
+ f
17417
+ );
17418
+ }
17419
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
17420
+ if (f != null) {
17421
+ writer.writeInt32(
17422
+ 2,
17423
+ f
17424
+ );
17425
+ }
17426
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
17427
+ if (f != null) {
17428
+ writer.writeString(
17429
+ 3,
17430
+ f
17431
+ );
17432
+ }
17433
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
17434
+ if (f != null) {
17435
+ writer.writeString(
17436
+ 4,
17437
+ f
17438
+ );
17439
+ }
17440
+ };
17441
+
17442
+
17443
+ /**
17444
+ * optional string href = 1;
17445
+ * @return {string}
17446
+ */
17447
+ proto.cms.FooterPartnersMediaItem.prototype.getHref = function() {
17448
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
17449
+ };
17450
+
17451
+
17452
+ /**
17453
+ * @param {string} value
17454
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17455
+ */
17456
+ proto.cms.FooterPartnersMediaItem.prototype.setHref = function(value) {
17457
+ return jspb.Message.setField(this, 1, value);
17458
+ };
17459
+
17460
+
17461
+ /**
17462
+ * Clears the field making it undefined.
17463
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17464
+ */
17465
+ proto.cms.FooterPartnersMediaItem.prototype.clearHref = function() {
17466
+ return jspb.Message.setField(this, 1, undefined);
17467
+ };
17468
+
17469
+
17470
+ /**
17471
+ * Returns whether this field is set.
17472
+ * @return {boolean}
17473
+ */
17474
+ proto.cms.FooterPartnersMediaItem.prototype.hasHref = function() {
17475
+ return jspb.Message.getField(this, 1) != null;
17476
+ };
17477
+
17478
+
17479
+ /**
17480
+ * optional int32 priority = 2;
17481
+ * @return {number}
17482
+ */
17483
+ proto.cms.FooterPartnersMediaItem.prototype.getPriority = function() {
17484
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
17485
+ };
17486
+
17487
+
17488
+ /**
17489
+ * @param {number} value
17490
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17491
+ */
17492
+ proto.cms.FooterPartnersMediaItem.prototype.setPriority = function(value) {
17493
+ return jspb.Message.setField(this, 2, value);
17494
+ };
17495
+
17496
+
17497
+ /**
17498
+ * Clears the field making it undefined.
17499
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17500
+ */
17501
+ proto.cms.FooterPartnersMediaItem.prototype.clearPriority = function() {
17502
+ return jspb.Message.setField(this, 2, undefined);
17503
+ };
17504
+
17505
+
17506
+ /**
17507
+ * Returns whether this field is set.
17508
+ * @return {boolean}
17509
+ */
17510
+ proto.cms.FooterPartnersMediaItem.prototype.hasPriority = function() {
17511
+ return jspb.Message.getField(this, 2) != null;
17512
+ };
17513
+
17514
+
17515
+ /**
17516
+ * optional string alt = 3;
17517
+ * @return {string}
17518
+ */
17519
+ proto.cms.FooterPartnersMediaItem.prototype.getAlt = function() {
17520
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
17521
+ };
17522
+
17523
+
17524
+ /**
17525
+ * @param {string} value
17526
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17527
+ */
17528
+ proto.cms.FooterPartnersMediaItem.prototype.setAlt = function(value) {
17529
+ return jspb.Message.setField(this, 3, value);
17530
+ };
17531
+
17532
+
17533
+ /**
17534
+ * Clears the field making it undefined.
17535
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17536
+ */
17537
+ proto.cms.FooterPartnersMediaItem.prototype.clearAlt = function() {
17538
+ return jspb.Message.setField(this, 3, undefined);
17539
+ };
17540
+
17541
+
17542
+ /**
17543
+ * Returns whether this field is set.
17544
+ * @return {boolean}
17545
+ */
17546
+ proto.cms.FooterPartnersMediaItem.prototype.hasAlt = function() {
17547
+ return jspb.Message.getField(this, 3) != null;
17548
+ };
17549
+
17550
+
17551
+ /**
17552
+ * optional string image_cdn = 4;
17553
+ * @return {string}
17554
+ */
17555
+ proto.cms.FooterPartnersMediaItem.prototype.getImageCdn = function() {
17556
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
17557
+ };
17558
+
17559
+
17560
+ /**
17561
+ * @param {string} value
17562
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17563
+ */
17564
+ proto.cms.FooterPartnersMediaItem.prototype.setImageCdn = function(value) {
17565
+ return jspb.Message.setField(this, 4, value);
17566
+ };
17567
+
17568
+
17569
+ /**
17570
+ * Clears the field making it undefined.
17571
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17572
+ */
17573
+ proto.cms.FooterPartnersMediaItem.prototype.clearImageCdn = function() {
17574
+ return jspb.Message.setField(this, 4, undefined);
17575
+ };
17576
+
17577
+
17578
+ /**
17579
+ * Returns whether this field is set.
17580
+ * @return {boolean}
17581
+ */
17582
+ proto.cms.FooterPartnersMediaItem.prototype.hasImageCdn = function() {
17583
+ return jspb.Message.getField(this, 4) != null;
17584
+ };
17585
+
17586
+
17587
+
17588
+ /**
17589
+ * List of repeated fields within this message type.
17590
+ * @private {!Array<number>}
17591
+ * @const
17592
+ */
17593
+ proto.cms.FooterPartnersItem.repeatedFields_ = [5];
17594
+
17595
+
17596
+
17597
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17598
+ /**
17599
+ * Creates an object representation of this proto.
17600
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17601
+ * Optional fields that are not set will be set to undefined.
17602
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17603
+ * For the list of reserved names please see:
17604
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17605
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17606
+ * JSPB instance for transitional soy proto support:
17607
+ * http://goto/soy-param-migration
17608
+ * @return {!Object}
17609
+ */
17610
+ proto.cms.FooterPartnersItem.prototype.toObject = function(opt_includeInstance) {
17611
+ return proto.cms.FooterPartnersItem.toObject(opt_includeInstance, this);
17612
+ };
17613
+
17614
+
17615
+ /**
17616
+ * Static version of the {@see toObject} method.
17617
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17618
+ * the JSPB instance for transitional soy proto support:
17619
+ * http://goto/soy-param-migration
17620
+ * @param {!proto.cms.FooterPartnersItem} msg The msg instance to transform.
17621
+ * @return {!Object}
17622
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17623
+ */
17624
+ proto.cms.FooterPartnersItem.toObject = function(includeInstance, msg) {
17625
+ var f, obj = {
17626
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
17627
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
17628
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
17629
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
17630
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
17631
+ proto.cms.FooterPartnersMediaItem.toObject, includeInstance)
17632
+ };
17633
+
17634
+ if (includeInstance) {
17635
+ obj.$jspbMessageInstance = msg;
17636
+ }
17637
+ return obj;
17638
+ };
17639
+ }
17640
+
17641
+
17642
+ /**
17643
+ * Deserializes binary data (in protobuf wire format).
17644
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17645
+ * @return {!proto.cms.FooterPartnersItem}
17646
+ */
17647
+ proto.cms.FooterPartnersItem.deserializeBinary = function(bytes) {
17648
+ var reader = new jspb.BinaryReader(bytes);
17649
+ var msg = new proto.cms.FooterPartnersItem;
17650
+ return proto.cms.FooterPartnersItem.deserializeBinaryFromReader(msg, reader);
17651
+ };
17652
+
17653
+
17654
+ /**
17655
+ * Deserializes binary data (in protobuf wire format) from the
17656
+ * given reader into the given message object.
17657
+ * @param {!proto.cms.FooterPartnersItem} msg The message object to deserialize into.
17658
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17659
+ * @return {!proto.cms.FooterPartnersItem}
17660
+ */
17661
+ proto.cms.FooterPartnersItem.deserializeBinaryFromReader = function(msg, reader) {
17662
+ while (reader.nextField()) {
17663
+ if (reader.isEndGroup()) {
17664
+ break;
17665
+ }
17666
+ var field = reader.getFieldNumber();
17667
+ switch (field) {
17668
+ case 1:
17669
+ var value = /** @type {number} */ (reader.readInt32());
17670
+ msg.setId(value);
17671
+ break;
17672
+ case 2:
17673
+ var value = /** @type {string} */ (reader.readString());
17674
+ msg.setGeo(value);
17675
+ break;
17676
+ case 3:
17677
+ var value = /** @type {string} */ (reader.readString());
17678
+ msg.setTitle(value);
17679
+ break;
17680
+ case 4:
17681
+ var value = /** @type {number} */ (reader.readInt32());
17682
+ msg.setIsActive(value);
17683
+ break;
17684
+ case 5:
17685
+ var value = new proto.cms.FooterPartnersMediaItem;
17686
+ reader.readMessage(value,proto.cms.FooterPartnersMediaItem.deserializeBinaryFromReader);
17687
+ msg.addItems(value);
17688
+ break;
17689
+ default:
17690
+ reader.skipField();
17691
+ break;
17692
+ }
17693
+ }
17694
+ return msg;
17695
+ };
17696
+
17697
+
17698
+ /**
17699
+ * Serializes the message to binary data (in protobuf wire format).
17700
+ * @return {!Uint8Array}
17701
+ */
17702
+ proto.cms.FooterPartnersItem.prototype.serializeBinary = function() {
17703
+ var writer = new jspb.BinaryWriter();
17704
+ proto.cms.FooterPartnersItem.serializeBinaryToWriter(this, writer);
17705
+ return writer.getResultBuffer();
17706
+ };
17707
+
17708
+
17709
+ /**
17710
+ * Serializes the given message to binary data (in protobuf wire
17711
+ * format), writing to the given BinaryWriter.
17712
+ * @param {!proto.cms.FooterPartnersItem} message
17713
+ * @param {!jspb.BinaryWriter} writer
17714
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17715
+ */
17716
+ proto.cms.FooterPartnersItem.serializeBinaryToWriter = function(message, writer) {
17717
+ var f = undefined;
17718
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
17719
+ if (f != null) {
17720
+ writer.writeInt32(
17721
+ 1,
17722
+ f
17723
+ );
17724
+ }
17725
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
17726
+ if (f != null) {
17727
+ writer.writeString(
17728
+ 2,
17729
+ f
17730
+ );
17731
+ }
17732
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
17733
+ if (f != null) {
17734
+ writer.writeString(
17735
+ 3,
17736
+ f
17737
+ );
17738
+ }
17739
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
17740
+ if (f != null) {
17741
+ writer.writeInt32(
17742
+ 4,
17743
+ f
17744
+ );
17745
+ }
17746
+ f = message.getItemsList();
17747
+ if (f.length > 0) {
17748
+ writer.writeRepeatedMessage(
17749
+ 5,
17750
+ f,
17751
+ proto.cms.FooterPartnersMediaItem.serializeBinaryToWriter
17752
+ );
17753
+ }
17754
+ };
17755
+
17756
+
17757
+ /**
17758
+ * optional int32 id = 1;
17759
+ * @return {number}
17760
+ */
17761
+ proto.cms.FooterPartnersItem.prototype.getId = function() {
17762
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
17763
+ };
17764
+
17765
+
17766
+ /**
17767
+ * @param {number} value
17768
+ * @return {!proto.cms.FooterPartnersItem} returns this
17769
+ */
17770
+ proto.cms.FooterPartnersItem.prototype.setId = function(value) {
17771
+ return jspb.Message.setField(this, 1, value);
17772
+ };
17773
+
17774
+
17775
+ /**
17776
+ * Clears the field making it undefined.
17777
+ * @return {!proto.cms.FooterPartnersItem} returns this
17778
+ */
17779
+ proto.cms.FooterPartnersItem.prototype.clearId = function() {
17780
+ return jspb.Message.setField(this, 1, undefined);
17781
+ };
17782
+
17783
+
17784
+ /**
17785
+ * Returns whether this field is set.
17786
+ * @return {boolean}
17787
+ */
17788
+ proto.cms.FooterPartnersItem.prototype.hasId = function() {
17789
+ return jspb.Message.getField(this, 1) != null;
17790
+ };
17791
+
17792
+
17793
+ /**
17794
+ * optional string geo = 2;
17795
+ * @return {string}
17796
+ */
17797
+ proto.cms.FooterPartnersItem.prototype.getGeo = function() {
17798
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
17799
+ };
17800
+
17801
+
17802
+ /**
17803
+ * @param {string} value
17804
+ * @return {!proto.cms.FooterPartnersItem} returns this
17805
+ */
17806
+ proto.cms.FooterPartnersItem.prototype.setGeo = function(value) {
17807
+ return jspb.Message.setField(this, 2, value);
17808
+ };
17809
+
17810
+
17811
+ /**
17812
+ * Clears the field making it undefined.
17813
+ * @return {!proto.cms.FooterPartnersItem} returns this
17814
+ */
17815
+ proto.cms.FooterPartnersItem.prototype.clearGeo = function() {
17816
+ return jspb.Message.setField(this, 2, undefined);
17817
+ };
17818
+
17819
+
17820
+ /**
17821
+ * Returns whether this field is set.
17822
+ * @return {boolean}
17823
+ */
17824
+ proto.cms.FooterPartnersItem.prototype.hasGeo = function() {
17825
+ return jspb.Message.getField(this, 2) != null;
17826
+ };
17827
+
17828
+
17829
+ /**
17830
+ * optional string title = 3;
17831
+ * @return {string}
17832
+ */
17833
+ proto.cms.FooterPartnersItem.prototype.getTitle = function() {
17834
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
17835
+ };
17836
+
17837
+
17838
+ /**
17839
+ * @param {string} value
17840
+ * @return {!proto.cms.FooterPartnersItem} returns this
17841
+ */
17842
+ proto.cms.FooterPartnersItem.prototype.setTitle = function(value) {
17843
+ return jspb.Message.setField(this, 3, value);
17844
+ };
17845
+
17846
+
17847
+ /**
17848
+ * Clears the field making it undefined.
17849
+ * @return {!proto.cms.FooterPartnersItem} returns this
17850
+ */
17851
+ proto.cms.FooterPartnersItem.prototype.clearTitle = function() {
17852
+ return jspb.Message.setField(this, 3, undefined);
17853
+ };
17854
+
17855
+
17856
+ /**
17857
+ * Returns whether this field is set.
17858
+ * @return {boolean}
17859
+ */
17860
+ proto.cms.FooterPartnersItem.prototype.hasTitle = function() {
17861
+ return jspb.Message.getField(this, 3) != null;
17862
+ };
17863
+
17864
+
17865
+ /**
17866
+ * optional int32 is_active = 4;
17867
+ * @return {number}
17868
+ */
17869
+ proto.cms.FooterPartnersItem.prototype.getIsActive = function() {
17870
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
17871
+ };
17872
+
17873
+
17874
+ /**
17875
+ * @param {number} value
17876
+ * @return {!proto.cms.FooterPartnersItem} returns this
17877
+ */
17878
+ proto.cms.FooterPartnersItem.prototype.setIsActive = function(value) {
17879
+ return jspb.Message.setField(this, 4, value);
17880
+ };
17881
+
17882
+
17883
+ /**
17884
+ * Clears the field making it undefined.
17885
+ * @return {!proto.cms.FooterPartnersItem} returns this
17886
+ */
17887
+ proto.cms.FooterPartnersItem.prototype.clearIsActive = function() {
17888
+ return jspb.Message.setField(this, 4, undefined);
17889
+ };
17890
+
17891
+
17892
+ /**
17893
+ * Returns whether this field is set.
17894
+ * @return {boolean}
17895
+ */
17896
+ proto.cms.FooterPartnersItem.prototype.hasIsActive = function() {
17897
+ return jspb.Message.getField(this, 4) != null;
17898
+ };
17899
+
17900
+
17901
+ /**
17902
+ * repeated FooterPartnersMediaItem items = 5;
17903
+ * @return {!Array<!proto.cms.FooterPartnersMediaItem>}
17904
+ */
17905
+ proto.cms.FooterPartnersItem.prototype.getItemsList = function() {
17906
+ return /** @type{!Array<!proto.cms.FooterPartnersMediaItem>} */ (
17907
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterPartnersMediaItem, 5));
17908
+ };
17909
+
17910
+
17911
+ /**
17912
+ * @param {!Array<!proto.cms.FooterPartnersMediaItem>} value
17913
+ * @return {!proto.cms.FooterPartnersItem} returns this
17914
+ */
17915
+ proto.cms.FooterPartnersItem.prototype.setItemsList = function(value) {
17916
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
17917
+ };
17918
+
17919
+
17920
+ /**
17921
+ * @param {!proto.cms.FooterPartnersMediaItem=} opt_value
17922
+ * @param {number=} opt_index
17923
+ * @return {!proto.cms.FooterPartnersMediaItem}
17924
+ */
17925
+ proto.cms.FooterPartnersItem.prototype.addItems = function(opt_value, opt_index) {
17926
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.cms.FooterPartnersMediaItem, opt_index);
17927
+ };
17928
+
17929
+
17930
+ /**
17931
+ * Clears the list making it empty but non-null.
17932
+ * @return {!proto.cms.FooterPartnersItem} returns this
17933
+ */
17934
+ proto.cms.FooterPartnersItem.prototype.clearItemsList = function() {
17935
+ return this.setItemsList([]);
17936
+ };
17937
+
17938
+
17939
+
17940
+
17941
+
17942
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17943
+ /**
17944
+ * Creates an object representation of this proto.
17945
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17946
+ * Optional fields that are not set will be set to undefined.
17947
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17948
+ * For the list of reserved names please see:
17949
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17950
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17951
+ * JSPB instance for transitional soy proto support:
17952
+ * http://goto/soy-param-migration
17953
+ * @return {!Object}
17954
+ */
17955
+ proto.cms.FooterPartnersResponse.prototype.toObject = function(opt_includeInstance) {
17956
+ return proto.cms.FooterPartnersResponse.toObject(opt_includeInstance, this);
17957
+ };
17958
+
17959
+
17960
+ /**
17961
+ * Static version of the {@see toObject} method.
17962
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17963
+ * the JSPB instance for transitional soy proto support:
17964
+ * http://goto/soy-param-migration
17965
+ * @param {!proto.cms.FooterPartnersResponse} msg The msg instance to transform.
17966
+ * @return {!Object}
17967
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17968
+ */
17969
+ proto.cms.FooterPartnersResponse.toObject = function(includeInstance, msg) {
17970
+ var f, obj = {
17971
+ data: (f = msg.getData()) && proto.cms.FooterPartnersItem.toObject(includeInstance, f)
17972
+ };
17973
+
17974
+ if (includeInstance) {
17975
+ obj.$jspbMessageInstance = msg;
17976
+ }
17977
+ return obj;
17978
+ };
17979
+ }
17980
+
17981
+
17982
+ /**
17983
+ * Deserializes binary data (in protobuf wire format).
17984
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17985
+ * @return {!proto.cms.FooterPartnersResponse}
17986
+ */
17987
+ proto.cms.FooterPartnersResponse.deserializeBinary = function(bytes) {
17988
+ var reader = new jspb.BinaryReader(bytes);
17989
+ var msg = new proto.cms.FooterPartnersResponse;
17990
+ return proto.cms.FooterPartnersResponse.deserializeBinaryFromReader(msg, reader);
17991
+ };
17992
+
17993
+
17994
+ /**
17995
+ * Deserializes binary data (in protobuf wire format) from the
17996
+ * given reader into the given message object.
17997
+ * @param {!proto.cms.FooterPartnersResponse} msg The message object to deserialize into.
17998
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17999
+ * @return {!proto.cms.FooterPartnersResponse}
18000
+ */
18001
+ proto.cms.FooterPartnersResponse.deserializeBinaryFromReader = function(msg, reader) {
18002
+ while (reader.nextField()) {
18003
+ if (reader.isEndGroup()) {
18004
+ break;
18005
+ }
18006
+ var field = reader.getFieldNumber();
18007
+ switch (field) {
18008
+ case 1:
18009
+ var value = new proto.cms.FooterPartnersItem;
18010
+ reader.readMessage(value,proto.cms.FooterPartnersItem.deserializeBinaryFromReader);
18011
+ msg.setData(value);
18012
+ break;
18013
+ default:
18014
+ reader.skipField();
18015
+ break;
18016
+ }
18017
+ }
18018
+ return msg;
18019
+ };
18020
+
18021
+
18022
+ /**
18023
+ * Serializes the message to binary data (in protobuf wire format).
18024
+ * @return {!Uint8Array}
18025
+ */
18026
+ proto.cms.FooterPartnersResponse.prototype.serializeBinary = function() {
18027
+ var writer = new jspb.BinaryWriter();
18028
+ proto.cms.FooterPartnersResponse.serializeBinaryToWriter(this, writer);
18029
+ return writer.getResultBuffer();
18030
+ };
18031
+
18032
+
18033
+ /**
18034
+ * Serializes the given message to binary data (in protobuf wire
18035
+ * format), writing to the given BinaryWriter.
18036
+ * @param {!proto.cms.FooterPartnersResponse} message
18037
+ * @param {!jspb.BinaryWriter} writer
18038
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18039
+ */
18040
+ proto.cms.FooterPartnersResponse.serializeBinaryToWriter = function(message, writer) {
18041
+ var f = undefined;
18042
+ f = message.getData();
18043
+ if (f != null) {
18044
+ writer.writeMessage(
18045
+ 1,
18046
+ f,
18047
+ proto.cms.FooterPartnersItem.serializeBinaryToWriter
18048
+ );
18049
+ }
18050
+ };
18051
+
18052
+
18053
+ /**
18054
+ * optional FooterPartnersItem data = 1;
18055
+ * @return {?proto.cms.FooterPartnersItem}
18056
+ */
18057
+ proto.cms.FooterPartnersResponse.prototype.getData = function() {
18058
+ return /** @type{?proto.cms.FooterPartnersItem} */ (
18059
+ jspb.Message.getWrapperField(this, proto.cms.FooterPartnersItem, 1));
18060
+ };
18061
+
18062
+
18063
+ /**
18064
+ * @param {?proto.cms.FooterPartnersItem|undefined} value
18065
+ * @return {!proto.cms.FooterPartnersResponse} returns this
18066
+ */
18067
+ proto.cms.FooterPartnersResponse.prototype.setData = function(value) {
18068
+ return jspb.Message.setWrapperField(this, 1, value);
18069
+ };
18070
+
18071
+
18072
+ /**
18073
+ * Clears the message field making it undefined.
18074
+ * @return {!proto.cms.FooterPartnersResponse} returns this
18075
+ */
18076
+ proto.cms.FooterPartnersResponse.prototype.clearData = function() {
18077
+ return this.setData(undefined);
18078
+ };
18079
+
18080
+
18081
+ /**
18082
+ * Returns whether this field is set.
18083
+ * @return {boolean}
18084
+ */
18085
+ proto.cms.FooterPartnersResponse.prototype.hasData = function() {
18086
+ return jspb.Message.getField(this, 1) != null;
18087
+ };
18088
+
18089
+
18090
+
18091
+
18092
+
18093
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18094
+ /**
18095
+ * Creates an object representation of this proto.
18096
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18097
+ * Optional fields that are not set will be set to undefined.
18098
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18099
+ * For the list of reserved names please see:
18100
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18101
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18102
+ * JSPB instance for transitional soy proto support:
18103
+ * http://goto/soy-param-migration
18104
+ * @return {!Object}
18105
+ */
18106
+ proto.cms.GetFooterPartnersRequest.prototype.toObject = function(opt_includeInstance) {
18107
+ return proto.cms.GetFooterPartnersRequest.toObject(opt_includeInstance, this);
18108
+ };
18109
+
18110
+
18111
+ /**
18112
+ * Static version of the {@see toObject} method.
18113
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18114
+ * the JSPB instance for transitional soy proto support:
18115
+ * http://goto/soy-param-migration
18116
+ * @param {!proto.cms.GetFooterPartnersRequest} msg The msg instance to transform.
18117
+ * @return {!Object}
18118
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18119
+ */
18120
+ proto.cms.GetFooterPartnersRequest.toObject = function(includeInstance, msg) {
18121
+ var f, obj = {
18122
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
18123
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
18124
+ };
18125
+
18126
+ if (includeInstance) {
18127
+ obj.$jspbMessageInstance = msg;
18128
+ }
18129
+ return obj;
18130
+ };
18131
+ }
18132
+
18133
+
18134
+ /**
18135
+ * Deserializes binary data (in protobuf wire format).
18136
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18137
+ * @return {!proto.cms.GetFooterPartnersRequest}
18138
+ */
18139
+ proto.cms.GetFooterPartnersRequest.deserializeBinary = function(bytes) {
18140
+ var reader = new jspb.BinaryReader(bytes);
18141
+ var msg = new proto.cms.GetFooterPartnersRequest;
18142
+ return proto.cms.GetFooterPartnersRequest.deserializeBinaryFromReader(msg, reader);
18143
+ };
18144
+
18145
+
18146
+ /**
18147
+ * Deserializes binary data (in protobuf wire format) from the
18148
+ * given reader into the given message object.
18149
+ * @param {!proto.cms.GetFooterPartnersRequest} msg The message object to deserialize into.
18150
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18151
+ * @return {!proto.cms.GetFooterPartnersRequest}
18152
+ */
18153
+ proto.cms.GetFooterPartnersRequest.deserializeBinaryFromReader = function(msg, reader) {
18154
+ while (reader.nextField()) {
18155
+ if (reader.isEndGroup()) {
18156
+ break;
18157
+ }
18158
+ var field = reader.getFieldNumber();
18159
+ switch (field) {
18160
+ case 1:
18161
+ var value = /** @type {number} */ (reader.readInt32());
18162
+ msg.setId(value);
18163
+ break;
18164
+ case 2:
18165
+ var value = /** @type {boolean} */ (reader.readBool());
18166
+ msg.setAdminSide(value);
18167
+ break;
18168
+ default:
18169
+ reader.skipField();
18170
+ break;
18171
+ }
18172
+ }
18173
+ return msg;
18174
+ };
18175
+
18176
+
18177
+ /**
18178
+ * Serializes the message to binary data (in protobuf wire format).
18179
+ * @return {!Uint8Array}
18180
+ */
18181
+ proto.cms.GetFooterPartnersRequest.prototype.serializeBinary = function() {
18182
+ var writer = new jspb.BinaryWriter();
18183
+ proto.cms.GetFooterPartnersRequest.serializeBinaryToWriter(this, writer);
18184
+ return writer.getResultBuffer();
18185
+ };
18186
+
18187
+
18188
+ /**
18189
+ * Serializes the given message to binary data (in protobuf wire
18190
+ * format), writing to the given BinaryWriter.
18191
+ * @param {!proto.cms.GetFooterPartnersRequest} message
18192
+ * @param {!jspb.BinaryWriter} writer
18193
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18194
+ */
18195
+ proto.cms.GetFooterPartnersRequest.serializeBinaryToWriter = function(message, writer) {
18196
+ var f = undefined;
18197
+ f = message.getId();
18198
+ if (f !== 0) {
18199
+ writer.writeInt32(
18200
+ 1,
18201
+ f
18202
+ );
18203
+ }
18204
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
18205
+ if (f != null) {
18206
+ writer.writeBool(
18207
+ 2,
18208
+ f
18209
+ );
18210
+ }
18211
+ };
18212
+
18213
+
18214
+ /**
18215
+ * optional int32 id = 1;
18216
+ * @return {number}
18217
+ */
18218
+ proto.cms.GetFooterPartnersRequest.prototype.getId = function() {
18219
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
18220
+ };
18221
+
18222
+
18223
+ /**
18224
+ * @param {number} value
18225
+ * @return {!proto.cms.GetFooterPartnersRequest} returns this
18226
+ */
18227
+ proto.cms.GetFooterPartnersRequest.prototype.setId = function(value) {
18228
+ return jspb.Message.setProto3IntField(this, 1, value);
18229
+ };
18230
+
18231
+
18232
+ /**
18233
+ * optional bool admin_side = 2;
18234
+ * @return {boolean}
18235
+ */
18236
+ proto.cms.GetFooterPartnersRequest.prototype.getAdminSide = function() {
18237
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
18238
+ };
18239
+
18240
+
18241
+ /**
18242
+ * @param {boolean} value
18243
+ * @return {!proto.cms.GetFooterPartnersRequest} returns this
18244
+ */
18245
+ proto.cms.GetFooterPartnersRequest.prototype.setAdminSide = function(value) {
18246
+ return jspb.Message.setField(this, 2, value);
18247
+ };
18248
+
18249
+
18250
+ /**
18251
+ * Clears the field making it undefined.
18252
+ * @return {!proto.cms.GetFooterPartnersRequest} returns this
18253
+ */
18254
+ proto.cms.GetFooterPartnersRequest.prototype.clearAdminSide = function() {
18255
+ return jspb.Message.setField(this, 2, undefined);
18256
+ };
18257
+
18258
+
18259
+ /**
18260
+ * Returns whether this field is set.
18261
+ * @return {boolean}
18262
+ */
18263
+ proto.cms.GetFooterPartnersRequest.prototype.hasAdminSide = function() {
18264
+ return jspb.Message.getField(this, 2) != null;
18265
+ };
18266
+
18267
+
18268
+
18269
+
18270
+
18271
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18272
+ /**
18273
+ * Creates an object representation of this proto.
18274
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18275
+ * Optional fields that are not set will be set to undefined.
18276
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18277
+ * For the list of reserved names please see:
18278
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18279
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18280
+ * JSPB instance for transitional soy proto support:
18281
+ * http://goto/soy-param-migration
18282
+ * @return {!Object}
18283
+ */
18284
+ proto.cms.FooterPartnersStatusResponse.prototype.toObject = function(opt_includeInstance) {
18285
+ return proto.cms.FooterPartnersStatusResponse.toObject(opt_includeInstance, this);
18286
+ };
18287
+
18288
+
18289
+ /**
18290
+ * Static version of the {@see toObject} method.
18291
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18292
+ * the JSPB instance for transitional soy proto support:
18293
+ * http://goto/soy-param-migration
18294
+ * @param {!proto.cms.FooterPartnersStatusResponse} msg The msg instance to transform.
18295
+ * @return {!Object}
18296
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18297
+ */
18298
+ proto.cms.FooterPartnersStatusResponse.toObject = function(includeInstance, msg) {
18299
+ var f, obj = {
18300
+ status: jspb.Message.getFieldWithDefault(msg, 1, "")
18301
+ };
18302
+
18303
+ if (includeInstance) {
18304
+ obj.$jspbMessageInstance = msg;
18305
+ }
18306
+ return obj;
18307
+ };
18308
+ }
18309
+
18310
+
18311
+ /**
18312
+ * Deserializes binary data (in protobuf wire format).
18313
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18314
+ * @return {!proto.cms.FooterPartnersStatusResponse}
18315
+ */
18316
+ proto.cms.FooterPartnersStatusResponse.deserializeBinary = function(bytes) {
18317
+ var reader = new jspb.BinaryReader(bytes);
18318
+ var msg = new proto.cms.FooterPartnersStatusResponse;
18319
+ return proto.cms.FooterPartnersStatusResponse.deserializeBinaryFromReader(msg, reader);
18320
+ };
18321
+
18322
+
18323
+ /**
18324
+ * Deserializes binary data (in protobuf wire format) from the
18325
+ * given reader into the given message object.
18326
+ * @param {!proto.cms.FooterPartnersStatusResponse} msg The message object to deserialize into.
18327
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18328
+ * @return {!proto.cms.FooterPartnersStatusResponse}
18329
+ */
18330
+ proto.cms.FooterPartnersStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
18331
+ while (reader.nextField()) {
18332
+ if (reader.isEndGroup()) {
18333
+ break;
18334
+ }
18335
+ var field = reader.getFieldNumber();
18336
+ switch (field) {
18337
+ case 1:
18338
+ var value = /** @type {string} */ (reader.readString());
18339
+ msg.setStatus(value);
18340
+ break;
18341
+ default:
18342
+ reader.skipField();
18343
+ break;
18344
+ }
18345
+ }
18346
+ return msg;
18347
+ };
18348
+
18349
+
18350
+ /**
18351
+ * Serializes the message to binary data (in protobuf wire format).
18352
+ * @return {!Uint8Array}
18353
+ */
18354
+ proto.cms.FooterPartnersStatusResponse.prototype.serializeBinary = function() {
18355
+ var writer = new jspb.BinaryWriter();
18356
+ proto.cms.FooterPartnersStatusResponse.serializeBinaryToWriter(this, writer);
18357
+ return writer.getResultBuffer();
18358
+ };
18359
+
18360
+
18361
+ /**
18362
+ * Serializes the given message to binary data (in protobuf wire
18363
+ * format), writing to the given BinaryWriter.
18364
+ * @param {!proto.cms.FooterPartnersStatusResponse} message
18365
+ * @param {!jspb.BinaryWriter} writer
18366
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18367
+ */
18368
+ proto.cms.FooterPartnersStatusResponse.serializeBinaryToWriter = function(message, writer) {
18369
+ var f = undefined;
18370
+ f = message.getStatus();
18371
+ if (f.length > 0) {
18372
+ writer.writeString(
18373
+ 1,
18374
+ f
18375
+ );
18376
+ }
18377
+ };
18378
+
18379
+
18380
+ /**
18381
+ * optional string status = 1;
18382
+ * @return {string}
18383
+ */
18384
+ proto.cms.FooterPartnersStatusResponse.prototype.getStatus = function() {
18385
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
18386
+ };
18387
+
18388
+
18389
+ /**
18390
+ * @param {string} value
18391
+ * @return {!proto.cms.FooterPartnersStatusResponse} returns this
18392
+ */
18393
+ proto.cms.FooterPartnersStatusResponse.prototype.setStatus = function(value) {
18394
+ return jspb.Message.setProto3StringField(this, 1, value);
18395
+ };
18396
+
18397
+
18398
+
18399
+ /**
18400
+ * List of repeated fields within this message type.
18401
+ * @private {!Array<number>}
18402
+ * @const
18403
+ */
18404
+ proto.cms.FooterPartnersItemsResponse.repeatedFields_ = [1];
18405
+
18406
+
18407
+
18408
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18409
+ /**
18410
+ * Creates an object representation of this proto.
18411
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18412
+ * Optional fields that are not set will be set to undefined.
18413
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18414
+ * For the list of reserved names please see:
18415
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18416
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18417
+ * JSPB instance for transitional soy proto support:
18418
+ * http://goto/soy-param-migration
18419
+ * @return {!Object}
18420
+ */
18421
+ proto.cms.FooterPartnersItemsResponse.prototype.toObject = function(opt_includeInstance) {
18422
+ return proto.cms.FooterPartnersItemsResponse.toObject(opt_includeInstance, this);
18423
+ };
18424
+
18425
+
18426
+ /**
18427
+ * Static version of the {@see toObject} method.
18428
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18429
+ * the JSPB instance for transitional soy proto support:
18430
+ * http://goto/soy-param-migration
18431
+ * @param {!proto.cms.FooterPartnersItemsResponse} msg The msg instance to transform.
18432
+ * @return {!Object}
18433
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18434
+ */
18435
+ proto.cms.FooterPartnersItemsResponse.toObject = function(includeInstance, msg) {
18436
+ var f, obj = {
18437
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
18438
+ proto.cms.FooterPartnersItem.toObject, includeInstance),
18439
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
18440
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
18441
+ };
18442
+
18443
+ if (includeInstance) {
18444
+ obj.$jspbMessageInstance = msg;
18445
+ }
18446
+ return obj;
18447
+ };
18448
+ }
18449
+
18450
+
18451
+ /**
18452
+ * Deserializes binary data (in protobuf wire format).
18453
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18454
+ * @return {!proto.cms.FooterPartnersItemsResponse}
18455
+ */
18456
+ proto.cms.FooterPartnersItemsResponse.deserializeBinary = function(bytes) {
18457
+ var reader = new jspb.BinaryReader(bytes);
18458
+ var msg = new proto.cms.FooterPartnersItemsResponse;
18459
+ return proto.cms.FooterPartnersItemsResponse.deserializeBinaryFromReader(msg, reader);
18460
+ };
18461
+
18462
+
18463
+ /**
18464
+ * Deserializes binary data (in protobuf wire format) from the
18465
+ * given reader into the given message object.
18466
+ * @param {!proto.cms.FooterPartnersItemsResponse} msg The message object to deserialize into.
18467
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18468
+ * @return {!proto.cms.FooterPartnersItemsResponse}
18469
+ */
18470
+ proto.cms.FooterPartnersItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
18471
+ while (reader.nextField()) {
18472
+ if (reader.isEndGroup()) {
18473
+ break;
18474
+ }
18475
+ var field = reader.getFieldNumber();
18476
+ switch (field) {
18477
+ case 1:
18478
+ var value = new proto.cms.FooterPartnersItem;
18479
+ reader.readMessage(value,proto.cms.FooterPartnersItem.deserializeBinaryFromReader);
18480
+ msg.addItems(value);
18481
+ break;
18482
+ case 2:
18483
+ var value = /** @type {number} */ (reader.readInt32());
18484
+ msg.setTotalPages(value);
18485
+ break;
18486
+ case 3:
18487
+ var value = /** @type {number} */ (reader.readInt32());
18488
+ msg.setTotalItems(value);
18489
+ break;
18490
+ default:
18491
+ reader.skipField();
18492
+ break;
18493
+ }
18494
+ }
18495
+ return msg;
18496
+ };
18497
+
18498
+
18499
+ /**
18500
+ * Serializes the message to binary data (in protobuf wire format).
18501
+ * @return {!Uint8Array}
18502
+ */
18503
+ proto.cms.FooterPartnersItemsResponse.prototype.serializeBinary = function() {
18504
+ var writer = new jspb.BinaryWriter();
18505
+ proto.cms.FooterPartnersItemsResponse.serializeBinaryToWriter(this, writer);
18506
+ return writer.getResultBuffer();
18507
+ };
18508
+
18509
+
18510
+ /**
18511
+ * Serializes the given message to binary data (in protobuf wire
18512
+ * format), writing to the given BinaryWriter.
18513
+ * @param {!proto.cms.FooterPartnersItemsResponse} message
18514
+ * @param {!jspb.BinaryWriter} writer
18515
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18516
+ */
18517
+ proto.cms.FooterPartnersItemsResponse.serializeBinaryToWriter = function(message, writer) {
18518
+ var f = undefined;
18519
+ f = message.getItemsList();
18520
+ if (f.length > 0) {
18521
+ writer.writeRepeatedMessage(
18522
+ 1,
18523
+ f,
18524
+ proto.cms.FooterPartnersItem.serializeBinaryToWriter
18525
+ );
18526
+ }
18527
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
18528
+ if (f != null) {
18529
+ writer.writeInt32(
18530
+ 2,
18531
+ f
18532
+ );
18533
+ }
18534
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
18535
+ if (f != null) {
18536
+ writer.writeInt32(
18537
+ 3,
18538
+ f
18539
+ );
18540
+ }
18541
+ };
18542
+
18543
+
18544
+ /**
18545
+ * repeated FooterPartnersItem items = 1;
18546
+ * @return {!Array<!proto.cms.FooterPartnersItem>}
18547
+ */
18548
+ proto.cms.FooterPartnersItemsResponse.prototype.getItemsList = function() {
18549
+ return /** @type{!Array<!proto.cms.FooterPartnersItem>} */ (
18550
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterPartnersItem, 1));
18551
+ };
18552
+
18553
+
18554
+ /**
18555
+ * @param {!Array<!proto.cms.FooterPartnersItem>} value
18556
+ * @return {!proto.cms.FooterPartnersItemsResponse} returns this
18557
+ */
18558
+ proto.cms.FooterPartnersItemsResponse.prototype.setItemsList = function(value) {
18559
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
18560
+ };
18561
+
18562
+
18563
+ /**
18564
+ * @param {!proto.cms.FooterPartnersItem=} opt_value
18565
+ * @param {number=} opt_index
18566
+ * @return {!proto.cms.FooterPartnersItem}
18567
+ */
18568
+ proto.cms.FooterPartnersItemsResponse.prototype.addItems = function(opt_value, opt_index) {
18569
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.cms.FooterPartnersItem, opt_index);
18570
+ };
18571
+
18572
+
18573
+ /**
18574
+ * Clears the list making it empty but non-null.
18575
+ * @return {!proto.cms.FooterPartnersItemsResponse} returns this
18576
+ */
18577
+ proto.cms.FooterPartnersItemsResponse.prototype.clearItemsList = function() {
18578
+ return this.setItemsList([]);
18579
+ };
18580
+
18581
+
18582
+ /**
18583
+ * optional int32 total_pages = 2;
18584
+ * @return {number}
18585
+ */
18586
+ proto.cms.FooterPartnersItemsResponse.prototype.getTotalPages = function() {
18587
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
18588
+ };
18589
+
18590
+
18591
+ /**
18592
+ * @param {number} value
18593
+ * @return {!proto.cms.FooterPartnersItemsResponse} returns this
18594
+ */
18595
+ proto.cms.FooterPartnersItemsResponse.prototype.setTotalPages = function(value) {
18596
+ return jspb.Message.setField(this, 2, value);
18597
+ };
18598
+
18599
+
18600
+ /**
18601
+ * Clears the field making it undefined.
18602
+ * @return {!proto.cms.FooterPartnersItemsResponse} returns this
18603
+ */
18604
+ proto.cms.FooterPartnersItemsResponse.prototype.clearTotalPages = function() {
18605
+ return jspb.Message.setField(this, 2, undefined);
18606
+ };
18607
+
18608
+
18609
+ /**
18610
+ * Returns whether this field is set.
18611
+ * @return {boolean}
18612
+ */
18613
+ proto.cms.FooterPartnersItemsResponse.prototype.hasTotalPages = function() {
18614
+ return jspb.Message.getField(this, 2) != null;
18615
+ };
18616
+
18617
+
18618
+ /**
18619
+ * optional int32 total_items = 3;
18620
+ * @return {number}
18621
+ */
18622
+ proto.cms.FooterPartnersItemsResponse.prototype.getTotalItems = function() {
18623
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
18624
+ };
18625
+
18626
+
18627
+ /**
18628
+ * @param {number} value
18629
+ * @return {!proto.cms.FooterPartnersItemsResponse} returns this
18630
+ */
18631
+ proto.cms.FooterPartnersItemsResponse.prototype.setTotalItems = function(value) {
18632
+ return jspb.Message.setField(this, 3, value);
18633
+ };
18634
+
18635
+
18636
+ /**
18637
+ * Clears the field making it undefined.
18638
+ * @return {!proto.cms.FooterPartnersItemsResponse} returns this
18639
+ */
18640
+ proto.cms.FooterPartnersItemsResponse.prototype.clearTotalItems = function() {
18641
+ return jspb.Message.setField(this, 3, undefined);
18642
+ };
18643
+
18644
+
18645
+ /**
18646
+ * Returns whether this field is set.
18647
+ * @return {boolean}
18648
+ */
18649
+ proto.cms.FooterPartnersItemsResponse.prototype.hasTotalItems = function() {
18650
+ return jspb.Message.getField(this, 3) != null;
18651
+ };
18652
+
18653
+
16069
18654
  goog.object.extend(exports, proto.cms);