protobuf-platform 1.2.127 → 1.2.128

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.proto CHANGED
@@ -18,6 +18,8 @@ service CMS {
18
18
  rpc setFooterWidget(CommonWidgetRequest) returns (FooterWidgetItem);
19
19
  rpc getFooterWidget(GetFooterWidgetRequest) returns (FooterWidgetItem);
20
20
  rpc getFooterBlocks(GetFooterWidgetRequest) returns (FooterBlocks);
21
+ rpc setGameBarWidget(CommonWidgetRequest) returns (GameBarWidgetItem);
22
+ rpc getGameBarWidget(GetGameBarWidgetRequest) returns (GameBarWidgetItem);
21
23
  //Banners
22
24
  rpc createSingleBanner(stream BannerRequest) returns (BannerResponse);
23
25
  rpc readSingleBanner(GetBannerRequest) returns (BannerResponse);
@@ -178,6 +180,15 @@ message FooterBlockItem {
178
180
  message FooterBlocks {
179
181
  repeated FooterBlockItem items = 1;
180
182
  }
183
+ message GetGameBarWidgetRequest {
184
+ optional string geo = 1;
185
+ optional bool is_mobile = 2;
186
+ optional bool admin_side = 3;
187
+ }
188
+ message GameBarWidgetItem {
189
+ string geo = 1;
190
+ string content = 2;
191
+ }
181
192
  //Banners CRUD
182
193
  message BannerRequest {
183
194
  oneof request {
@@ -389,6 +389,17 @@ function deserialize_cms_FooterWidgetItem(buffer_arg) {
389
389
  return cms_pb.FooterWidgetItem.deserializeBinary(new Uint8Array(buffer_arg));
390
390
  }
391
391
 
392
+ function serialize_cms_GameBarWidgetItem(arg) {
393
+ if (!(arg instanceof cms_pb.GameBarWidgetItem)) {
394
+ throw new Error('Expected argument of type cms.GameBarWidgetItem');
395
+ }
396
+ return Buffer.from(arg.serializeBinary());
397
+ }
398
+
399
+ function deserialize_cms_GameBarWidgetItem(buffer_arg) {
400
+ return cms_pb.GameBarWidgetItem.deserializeBinary(new Uint8Array(buffer_arg));
401
+ }
402
+
392
403
  function serialize_cms_GameWidgetRequest(arg) {
393
404
  if (!(arg instanceof cms_pb.GameWidgetRequest)) {
394
405
  throw new Error('Expected argument of type cms.GameWidgetRequest');
@@ -554,6 +565,17 @@ function deserialize_cms_GetFooterWidgetRequest(buffer_arg) {
554
565
  return cms_pb.GetFooterWidgetRequest.deserializeBinary(new Uint8Array(buffer_arg));
555
566
  }
556
567
 
568
+ function serialize_cms_GetGameBarWidgetRequest(arg) {
569
+ if (!(arg instanceof cms_pb.GetGameBarWidgetRequest)) {
570
+ throw new Error('Expected argument of type cms.GetGameBarWidgetRequest');
571
+ }
572
+ return Buffer.from(arg.serializeBinary());
573
+ }
574
+
575
+ function deserialize_cms_GetGameBarWidgetRequest(buffer_arg) {
576
+ return cms_pb.GetGameBarWidgetRequest.deserializeBinary(new Uint8Array(buffer_arg));
577
+ }
578
+
557
579
  function serialize_cms_GetGameWidgetRequest(arg) {
558
580
  if (!(arg instanceof cms_pb.GetGameWidgetRequest)) {
559
581
  throw new Error('Expected argument of type cms.GetGameWidgetRequest');
@@ -1030,6 +1052,28 @@ setMainPageWidget: {
1030
1052
  responseSerialize: serialize_cms_FooterBlocks,
1031
1053
  responseDeserialize: deserialize_cms_FooterBlocks,
1032
1054
  },
1055
+ setGameBarWidget: {
1056
+ path: '/cms.CMS/setGameBarWidget',
1057
+ requestStream: false,
1058
+ responseStream: false,
1059
+ requestType: cms_pb.CommonWidgetRequest,
1060
+ responseType: cms_pb.GameBarWidgetItem,
1061
+ requestSerialize: serialize_cms_CommonWidgetRequest,
1062
+ requestDeserialize: deserialize_cms_CommonWidgetRequest,
1063
+ responseSerialize: serialize_cms_GameBarWidgetItem,
1064
+ responseDeserialize: deserialize_cms_GameBarWidgetItem,
1065
+ },
1066
+ getGameBarWidget: {
1067
+ path: '/cms.CMS/getGameBarWidget',
1068
+ requestStream: false,
1069
+ responseStream: false,
1070
+ requestType: cms_pb.GetGameBarWidgetRequest,
1071
+ responseType: cms_pb.GameBarWidgetItem,
1072
+ requestSerialize: serialize_cms_GetGameBarWidgetRequest,
1073
+ requestDeserialize: deserialize_cms_GetGameBarWidgetRequest,
1074
+ responseSerialize: serialize_cms_GameBarWidgetItem,
1075
+ responseDeserialize: deserialize_cms_GameBarWidgetItem,
1076
+ },
1033
1077
  // Banners
1034
1078
  createSingleBanner: {
1035
1079
  path: '/cms.CMS/createSingleBanner',
package/cms/cms_pb.js CHANGED
@@ -82,6 +82,7 @@ goog.exportSymbol('proto.cms.FooterPaymentsItemsResponse', null, global);
82
82
  goog.exportSymbol('proto.cms.FooterPaymentsResponse', null, global);
83
83
  goog.exportSymbol('proto.cms.FooterPaymentsStatusResponse', null, global);
84
84
  goog.exportSymbol('proto.cms.FooterWidgetItem', null, global);
85
+ goog.exportSymbol('proto.cms.GameBarWidgetItem', null, global);
85
86
  goog.exportSymbol('proto.cms.GameWidgetItem', null, global);
86
87
  goog.exportSymbol('proto.cms.GameWidgetItemRequest', null, global);
87
88
  goog.exportSymbol('proto.cms.GameWidgetRequest', null, global);
@@ -100,6 +101,7 @@ goog.exportSymbol('proto.cms.GetFooterMainTextTranslationRequest', null, global)
100
101
  goog.exportSymbol('proto.cms.GetFooterPartnersRequest', null, global);
101
102
  goog.exportSymbol('proto.cms.GetFooterPaymentsRequest', null, global);
102
103
  goog.exportSymbol('proto.cms.GetFooterWidgetRequest', null, global);
104
+ goog.exportSymbol('proto.cms.GetGameBarWidgetRequest', null, global);
103
105
  goog.exportSymbol('proto.cms.GetGameWidgetRequest', null, global);
104
106
  goog.exportSymbol('proto.cms.GetHeaderWidgetRequest', null, global);
105
107
  goog.exportSymbol('proto.cms.GetMainPageWidgetRequest', null, global);
@@ -556,6 +558,48 @@ if (goog.DEBUG && !COMPILED) {
556
558
  */
557
559
  proto.cms.FooterBlocks.displayName = 'proto.cms.FooterBlocks';
558
560
  }
561
+ /**
562
+ * Generated by JsPbCodeGenerator.
563
+ * @param {Array=} opt_data Optional initial data array, typically from a
564
+ * server response, or constructed directly in Javascript. The array is used
565
+ * in place and becomes part of the constructed object. It is not cloned.
566
+ * If no data is provided, the constructed object will be empty, but still
567
+ * valid.
568
+ * @extends {jspb.Message}
569
+ * @constructor
570
+ */
571
+ proto.cms.GetGameBarWidgetRequest = function(opt_data) {
572
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
573
+ };
574
+ goog.inherits(proto.cms.GetGameBarWidgetRequest, jspb.Message);
575
+ if (goog.DEBUG && !COMPILED) {
576
+ /**
577
+ * @public
578
+ * @override
579
+ */
580
+ proto.cms.GetGameBarWidgetRequest.displayName = 'proto.cms.GetGameBarWidgetRequest';
581
+ }
582
+ /**
583
+ * Generated by JsPbCodeGenerator.
584
+ * @param {Array=} opt_data Optional initial data array, typically from a
585
+ * server response, or constructed directly in Javascript. The array is used
586
+ * in place and becomes part of the constructed object. It is not cloned.
587
+ * If no data is provided, the constructed object will be empty, but still
588
+ * valid.
589
+ * @extends {jspb.Message}
590
+ * @constructor
591
+ */
592
+ proto.cms.GameBarWidgetItem = function(opt_data) {
593
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
594
+ };
595
+ goog.inherits(proto.cms.GameBarWidgetItem, jspb.Message);
596
+ if (goog.DEBUG && !COMPILED) {
597
+ /**
598
+ * @public
599
+ * @override
600
+ */
601
+ proto.cms.GameBarWidgetItem.displayName = 'proto.cms.GameBarWidgetItem';
602
+ }
559
603
  /**
560
604
  * Generated by JsPbCodeGenerator.
561
605
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6526,6 +6570,410 @@ proto.cms.FooterBlocks.prototype.clearItemsList = function() {
6526
6570
 
6527
6571
 
6528
6572
 
6573
+
6574
+
6575
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6576
+ /**
6577
+ * Creates an object representation of this proto.
6578
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6579
+ * Optional fields that are not set will be set to undefined.
6580
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6581
+ * For the list of reserved names please see:
6582
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6583
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6584
+ * JSPB instance for transitional soy proto support:
6585
+ * http://goto/soy-param-migration
6586
+ * @return {!Object}
6587
+ */
6588
+ proto.cms.GetGameBarWidgetRequest.prototype.toObject = function(opt_includeInstance) {
6589
+ return proto.cms.GetGameBarWidgetRequest.toObject(opt_includeInstance, this);
6590
+ };
6591
+
6592
+
6593
+ /**
6594
+ * Static version of the {@see toObject} method.
6595
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6596
+ * the JSPB instance for transitional soy proto support:
6597
+ * http://goto/soy-param-migration
6598
+ * @param {!proto.cms.GetGameBarWidgetRequest} msg The msg instance to transform.
6599
+ * @return {!Object}
6600
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6601
+ */
6602
+ proto.cms.GetGameBarWidgetRequest.toObject = function(includeInstance, msg) {
6603
+ var f, obj = {
6604
+ geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
6605
+ isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
6606
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
6607
+ };
6608
+
6609
+ if (includeInstance) {
6610
+ obj.$jspbMessageInstance = msg;
6611
+ }
6612
+ return obj;
6613
+ };
6614
+ }
6615
+
6616
+
6617
+ /**
6618
+ * Deserializes binary data (in protobuf wire format).
6619
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6620
+ * @return {!proto.cms.GetGameBarWidgetRequest}
6621
+ */
6622
+ proto.cms.GetGameBarWidgetRequest.deserializeBinary = function(bytes) {
6623
+ var reader = new jspb.BinaryReader(bytes);
6624
+ var msg = new proto.cms.GetGameBarWidgetRequest;
6625
+ return proto.cms.GetGameBarWidgetRequest.deserializeBinaryFromReader(msg, reader);
6626
+ };
6627
+
6628
+
6629
+ /**
6630
+ * Deserializes binary data (in protobuf wire format) from the
6631
+ * given reader into the given message object.
6632
+ * @param {!proto.cms.GetGameBarWidgetRequest} msg The message object to deserialize into.
6633
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6634
+ * @return {!proto.cms.GetGameBarWidgetRequest}
6635
+ */
6636
+ proto.cms.GetGameBarWidgetRequest.deserializeBinaryFromReader = function(msg, reader) {
6637
+ while (reader.nextField()) {
6638
+ if (reader.isEndGroup()) {
6639
+ break;
6640
+ }
6641
+ var field = reader.getFieldNumber();
6642
+ switch (field) {
6643
+ case 1:
6644
+ var value = /** @type {string} */ (reader.readString());
6645
+ msg.setGeo(value);
6646
+ break;
6647
+ case 2:
6648
+ var value = /** @type {boolean} */ (reader.readBool());
6649
+ msg.setIsMobile(value);
6650
+ break;
6651
+ case 3:
6652
+ var value = /** @type {boolean} */ (reader.readBool());
6653
+ msg.setAdminSide(value);
6654
+ break;
6655
+ default:
6656
+ reader.skipField();
6657
+ break;
6658
+ }
6659
+ }
6660
+ return msg;
6661
+ };
6662
+
6663
+
6664
+ /**
6665
+ * Serializes the message to binary data (in protobuf wire format).
6666
+ * @return {!Uint8Array}
6667
+ */
6668
+ proto.cms.GetGameBarWidgetRequest.prototype.serializeBinary = function() {
6669
+ var writer = new jspb.BinaryWriter();
6670
+ proto.cms.GetGameBarWidgetRequest.serializeBinaryToWriter(this, writer);
6671
+ return writer.getResultBuffer();
6672
+ };
6673
+
6674
+
6675
+ /**
6676
+ * Serializes the given message to binary data (in protobuf wire
6677
+ * format), writing to the given BinaryWriter.
6678
+ * @param {!proto.cms.GetGameBarWidgetRequest} message
6679
+ * @param {!jspb.BinaryWriter} writer
6680
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6681
+ */
6682
+ proto.cms.GetGameBarWidgetRequest.serializeBinaryToWriter = function(message, writer) {
6683
+ var f = undefined;
6684
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
6685
+ if (f != null) {
6686
+ writer.writeString(
6687
+ 1,
6688
+ f
6689
+ );
6690
+ }
6691
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
6692
+ if (f != null) {
6693
+ writer.writeBool(
6694
+ 2,
6695
+ f
6696
+ );
6697
+ }
6698
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
6699
+ if (f != null) {
6700
+ writer.writeBool(
6701
+ 3,
6702
+ f
6703
+ );
6704
+ }
6705
+ };
6706
+
6707
+
6708
+ /**
6709
+ * optional string geo = 1;
6710
+ * @return {string}
6711
+ */
6712
+ proto.cms.GetGameBarWidgetRequest.prototype.getGeo = function() {
6713
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6714
+ };
6715
+
6716
+
6717
+ /**
6718
+ * @param {string} value
6719
+ * @return {!proto.cms.GetGameBarWidgetRequest} returns this
6720
+ */
6721
+ proto.cms.GetGameBarWidgetRequest.prototype.setGeo = function(value) {
6722
+ return jspb.Message.setField(this, 1, value);
6723
+ };
6724
+
6725
+
6726
+ /**
6727
+ * Clears the field making it undefined.
6728
+ * @return {!proto.cms.GetGameBarWidgetRequest} returns this
6729
+ */
6730
+ proto.cms.GetGameBarWidgetRequest.prototype.clearGeo = function() {
6731
+ return jspb.Message.setField(this, 1, undefined);
6732
+ };
6733
+
6734
+
6735
+ /**
6736
+ * Returns whether this field is set.
6737
+ * @return {boolean}
6738
+ */
6739
+ proto.cms.GetGameBarWidgetRequest.prototype.hasGeo = function() {
6740
+ return jspb.Message.getField(this, 1) != null;
6741
+ };
6742
+
6743
+
6744
+ /**
6745
+ * optional bool is_mobile = 2;
6746
+ * @return {boolean}
6747
+ */
6748
+ proto.cms.GetGameBarWidgetRequest.prototype.getIsMobile = function() {
6749
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
6750
+ };
6751
+
6752
+
6753
+ /**
6754
+ * @param {boolean} value
6755
+ * @return {!proto.cms.GetGameBarWidgetRequest} returns this
6756
+ */
6757
+ proto.cms.GetGameBarWidgetRequest.prototype.setIsMobile = function(value) {
6758
+ return jspb.Message.setField(this, 2, value);
6759
+ };
6760
+
6761
+
6762
+ /**
6763
+ * Clears the field making it undefined.
6764
+ * @return {!proto.cms.GetGameBarWidgetRequest} returns this
6765
+ */
6766
+ proto.cms.GetGameBarWidgetRequest.prototype.clearIsMobile = function() {
6767
+ return jspb.Message.setField(this, 2, undefined);
6768
+ };
6769
+
6770
+
6771
+ /**
6772
+ * Returns whether this field is set.
6773
+ * @return {boolean}
6774
+ */
6775
+ proto.cms.GetGameBarWidgetRequest.prototype.hasIsMobile = function() {
6776
+ return jspb.Message.getField(this, 2) != null;
6777
+ };
6778
+
6779
+
6780
+ /**
6781
+ * optional bool admin_side = 3;
6782
+ * @return {boolean}
6783
+ */
6784
+ proto.cms.GetGameBarWidgetRequest.prototype.getAdminSide = function() {
6785
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
6786
+ };
6787
+
6788
+
6789
+ /**
6790
+ * @param {boolean} value
6791
+ * @return {!proto.cms.GetGameBarWidgetRequest} returns this
6792
+ */
6793
+ proto.cms.GetGameBarWidgetRequest.prototype.setAdminSide = function(value) {
6794
+ return jspb.Message.setField(this, 3, value);
6795
+ };
6796
+
6797
+
6798
+ /**
6799
+ * Clears the field making it undefined.
6800
+ * @return {!proto.cms.GetGameBarWidgetRequest} returns this
6801
+ */
6802
+ proto.cms.GetGameBarWidgetRequest.prototype.clearAdminSide = function() {
6803
+ return jspb.Message.setField(this, 3, undefined);
6804
+ };
6805
+
6806
+
6807
+ /**
6808
+ * Returns whether this field is set.
6809
+ * @return {boolean}
6810
+ */
6811
+ proto.cms.GetGameBarWidgetRequest.prototype.hasAdminSide = function() {
6812
+ return jspb.Message.getField(this, 3) != null;
6813
+ };
6814
+
6815
+
6816
+
6817
+
6818
+
6819
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6820
+ /**
6821
+ * Creates an object representation of this proto.
6822
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6823
+ * Optional fields that are not set will be set to undefined.
6824
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6825
+ * For the list of reserved names please see:
6826
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6827
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6828
+ * JSPB instance for transitional soy proto support:
6829
+ * http://goto/soy-param-migration
6830
+ * @return {!Object}
6831
+ */
6832
+ proto.cms.GameBarWidgetItem.prototype.toObject = function(opt_includeInstance) {
6833
+ return proto.cms.GameBarWidgetItem.toObject(opt_includeInstance, this);
6834
+ };
6835
+
6836
+
6837
+ /**
6838
+ * Static version of the {@see toObject} method.
6839
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6840
+ * the JSPB instance for transitional soy proto support:
6841
+ * http://goto/soy-param-migration
6842
+ * @param {!proto.cms.GameBarWidgetItem} msg The msg instance to transform.
6843
+ * @return {!Object}
6844
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6845
+ */
6846
+ proto.cms.GameBarWidgetItem.toObject = function(includeInstance, msg) {
6847
+ var f, obj = {
6848
+ geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
6849
+ content: jspb.Message.getFieldWithDefault(msg, 2, "")
6850
+ };
6851
+
6852
+ if (includeInstance) {
6853
+ obj.$jspbMessageInstance = msg;
6854
+ }
6855
+ return obj;
6856
+ };
6857
+ }
6858
+
6859
+
6860
+ /**
6861
+ * Deserializes binary data (in protobuf wire format).
6862
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6863
+ * @return {!proto.cms.GameBarWidgetItem}
6864
+ */
6865
+ proto.cms.GameBarWidgetItem.deserializeBinary = function(bytes) {
6866
+ var reader = new jspb.BinaryReader(bytes);
6867
+ var msg = new proto.cms.GameBarWidgetItem;
6868
+ return proto.cms.GameBarWidgetItem.deserializeBinaryFromReader(msg, reader);
6869
+ };
6870
+
6871
+
6872
+ /**
6873
+ * Deserializes binary data (in protobuf wire format) from the
6874
+ * given reader into the given message object.
6875
+ * @param {!proto.cms.GameBarWidgetItem} msg The message object to deserialize into.
6876
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6877
+ * @return {!proto.cms.GameBarWidgetItem}
6878
+ */
6879
+ proto.cms.GameBarWidgetItem.deserializeBinaryFromReader = function(msg, reader) {
6880
+ while (reader.nextField()) {
6881
+ if (reader.isEndGroup()) {
6882
+ break;
6883
+ }
6884
+ var field = reader.getFieldNumber();
6885
+ switch (field) {
6886
+ case 1:
6887
+ var value = /** @type {string} */ (reader.readString());
6888
+ msg.setGeo(value);
6889
+ break;
6890
+ case 2:
6891
+ var value = /** @type {string} */ (reader.readString());
6892
+ msg.setContent(value);
6893
+ break;
6894
+ default:
6895
+ reader.skipField();
6896
+ break;
6897
+ }
6898
+ }
6899
+ return msg;
6900
+ };
6901
+
6902
+
6903
+ /**
6904
+ * Serializes the message to binary data (in protobuf wire format).
6905
+ * @return {!Uint8Array}
6906
+ */
6907
+ proto.cms.GameBarWidgetItem.prototype.serializeBinary = function() {
6908
+ var writer = new jspb.BinaryWriter();
6909
+ proto.cms.GameBarWidgetItem.serializeBinaryToWriter(this, writer);
6910
+ return writer.getResultBuffer();
6911
+ };
6912
+
6913
+
6914
+ /**
6915
+ * Serializes the given message to binary data (in protobuf wire
6916
+ * format), writing to the given BinaryWriter.
6917
+ * @param {!proto.cms.GameBarWidgetItem} message
6918
+ * @param {!jspb.BinaryWriter} writer
6919
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6920
+ */
6921
+ proto.cms.GameBarWidgetItem.serializeBinaryToWriter = function(message, writer) {
6922
+ var f = undefined;
6923
+ f = message.getGeo();
6924
+ if (f.length > 0) {
6925
+ writer.writeString(
6926
+ 1,
6927
+ f
6928
+ );
6929
+ }
6930
+ f = message.getContent();
6931
+ if (f.length > 0) {
6932
+ writer.writeString(
6933
+ 2,
6934
+ f
6935
+ );
6936
+ }
6937
+ };
6938
+
6939
+
6940
+ /**
6941
+ * optional string geo = 1;
6942
+ * @return {string}
6943
+ */
6944
+ proto.cms.GameBarWidgetItem.prototype.getGeo = function() {
6945
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6946
+ };
6947
+
6948
+
6949
+ /**
6950
+ * @param {string} value
6951
+ * @return {!proto.cms.GameBarWidgetItem} returns this
6952
+ */
6953
+ proto.cms.GameBarWidgetItem.prototype.setGeo = function(value) {
6954
+ return jspb.Message.setProto3StringField(this, 1, value);
6955
+ };
6956
+
6957
+
6958
+ /**
6959
+ * optional string content = 2;
6960
+ * @return {string}
6961
+ */
6962
+ proto.cms.GameBarWidgetItem.prototype.getContent = function() {
6963
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6964
+ };
6965
+
6966
+
6967
+ /**
6968
+ * @param {string} value
6969
+ * @return {!proto.cms.GameBarWidgetItem} returns this
6970
+ */
6971
+ proto.cms.GameBarWidgetItem.prototype.setContent = function(value) {
6972
+ return jspb.Message.setProto3StringField(this, 2, value);
6973
+ };
6974
+
6975
+
6976
+
6529
6977
  /**
6530
6978
  * Oneof group definitions for this message. Each group defines the field
6531
6979
  * numbers belonging to that group. When of these fields' value is set, all
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.127",
3
+ "version": "1.2.128",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {