protobuf-platform 1.2.113 → 1.2.115

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
@@ -47,6 +47,7 @@ goog.exportSymbol('proto.cms.FooterApplicationsRequest', null, global);
47
47
  goog.exportSymbol('proto.cms.FooterApplicationsRequest.PayloadCase', null, global);
48
48
  goog.exportSymbol('proto.cms.FooterApplicationsResponse', null, global);
49
49
  goog.exportSymbol('proto.cms.FooterApplicationsStatusResponse', null, global);
50
+ goog.exportSymbol('proto.cms.FooterBrandCoreBrief', null, global);
50
51
  goog.exportSymbol('proto.cms.FooterBrandCoreFile', null, global);
51
52
  goog.exportSymbol('proto.cms.FooterBrandCoreItem', null, global);
52
53
  goog.exportSymbol('proto.cms.FooterBrandCoreItemRequest', null, global);
@@ -78,6 +79,7 @@ goog.exportSymbol('proto.cms.FooterPaymentsItemRequest', null, global);
78
79
  goog.exportSymbol('proto.cms.FooterPaymentsItemsResponse', null, global);
79
80
  goog.exportSymbol('proto.cms.FooterPaymentsResponse', null, global);
80
81
  goog.exportSymbol('proto.cms.FooterPaymentsStatusResponse', null, global);
82
+ goog.exportSymbol('proto.cms.FooterWidgetItem', null, global);
81
83
  goog.exportSymbol('proto.cms.GameWidgetItem', null, global);
82
84
  goog.exportSymbol('proto.cms.GameWidgetItemRequest', null, global);
83
85
  goog.exportSymbol('proto.cms.GameWidgetRequest', null, global);
@@ -95,6 +97,7 @@ goog.exportSymbol('proto.cms.GetFooterMainTextRequest', null, global);
95
97
  goog.exportSymbol('proto.cms.GetFooterMainTextTranslationRequest', null, global);
96
98
  goog.exportSymbol('proto.cms.GetFooterPartnersRequest', null, global);
97
99
  goog.exportSymbol('proto.cms.GetFooterPaymentsRequest', null, global);
100
+ goog.exportSymbol('proto.cms.GetFooterWidgetRequest', null, global);
98
101
  goog.exportSymbol('proto.cms.GetGameWidgetRequest', null, global);
99
102
  goog.exportSymbol('proto.cms.GetHeaderWidgetRequest', null, global);
100
103
  goog.exportSymbol('proto.cms.GetMainPageWidgetRequest', null, global);
@@ -467,6 +470,48 @@ if (goog.DEBUG && !COMPILED) {
467
470
  */
468
471
  proto.cms.HeaderWidgetItem.displayName = 'proto.cms.HeaderWidgetItem';
469
472
  }
473
+ /**
474
+ * Generated by JsPbCodeGenerator.
475
+ * @param {Array=} opt_data Optional initial data array, typically from a
476
+ * server response, or constructed directly in Javascript. The array is used
477
+ * in place and becomes part of the constructed object. It is not cloned.
478
+ * If no data is provided, the constructed object will be empty, but still
479
+ * valid.
480
+ * @extends {jspb.Message}
481
+ * @constructor
482
+ */
483
+ proto.cms.GetFooterWidgetRequest = function(opt_data) {
484
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
485
+ };
486
+ goog.inherits(proto.cms.GetFooterWidgetRequest, jspb.Message);
487
+ if (goog.DEBUG && !COMPILED) {
488
+ /**
489
+ * @public
490
+ * @override
491
+ */
492
+ proto.cms.GetFooterWidgetRequest.displayName = 'proto.cms.GetFooterWidgetRequest';
493
+ }
494
+ /**
495
+ * Generated by JsPbCodeGenerator.
496
+ * @param {Array=} opt_data Optional initial data array, typically from a
497
+ * server response, or constructed directly in Javascript. The array is used
498
+ * in place and becomes part of the constructed object. It is not cloned.
499
+ * If no data is provided, the constructed object will be empty, but still
500
+ * valid.
501
+ * @extends {jspb.Message}
502
+ * @constructor
503
+ */
504
+ proto.cms.FooterWidgetItem = function(opt_data) {
505
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
506
+ };
507
+ goog.inherits(proto.cms.FooterWidgetItem, jspb.Message);
508
+ if (goog.DEBUG && !COMPILED) {
509
+ /**
510
+ * @public
511
+ * @override
512
+ */
513
+ proto.cms.FooterWidgetItem.displayName = 'proto.cms.FooterWidgetItem';
514
+ }
470
515
  /**
471
516
  * Generated by JsPbCodeGenerator.
472
517
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2315,6 +2360,27 @@ if (goog.DEBUG && !COMPILED) {
2315
2360
  */
2316
2361
  proto.cms.GetFooterBrandCoreRequest.displayName = 'proto.cms.GetFooterBrandCoreRequest';
2317
2362
  }
2363
+ /**
2364
+ * Generated by JsPbCodeGenerator.
2365
+ * @param {Array=} opt_data Optional initial data array, typically from a
2366
+ * server response, or constructed directly in Javascript. The array is used
2367
+ * in place and becomes part of the constructed object. It is not cloned.
2368
+ * If no data is provided, the constructed object will be empty, but still
2369
+ * valid.
2370
+ * @extends {jspb.Message}
2371
+ * @constructor
2372
+ */
2373
+ proto.cms.FooterBrandCoreBrief = function(opt_data) {
2374
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2375
+ };
2376
+ goog.inherits(proto.cms.FooterBrandCoreBrief, jspb.Message);
2377
+ if (goog.DEBUG && !COMPILED) {
2378
+ /**
2379
+ * @public
2380
+ * @override
2381
+ */
2382
+ proto.cms.FooterBrandCoreBrief.displayName = 'proto.cms.FooterBrandCoreBrief';
2383
+ }
2318
2384
 
2319
2385
 
2320
2386
 
