protobuf-platform 1.2.247 → 1.2.249

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/bonus/bonus.proto CHANGED
@@ -61,6 +61,8 @@ message SearchBonusRequest {
61
61
  repeated string currencies = 3;
62
62
  optional int32 status_id = 4;
63
63
  optional string locale = 5;
64
+ optional string status_string = 6;
65
+ optional string type_string = 7;
64
66
  }
65
67
  //Bonus CRUD | Requests
66
68
  message BonusRequest {
package/bonus/bonus_pb.js CHANGED
@@ -2123,7 +2123,9 @@ proto.bonus.SearchBonusRequest.toObject = function(includeInstance, msg) {
2123
2123
  typeId: jspb.Message.getFieldWithDefault(msg, 2, 0),
2124
2124
  currenciesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
2125
2125
  statusId: jspb.Message.getFieldWithDefault(msg, 4, 0),
2126
- locale: jspb.Message.getFieldWithDefault(msg, 5, "")
2126
+ locale: jspb.Message.getFieldWithDefault(msg, 5, ""),
2127
+ statusString: jspb.Message.getFieldWithDefault(msg, 6, ""),
2128
+ typeString: jspb.Message.getFieldWithDefault(msg, 7, "")
2127
2129
  };
2128
2130
 
2129
2131
  if (includeInstance) {
@@ -2180,6 +2182,14 @@ proto.bonus.SearchBonusRequest.deserializeBinaryFromReader = function(msg, reade
2180
2182
  var value = /** @type {string} */ (reader.readString());
2181
2183
  msg.setLocale(value);
2182
2184
  break;
2185
+ case 6:
2186
+ var value = /** @type {string} */ (reader.readString());
2187
+ msg.setStatusString(value);
2188
+ break;
2189
+ case 7:
2190
+ var value = /** @type {string} */ (reader.readString());
2191
+ msg.setTypeString(value);
2192
+ break;
2183
2193
  default:
2184
2194
  reader.skipField();
2185
2195
  break;
@@ -2244,6 +2254,20 @@ proto.bonus.SearchBonusRequest.serializeBinaryToWriter = function(message, write
2244
2254
  f
2245
2255
  );
2246
2256
  }
2257
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
2258
+ if (f != null) {
2259
+ writer.writeString(
2260
+ 6,
2261
+ f
2262
+ );
2263
+ }
2264
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
2265
+ if (f != null) {
2266
+ writer.writeString(
2267
+ 7,
2268
+ f
2269
+ );
2270
+ }
2247
2271
  };
2248
2272
 
2249
2273
 
@@ -2428,6 +2452,78 @@ proto.bonus.SearchBonusRequest.prototype.hasLocale = function() {
2428
2452
  };
2429
2453
 
2430
2454
 
2455
+ /**
2456
+ * optional string status_string = 6;
2457
+ * @return {string}
2458
+ */
2459
+ proto.bonus.SearchBonusRequest.prototype.getStatusString = function() {
2460
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2461
+ };
2462
+
2463
+
2464
+ /**
2465
+ * @param {string} value
2466
+ * @return {!proto.bonus.SearchBonusRequest} returns this
2467
+ */
2468
+ proto.bonus.SearchBonusRequest.prototype.setStatusString = function(value) {
2469
+ return jspb.Message.setField(this, 6, value);
2470
+ };
2471
+
2472
+
2473
+ /**
2474
+ * Clears the field making it undefined.
2475
+ * @return {!proto.bonus.SearchBonusRequest} returns this
2476
+ */
2477
+ proto.bonus.SearchBonusRequest.prototype.clearStatusString = function() {
2478
+ return jspb.Message.setField(this, 6, undefined);
2479
+ };
2480
+
2481
+
2482
+ /**
2483
+ * Returns whether this field is set.
2484
+ * @return {boolean}
2485
+ */
2486
+ proto.bonus.SearchBonusRequest.prototype.hasStatusString = function() {
2487
+ return jspb.Message.getField(this, 6) != null;
2488
+ };
2489
+
2490
+
2491
+ /**
2492
+ * optional string type_string = 7;
2493
+ * @return {string}
2494
+ */
2495
+ proto.bonus.SearchBonusRequest.prototype.getTypeString = function() {
2496
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2497
+ };
2498
+
2499
+
2500
+ /**
2501
+ * @param {string} value
2502
+ * @return {!proto.bonus.SearchBonusRequest} returns this
2503
+ */
2504
+ proto.bonus.SearchBonusRequest.prototype.setTypeString = function(value) {
2505
+ return jspb.Message.setField(this, 7, value);
2506
+ };
2507
+
2508
+
2509
+ /**
2510
+ * Clears the field making it undefined.
2511
+ * @return {!proto.bonus.SearchBonusRequest} returns this
2512
+ */
2513
+ proto.bonus.SearchBonusRequest.prototype.clearTypeString = function() {
2514
+ return jspb.Message.setField(this, 7, undefined);
2515
+ };
2516
+
2517
+
2518
+ /**
2519
+ * Returns whether this field is set.
2520
+ * @return {boolean}
2521
+ */
2522
+ proto.bonus.SearchBonusRequest.prototype.hasTypeString = function() {
2523
+ return jspb.Message.getField(this, 7) != null;
2524
+ };
2525
+
2526
+
2431
2527
 
2432
2528
  /**
2433
2529
  * Oneof group definitions for this message. Each group defines the field
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.247",
3
+ "version": "1.2.249",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -185,6 +185,15 @@ message TournamentGamesRequest {
185
185
  repeated int32 game_ids = 2;
186
186
  }
187
187
  //User
188
+ message GamePoorItem {
189
+ optional int32 id = 1;
190
+ optional string title = 2;
191
+ optional string slug = 3;
192
+ optional string uuid = 4;
193
+ optional string image = 5;
194
+ optional string provider_title = 6;
195
+ optional string provider_slug = 7;
196
+ }
188
197
  message UserTournamentItem {
189
198
  optional int32 id = 1;
190
199
  optional string title = 2;
@@ -203,6 +212,7 @@ message UserTournamentItem {
203
212
  optional bool can_activated = 15;
204
213
  optional string user_status = 16;
205
214
  optional uint32 finished_in_milliseconds = 17;
215
+ repeated GamePoorItem eligible_games = 18;
206
216
  }
207
217
  message UserTournamentItemsResponse {
208
218
  repeated UserTournamentItem items = 1;
@@ -25,6 +25,7 @@ goog.exportSymbol('proto.tournament.ActivationRuleItem', null, global);
25
25
  goog.exportSymbol('proto.tournament.ActiveUserTournamentsRequest', null, global);
26
26
  goog.exportSymbol('proto.tournament.ContentItem', null, global);
27
27
  goog.exportSymbol('proto.tournament.File', null, global);
28
+ goog.exportSymbol('proto.tournament.GamePoorItem', null, global);
28
29
  goog.exportSymbol('proto.tournament.GetFileRequest', null, global);
29
30
  goog.exportSymbol('proto.tournament.GetOnlineTournamentInfoRequest', null, global);
30
31
  goog.exportSymbol('proto.tournament.GetTournamentLeaderboardRequest', null, global);
@@ -605,6 +606,27 @@ if (goog.DEBUG && !COMPILED) {
605
606
  */
606
607
  proto.tournament.TournamentGamesRequest.displayName = 'proto.tournament.TournamentGamesRequest';
607
608
  }
609
+ /**
610
+ * Generated by JsPbCodeGenerator.
611
+ * @param {Array=} opt_data Optional initial data array, typically from a
612
+ * server response, or constructed directly in Javascript. The array is used
613
+ * in place and becomes part of the constructed object. It is not cloned.
614
+ * If no data is provided, the constructed object will be empty, but still
615
+ * valid.
616
+ * @extends {jspb.Message}
617
+ * @constructor
618
+ */
619
+ proto.tournament.GamePoorItem = function(opt_data) {
620
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
621
+ };
622
+ goog.inherits(proto.tournament.GamePoorItem, jspb.Message);
623
+ if (goog.DEBUG && !COMPILED) {
624
+ /**
625
+ * @public
626
+ * @override
627
+ */
628
+ proto.tournament.GamePoorItem.displayName = 'proto.tournament.GamePoorItem';
629
+ }
608
630
  /**
609
631
  * Generated by JsPbCodeGenerator.
610
632
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8528,12 +8550,448 @@ proto.tournament.TournamentGamesRequest.prototype.clearGameIdsList = function()
8528
8550
 
8529
8551
 
8530
8552
 
8553
+
8554
+
8555
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8556
+ /**
8557
+ * Creates an object representation of this proto.
8558
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8559
+ * Optional fields that are not set will be set to undefined.
8560
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8561
+ * For the list of reserved names please see:
8562
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8563
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8564
+ * JSPB instance for transitional soy proto support:
8565
+ * http://goto/soy-param-migration
8566
+ * @return {!Object}
8567
+ */
8568
+ proto.tournament.GamePoorItem.prototype.toObject = function(opt_includeInstance) {
8569
+ return proto.tournament.GamePoorItem.toObject(opt_includeInstance, this);
8570
+ };
8571
+
8572
+
8573
+ /**
8574
+ * Static version of the {@see toObject} method.
8575
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8576
+ * the JSPB instance for transitional soy proto support:
8577
+ * http://goto/soy-param-migration
8578
+ * @param {!proto.tournament.GamePoorItem} msg The msg instance to transform.
8579
+ * @return {!Object}
8580
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8581
+ */
8582
+ proto.tournament.GamePoorItem.toObject = function(includeInstance, msg) {
8583
+ var f, obj = {
8584
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
8585
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
8586
+ slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
8587
+ uuid: jspb.Message.getFieldWithDefault(msg, 4, ""),
8588
+ image: jspb.Message.getFieldWithDefault(msg, 5, ""),
8589
+ providerTitle: jspb.Message.getFieldWithDefault(msg, 6, ""),
8590
+ providerSlug: jspb.Message.getFieldWithDefault(msg, 7, "")
8591
+ };
8592
+
8593
+ if (includeInstance) {
8594
+ obj.$jspbMessageInstance = msg;
8595
+ }
8596
+ return obj;
8597
+ };
8598
+ }
8599
+
8600
+
8601
+ /**
8602
+ * Deserializes binary data (in protobuf wire format).
8603
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8604
+ * @return {!proto.tournament.GamePoorItem}
8605
+ */
8606
+ proto.tournament.GamePoorItem.deserializeBinary = function(bytes) {
8607
+ var reader = new jspb.BinaryReader(bytes);
8608
+ var msg = new proto.tournament.GamePoorItem;
8609
+ return proto.tournament.GamePoorItem.deserializeBinaryFromReader(msg, reader);
8610
+ };
8611
+
8612
+
8613
+ /**
8614
+ * Deserializes binary data (in protobuf wire format) from the
8615
+ * given reader into the given message object.
8616
+ * @param {!proto.tournament.GamePoorItem} msg The message object to deserialize into.
8617
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8618
+ * @return {!proto.tournament.GamePoorItem}
8619
+ */
8620
+ proto.tournament.GamePoorItem.deserializeBinaryFromReader = function(msg, reader) {
8621
+ while (reader.nextField()) {
8622
+ if (reader.isEndGroup()) {
8623
+ break;
8624
+ }
8625
+ var field = reader.getFieldNumber();
8626
+ switch (field) {
8627
+ case 1:
8628
+ var value = /** @type {number} */ (reader.readInt32());
8629
+ msg.setId(value);
8630
+ break;
8631
+ case 2:
8632
+ var value = /** @type {string} */ (reader.readString());
8633
+ msg.setTitle(value);
8634
+ break;
8635
+ case 3:
8636
+ var value = /** @type {string} */ (reader.readString());
8637
+ msg.setSlug(value);
8638
+ break;
8639
+ case 4:
8640
+ var value = /** @type {string} */ (reader.readString());
8641
+ msg.setUuid(value);
8642
+ break;
8643
+ case 5:
8644
+ var value = /** @type {string} */ (reader.readString());
8645
+ msg.setImage(value);
8646
+ break;
8647
+ case 6:
8648
+ var value = /** @type {string} */ (reader.readString());
8649
+ msg.setProviderTitle(value);
8650
+ break;
8651
+ case 7:
8652
+ var value = /** @type {string} */ (reader.readString());
8653
+ msg.setProviderSlug(value);
8654
+ break;
8655
+ default:
8656
+ reader.skipField();
8657
+ break;
8658
+ }
8659
+ }
8660
+ return msg;
8661
+ };
8662
+
8663
+
8664
+ /**
8665
+ * Serializes the message to binary data (in protobuf wire format).
8666
+ * @return {!Uint8Array}
8667
+ */
8668
+ proto.tournament.GamePoorItem.prototype.serializeBinary = function() {
8669
+ var writer = new jspb.BinaryWriter();
8670
+ proto.tournament.GamePoorItem.serializeBinaryToWriter(this, writer);
8671
+ return writer.getResultBuffer();
8672
+ };
8673
+
8674
+
8675
+ /**
8676
+ * Serializes the given message to binary data (in protobuf wire
8677
+ * format), writing to the given BinaryWriter.
8678
+ * @param {!proto.tournament.GamePoorItem} message
8679
+ * @param {!jspb.BinaryWriter} writer
8680
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8681
+ */
8682
+ proto.tournament.GamePoorItem.serializeBinaryToWriter = function(message, writer) {
8683
+ var f = undefined;
8684
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
8685
+ if (f != null) {
8686
+ writer.writeInt32(
8687
+ 1,
8688
+ f
8689
+ );
8690
+ }
8691
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
8692
+ if (f != null) {
8693
+ writer.writeString(
8694
+ 2,
8695
+ f
8696
+ );
8697
+ }
8698
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
8699
+ if (f != null) {
8700
+ writer.writeString(
8701
+ 3,
8702
+ f
8703
+ );
8704
+ }
8705
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
8706
+ if (f != null) {
8707
+ writer.writeString(
8708
+ 4,
8709
+ f
8710
+ );
8711
+ }
8712
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
8713
+ if (f != null) {
8714
+ writer.writeString(
8715
+ 5,
8716
+ f
8717
+ );
8718
+ }
8719
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
8720
+ if (f != null) {
8721
+ writer.writeString(
8722
+ 6,
8723
+ f
8724
+ );
8725
+ }
8726
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
8727
+ if (f != null) {
8728
+ writer.writeString(
8729
+ 7,
8730
+ f
8731
+ );
8732
+ }
8733
+ };
8734
+
8735
+
8736
+ /**
8737
+ * optional int32 id = 1;
8738
+ * @return {number}
8739
+ */
8740
+ proto.tournament.GamePoorItem.prototype.getId = function() {
8741
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
8742
+ };
8743
+
8744
+
8745
+ /**
8746
+ * @param {number} value
8747
+ * @return {!proto.tournament.GamePoorItem} returns this
8748
+ */
8749
+ proto.tournament.GamePoorItem.prototype.setId = function(value) {
8750
+ return jspb.Message.setField(this, 1, value);
8751
+ };
8752
+
8753
+
8754
+ /**
8755
+ * Clears the field making it undefined.
8756
+ * @return {!proto.tournament.GamePoorItem} returns this
8757
+ */
8758
+ proto.tournament.GamePoorItem.prototype.clearId = function() {
8759
+ return jspb.Message.setField(this, 1, undefined);
8760
+ };
8761
+
8762
+
8763
+ /**
8764
+ * Returns whether this field is set.
8765
+ * @return {boolean}
8766
+ */
8767
+ proto.tournament.GamePoorItem.prototype.hasId = function() {
8768
+ return jspb.Message.getField(this, 1) != null;
8769
+ };
8770
+
8771
+
8772
+ /**
8773
+ * optional string title = 2;
8774
+ * @return {string}
8775
+ */
8776
+ proto.tournament.GamePoorItem.prototype.getTitle = function() {
8777
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
8778
+ };
8779
+
8780
+
8781
+ /**
8782
+ * @param {string} value
8783
+ * @return {!proto.tournament.GamePoorItem} returns this
8784
+ */
8785
+ proto.tournament.GamePoorItem.prototype.setTitle = function(value) {
8786
+ return jspb.Message.setField(this, 2, value);
8787
+ };
8788
+
8789
+
8790
+ /**
8791
+ * Clears the field making it undefined.
8792
+ * @return {!proto.tournament.GamePoorItem} returns this
8793
+ */
8794
+ proto.tournament.GamePoorItem.prototype.clearTitle = function() {
8795
+ return jspb.Message.setField(this, 2, undefined);
8796
+ };
8797
+
8798
+
8799
+ /**
8800
+ * Returns whether this field is set.
8801
+ * @return {boolean}
8802
+ */
8803
+ proto.tournament.GamePoorItem.prototype.hasTitle = function() {
8804
+ return jspb.Message.getField(this, 2) != null;
8805
+ };
8806
+
8807
+
8808
+ /**
8809
+ * optional string slug = 3;
8810
+ * @return {string}
8811
+ */
8812
+ proto.tournament.GamePoorItem.prototype.getSlug = function() {
8813
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8814
+ };
8815
+
8816
+
8817
+ /**
8818
+ * @param {string} value
8819
+ * @return {!proto.tournament.GamePoorItem} returns this
8820
+ */
8821
+ proto.tournament.GamePoorItem.prototype.setSlug = function(value) {
8822
+ return jspb.Message.setField(this, 3, value);
8823
+ };
8824
+
8825
+
8826
+ /**
8827
+ * Clears the field making it undefined.
8828
+ * @return {!proto.tournament.GamePoorItem} returns this
8829
+ */
8830
+ proto.tournament.GamePoorItem.prototype.clearSlug = function() {
8831
+ return jspb.Message.setField(this, 3, undefined);
8832
+ };
8833
+
8834
+
8835
+ /**
8836
+ * Returns whether this field is set.
8837
+ * @return {boolean}
8838
+ */
8839
+ proto.tournament.GamePoorItem.prototype.hasSlug = function() {
8840
+ return jspb.Message.getField(this, 3) != null;
8841
+ };
8842
+
8843
+
8844
+ /**
8845
+ * optional string uuid = 4;
8846
+ * @return {string}
8847
+ */
8848
+ proto.tournament.GamePoorItem.prototype.getUuid = function() {
8849
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
8850
+ };
8851
+
8852
+
8853
+ /**
8854
+ * @param {string} value
8855
+ * @return {!proto.tournament.GamePoorItem} returns this
8856
+ */
8857
+ proto.tournament.GamePoorItem.prototype.setUuid = function(value) {
8858
+ return jspb.Message.setField(this, 4, value);
8859
+ };
8860
+
8861
+
8862
+ /**
8863
+ * Clears the field making it undefined.
8864
+ * @return {!proto.tournament.GamePoorItem} returns this
8865
+ */
8866
+ proto.tournament.GamePoorItem.prototype.clearUuid = function() {
8867
+ return jspb.Message.setField(this, 4, undefined);
8868
+ };
8869
+
8870
+
8871
+ /**
8872
+ * Returns whether this field is set.
8873
+ * @return {boolean}
8874
+ */
8875
+ proto.tournament.GamePoorItem.prototype.hasUuid = function() {
8876
+ return jspb.Message.getField(this, 4) != null;
8877
+ };
8878
+
8879
+
8880
+ /**
8881
+ * optional string image = 5;
8882
+ * @return {string}
8883
+ */
8884
+ proto.tournament.GamePoorItem.prototype.getImage = function() {
8885
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
8886
+ };
8887
+
8888
+
8889
+ /**
8890
+ * @param {string} value
8891
+ * @return {!proto.tournament.GamePoorItem} returns this
8892
+ */
8893
+ proto.tournament.GamePoorItem.prototype.setImage = function(value) {
8894
+ return jspb.Message.setField(this, 5, value);
8895
+ };
8896
+
8897
+
8898
+ /**
8899
+ * Clears the field making it undefined.
8900
+ * @return {!proto.tournament.GamePoorItem} returns this
8901
+ */
8902
+ proto.tournament.GamePoorItem.prototype.clearImage = function() {
8903
+ return jspb.Message.setField(this, 5, undefined);
8904
+ };
8905
+
8906
+
8907
+ /**
8908
+ * Returns whether this field is set.
8909
+ * @return {boolean}
8910
+ */
8911
+ proto.tournament.GamePoorItem.prototype.hasImage = function() {
8912
+ return jspb.Message.getField(this, 5) != null;
8913
+ };
8914
+
8915
+
8916
+ /**
8917
+ * optional string provider_title = 6;
8918
+ * @return {string}
8919
+ */
8920
+ proto.tournament.GamePoorItem.prototype.getProviderTitle = function() {
8921
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
8922
+ };
8923
+
8924
+
8925
+ /**
8926
+ * @param {string} value
8927
+ * @return {!proto.tournament.GamePoorItem} returns this
8928
+ */
8929
+ proto.tournament.GamePoorItem.prototype.setProviderTitle = function(value) {
8930
+ return jspb.Message.setField(this, 6, value);
8931
+ };
8932
+
8933
+
8934
+ /**
8935
+ * Clears the field making it undefined.
8936
+ * @return {!proto.tournament.GamePoorItem} returns this
8937
+ */
8938
+ proto.tournament.GamePoorItem.prototype.clearProviderTitle = function() {
8939
+ return jspb.Message.setField(this, 6, undefined);
8940
+ };
8941
+
8942
+
8943
+ /**
8944
+ * Returns whether this field is set.
8945
+ * @return {boolean}
8946
+ */
8947
+ proto.tournament.GamePoorItem.prototype.hasProviderTitle = function() {
8948
+ return jspb.Message.getField(this, 6) != null;
8949
+ };
8950
+
8951
+
8952
+ /**
8953
+ * optional string provider_slug = 7;
8954
+ * @return {string}
8955
+ */
8956
+ proto.tournament.GamePoorItem.prototype.getProviderSlug = function() {
8957
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
8958
+ };
8959
+
8960
+
8961
+ /**
8962
+ * @param {string} value
8963
+ * @return {!proto.tournament.GamePoorItem} returns this
8964
+ */
8965
+ proto.tournament.GamePoorItem.prototype.setProviderSlug = function(value) {
8966
+ return jspb.Message.setField(this, 7, value);
8967
+ };
8968
+
8969
+
8970
+ /**
8971
+ * Clears the field making it undefined.
8972
+ * @return {!proto.tournament.GamePoorItem} returns this
8973
+ */
8974
+ proto.tournament.GamePoorItem.prototype.clearProviderSlug = function() {
8975
+ return jspb.Message.setField(this, 7, undefined);
8976
+ };
8977
+
8978
+
8979
+ /**
8980
+ * Returns whether this field is set.
8981
+ * @return {boolean}
8982
+ */
8983
+ proto.tournament.GamePoorItem.prototype.hasProviderSlug = function() {
8984
+ return jspb.Message.getField(this, 7) != null;
8985
+ };
8986
+
8987
+
8988
+
8531
8989
  /**
8532
8990
  * List of repeated fields within this message type.
8533
8991
  * @private {!Array<number>}
8534
8992
  * @const
8535
8993
  */
8536
- proto.tournament.UserTournamentItem.repeatedFields_ = [11,12];
8994
+ proto.tournament.UserTournamentItem.repeatedFields_ = [11,12,18];
8537
8995
 
8538
8996
 
8539
8997
 
@@ -8584,7 +9042,9 @@ proto.tournament.UserTournamentItem.toObject = function(includeInstance, msg) {
8584
9042
  slug: jspb.Message.getFieldWithDefault(msg, 14, ""),
8585
9043
  canActivated: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
8586
9044
  userStatus: jspb.Message.getFieldWithDefault(msg, 16, ""),
8587
- finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 17, 0)
9045
+ finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 17, 0),
9046
+ eligibleGamesList: jspb.Message.toObjectList(msg.getEligibleGamesList(),
9047
+ proto.tournament.GamePoorItem.toObject, includeInstance)
8588
9048
  };
8589
9049
 
8590
9050
  if (includeInstance) {
@@ -8691,6 +9151,11 @@ proto.tournament.UserTournamentItem.deserializeBinaryFromReader = function(msg,
8691
9151
  var value = /** @type {number} */ (reader.readUint32());
8692
9152
  msg.setFinishedInMilliseconds(value);
8693
9153
  break;
9154
+ case 18:
9155
+ var value = new proto.tournament.GamePoorItem;
9156
+ reader.readMessage(value,proto.tournament.GamePoorItem.deserializeBinaryFromReader);
9157
+ msg.addEligibleGames(value);
9158
+ break;
8694
9159
  default:
8695
9160
  reader.skipField();
8696
9161
  break;
@@ -8841,6 +9306,14 @@ proto.tournament.UserTournamentItem.serializeBinaryToWriter = function(message,
8841
9306
  f
8842
9307
  );
8843
9308
  }
9309
+ f = message.getEligibleGamesList();
9310
+ if (f.length > 0) {
9311
+ writer.writeRepeatedMessage(
9312
+ 18,
9313
+ f,
9314
+ proto.tournament.GamePoorItem.serializeBinaryToWriter
9315
+ );
9316
+ }
8844
9317
  };