@@ -5614,33 +5680,6 @@ proto.cms.HeaderWidgetItem.prototype.setContent = function(value) {
5614
5680
 
5615
5681
 
5616
5682
 
5617
- /**
5618
- * Oneof group definitions for this message. Each group defines the field
5619
- * numbers belonging to that group. When of these fields' value is set, all
5620
- * other fields in the group are cleared. During deserialization, if multiple
5621
- * fields are encountered for a group, only the last value seen will be kept.
5622
- * @private {!Array<!Array<number>>}
5623
- * @const
5624
- */
5625
- proto.cms.BannerRequest.oneofGroups_ = [[1,2,3]];
5626
-
5627
- /**
5628
- * @enum {number}
5629
- */
5630
- proto.cms.BannerRequest.RequestCase = {
5631
- REQUEST_NOT_SET: 0,
5632
- BANNER_DATA: 1,
5633
- IMAGE_BIG: 2,
5634
- IMAGE_SMALL: 3
5635
- };
5636
-
5637
- /**
5638
- * @return {proto.cms.BannerRequest.RequestCase}
5639
- */
5640
- proto.cms.BannerRequest.prototype.getRequestCase = function() {
5641
- return /** @type {proto.cms.BannerRequest.RequestCase} */(jspb.Message.computeOneofCase(this, proto.cms.BannerRequest.oneofGroups_[0]));
5642
- };
5643
-
5644
5683
 
5645
5684
 
5646
5685
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -5656,8 +5695,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
5656
5695
  * http://goto/soy-param-migration
5657
5696
  * @return {!Object}
5658
5697
  */
5659
- proto.cms.BannerRequest.prototype.toObject = function(opt_includeInstance) {
5660
- return proto.cms.BannerRequest.toObject(opt_includeInstance, this);
5698
+ proto.cms.GetFooterWidgetRequest.prototype.toObject = function(opt_includeInstance) {
5699
+ return proto.cms.GetFooterWidgetRequest.toObject(opt_includeInstance, this);
5661
5700
  };
5662
5701
 
5663
5702
 
@@ -5666,15 +5705,14 @@ proto.cms.BannerRequest.prototype.toObject = function(opt_includeInstance) {
5666
5705
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5667
5706
  * the JSPB instance for transitional soy proto support:
5668
5707
  * http://goto/soy-param-migration
5669
- * @param {!proto.cms.BannerRequest} msg The msg instance to transform.
5708
+ * @param {!proto.cms.GetFooterWidgetRequest} msg The msg instance to transform.
5670
5709
  * @return {!Object}
5671
5710
  * @suppress {unusedLocalVariables} f is only used for nested messages
5672
5711
  */
5673
- proto.cms.BannerRequest.toObject = function(includeInstance, msg) {
5712
+ proto.cms.GetFooterWidgetRequest.toObject = function(includeInstance, msg) {
5674
5713
  var f, obj = {
5675
- bannerData: (f = msg.getBannerData()) && proto.cms.BannerItemRequest.toObject(includeInstance, f),
5676
- imageBig: (f = msg.getImageBig()) && proto.cms.File.toObject(includeInstance, f),
5677
- imageSmall: (f = msg.getImageSmall()) && proto.cms.File.toObject(includeInstance, f)
5714
+ geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
5715
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
5678
5716
  };
5679
5717
 
5680
5718
  if (includeInstance) {
@@ -5688,23 +5726,23 @@ proto.cms.BannerRequest.toObject = function(includeInstance, msg) {
5688
5726
  /**
5689
5727
  * Deserializes binary data (in protobuf wire format).
5690
5728
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
5691
- * @return {!proto.cms.BannerRequest}
5729
+ * @return {!proto.cms.GetFooterWidgetRequest}
5692
5730
  */
5693
- proto.cms.BannerRequest.deserializeBinary = function(bytes) {
5731
+ proto.cms.GetFooterWidgetRequest.deserializeBinary = function(bytes) {
5694
5732
  var reader = new jspb.BinaryReader(bytes);
5695
- var msg = new proto.cms.BannerRequest;
5696
- return proto.cms.BannerRequest.deserializeBinaryFromReader(msg, reader);
5733
+ var msg = new proto.cms.GetFooterWidgetRequest;
5734
+ return proto.cms.GetFooterWidgetRequest.deserializeBinaryFromReader(msg, reader);
5697
5735
  };
5698
5736
 
5699
5737
 
5700
5738
  /**
5701
5739
  * Deserializes binary data (in protobuf wire format) from the
5702
5740
  * given reader into the given message object.
5703
- * @param {!proto.cms.BannerRequest} msg The message object to deserialize into.
5741
+ * @param {!proto.cms.GetFooterWidgetRequest} msg The message object to deserialize into.
5704
5742
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5705
- * @return {!proto.cms.BannerRequest}
5743
+ * @return {!proto.cms.GetFooterWidgetRequest}
5706
5744
  */
5707
- proto.cms.BannerRequest.deserializeBinaryFromReader = function(msg, reader) {
5745
+ proto.cms.GetFooterWidgetRequest.deserializeBinaryFromReader = function(msg, reader) {
5708
5746
  while (reader.nextField()) {
5709
5747
  if (reader.isEndGroup()) {
5710
5748
  break;
@@ -5712,19 +5750,12 @@ proto.cms.BannerRequest.deserializeBinaryFromReader = function(msg, reader) {
5712
5750
  var field = reader.getFieldNumber();
5713
5751
  switch (field) {
5714
5752
  case 1:
5715
- var value = new proto.cms.BannerItemRequest;
5716
- reader.readMessage(value,proto.cms.BannerItemRequest.deserializeBinaryFromReader);
5717
- msg.setBannerData(value);
5753
+ var value = /** @type {string} */ (reader.readString());
5754
+ msg.setGeo(value);
5718
5755
  break;
5719
5756
  case 2:
5720
- var value = new proto.cms.File;
5721
- reader.readMessage(value,proto.cms.File.deserializeBinaryFromReader);
5722
- msg.setImageBig(value);
5723
- break;
5724
- case 3:
5725
- var value = new proto.cms.File;
5726
- reader.readMessage(value,proto.cms.File.deserializeBinaryFromReader);
5727
- msg.setImageSmall(value);
5757
+ var value = /** @type {boolean} */ (reader.readBool());
5758
+ msg.setAdminSide(value);
5728
5759
  break;
5729
5760
  default:
5730
5761
  reader.skipField();
@@ -5739,9 +5770,9 @@ proto.cms.BannerRequest.deserializeBinaryFromReader = function(msg, reader) {
5739
5770
  * Serializes the message to binary data (in protobuf wire format).
5740
5771
  * @return {!Uint8Array}
5741
5772
  */
5742
- proto.cms.BannerRequest.prototype.serializeBinary = function() {
5773
+ proto.cms.GetFooterWidgetRequest.prototype.serializeBinary = function() {
5743
5774
  var writer = new jspb.BinaryWriter();
5744
- proto.cms.BannerRequest.serializeBinaryToWriter(this, writer);
5775
+ proto.cms.GetFooterWidgetRequest.serializeBinaryToWriter(this, writer);
5745
5776
  return writer.getResultBuffer();
5746
5777
  };
5747
5778
 
@@ -5749,64 +5780,53 @@ proto.cms.BannerRequest.prototype.serializeBinary = function() {
5749
5780
  /**
5750
5781
  * Serializes the given message to binary data (in protobuf wire
5751
5782
  * format), writing to the given BinaryWriter.
5752
- * @param {!proto.cms.BannerRequest} message
5783
+ * @param {!proto.cms.GetFooterWidgetRequest} message
5753
5784
  * @param {!jspb.BinaryWriter} writer
5754
5785
  * @suppress {unusedLocalVariables} f is only used for nested messages
5755
5786
  */
5756
- proto.cms.BannerRequest.serializeBinaryToWriter = function(message, writer) {
5787
+ proto.cms.GetFooterWidgetRequest.serializeBinaryToWriter = function(message, writer) {
5757
5788
  var f = undefined;
5758
- f = message.getBannerData();
5789
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
5759
5790
  if (f != null) {
5760
- writer.writeMessage(
5791
+ writer.writeString(
5761
5792
  1,
5762
- f,
5763
- proto.cms.BannerItemRequest.serializeBinaryToWriter
5793
+ f
5764
5794
  );
5765
5795
  }
5766
- f = message.getImageBig();
5796
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
5767
5797
  if (f != null) {
5768
- writer.writeMessage(
5798
+ writer.writeBool(
5769
5799
  2,
5770
- f,
5771
- proto.cms.File.serializeBinaryToWriter
5772
- );
5773
- }
5774
- f = message.getImageSmall();
5775
- if (f != null) {
5776
- writer.writeMessage(
5777
- 3,
5778
- f,
5779
- proto.cms.File.serializeBinaryToWriter
5800
+ f
5780
5801
  );
5781
5802
  }
5782
5803
  };
5783
5804
 
5784
5805
 
5785
5806
  /**
5786
- * optional BannerItemRequest banner_data = 1;
5787
- * @return {?proto.cms.BannerItemRequest}
5807
+ * optional string geo = 1;
5808
+ * @return {string}
5788
5809
  */
5789
- proto.cms.BannerRequest.prototype.getBannerData = function() {
5790
- return /** @type{?proto.cms.BannerItemRequest} */ (
5791
- jspb.Message.getWrapperField(this, proto.cms.BannerItemRequest, 1));
5810
+ proto.cms.GetFooterWidgetRequest.prototype.getGeo = function() {
5811
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5792
5812
  };
5793
5813
 
5794
5814
 
5795
5815
  /**
5796
- * @param {?proto.cms.BannerItemRequest|undefined} value
5797
- * @return {!proto.cms.BannerRequest} returns this
5798
- */
5799
- proto.cms.BannerRequest.prototype.setBannerData = function(value) {
5800
- return jspb.Message.setOneofWrapperField(this, 1, proto.cms.BannerRequest.oneofGroups_[0], value);
5816
+ * @param {string} value
5817
+ * @return {!proto.cms.GetFooterWidgetRequest} returns this
5818
+ */
5819
+ proto.cms.GetFooterWidgetRequest.prototype.setGeo = function(value) {
5820
+ return jspb.Message.setField(this, 1, value);
5801
5821
  };
5802
5822
 
5803
5823
 
5804
5824
  /**
5805
- * Clears the message field making it undefined.
5806
- * @return {!proto.cms.BannerRequest} returns this
5825
+ * Clears the field making it undefined.
5826
+ * @return {!proto.cms.GetFooterWidgetRequest} returns this
5807
5827
  */
5808
- proto.cms.BannerRequest.prototype.clearBannerData = function() {
5809
- return this.setBannerData(undefined);
5828
+ proto.cms.GetFooterWidgetRequest.prototype.clearGeo = function() {
5829
+ return jspb.Message.setField(this, 1, undefined);
5810
5830
  };
5811
5831
 
5812
5832
 
@@ -5814,73 +5834,35 @@ proto.cms.BannerRequest.prototype.clearBannerData = function() {
5814
5834
  * Returns whether this field is set.
5815
5835
  * @return {boolean}
5816
5836
  */
5817
- proto.cms.BannerRequest.prototype.hasBannerData = function() {
5837
+ proto.cms.GetFooterWidgetRequest.prototype.hasGeo = function() {
5818
5838
  return jspb.Message.getField(this, 1) != null;
5819
5839
  };
5820
5840
 
5821
5841
 
5822
5842
  /**
5823
- * optional File image_big = 2;
5824
- * @return {?proto.cms.File}
5825
- */
5826
- proto.cms.BannerRequest.prototype.getImageBig = function() {
5827
- return /** @type{?proto.cms.File} */ (
5828
- jspb.Message.getWrapperField(this, proto.cms.File, 2));
5829
- };
5830
-
5831
-
5832
- /**
5833
- * @param {?proto.cms.File|undefined} value
5834
- * @return {!proto.cms.BannerRequest} returns this
5835
- */
5836
- proto.cms.BannerRequest.prototype.setImageBig = function(value) {
5837
- return jspb.Message.setOneofWrapperField(this, 2, proto.cms.BannerRequest.oneofGroups_[0], value);
5838
- };
5839
-
5840
-
5841
- /**
5842
- * Clears the message field making it undefined.
5843
- * @return {!proto.cms.BannerRequest} returns this
5844
- */
5845
- proto.cms.BannerRequest.prototype.clearImageBig = function() {
5846
- return this.setImageBig(undefined);
5847
- };
5848
-
5849
-
5850
- /**
5851
- * Returns whether this field is set.
5843
+ * optional bool admin_side = 2;
5852
5844
  * @return {boolean}
5853
5845
  */
5854
- proto.cms.BannerRequest.prototype.hasImageBig = function() {
5855
- return jspb.Message.getField(this, 2) != null;
5846
+ proto.cms.GetFooterWidgetRequest.prototype.getAdminSide = function() {
5847
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
5856
5848
  };
5857
5849
 
5858
5850
 
5859
5851
  /**
5860
- * optional File image_small = 3;
5861
- * @return {?proto.cms.File}
5852
+ * @param {boolean} value
5853
+ * @return {!proto.cms.GetFooterWidgetRequest} returns this
5862
5854
  */
5863
- proto.cms.BannerRequest.prototype.getImageSmall = function() {
5864
- return /** @type{?proto.cms.File} */ (
5865
- jspb.Message.getWrapperField(this, proto.cms.File, 3));
5866
- };
5867
-
5868
-
5869
- /**
5870
- * @param {?proto.cms.File|undefined} value
5871
- * @return {!proto.cms.BannerRequest} returns this
5872
- */
5873
- proto.cms.BannerRequest.prototype.setImageSmall = function(value) {
5874
- return jspb.Message.setOneofWrapperField(this, 3, proto.cms.BannerRequest.oneofGroups_[0], value);
5855
+ proto.cms.GetFooterWidgetRequest.prototype.setAdminSide = function(value) {
5856
+ return jspb.Message.setField(this, 2, value);
5875
5857
  };
5876
5858
 
5877
5859
 
5878
5860
  /**
5879
- * Clears the message field making it undefined.
5880
- * @return {!proto.cms.BannerRequest} returns this
5861
+ * Clears the field making it undefined.
5862
+ * @return {!proto.cms.GetFooterWidgetRequest} returns this
5881
5863
  */
5882
- proto.cms.BannerRequest.prototype.clearImageSmall = function() {
5883
- return this.setImageSmall(undefined);
5864
+ proto.cms.GetFooterWidgetRequest.prototype.clearAdminSide = function() {
5865
+ return jspb.Message.setField(this, 2, undefined);
5884
5866
  };
5885
5867
 
5886
5868
 
@@ -5888,19 +5870,12 @@ proto.cms.BannerRequest.prototype.clearImageSmall = function() {
5888
5870
  * Returns whether this field is set.
5889
5871
  * @return {boolean}
5890
5872
  */
5891
- proto.cms.BannerRequest.prototype.hasImageSmall = function() {
5892
- return jspb.Message.getField(this, 3) != null;
5873
+ proto.cms.GetFooterWidgetRequest.prototype.hasAdminSide = function() {
5874
+ return jspb.Message.getField(this, 2) != null;
5893
5875
  };
5894
5876
 
5895
5877
 
5896
5878
 
5897
- /**
5898
- * List of repeated fields within this message type.
5899
- * @private {!Array<number>}
5900
- * @const
5901
- */
5902
- proto.cms.BannerItemRequest.repeatedFields_ = [7];
5903
-
5904
5879
 
5905
5880
 
5906
5881
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -5916,8 +5891,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
5916
5891
  * http://goto/soy-param-migration
5917
5892
  * @return {!Object}
5918
5893
  */
5919
- proto.cms.BannerItemRequest.prototype.toObject = function(opt_includeInstance) {
5920
- return proto.cms.BannerItemRequest.toObject(opt_includeInstance, this);
5894
+ proto.cms.FooterWidgetItem.prototype.toObject = function(opt_includeInstance) {
5895
+ return proto.cms.FooterWidgetItem.toObject(opt_includeInstance, this);
5921
5896
  };
5922
5897
 
5923
5898
 
@@ -5926,20 +5901,14 @@ proto.cms.BannerItemRequest.prototype.toObject = function(opt_includeInstance) {
5926
5901
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5927
5902
  * the JSPB instance for transitional soy proto support:
5928
5903
  * http://goto/soy-param-migration
5929
- * @param {!proto.cms.BannerItemRequest} msg The msg instance to transform.
5904
+ * @param {!proto.cms.FooterWidgetItem} msg The msg instance to transform.
5930
5905
  * @return {!Object}
5931
5906
  * @suppress {unusedLocalVariables} f is only used for nested messages
5932
5907
  */
5933
- proto.cms.BannerItemRequest.toObject = function(includeInstance, msg) {
5908
+ proto.cms.FooterWidgetItem.toObject = function(includeInstance, msg) {
5934
5909
  var f, obj = {
5935
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
5936
- bannerGroupId: jspb.Message.getFieldWithDefault(msg, 2, 0),
5937
- geo: jspb.Message.getFieldWithDefault(msg, 3, ""),
5938
- ctaType: jspb.Message.getFieldWithDefault(msg, 4, ""),
5939
- anchor: jspb.Message.getFieldWithDefault(msg, 5, ""),
5940
- isActive: jspb.Message.getFieldWithDefault(msg, 6, 0),
5941
- textsList: jspb.Message.toObjectList(msg.getTextsList(),
5942
- proto.cms.BannerTexts.toObject, includeInstance)
5910
+ geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
5911
+ content: jspb.Message.getFieldWithDefault(msg, 2, "")
5943
5912
  };
5944
5913
 
5945
5914
  if (includeInstance) {
@@ -5953,23 +5922,23 @@ proto.cms.BannerItemRequest.toObject = function(includeInstance, msg) {
5953
5922
  /**
5954
5923
  * Deserializes binary data (in protobuf wire format).
5955
5924
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
5956
- * @return {!proto.cms.BannerItemRequest}
5925
+ * @return {!proto.cms.FooterWidgetItem}
5957
5926
  */
5958
- proto.cms.BannerItemRequest.deserializeBinary = function(bytes) {
5927
+ proto.cms.FooterWidgetItem.deserializeBinary = function(bytes) {
5959
5928
  var reader = new jspb.BinaryReader(bytes);
5960
- var msg = new proto.cms.BannerItemRequest;
5961
- return proto.cms.BannerItemRequest.deserializeBinaryFromReader(msg, reader);
5929
+ var msg = new proto.cms.FooterWidgetItem;
5930
+ return proto.cms.FooterWidgetItem.deserializeBinaryFromReader(msg, reader);
5962
5931
  };
5963
5932
 
5964
5933
 
5965
5934
  /**
5966
5935
  * Deserializes binary data (in protobuf wire format) from the
5967
5936
  * given reader into the given message object.
5968
- * @param {!proto.cms.BannerItemRequest} msg The message object to deserialize into.
5937
+ * @param {!proto.cms.FooterWidgetItem} msg The message object to deserialize into.
5969
5938
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5970
- * @return {!proto.cms.BannerItemRequest}
5939
+ * @return {!proto.cms.FooterWidgetItem}
5971
5940
  */
5972
- proto.cms.BannerItemRequest.deserializeBinaryFromReader = function(msg, reader) {
5941
+ proto.cms.FooterWidgetItem.deserializeBinaryFromReader = function(msg, reader) {
5973
5942
  while (reader.nextField()) {
5974
5943
  if (reader.isEndGroup()) {
5975
5944
  break;
@@ -5977,18 +5946,471 @@ proto.cms.BannerItemRequest.deserializeBinaryFromReader = function(msg, reader)
5977
5946
  var field = reader.getFieldNumber();
5978
5947
  switch (field) {
5979
5948
  case 1:
5980
- var value = /** @type {number} */ (reader.readInt32());
5981
- msg.setId(value);
5982
- break;
5983
- case 2:
5984
- var value = /** @type {number} */ (reader.readInt32());
5985
- msg.setBannerGroupId(value);
5986
- break;
5987
- case 3:
5988
5949
  var value = /** @type {string} */ (reader.readString());
5989
5950
  msg.setGeo(value);
5990
5951
  break;
5991
- case 4:
5952
+ case 2:
5953
+ var value = /** @type {string} */ (reader.readString());
5954
+ msg.setContent(value);
5955
+ break;
5956
+ default:
5957
+ reader.skipField();
5958
+ break;
5959
+ }
5960
+ }
5961
+ return msg;
5962
+ };
5963
+
5964
+
5965
+ /**
5966
+ * Serializes the message to binary data (in protobuf wire format).
5967
+ * @return {!Uint8Array}
5968
+ */
5969
+ proto.cms.FooterWidgetItem.prototype.serializeBinary = function() {
5970
+ var writer = new jspb.BinaryWriter();
5971
+ proto.cms.FooterWidgetItem.serializeBinaryToWriter(this, writer);
5972
+ return writer.getResultBuffer();
5973
+ };
5974
+
5975
+
5976
+ /**
5977
+ * Serializes the given message to binary data (in protobuf wire
5978
+ * format), writing to the given BinaryWriter.
5979
+ * @param {!proto.cms.FooterWidgetItem} message
5980
+ * @param {!jspb.BinaryWriter} writer
5981
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5982
+ */
5983
+ proto.cms.FooterWidgetItem.serializeBinaryToWriter = function(message, writer) {
5984
+ var f = undefined;
5985
+ f = message.getGeo();
5986
+ if (f.length > 0) {
5987
+ writer.writeString(
5988
+ 1,
5989
+ f
5990
+ );
5991
+ }
5992
+ f = message.getContent();
5993
+ if (f.length > 0) {
5994
+ writer.writeString(
5995
+ 2,
5996
+ f
5997
+ );
5998
+ }
5999
+ };
6000
+
6001
+
6002
+ /**
6003
+ * optional string geo = 1;
6004
+ * @return {string}
6005
+ */
6006
+ proto.cms.FooterWidgetItem.prototype.getGeo = function() {
6007
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6008
+ };
6009
+
6010
+
6011
+ /**
6012
+ * @param {string} value
6013
+ * @return {!proto.cms.FooterWidgetItem} returns this
6014
+ */
6015
+ proto.cms.FooterWidgetItem.prototype.setGeo = function(value) {
6016
+ return jspb.Message.setProto3StringField(this, 1, value);
6017
+ };
6018
+
6019
+
6020
+ /**
6021
+ * optional string content = 2;
6022
+ * @return {string}
6023
+ */
6024
+ proto.cms.FooterWidgetItem.prototype.getContent = function() {
6025
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6026
+ };
6027
+
6028
+
6029
+ /**
6030
+ * @param {string} value
6031
+ * @return {!proto.cms.FooterWidgetItem} returns this
6032
+ */
6033
+ proto.cms.FooterWidgetItem.prototype.setContent = function(value) {
6034
+ return jspb.Message.setProto3StringField(this, 2, value);
6035
+ };
6036
+
6037
+
6038
+
6039
+ /**
6040
+ * Oneof group definitions for this message. Each group defines the field
6041
+ * numbers belonging to that group. When of these fields' value is set, all
6042
+ * other fields in the group are cleared. During deserialization, if multiple
6043
+ * fields are encountered for a group, only the last value seen will be kept.
6044
+ * @private {!Array<!Array<number>>}
6045
+ * @const
6046
+ */
6047
+ proto.cms.BannerRequest.oneofGroups_ = [[1,2,3]];
6048
+
6049
+ /**
6050
+ * @enum {number}
6051
+ */
6052
+ proto.cms.BannerRequest.RequestCase = {
6053
+ REQUEST_NOT_SET: 0,
6054
+ BANNER_DATA: 1,
6055
+ IMAGE_BIG: 2,
6056
+ IMAGE_SMALL: 3
6057
+ };
6058
+
6059
+ /**
6060
+ * @return {proto.cms.BannerRequest.RequestCase}
6061
+ */
6062
+ proto.cms.BannerRequest.prototype.getRequestCase = function() {
6063
+ return /** @type {proto.cms.BannerRequest.RequestCase} */(jspb.Message.computeOneofCase(this, proto.cms.BannerRequest.oneofGroups_[0]));
6064
+ };
6065
+
6066
+
6067
+
6068
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6069
+ /**
6070
+ * Creates an object representation of this proto.
6071
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6072
+ * Optional fields that are not set will be set to undefined.
6073
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6074
+ * For the list of reserved names please see:
6075
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6076
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6077
+ * JSPB instance for transitional soy proto support:
6078
+ * http://goto/soy-param-migration
6079
+ * @return {!Object}
6080
+ */
6081
+ proto.cms.BannerRequest.prototype.toObject = function(opt_includeInstance) {
6082
+ return proto.cms.BannerRequest.toObject(opt_includeInstance, this);
6083
+ };
6084
+
6085
+
6086
+ /**
6087
+ * Static version of the {@see toObject} method.
6088
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6089
+ * the JSPB instance for transitional soy proto support:
6090
+ * http://goto/soy-param-migration
6091
+ * @param {!proto.cms.BannerRequest} msg The msg instance to transform.
6092
+ * @return {!Object}
6093
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6094
+ */
6095
+ proto.cms.BannerRequest.toObject = function(includeInstance, msg) {
6096
+ var f, obj = {
6097
+ bannerData: (f = msg.getBannerData()) && proto.cms.BannerItemRequest.toObject(includeInstance, f),
6098
+ imageBig: (f = msg.getImageBig()) && proto.cms.File.toObject(includeInstance, f),
6099
+ imageSmall: (f = msg.getImageSmall()) && proto.cms.File.toObject(includeInstance, f)
6100
+ };
6101
+
6102
+ if (includeInstance) {
6103
+ obj.$jspbMessageInstance = msg;
6104
+ }
6105
+ return obj;
6106
+ };
6107
+ }
6108
+
6109
+
6110
+ /**
6111
+ * Deserializes binary data (in protobuf wire format).
6112
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6113
+ * @return {!proto.cms.BannerRequest}
6114
+ */
6115
+ proto.cms.BannerRequest.deserializeBinary = function(bytes) {
6116
+ var reader = new jspb.BinaryReader(bytes);
6117
+ var msg = new proto.cms.BannerRequest;
6118
+ return proto.cms.BannerRequest.deserializeBinaryFromReader(msg, reader);
6119
+ };
6120
+
6121
+
6122
+ /**
6123
+ * Deserializes binary data (in protobuf wire format) from the
6124
+ * given reader into the given message object.
6125
+ * @param {!proto.cms.BannerRequest} msg The message object to deserialize into.
6126
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6127
+ * @return {!proto.cms.BannerRequest}
6128
+ */
6129
+ proto.cms.BannerRequest.deserializeBinaryFromReader = function(msg, reader) {
6130
+ while (reader.nextField()) {
6131
+ if (reader.isEndGroup()) {
6132
+ break;
6133
+ }
6134
+ var field = reader.getFieldNumber();
6135
+ switch (field) {
6136
+ case 1:
6137
+ var value = new proto.cms.BannerItemRequest;
6138
+ reader.readMessage(value,proto.cms.BannerItemRequest.deserializeBinaryFromReader);
6139
+ msg.setBannerData(value);
6140
+ break;
6141
+ case 2:
6142
+ var value = new proto.cms.File;
6143
+ reader.readMessage(value,proto.cms.File.deserializeBinaryFromReader);
6144
+ msg.setImageBig(value);
6145
+ break;
6146
+ case 3:
6147
+ var value = new proto.cms.File;
6148
+ reader.readMessage(value,proto.cms.File.deserializeBinaryFromReader);
6149
+ msg.setImageSmall(value);
6150
+ break;
6151
+ default:
6152
+ reader.skipField();
6153
+ break;
6154
+ }
6155
+ }
6156
+ return msg;
6157
+ };
6158
+
6159
+
6160
+ /**
6161
+ * Serializes the message to binary data (in protobuf wire format).
6162
+ * @return {!Uint8Array}
6163
+ */
6164
+ proto.cms.BannerRequest.prototype.serializeBinary = function() {
6165
+ var writer = new jspb.BinaryWriter();
6166
+ proto.cms.BannerRequest.serializeBinaryToWriter(this, writer);
6167
+ return writer.getResultBuffer();
6168
+ };
6169
+
6170
+
6171
+ /**
6172
+ * Serializes the given message to binary data (in protobuf wire
6173
+ * format), writing to the given BinaryWriter.
6174
+ * @param {!proto.cms.BannerRequest} message
6175
+ * @param {!jspb.BinaryWriter} writer
6176
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6177
+ */
6178
+ proto.cms.BannerRequest.serializeBinaryToWriter = function(message, writer) {
6179
+ var f = undefined;
6180
+ f = message.getBannerData();
6181
+ if (f != null) {
6182
+ writer.writeMessage(
6183
+ 1,
6184
+ f,
6185
+ proto.cms.BannerItemRequest.serializeBinaryToWriter
6186
+ );
6187
+ }
6188
+ f = message.getImageBig();
6189
+ if (f != null) {
6190
+ writer.writeMessage(
6191
+ 2,
6192
+ f,
6193
+ proto.cms.File.serializeBinaryToWriter
6194
+ );
6195
+ }
6196
+ f = message.getImageSmall();
6197
+ if (f != null) {
6198
+ writer.writeMessage(
6199
+ 3,
6200
+ f,
6201
+ proto.cms.File.serializeBinaryToWriter
6202
+ );
6203
+ }
6204
+ };
6205
+
6206
+
6207
+ /**
6208
+ * optional BannerItemRequest banner_data = 1;
6209
+ * @return {?proto.cms.BannerItemRequest}
6210
+ */
6211
+ proto.cms.BannerRequest.prototype.getBannerData = function() {
6212
+ return /** @type{?proto.cms.BannerItemRequest} */ (
6213
+ jspb.Message.getWrapperField(this, proto.cms.BannerItemRequest, 1));
6214
+ };
6215
+
6216
+
6217
+ /**
6218
+ * @param {?proto.cms.BannerItemRequest|undefined} value
6219
+ * @return {!proto.cms.BannerRequest} returns this
6220
+ */
6221
+ proto.cms.BannerRequest.prototype.setBannerData = function(value) {
6222
+ return jspb.Message.setOneofWrapperField(this, 1, proto.cms.BannerRequest.oneofGroups_[0], value);
6223
+ };
6224
+
6225
+
6226
+ /**
6227
+ * Clears the message field making it undefined.
6228
+ * @return {!proto.cms.BannerRequest} returns this
6229
+ */
6230
+ proto.cms.BannerRequest.prototype.clearBannerData = function() {
6231
+ return this.setBannerData(undefined);
6232
+ };
6233
+
6234
+
6235
+ /**
6236
+ * Returns whether this field is set.
6237
+ * @return {boolean}
6238
+ */
6239
+ proto.cms.BannerRequest.prototype.hasBannerData = function() {
6240
+ return jspb.Message.getField(this, 1) != null;
6241
+ };
6242
+
6243
+
6244
+ /**
6245
+ * optional File image_big = 2;
6246
+ * @return {?proto.cms.File}
6247
+ */
6248
+ proto.cms.BannerRequest.prototype.getImageBig = function() {
6249
+ return /** @type{?proto.cms.File} */ (
6250
+ jspb.Message.getWrapperField(this, proto.cms.File, 2));
6251
+ };
6252
+
6253
+
6254
+ /**
6255
+ * @param {?proto.cms.File|undefined} value
6256
+ * @return {!proto.cms.BannerRequest} returns this
6257
+ */
6258
+ proto.cms.BannerRequest.prototype.setImageBig = function(value) {
6259
+ return jspb.Message.setOneofWrapperField(this, 2, proto.cms.BannerRequest.oneofGroups_[0], value);
6260
+ };
6261
+
6262
+
6263
+ /**
6264
+ * Clears the message field making it undefined.
6265
+ * @return {!proto.cms.BannerRequest} returns this
6266
+ */
6267
+ proto.cms.BannerRequest.prototype.clearImageBig = function() {
6268
+ return this.setImageBig(undefined);
6269
+ };
6270
+
6271
+
6272
+ /**
6273
+ * Returns whether this field is set.
6274
+ * @return {boolean}
6275
+ */
6276
+ proto.cms.BannerRequest.prototype.hasImageBig = function() {
6277
+ return jspb.Message.getField(this, 2) != null;
6278
+ };
6279
+
6280
+
6281
+ /**
6282
+ * optional File image_small = 3;
6283
+ * @return {?proto.cms.File}
6284
+ */
6285
+ proto.cms.BannerRequest.prototype.getImageSmall = function() {
6286
+ return /** @type{?proto.cms.File} */ (
6287
+ jspb.Message.getWrapperField(this, proto.cms.File, 3));
6288
+ };
6289
+
6290
+
6291
+ /**
6292
+ * @param {?proto.cms.File|undefined} value
6293
+ * @return {!proto.cms.BannerRequest} returns this
6294
+ */
6295
+ proto.cms.BannerRequest.prototype.setImageSmall = function(value) {
6296
+ return jspb.Message.setOneofWrapperField(this, 3, proto.cms.BannerRequest.oneofGroups_[0], value);
6297
+ };
6298
+
6299
+
6300
+ /**
6301
+ * Clears the message field making it undefined.
6302
+ * @return {!proto.cms.BannerRequest} returns this
6303
+ */
6304
+ proto.cms.BannerRequest.prototype.clearImageSmall = function() {
6305
+ return this.setImageSmall(undefined);
6306
+ };
6307
+
6308
+
6309
+ /**
6310
+ * Returns whether this field is set.
6311
+ * @return {boolean}
6312
+ */
6313
+ proto.cms.BannerRequest.prototype.hasImageSmall = function() {
6314
+ return jspb.Message.getField(this, 3) != null;
6315
+ };
6316
+
6317
+
6318
+
6319
+ /**
6320
+ * List of repeated fields within this message type.
6321
+ * @private {!Array<number>}
6322
+ * @const
6323
+ */
6324
+ proto.cms.BannerItemRequest.repeatedFields_ = [7];
6325
+
6326
+
6327
+
6328
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6329
+ /**
6330
+ * Creates an object representation of this proto.
6331
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6332
+ * Optional fields that are not set will be set to undefined.
6333
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6334
+ * For the list of reserved names please see:
6335
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6336
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6337
+ * JSPB instance for transitional soy proto support:
6338
+ * http://goto/soy-param-migration
6339
+ * @return {!Object}
6340
+ */
6341
+ proto.cms.BannerItemRequest.prototype.toObject = function(opt_includeInstance) {
6342
+ return proto.cms.BannerItemRequest.toObject(opt_includeInstance, this);
6343
+ };
6344
+
6345
+
6346
+ /**
6347
+ * Static version of the {@see toObject} method.
6348
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6349
+ * the JSPB instance for transitional soy proto support:
6350
+ * http://goto/soy-param-migration
6351
+ * @param {!proto.cms.BannerItemRequest} msg The msg instance to transform.
6352
+ * @return {!Object}
6353
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6354
+ */
6355
+ proto.cms.BannerItemRequest.toObject = function(includeInstance, msg) {
6356
+ var f, obj = {
6357
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
6358
+ bannerGroupId: jspb.Message.getFieldWithDefault(msg, 2, 0),
6359
+ geo: jspb.Message.getFieldWithDefault(msg, 3, ""),
6360
+ ctaType: jspb.Message.getFieldWithDefault(msg, 4, ""),
6361
+ anchor: jspb.Message.getFieldWithDefault(msg, 5, ""),
6362
+ isActive: jspb.Message.getFieldWithDefault(msg, 6, 0),
6363
+ textsList: jspb.Message.toObjectList(msg.getTextsList(),
6364
+ proto.cms.BannerTexts.toObject, includeInstance)
6365
+ };
6366
+
6367
+ if (includeInstance) {
6368
+ obj.$jspbMessageInstance = msg;
6369
+ }
6370
+ return obj;
6371
+ };
6372
+ }
6373
+
6374
+
6375
+ /**
6376
+ * Deserializes binary data (in protobuf wire format).
6377
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6378
+ * @return {!proto.cms.BannerItemRequest}
6379
+ */
6380
+ proto.cms.BannerItemRequest.deserializeBinary = function(bytes) {
6381
+ var reader = new jspb.BinaryReader(bytes);
6382
+ var msg = new proto.cms.BannerItemRequest;
6383
+ return proto.cms.BannerItemRequest.deserializeBinaryFromReader(msg, reader);
6384
+ };
6385
+
6386
+
6387
+ /**
6388
+ * Deserializes binary data (in protobuf wire format) from the
6389
+ * given reader into the given message object.
6390
+ * @param {!proto.cms.BannerItemRequest} msg The message object to deserialize into.
6391
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6392
+ * @return {!proto.cms.BannerItemRequest}
6393
+ */
6394
+ proto.cms.BannerItemRequest.deserializeBinaryFromReader = function(msg, reader) {
6395
+ while (reader.nextField()) {
6396
+ if (reader.isEndGroup()) {
6397
+ break;
6398
+ }
6399
+ var field = reader.getFieldNumber();
6400
+ switch (field) {
6401
+ case 1:
6402
+ var value = /** @type {number} */ (reader.readInt32());
6403
+ msg.setId(value);
6404
+ break;
6405
+ case 2:
6406
+ var value = /** @type {number} */ (reader.readInt32());
6407
+ msg.setBannerGroupId(value);
6408
+ break;
6409
+ case 3:
6410
+ var value = /** @type {string} */ (reader.readString());
6411
+ msg.setGeo(value);
6412
+ break;
6413
+ case 4:
5992
6414
  var value = /** @type {string} */ (reader.readString());
5993
6415
  msg.setCtaType(value);
5994
6416
  break;
@@ -25998,7 +26420,7 @@ proto.cms.GetFooterApplicationsRequest.prototype.hasId = function() {
25998
26420
  * @private {!Array<number>}
25999
26421
  * @const
26000
26422
  */
26001
- proto.cms.FooterBrandCoreItem.repeatedFields_ = [7];
26423
+ proto.cms.FooterBrandCoreItem.repeatedFields_ = [7,8,9,10];
26002
26424
 
26003
26425
 
26004
26426
 
@@ -26037,7 +26459,13 @@ proto.cms.FooterBrandCoreItem.toObject = function(includeInstance, msg) {
26037
26459
  isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
26038
26460
  logo: jspb.Message.getFieldWithDefault(msg, 5, ""),
26039
26461
  logoCdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
26040
- columnsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
26462
+ columnsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
26463
+ promosList: jspb.Message.toObjectList(msg.getPromosList(),
26464
+ proto.cms.FooterBrandCoreBrief.toObject, includeInstance),
26465
+ gamesList: jspb.Message.toObjectList(msg.getGamesList(),
26466
+ proto.cms.FooterBrandCoreBrief.toObject, includeInstance),
26467
+ pagesList: jspb.Message.toObjectList(msg.getPagesList(),
26468
+ proto.cms.FooterBrandCoreBrief.toObject, includeInstance)
26041
26469
  };
26042
26470
 
26043
26471
  if (includeInstance) {
@@ -26102,6 +26530,21 @@ proto.cms.FooterBrandCoreItem.deserializeBinaryFromReader = function(msg, reader
26102
26530
  var value = /** @type {string} */ (reader.readString());
26103
26531
  msg.addColumns(value);
26104
26532
  break;
26533
+ case 8:
26534
+ var value = new proto.cms.FooterBrandCoreBrief;
26535
+ reader.readMessage(value,proto.cms.FooterBrandCoreBrief.deserializeBinaryFromReader);
26536
+ msg.addPromos(value);
26537
+ break;
26538
+ case 9:
26539
+ var value = new proto.cms.FooterBrandCoreBrief;
26540
+ reader.readMessage(value,proto.cms.FooterBrandCoreBrief.deserializeBinaryFromReader);
26541
+ msg.addGames(value);
26542
+ break;
26543
+ case 10:
26544
+ var value = new proto.cms.FooterBrandCoreBrief;
26545
+ reader.readMessage(value,proto.cms.FooterBrandCoreBrief.deserializeBinaryFromReader);
26546
+ msg.addPages(value);
26547
+ break;
26105
26548
  default:
26106
26549
  reader.skipField();
26107
26550
  break;
@@ -26180,6 +26623,30 @@ proto.cms.FooterBrandCoreItem.serializeBinaryToWriter = function(message, writer
26180
26623
  f
26181
26624
  );
26182
26625
  }
26626
+ f = message.getPromosList();
26627
+ if (f.length > 0) {
26628
+ writer.writeRepeatedMessage(
26629
+ 8,
26630
+ f,
26631
+ proto.cms.FooterBrandCoreBrief.serializeBinaryToWriter
26632
+ );
26633
+ }
26634
+ f = message.getGamesList();
26635
+ if (f.length > 0) {
26636
+ writer.writeRepeatedMessage(
26637
+ 9,
26638
+ f,
26639
+ proto.cms.FooterBrandCoreBrief.serializeBinaryToWriter
26640
+ );
26641
+ }
26642
+ f = message.getPagesList();
26643
+ if (f.length > 0) {
26644
+ writer.writeRepeatedMessage(
26645
+ 10,
26646
+ f,
26647
+ proto.cms.FooterBrandCoreBrief.serializeBinaryToWriter
26648
+ );
26649
+ }
26183
26650
  };
26184
26651
 
26185
26652
 
@@ -26346,84 +26813,198 @@ proto.cms.FooterBrandCoreItem.prototype.setLogo = function(value) {
26346
26813
 
26347
26814
 
26348
26815
  /**
26349
- * Clears the field making it undefined.
26350
- * @return {!proto.cms.FooterBrandCoreItem} returns this
26816
+ * Clears the field making it undefined.
26817
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26818
+ */
26819
+ proto.cms.FooterBrandCoreItem.prototype.clearLogo = function() {
26820
+ return jspb.Message.setField(this, 5, undefined);
26821
+ };
26822
+
26823
+
26824
+ /**
26825
+ * Returns whether this field is set.
26826
+ * @return {boolean}
26827
+ */
26828
+ proto.cms.FooterBrandCoreItem.prototype.hasLogo = function() {
26829
+ return jspb.Message.getField(this, 5) != null;
26830
+ };
26831
+
26832
+
26833
+ /**
26834
+ * optional string logo_cdn = 6;
26835
+ * @return {string}
26836
+ */
26837
+ proto.cms.FooterBrandCoreItem.prototype.getLogoCdn = function() {
26838
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
26839
+ };
26840
+
26841
+
26842
+ /**
26843
+ * @param {string} value
26844
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26845
+ */
26846
+ proto.cms.FooterBrandCoreItem.prototype.setLogoCdn = function(value) {
26847
+ return jspb.Message.setField(this, 6, value);
26848
+ };
26849
+
26850
+
26851
+ /**
26852
+ * Clears the field making it undefined.
26853
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26854
+ */
26855
+ proto.cms.FooterBrandCoreItem.prototype.clearLogoCdn = function() {
26856
+ return jspb.Message.setField(this, 6, undefined);
26857
+ };
26858
+
26859
+
26860
+ /**
26861
+ * Returns whether this field is set.
26862
+ * @return {boolean}
26863
+ */
26864
+ proto.cms.FooterBrandCoreItem.prototype.hasLogoCdn = function() {
26865
+ return jspb.Message.getField(this, 6) != null;
26866
+ };
26867
+
26868
+
26869
+ /**
26870
+ * repeated string columns = 7;
26871
+ * @return {!Array<string>}
26872
+ */
26873
+ proto.cms.FooterBrandCoreItem.prototype.getColumnsList = function() {
26874
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
26875
+ };
26876
+
26877
+
26878
+ /**
26879
+ * @param {!Array<string>} value
26880
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26881
+ */
26882
+ proto.cms.FooterBrandCoreItem.prototype.setColumnsList = function(value) {
26883
+ return jspb.Message.setField(this, 7, value || []);
26884
+ };
26885
+
26886
+
26887
+ /**
26888
+ * @param {string} value
26889
+ * @param {number=} opt_index
26890
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26891
+ */
26892
+ proto.cms.FooterBrandCoreItem.prototype.addColumns = function(value, opt_index) {
26893
+ return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
26894
+ };
26895
+
26896
+
26897
+ /**
26898
+ * Clears the list making it empty but non-null.
26899
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26900
+ */
26901
+ proto.cms.FooterBrandCoreItem.prototype.clearColumnsList = function() {
26902
+ return this.setColumnsList([]);
26903
+ };
26904
+
26905
+
26906
+ /**
26907
+ * repeated FooterBrandCoreBrief promos = 8;
26908
+ * @return {!Array<!proto.cms.FooterBrandCoreBrief>}
26909
+ */
26910
+ proto.cms.FooterBrandCoreItem.prototype.getPromosList = function() {
26911
+ return /** @type{!Array<!proto.cms.FooterBrandCoreBrief>} */ (
26912
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterBrandCoreBrief, 8));
26913
+ };
26914
+
26915
+
26916
+ /**
26917
+ * @param {!Array<!proto.cms.FooterBrandCoreBrief>} value
26918
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26919
+ */
26920
+ proto.cms.FooterBrandCoreItem.prototype.setPromosList = function(value) {
26921
+ return jspb.Message.setRepeatedWrapperField(this, 8, value);
26922
+ };
26923
+
26924
+
26925
+ /**
26926
+ * @param {!proto.cms.FooterBrandCoreBrief=} opt_value
26927
+ * @param {number=} opt_index
26928
+ * @return {!proto.cms.FooterBrandCoreBrief}
26351
26929
  */
26352
- proto.cms.FooterBrandCoreItem.prototype.clearLogo = function() {
26353
- return jspb.Message.setField(this, 5, undefined);
26930
+ proto.cms.FooterBrandCoreItem.prototype.addPromos = function(opt_value, opt_index) {
26931
+ return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.cms.FooterBrandCoreBrief, opt_index);
26354
26932
  };
26355
26933
 
26356
26934
 
26357
26935
  /**
26358
- * Returns whether this field is set.
26359
- * @return {boolean}
26936
+ * Clears the list making it empty but non-null.
26937
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26360
26938
  */
26361
- proto.cms.FooterBrandCoreItem.prototype.hasLogo = function() {
26362
- return jspb.Message.getField(this, 5) != null;
26939
+ proto.cms.FooterBrandCoreItem.prototype.clearPromosList = function() {
26940
+ return this.setPromosList([]);
26363
26941
  };
26364
26942
 
26365
26943
 
26366
26944
  /**
26367
- * optional string logo_cdn = 6;
26368
- * @return {string}
26945
+ * repeated FooterBrandCoreBrief games = 9;
26946
+ * @return {!Array<!proto.cms.FooterBrandCoreBrief>}
26369
26947
  */
26370
- proto.cms.FooterBrandCoreItem.prototype.getLogoCdn = function() {
26371
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
26948
+ proto.cms.FooterBrandCoreItem.prototype.getGamesList = function() {
26949
+ return /** @type{!Array<!proto.cms.FooterBrandCoreBrief>} */ (
26950
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterBrandCoreBrief, 9));
26372
26951
  };
26373
26952
 
26374
26953
 
26375
26954
  /**
26376
- * @param {string} value
26955
+ * @param {!Array<!proto.cms.FooterBrandCoreBrief>} value
26377
26956
  * @return {!proto.cms.FooterBrandCoreItem} returns this
26378
- */
26379
- proto.cms.FooterBrandCoreItem.prototype.setLogoCdn = function(value) {
26380
- return jspb.Message.setField(this, 6, value);
26957
+ */
26958
+ proto.cms.FooterBrandCoreItem.prototype.setGamesList = function(value) {
26959
+ return jspb.Message.setRepeatedWrapperField(this, 9, value);
26381
26960
  };
26382
26961
 
26383
26962
 
26384
26963
  /**
26385
- * Clears the field making it undefined.
26386
- * @return {!proto.cms.FooterBrandCoreItem} returns this
26964
+ * @param {!proto.cms.FooterBrandCoreBrief=} opt_value
26965
+ * @param {number=} opt_index
26966
+ * @return {!proto.cms.FooterBrandCoreBrief}
26387
26967
  */
26388
- proto.cms.FooterBrandCoreItem.prototype.clearLogoCdn = function() {
26389
- return jspb.Message.setField(this, 6, undefined);
26968
+ proto.cms.FooterBrandCoreItem.prototype.addGames = function(opt_value, opt_index) {
26969
+ return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.cms.FooterBrandCoreBrief, opt_index);
26390
26970
  };
26391
26971
 
26392
26972
 
26393
26973
  /**
26394
- * Returns whether this field is set.
26395
- * @return {boolean}
26974
+ * Clears the list making it empty but non-null.
26975
+ * @return {!proto.cms.FooterBrandCoreItem} returns this
26396
26976
  */
26397
- proto.cms.FooterBrandCoreItem.prototype.hasLogoCdn = function() {
26398
- return jspb.Message.getField(this, 6) != null;
26977
+ proto.cms.FooterBrandCoreItem.prototype.clearGamesList = function() {
26978
+ return this.setGamesList([]);
26399
26979
  };
26400
26980
 
26401
26981
 
26402
26982
  /**
26403
- * repeated string columns = 7;
26404
- * @return {!Array<string>}
26983
+ * repeated FooterBrandCoreBrief pages = 10;
26984
+ * @return {!Array<!proto.cms.FooterBrandCoreBrief>}
26405
26985
  */
26406
- proto.cms.FooterBrandCoreItem.prototype.getColumnsList = function() {
26407
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
26986
+ proto.cms.FooterBrandCoreItem.prototype.getPagesList = function() {
26987
+ return /** @type{!Array<!proto.cms.FooterBrandCoreBrief>} */ (
26988
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterBrandCoreBrief, 10));
26408
26989
  };
26409
26990
 
26410
26991
 
26411
26992
  /**
26412
- * @param {!Array<string>} value
26993
+ * @param {!Array<!proto.cms.FooterBrandCoreBrief>} value
26413
26994
  * @return {!proto.cms.FooterBrandCoreItem} returns this
26414
- */
26415
- proto.cms.FooterBrandCoreItem.prototype.setColumnsList = function(value) {
26416
- return jspb.Message.setField(this, 7, value || []);
26995
+ */
26996
+ proto.cms.FooterBrandCoreItem.prototype.setPagesList = function(value) {
26997
+ return jspb.Message.setRepeatedWrapperField(this, 10, value);
26417
26998
  };
26418
26999
 
26419
27000
 
26420
27001
  /**
26421
- * @param {string} value
27002
+ * @param {!proto.cms.FooterBrandCoreBrief=} opt_value
26422
27003
  * @param {number=} opt_index
26423
- * @return {!proto.cms.FooterBrandCoreItem} returns this
27004
+ * @return {!proto.cms.FooterBrandCoreBrief}
26424
27005
  */
26425
- proto.cms.FooterBrandCoreItem.prototype.addColumns = function(value, opt_index) {
26426
- return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
27006
+ proto.cms.FooterBrandCoreItem.prototype.addPages = function(opt_value, opt_index) {
27007
+ return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.cms.FooterBrandCoreBrief, opt_index);
26427
27008
  };
26428
27009
 
26429
27010
 
@@ -26431,8 +27012,8 @@ proto.cms.FooterBrandCoreItem.prototype.addColumns = function(value, opt_index)
26431
27012
  * Clears the list making it empty but non-null.
26432
27013
  * @return {!proto.cms.FooterBrandCoreItem} returns this
26433
27014
  */
26434
- proto.cms.FooterBrandCoreItem.prototype.clearColumnsList = function() {
26435
- return this.setColumnsList([]);
27015
+ proto.cms.FooterBrandCoreItem.prototype.clearPagesList = function() {
27016
+ return this.setPagesList([]);
26436
27017
  };
26437
27018
 
26438
27019
 
@@ -27866,4 +28447,248 @@ proto.cms.GetFooterBrandCoreRequest.prototype.hasId = function() {
27866
28447
  };
27867
28448
 
27868
28449
 
28450
+
28451
+
28452
+
28453
+ if (jspb.Message.GENERATE_TO_OBJECT) {
28454
+ /**
28455
+ * Creates an object representation of this proto.
28456
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
28457
+ * Optional fields that are not set will be set to undefined.
28458
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
28459
+ * For the list of reserved names please see:
28460
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
28461
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
28462
+ * JSPB instance for transitional soy proto support:
28463
+ * http://goto/soy-param-migration
28464
+ * @return {!Object}
28465
+ */
28466
+ proto.cms.FooterBrandCoreBrief.prototype.toObject = function(opt_includeInstance) {
28467
+ return proto.cms.FooterBrandCoreBrief.toObject(opt_includeInstance, this);
28468
+ };
28469
+
28470
+
28471
+ /**
28472
+ * Static version of the {@see toObject} method.
28473
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
28474
+ * the JSPB instance for transitional soy proto support:
28475
+ * http://goto/soy-param-migration
28476
+ * @param {!proto.cms.FooterBrandCoreBrief} msg The msg instance to transform.
28477
+ * @return {!Object}
28478
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28479
+ */
28480
+ proto.cms.FooterBrandCoreBrief.toObject = function(includeInstance, msg) {
28481
+ var f, obj = {
28482
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
28483
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
28484
+ slug: jspb.Message.getFieldWithDefault(msg, 3, "")
28485
+ };
28486
+
28487
+ if (includeInstance) {
28488
+ obj.$jspbMessageInstance = msg;
28489
+ }
28490
+ return obj;
28491
+ };
28492
+ }
28493
+
28494
+
28495
+ /**
28496
+ * Deserializes binary data (in protobuf wire format).
28497
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
28498
+ * @return {!proto.cms.FooterBrandCoreBrief}
28499
+ */
28500
+ proto.cms.FooterBrandCoreBrief.deserializeBinary = function(bytes) {
28501
+ var reader = new jspb.BinaryReader(bytes);
28502
+ var msg = new proto.cms.FooterBrandCoreBrief;
28503
+ return proto.cms.FooterBrandCoreBrief.deserializeBinaryFromReader(msg, reader);
28504
+ };
28505
+
28506
+
28507
+ /**
28508
+ * Deserializes binary data (in protobuf wire format) from the
28509
+ * given reader into the given message object.
28510
+ * @param {!proto.cms.FooterBrandCoreBrief} msg The message object to deserialize into.
28511
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
28512
+ * @return {!proto.cms.FooterBrandCoreBrief}
28513
+ */
28514
+ proto.cms.FooterBrandCoreBrief.deserializeBinaryFromReader = function(msg, reader) {
28515
+ while (reader.nextField()) {
28516
+ if (reader.isEndGroup()) {
28517
+ break;
28518
+ }
28519
+ var field = reader.getFieldNumber();
28520
+ switch (field) {
28521
+ case 1:
28522
+ var value = /** @type {number} */ (reader.readInt32());
28523
+ msg.setId(value);
28524
+ break;
28525
+ case 2:
28526
+ var value = /** @type {string} */ (reader.readString());
28527
+ msg.setTitle(value);
28528
+ break;
28529
+ case 3:
28530
+ var value = /** @type {string} */ (reader.readString());
28531
+ msg.setSlug(value);
28532
+ break;
28533
+ default:
28534
+ reader.skipField();
28535
+ break;
28536
+ }
28537
+ }
28538
+ return msg;
28539
+ };
28540
+
28541
+
28542
+ /**
28543
+ * Serializes the message to binary data (in protobuf wire format).
28544
+ * @return {!Uint8Array}
28545
+ */
28546
+ proto.cms.FooterBrandCoreBrief.prototype.serializeBinary = function() {
28547
+ var writer = new jspb.BinaryWriter();
28548
+ proto.cms.FooterBrandCoreBrief.serializeBinaryToWriter(this, writer);
28549
+ return writer.getResultBuffer();
28550
+ };
28551
+
28552
+
28553
+ /**
28554
+ * Serializes the given message to binary data (in protobuf wire
28555
+ * format), writing to the given BinaryWriter.
28556
+ * @param {!proto.cms.FooterBrandCoreBrief} message
28557
+ * @param {!jspb.BinaryWriter} writer
28558
+ * @suppress {unusedLocalVariables} f is only used for nested messages
28559
+ */
28560
+ proto.cms.FooterBrandCoreBrief.serializeBinaryToWriter = function(message, writer) {
28561
+ var f = undefined;
28562
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
28563
+ if (f != null) {
28564
+ writer.writeInt32(
28565
+ 1,
28566
+ f
28567
+ );
28568
+ }
28569
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
28570
+ if (f != null) {
28571
+ writer.writeString(
28572
+ 2,
28573
+ f
28574
+ );
28575
+ }
28576
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
28577
+ if (f != null) {
28578
+ writer.writeString(
28579
+ 3,
28580
+ f
28581
+ );
28582
+ }
28583
+ };
28584
+
28585
+
28586
+ /**
28587
+ * optional int32 id = 1;
28588
+ * @return {number}
28589
+ */
28590
+ proto.cms.FooterBrandCoreBrief.prototype.getId = function() {
28591
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
28592
+ };
28593
+
28594
+
28595
+ /**
28596
+ * @param {number} value
28597
+ * @return {!proto.cms.FooterBrandCoreBrief} returns this
28598
+ */
28599
+ proto.cms.FooterBrandCoreBrief.prototype.setId = function(value) {
28600
+ return jspb.Message.setField(this, 1, value);
28601
+ };
28602
+
28603
+
28604
+ /**
28605
+ * Clears the field making it undefined.
28606
+ * @return {!proto.cms.FooterBrandCoreBrief} returns this
28607
+ */
28608
+ proto.cms.FooterBrandCoreBrief.prototype.clearId = function() {
28609
+ return jspb.Message.setField(this, 1, undefined);
28610
+ };
28611
+
28612
+
28613
+ /**
28614
+ * Returns whether this field is set.
28615
+ * @return {boolean}
28616
+ */
28617
+ proto.cms.FooterBrandCoreBrief.prototype.hasId = function() {
28618
+ return jspb.Message.getField(this, 1) != null;
28619
+ };
28620
+
28621
+
28622
+ /**
28623
+ * optional string title = 2;
28624
+ * @return {string}
28625
+ */
28626
+ proto.cms.FooterBrandCoreBrief.prototype.getTitle = function() {
28627
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
28628
+ };
28629
+
28630
+
28631
+ /**
28632
+ * @param {string} value
28633
+ * @return {!proto.cms.FooterBrandCoreBrief} returns this
28634
+ */
28635
+ proto.cms.FooterBrandCoreBrief.prototype.setTitle = function(value) {
28636
+ return jspb.Message.setField(this, 2, value);
28637
+ };
28638
+
28639
+
28640
+ /**
28641
+ * Clears the field making it undefined.
28642
+ * @return {!proto.cms.FooterBrandCoreBrief} returns this
28643
+ */
28644
+ proto.cms.FooterBrandCoreBrief.prototype.clearTitle = function() {
28645
+ return jspb.Message.setField(this, 2, undefined);
28646
+ };
28647
+
28648
+
28649
+ /**
28650
+ * Returns whether this field is set.
28651
+ * @return {boolean}
28652
+ */
28653
+ proto.cms.FooterBrandCoreBrief.prototype.hasTitle = function() {
28654
+ return jspb.Message.getField(this, 2) != null;
28655
+ };
28656
+
28657
+
28658
+ /**
28659
+ * optional string slug = 3;
28660
+ * @return {string}
28661
+ */
28662
+ proto.cms.FooterBrandCoreBrief.prototype.getSlug = function() {
28663
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
28664
+ };
28665
+
28666
+
28667
+ /**
28668
+ * @param {string} value
28669
+ * @return {!proto.cms.FooterBrandCoreBrief} returns this
28670
+ */
28671
+ proto.cms.FooterBrandCoreBrief.prototype.setSlug = function(value) {
28672
+ return jspb.Message.setField(this, 3, value);
28673
+ };
28674
+
28675
+
28676
+ /**
28677
+ * Clears the field making it undefined.
28678
+ * @return {!proto.cms.FooterBrandCoreBrief} returns this
28679
+ */
28680
+ proto.cms.FooterBrandCoreBrief.prototype.clearSlug = function() {
28681
+ return jspb.Message.setField(this, 3, undefined);
28682
+ };
28683
+
28684
+
28685
+ /**
28686
+ * Returns whether this field is set.
28687
+ * @return {boolean}
28688
+ */
28689
+ proto.cms.FooterBrandCoreBrief.prototype.hasSlug = function() {
28690
+ return jspb.Message.getField(this, 3) != null;
28691
+ };
28692
+
28693
+
27869
28694
  goog.object.extend(exports, proto.cms);