8845
9318
 
8846
9319
 
@@ -9460,6 +9933,44 @@ proto.tournament.UserTournamentItem.prototype.hasFinishedInMilliseconds = functi
9460
9933
  };
9461
9934
 
9462
9935
 
9936
+ /**
9937
+ * repeated GamePoorItem eligible_games = 18;
9938
+ * @return {!Array<!proto.tournament.GamePoorItem>}
9939
+ */
9940
+ proto.tournament.UserTournamentItem.prototype.getEligibleGamesList = function() {
9941
+ return /** @type{!Array<!proto.tournament.GamePoorItem>} */ (
9942
+ jspb.Message.getRepeatedWrapperField(this, proto.tournament.GamePoorItem, 18));
9943
+ };
9944
+
9945
+
9946
+ /**
9947
+ * @param {!Array<!proto.tournament.GamePoorItem>} value
9948
+ * @return {!proto.tournament.UserTournamentItem} returns this
9949
+ */
9950
+ proto.tournament.UserTournamentItem.prototype.setEligibleGamesList = function(value) {
9951
+ return jspb.Message.setRepeatedWrapperField(this, 18, value);
9952
+ };
9953
+
9954
+
9955
+ /**
9956
+ * @param {!proto.tournament.GamePoorItem=} opt_value
9957
+ * @param {number=} opt_index
9958
+ * @return {!proto.tournament.GamePoorItem}
9959
+ */
9960
+ proto.tournament.UserTournamentItem.prototype.addEligibleGames = function(opt_value, opt_index) {
9961
+ return jspb.Message.addToRepeatedWrapperField(this, 18, opt_value, proto.tournament.GamePoorItem, opt_index);
9962
+ };
9963
+
9964
+
9965
+ /**
9966
+ * Clears the list making it empty but non-null.
9967
+ * @return {!proto.tournament.UserTournamentItem} returns this
9968
+ */
9969
+ proto.tournament.UserTournamentItem.prototype.clearEligibleGamesList = function() {
9970
+ return this.setEligibleGamesList([]);
9971
+ };
9972
+
9973
+
9463
9974
 
9464
9975
  /**
9465
9976
  * List of repeated fields within this message type.