protobuf-platform 1.2.566 → 1.2.567

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/game/game.proto CHANGED
@@ -247,6 +247,11 @@ message SyncImagesRequest {
247
247
  }
248
248
  //Media
249
249
  message File { bytes media = 1; }
250
+ message EntityFileMetadata {
251
+ string type = 1;
252
+ string file_name = 2;
253
+ string file_type = 3;
254
+ }
250
255
  message GetFileRequest { string file_name = 1; string instance_type = 2; }
251
256
  //Category CRUD
252
257
  message CategoryItem {
@@ -258,12 +263,15 @@ message CategoryItem {
258
263
  optional string image = 6;
259
264
  optional string image_cdn = 7;
260
265
  optional int32 count_of_collections = 8;
266
+ optional string icon = 9;
267
+ optional string icon_cdn = 10;
261
268
  }
262
269
  //Category CRUD | Requests
263
270
  message CategoryRequest {
264
271
  oneof request {
265
272
  CategoryItemRequest category_data = 1;
266
273
  File file = 2;
274
+ EntityFileMetadata file_metadata = 3;
267
275
  }
268
276
  }
269
277
  message CategoryItemRequest {
@@ -302,12 +310,15 @@ message CollectionItem {
302
310
  optional string image = 7;
303
311
  optional string image_cdn = 8;
304
312
  optional int32 count_of_games = 9;
313
+ optional string icon = 10;
314
+ optional string icon_cdn = 11;
305
315
  }
306
316
  //Collection CRUD | Requests
307
317
  message CollectionRequest {
308
318
  oneof request {
309
319
  CollectionItemRequest collection_data = 1;
310
320
  File file = 2;
321
+ EntityFileMetadata file_metadata = 3;
311
322
  }
312
323
  }
313
324
  message CollectionItemRequest {
@@ -351,12 +362,15 @@ message TagItem {
351
362
  optional string image = 6;
352
363
  optional string image_cdn = 7;
353
364
  optional int32 count_of_games = 8;
365
+ optional string icon = 9;
366
+ optional string icon_cdn = 10;
354
367
  }
355
368
  //Tag CRUD | Requests
356
369
  message TagRequest {
357
370
  oneof request {
358
371
  TagItemRequest tag_data = 1;
359
372
  File file = 2;
373
+ EntityFileMetadata file_metadata = 3;
360
374
  }
361
375
  }
362
376
  message TagItemRequest {
@@ -401,12 +415,15 @@ message ProviderItem {
401
415
  optional int32 count_of_games = 8;
402
416
  optional int32 is_popular = 9;
403
417
  optional int32 is_deactivated = 10;
418
+ optional string icon = 11;
419
+ optional string icon_cdn = 12;
404
420
  }
405
421
  //Provider CRUD | Requests
406
422
  message ProviderRequest {
407
423
  oneof request {
408
424
  ProviderItemRequest provider_data = 1;
409
425
  File file = 2;
426
+ EntityFileMetadata file_metadata = 3;
410
427
  }
411
428
  }
412
429
  message ProviderItemRequest {
@@ -580,6 +597,8 @@ message GameRelationItem {
580
597
  optional string title = 3;
581
598
  optional string image = 4;
582
599
  repeated GameGeo game_geo = 5;
600
+ optional string icon = 6;
601
+ optional string icon_cdn = 7;
583
602
  }
584
603
  message GameGeo {
585
604
  string geo = 1;
package/game/game_pb.js CHANGED
@@ -59,6 +59,7 @@ goog.exportSymbol('proto.game.CollectionSnapshotItemsResponse', null, global);
59
59
  goog.exportSymbol('proto.game.CollectionStatusResponse', null, global);
60
60
  goog.exportSymbol('proto.game.DashboardRequest', null, global);
61
61
  goog.exportSymbol('proto.game.DashboardResponse', null, global);
62
+ goog.exportSymbol('proto.game.EntityFileMetadata', null, global);
62
63
  goog.exportSymbol('proto.game.FetchGamesFromWagerListsRequest', null, global);
63
64
  goog.exportSymbol('proto.game.File', null, global);
64
65
  goog.exportSymbol('proto.game.FreeSpinBonusCampaignRequest', null, global);
@@ -569,6 +570,27 @@ if (goog.DEBUG && !COMPILED) {
569
570
  */
570
571
  proto.game.File.displayName = 'proto.game.File';
571
572
  }
573
+ /**
574
+ * Generated by JsPbCodeGenerator.
575
+ * @param {Array=} opt_data Optional initial data array, typically from a
576
+ * server response, or constructed directly in Javascript. The array is used
577
+ * in place and becomes part of the constructed object. It is not cloned.
578
+ * If no data is provided, the constructed object will be empty, but still
579
+ * valid.
580
+ * @extends {jspb.Message}
581
+ * @constructor
582
+ */
583
+ proto.game.EntityFileMetadata = function(opt_data) {
584
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
585
+ };
586
+ goog.inherits(proto.game.EntityFileMetadata, jspb.Message);
587
+ if (goog.DEBUG && !COMPILED) {
588
+ /**
589
+ * @public
590
+ * @override
591
+ */
592
+ proto.game.EntityFileMetadata.displayName = 'proto.game.EntityFileMetadata';
593
+ }
572
594
  /**
573
595
  * Generated by JsPbCodeGenerator.
574
596
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -9361,6 +9383,196 @@ proto.game.File.prototype.setMedia = function(value) {
9361
9383
 
9362
9384
 
9363
9385
 
9386
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9387
+ /**
9388
+ * Creates an object representation of this proto.
9389
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9390
+ * Optional fields that are not set will be set to undefined.
9391
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9392
+ * For the list of reserved names please see:
9393
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9394
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9395
+ * JSPB instance for transitional soy proto support:
9396
+ * http://goto/soy-param-migration
9397
+ * @return {!Object}
9398
+ */
9399
+ proto.game.EntityFileMetadata.prototype.toObject = function(opt_includeInstance) {
9400
+ return proto.game.EntityFileMetadata.toObject(opt_includeInstance, this);
9401
+ };
9402
+
9403
+
9404
+ /**
9405
+ * Static version of the {@see toObject} method.
9406
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9407
+ * the JSPB instance for transitional soy proto support:
9408
+ * http://goto/soy-param-migration
9409
+ * @param {!proto.game.EntityFileMetadata} msg The msg instance to transform.
9410
+ * @return {!Object}
9411
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9412
+ */
9413
+ proto.game.EntityFileMetadata.toObject = function(includeInstance, msg) {
9414
+ var f, obj = {
9415
+ type: jspb.Message.getFieldWithDefault(msg, 1, ""),
9416
+ fileName: jspb.Message.getFieldWithDefault(msg, 2, ""),
9417
+ fileType: jspb.Message.getFieldWithDefault(msg, 3, "")
9418
+ };
9419
+
9420
+ if (includeInstance) {
9421
+ obj.$jspbMessageInstance = msg;
9422
+ }
9423
+ return obj;
9424
+ };
9425
+ }
9426
+
9427
+
9428
+ /**
9429
+ * Deserializes binary data (in protobuf wire format).
9430
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9431
+ * @return {!proto.game.EntityFileMetadata}
9432
+ */
9433
+ proto.game.EntityFileMetadata.deserializeBinary = function(bytes) {
9434
+ var reader = new jspb.BinaryReader(bytes);
9435
+ var msg = new proto.game.EntityFileMetadata;
9436
+ return proto.game.EntityFileMetadata.deserializeBinaryFromReader(msg, reader);
9437
+ };
9438
+
9439
+
9440
+ /**
9441
+ * Deserializes binary data (in protobuf wire format) from the
9442
+ * given reader into the given message object.
9443
+ * @param {!proto.game.EntityFileMetadata} msg The message object to deserialize into.
9444
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9445
+ * @return {!proto.game.EntityFileMetadata}
9446
+ */
9447
+ proto.game.EntityFileMetadata.deserializeBinaryFromReader = function(msg, reader) {
9448
+ while (reader.nextField()) {
9449
+ if (reader.isEndGroup()) {
9450
+ break;
9451
+ }
9452
+ var field = reader.getFieldNumber();
9453
+ switch (field) {
9454
+ case 1:
9455
+ var value = /** @type {string} */ (reader.readString());
9456
+ msg.setType(value);
9457
+ break;
9458
+ case 2:
9459
+ var value = /** @type {string} */ (reader.readString());
9460
+ msg.setFileName(value);
9461
+ break;
9462
+ case 3:
9463
+ var value = /** @type {string} */ (reader.readString());
9464
+ msg.setFileType(value);
9465
+ break;
9466
+ default:
9467
+ reader.skipField();
9468
+ break;
9469
+ }
9470
+ }
9471
+ return msg;
9472
+ };
9473
+
9474
+
9475
+ /**
9476
+ * Serializes the message to binary data (in protobuf wire format).
9477
+ * @return {!Uint8Array}
9478
+ */
9479
+ proto.game.EntityFileMetadata.prototype.serializeBinary = function() {
9480
+ var writer = new jspb.BinaryWriter();
9481
+ proto.game.EntityFileMetadata.serializeBinaryToWriter(this, writer);
9482
+ return writer.getResultBuffer();
9483
+ };
9484
+
9485
+
9486
+ /**
9487
+ * Serializes the given message to binary data (in protobuf wire
9488
+ * format), writing to the given BinaryWriter.
9489
+ * @param {!proto.game.EntityFileMetadata} message
9490
+ * @param {!jspb.BinaryWriter} writer
9491
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9492
+ */
9493
+ proto.game.EntityFileMetadata.serializeBinaryToWriter = function(message, writer) {
9494
+ var f = undefined;
9495
+ f = message.getType();
9496
+ if (f.length > 0) {
9497
+ writer.writeString(
9498
+ 1,
9499
+ f
9500
+ );
9501
+ }
9502
+ f = message.getFileName();
9503
+ if (f.length > 0) {
9504
+ writer.writeString(
9505
+ 2,
9506
+ f
9507
+ );
9508
+ }
9509
+ f = message.getFileType();
9510
+ if (f.length > 0) {
9511
+ writer.writeString(
9512
+ 3,
9513
+ f
9514
+ );
9515
+ }
9516
+ };
9517
+
9518
+
9519
+ /**
9520
+ * optional string type = 1;
9521
+ * @return {string}
9522
+ */
9523
+ proto.game.EntityFileMetadata.prototype.getType = function() {
9524
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
9525
+ };
9526
+
9527
+
9528
+ /**
9529
+ * @param {string} value
9530
+ * @return {!proto.game.EntityFileMetadata} returns this
9531
+ */
9532
+ proto.game.EntityFileMetadata.prototype.setType = function(value) {
9533
+ return jspb.Message.setProto3StringField(this, 1, value);
9534
+ };
9535
+
9536
+
9537
+ /**
9538
+ * optional string file_name = 2;
9539
+ * @return {string}
9540
+ */
9541
+ proto.game.EntityFileMetadata.prototype.getFileName = function() {
9542
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
9543
+ };
9544
+
9545
+
9546
+ /**
9547
+ * @param {string} value
9548
+ * @return {!proto.game.EntityFileMetadata} returns this
9549
+ */
9550
+ proto.game.EntityFileMetadata.prototype.setFileName = function(value) {
9551
+ return jspb.Message.setProto3StringField(this, 2, value);
9552
+ };
9553
+
9554
+
9555
+ /**
9556
+ * optional string file_type = 3;
9557
+ * @return {string}
9558
+ */
9559
+ proto.game.EntityFileMetadata.prototype.getFileType = function() {
9560
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
9561
+ };
9562
+
9563
+
9564
+ /**
9565
+ * @param {string} value
9566
+ * @return {!proto.game.EntityFileMetadata} returns this
9567
+ */
9568
+ proto.game.EntityFileMetadata.prototype.setFileType = function(value) {
9569
+ return jspb.Message.setProto3StringField(this, 3, value);
9570
+ };
9571
+
9572
+
9573
+
9574
+
9575
+
9364
9576
  if (jspb.Message.GENERATE_TO_OBJECT) {
9365
9577
  /**
9366
9578
  * Creates an object representation of this proto.
@@ -9557,7 +9769,9 @@ proto.game.CategoryItem.toObject = function(includeInstance, msg) {
9557
9769
  isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
9558
9770
  image: jspb.Message.getFieldWithDefault(msg, 6, ""),
9559
9771
  imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
9560
- countOfCollections: jspb.Message.getFieldWithDefault(msg, 8, 0)
9772
+ countOfCollections: jspb.Message.getFieldWithDefault(msg, 8, 0),
9773
+ icon: jspb.Message.getFieldWithDefault(msg, 9, ""),
9774
+ iconCdn: jspb.Message.getFieldWithDefault(msg, 10, "")
9561
9775
  };
9562
9776
 
9563
9777
  if (includeInstance) {
@@ -9626,6 +9840,14 @@ proto.game.CategoryItem.deserializeBinaryFromReader = function(msg, reader) {
9626
9840
  var value = /** @type {number} */ (reader.readInt32());
9627
9841
  msg.setCountOfCollections(value);
9628
9842
  break;
9843
+ case 9:
9844
+ var value = /** @type {string} */ (reader.readString());
9845
+ msg.setIcon(value);
9846
+ break;
9847
+ case 10:
9848
+ var value = /** @type {string} */ (reader.readString());
9849
+ msg.setIconCdn(value);
9850
+ break;
9629
9851
  default:
9630
9852
  reader.skipField();
9631
9853
  break;
@@ -9711,6 +9933,20 @@ proto.game.CategoryItem.serializeBinaryToWriter = function(message, writer) {
9711
9933
  f
9712
9934
  );
9713
9935
  }
9936
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
9937
+ if (f != null) {
9938
+ writer.writeString(
9939
+ 9,
9940
+ f
9941
+ );
9942
+ }
9943
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
9944
+ if (f != null) {
9945
+ writer.writeString(
9946
+ 10,
9947
+ f
9948
+ );
9949
+ }
9714
9950
  };
9715
9951
 
9716
9952
 
@@ -10002,6 +10238,78 @@ proto.game.CategoryItem.prototype.hasCountOfCollections = function() {
10002
10238
  };
10003
10239
 
10004
10240
 
10241
+ /**
10242
+ * optional string icon = 9;
10243
+ * @return {string}
10244
+ */
10245
+ proto.game.CategoryItem.prototype.getIcon = function() {
10246
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
10247
+ };
10248
+
10249
+
10250
+ /**
10251
+ * @param {string} value
10252
+ * @return {!proto.game.CategoryItem} returns this
10253
+ */
10254
+ proto.game.CategoryItem.prototype.setIcon = function(value) {
10255
+ return jspb.Message.setField(this, 9, value);
10256
+ };
10257
+
10258
+
10259
+ /**
10260
+ * Clears the field making it undefined.
10261
+ * @return {!proto.game.CategoryItem} returns this
10262
+ */
10263
+ proto.game.CategoryItem.prototype.clearIcon = function() {
10264
+ return jspb.Message.setField(this, 9, undefined);
10265
+ };
10266
+
10267
+
10268
+ /**
10269
+ * Returns whether this field is set.
10270
+ * @return {boolean}
10271
+ */
10272
+ proto.game.CategoryItem.prototype.hasIcon = function() {
10273
+ return jspb.Message.getField(this, 9) != null;
10274
+ };
10275
+
10276
+
10277
+ /**
10278
+ * optional string icon_cdn = 10;
10279
+ * @return {string}
10280
+ */
10281
+ proto.game.CategoryItem.prototype.getIconCdn = function() {
10282
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
10283
+ };
10284
+
10285
+
10286
+ /**
10287
+ * @param {string} value
10288
+ * @return {!proto.game.CategoryItem} returns this
10289
+ */
10290
+ proto.game.CategoryItem.prototype.setIconCdn = function(value) {
10291
+ return jspb.Message.setField(this, 10, value);
10292
+ };
10293
+
10294
+
10295
+ /**
10296
+ * Clears the field making it undefined.
10297
+ * @return {!proto.game.CategoryItem} returns this
10298
+ */
10299
+ proto.game.CategoryItem.prototype.clearIconCdn = function() {
10300
+ return jspb.Message.setField(this, 10, undefined);
10301
+ };
10302
+
10303
+
10304
+ /**
10305
+ * Returns whether this field is set.
10306
+ * @return {boolean}
10307
+ */
10308
+ proto.game.CategoryItem.prototype.hasIconCdn = function() {
10309
+ return jspb.Message.getField(this, 10) != null;
10310
+ };
10311
+
10312
+
10005
10313
 
10006
10314
  /**
10007
10315
  * Oneof group definitions for this message. Each group defines the field
@@ -10011,7 +10319,7 @@ proto.game.CategoryItem.prototype.hasCountOfCollections = function() {
10011
10319
  * @private {!Array<!Array<number>>}
10012
10320
  * @const
10013
10321
  */
10014
- proto.game.CategoryRequest.oneofGroups_ = [[1,2]];
10322
+ proto.game.CategoryRequest.oneofGroups_ = [[1,2,3]];
10015
10323
 
10016
10324
  /**
10017
10325
  * @enum {number}
@@ -10019,7 +10327,8 @@ proto.game.CategoryRequest.oneofGroups_ = [[1,2]];
10019
10327
  proto.game.CategoryRequest.RequestCase = {
10020
10328
  REQUEST_NOT_SET: 0,
10021
10329
  CATEGORY_DATA: 1,
10022
- FILE: 2
10330
+ FILE: 2,
10331
+ FILE_METADATA: 3
10023
10332
  };
10024
10333
 
10025
10334
  /**
@@ -10061,7 +10370,8 @@ proto.game.CategoryRequest.prototype.toObject = function(opt_includeInstance) {
10061
10370
  proto.game.CategoryRequest.toObject = function(includeInstance, msg) {
10062
10371
  var f, obj = {
10063
10372
  categoryData: (f = msg.getCategoryData()) && proto.game.CategoryItemRequest.toObject(includeInstance, f),
10064
- file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f)
10373
+ file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f),
10374
+ fileMetadata: (f = msg.getFileMetadata()) && proto.game.EntityFileMetadata.toObject(includeInstance, f)
10065
10375
  };
10066
10376
 
10067
10377
  if (includeInstance) {
@@ -10108,6 +10418,11 @@ proto.game.CategoryRequest.deserializeBinaryFromReader = function(msg, reader) {
10108
10418
  reader.readMessage(value,proto.game.File.deserializeBinaryFromReader);
10109
10419
  msg.setFile(value);
10110
10420
  break;
10421
+ case 3:
10422
+ var value = new proto.game.EntityFileMetadata;
10423
+ reader.readMessage(value,proto.game.EntityFileMetadata.deserializeBinaryFromReader);
10424
+ msg.setFileMetadata(value);
10425
+ break;
10111
10426
  default:
10112
10427
  reader.skipField();
10113
10428
  break;
@@ -10153,6 +10468,14 @@ proto.game.CategoryRequest.serializeBinaryToWriter = function(message, writer) {
10153
10468
  proto.game.File.serializeBinaryToWriter
10154
10469
  );
10155
10470
  }
10471
+ f = message.getFileMetadata();
10472
+ if (f != null) {
10473
+ writer.writeMessage(
10474
+ 3,
10475
+ f,
10476
+ proto.game.EntityFileMetadata.serializeBinaryToWriter
10477
+ );
10478
+ }
10156
10479
  };
10157
10480
 
10158
10481
 
@@ -10230,6 +10553,43 @@ proto.game.CategoryRequest.prototype.hasFile = function() {
10230
10553
  };
10231
10554
 
10232
10555
 
10556
+ /**
10557
+ * optional EntityFileMetadata file_metadata = 3;
10558
+ * @return {?proto.game.EntityFileMetadata}
10559
+ */
10560
+ proto.game.CategoryRequest.prototype.getFileMetadata = function() {
10561
+ return /** @type{?proto.game.EntityFileMetadata} */ (
10562
+ jspb.Message.getWrapperField(this, proto.game.EntityFileMetadata, 3));
10563
+ };
10564
+
10565
+
10566
+ /**
10567
+ * @param {?proto.game.EntityFileMetadata|undefined} value
10568
+ * @return {!proto.game.CategoryRequest} returns this
10569
+ */
10570
+ proto.game.CategoryRequest.prototype.setFileMetadata = function(value) {
10571
+ return jspb.Message.setOneofWrapperField(this, 3, proto.game.CategoryRequest.oneofGroups_[0], value);
10572
+ };
10573
+
10574
+
10575
+ /**
10576
+ * Clears the message field making it undefined.
10577
+ * @return {!proto.game.CategoryRequest} returns this
10578
+ */
10579
+ proto.game.CategoryRequest.prototype.clearFileMetadata = function() {
10580
+ return this.setFileMetadata(undefined);
10581
+ };
10582
+
10583
+
10584
+ /**
10585
+ * Returns whether this field is set.
10586
+ * @return {boolean}
10587
+ */
10588
+ proto.game.CategoryRequest.prototype.hasFileMetadata = function() {
10589
+ return jspb.Message.getField(this, 3) != null;
10590
+ };
10591
+
10592
+
10233
10593
 
10234
10594
 
10235
10595
 
@@ -11373,7 +11733,9 @@ proto.game.CollectionItem.toObject = function(includeInstance, msg) {
11373
11733
  isActive: jspb.Message.getFieldWithDefault(msg, 6, 0),
11374
11734
  image: jspb.Message.getFieldWithDefault(msg, 7, ""),
11375
11735
  imageCdn: jspb.Message.getFieldWithDefault(msg, 8, ""),
11376
- countOfGames: jspb.Message.getFieldWithDefault(msg, 9, 0)
11736
+ countOfGames: jspb.Message.getFieldWithDefault(msg, 9, 0),
11737
+ icon: jspb.Message.getFieldWithDefault(msg, 10, ""),
11738
+ iconCdn: jspb.Message.getFieldWithDefault(msg, 11, "")
11377
11739
  };
11378
11740
 
11379
11741
  if (includeInstance) {
@@ -11447,6 +11809,14 @@ proto.game.CollectionItem.deserializeBinaryFromReader = function(msg, reader) {
11447
11809
  var value = /** @type {number} */ (reader.readInt32());
11448
11810
  msg.setCountOfGames(value);
11449
11811
  break;
11812
+ case 10:
11813
+ var value = /** @type {string} */ (reader.readString());
11814
+ msg.setIcon(value);
11815
+ break;
11816
+ case 11:
11817
+ var value = /** @type {string} */ (reader.readString());
11818
+ msg.setIconCdn(value);
11819
+ break;
11450
11820
  default:
11451
11821
  reader.skipField();
11452
11822
  break;
@@ -11540,6 +11910,20 @@ proto.game.CollectionItem.serializeBinaryToWriter = function(message, writer) {
11540
11910
  f
11541
11911
  );
11542
11912
  }
11913
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
11914
+ if (f != null) {
11915
+ writer.writeString(
11916
+ 10,
11917
+ f
11918
+ );
11919
+ }
11920
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
11921
+ if (f != null) {
11922
+ writer.writeString(
11923
+ 11,
11924
+ f
11925
+ );
11926
+ }
11543
11927
  };
11544
11928
 
11545
11929
 
@@ -11868,6 +12252,78 @@ proto.game.CollectionItem.prototype.hasCountOfGames = function() {
11868
12252
  };
11869
12253
 
11870
12254
 
12255
+ /**
12256
+ * optional string icon = 10;
12257
+ * @return {string}
12258
+ */
12259
+ proto.game.CollectionItem.prototype.getIcon = function() {
12260
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
12261
+ };
12262
+
12263
+
12264
+ /**
12265
+ * @param {string} value
12266
+ * @return {!proto.game.CollectionItem} returns this
12267
+ */
12268
+ proto.game.CollectionItem.prototype.setIcon = function(value) {
12269
+ return jspb.Message.setField(this, 10, value);
12270
+ };
12271
+
12272
+
12273
+ /**
12274
+ * Clears the field making it undefined.
12275
+ * @return {!proto.game.CollectionItem} returns this
12276
+ */
12277
+ proto.game.CollectionItem.prototype.clearIcon = function() {
12278
+ return jspb.Message.setField(this, 10, undefined);
12279
+ };
12280
+
12281
+
12282
+ /**
12283
+ * Returns whether this field is set.
12284
+ * @return {boolean}
12285
+ */
12286
+ proto.game.CollectionItem.prototype.hasIcon = function() {
12287
+ return jspb.Message.getField(this, 10) != null;
12288
+ };
12289
+
12290
+
12291
+ /**
12292
+ * optional string icon_cdn = 11;
12293
+ * @return {string}
12294
+ */
12295
+ proto.game.CollectionItem.prototype.getIconCdn = function() {
12296
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
12297
+ };
12298
+
12299
+
12300
+ /**
12301
+ * @param {string} value
12302
+ * @return {!proto.game.CollectionItem} returns this
12303
+ */
12304
+ proto.game.CollectionItem.prototype.setIconCdn = function(value) {
12305
+ return jspb.Message.setField(this, 11, value);
12306
+ };
12307
+
12308
+
12309
+ /**
12310
+ * Clears the field making it undefined.
12311
+ * @return {!proto.game.CollectionItem} returns this
12312
+ */
12313
+ proto.game.CollectionItem.prototype.clearIconCdn = function() {
12314
+ return jspb.Message.setField(this, 11, undefined);
12315
+ };
12316
+
12317
+
12318
+ /**
12319
+ * Returns whether this field is set.
12320
+ * @return {boolean}
12321
+ */
12322
+ proto.game.CollectionItem.prototype.hasIconCdn = function() {
12323
+ return jspb.Message.getField(this, 11) != null;
12324
+ };
12325
+
12326
+
11871
12327
 
11872
12328
  /**
11873
12329
  * Oneof group definitions for this message. Each group defines the field
@@ -11877,7 +12333,7 @@ proto.game.CollectionItem.prototype.hasCountOfGames = function() {
11877
12333
  * @private {!Array<!Array<number>>}
11878
12334
  * @const
11879
12335
  */
11880
- proto.game.CollectionRequest.oneofGroups_ = [[1,2]];
12336
+ proto.game.CollectionRequest.oneofGroups_ = [[1,2,3]];
11881
12337
 
11882
12338
  /**
11883
12339
  * @enum {number}
@@ -11885,7 +12341,8 @@ proto.game.CollectionRequest.oneofGroups_ = [[1,2]];
11885
12341
  proto.game.CollectionRequest.RequestCase = {
11886
12342
  REQUEST_NOT_SET: 0,
11887
12343
  COLLECTION_DATA: 1,
11888
- FILE: 2
12344
+ FILE: 2,
12345
+ FILE_METADATA: 3
11889
12346
  };
11890
12347
 
11891
12348
  /**
@@ -11927,7 +12384,8 @@ proto.game.CollectionRequest.prototype.toObject = function(opt_includeInstance)
11927
12384
  proto.game.CollectionRequest.toObject = function(includeInstance, msg) {
11928
12385
  var f, obj = {
11929
12386
  collectionData: (f = msg.getCollectionData()) && proto.game.CollectionItemRequest.toObject(includeInstance, f),
11930
- file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f)
12387
+ file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f),
12388
+ fileMetadata: (f = msg.getFileMetadata()) && proto.game.EntityFileMetadata.toObject(includeInstance, f)
11931
12389
  };
11932
12390
 
11933
12391
  if (includeInstance) {
@@ -11974,6 +12432,11 @@ proto.game.CollectionRequest.deserializeBinaryFromReader = function(msg, reader)
11974
12432
  reader.readMessage(value,proto.game.File.deserializeBinaryFromReader);
11975
12433
  msg.setFile(value);
11976
12434
  break;
12435
+ case 3:
12436
+ var value = new proto.game.EntityFileMetadata;
12437
+ reader.readMessage(value,proto.game.EntityFileMetadata.deserializeBinaryFromReader);
12438
+ msg.setFileMetadata(value);
12439
+ break;
11977
12440
  default:
11978
12441
  reader.skipField();
11979
12442
  break;
@@ -12019,6 +12482,14 @@ proto.game.CollectionRequest.serializeBinaryToWriter = function(message, writer)
12019
12482
  proto.game.File.serializeBinaryToWriter
12020
12483
  );
12021
12484
  }
12485
+ f = message.getFileMetadata();
12486
+ if (f != null) {
12487
+ writer.writeMessage(
12488
+ 3,
12489
+ f,
12490
+ proto.game.EntityFileMetadata.serializeBinaryToWriter
12491
+ );
12492
+ }
12022
12493
  };
12023
12494
 
12024
12495
 
@@ -12096,6 +12567,43 @@ proto.game.CollectionRequest.prototype.hasFile = function() {
12096
12567
  };
12097
12568
 
12098
12569
 
12570
+ /**
12571
+ * optional EntityFileMetadata file_metadata = 3;
12572
+ * @return {?proto.game.EntityFileMetadata}
12573
+ */
12574
+ proto.game.CollectionRequest.prototype.getFileMetadata = function() {
12575
+ return /** @type{?proto.game.EntityFileMetadata} */ (
12576
+ jspb.Message.getWrapperField(this, proto.game.EntityFileMetadata, 3));
12577
+ };
12578
+
12579
+
12580
+ /**
12581
+ * @param {?proto.game.EntityFileMetadata|undefined} value
12582
+ * @return {!proto.game.CollectionRequest} returns this
12583
+ */
12584
+ proto.game.CollectionRequest.prototype.setFileMetadata = function(value) {
12585
+ return jspb.Message.setOneofWrapperField(this, 3, proto.game.CollectionRequest.oneofGroups_[0], value);
12586
+ };
12587
+
12588
+
12589
+ /**
12590
+ * Clears the message field making it undefined.
12591
+ * @return {!proto.game.CollectionRequest} returns this
12592
+ */
12593
+ proto.game.CollectionRequest.prototype.clearFileMetadata = function() {
12594
+ return this.setFileMetadata(undefined);
12595
+ };
12596
+
12597
+
12598
+ /**
12599
+ * Returns whether this field is set.
12600
+ * @return {boolean}
12601
+ */
12602
+ proto.game.CollectionRequest.prototype.hasFileMetadata = function() {
12603
+ return jspb.Message.getField(this, 3) != null;
12604
+ };
12605
+
12606
+
12099
12607
 
12100
12608
 
12101
12609
 
@@ -13494,7 +14002,9 @@ proto.game.TagItem.toObject = function(includeInstance, msg) {
13494
14002
  isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
13495
14003
  image: jspb.Message.getFieldWithDefault(msg, 6, ""),
13496
14004
  imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
13497
- countOfGames: jspb.Message.getFieldWithDefault(msg, 8, 0)
14005
+ countOfGames: jspb.Message.getFieldWithDefault(msg, 8, 0),
14006
+ icon: jspb.Message.getFieldWithDefault(msg, 9, ""),
14007
+ iconCdn: jspb.Message.getFieldWithDefault(msg, 10, "")
13498
14008
  };
13499
14009
 
13500
14010
  if (includeInstance) {
@@ -13563,6 +14073,14 @@ proto.game.TagItem.deserializeBinaryFromReader = function(msg, reader) {
13563
14073
  var value = /** @type {number} */ (reader.readInt32());
13564
14074
  msg.setCountOfGames(value);
13565
14075
  break;
14076
+ case 9:
14077
+ var value = /** @type {string} */ (reader.readString());
14078
+ msg.setIcon(value);
14079
+ break;
14080
+ case 10:
14081
+ var value = /** @type {string} */ (reader.readString());
14082
+ msg.setIconCdn(value);
14083
+ break;
13566
14084
  default:
13567
14085
  reader.skipField();
13568
14086
  break;
@@ -13648,6 +14166,20 @@ proto.game.TagItem.serializeBinaryToWriter = function(message, writer) {
13648
14166
  f
13649
14167
  );
13650
14168
  }
14169
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
14170
+ if (f != null) {
14171
+ writer.writeString(
14172
+ 9,
14173
+ f
14174
+ );
14175
+ }
14176
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
14177
+ if (f != null) {
14178
+ writer.writeString(
14179
+ 10,
14180
+ f
14181
+ );
14182
+ }
13651
14183
  };
13652
14184
 
13653
14185
 
@@ -13898,26 +14430,98 @@ proto.game.TagItem.prototype.clearImageCdn = function() {
13898
14430
  * Returns whether this field is set.
13899
14431
  * @return {boolean}
13900
14432
  */
13901
- proto.game.TagItem.prototype.hasImageCdn = function() {
13902
- return jspb.Message.getField(this, 7) != null;
14433
+ proto.game.TagItem.prototype.hasImageCdn = function() {
14434
+ return jspb.Message.getField(this, 7) != null;
14435
+ };
14436
+
14437
+
14438
+ /**
14439
+ * optional int32 count_of_games = 8;
14440
+ * @return {number}
14441
+ */
14442
+ proto.game.TagItem.prototype.getCountOfGames = function() {
14443
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
14444
+ };
14445
+
14446
+
14447
+ /**
14448
+ * @param {number} value
14449
+ * @return {!proto.game.TagItem} returns this
14450
+ */
14451
+ proto.game.TagItem.prototype.setCountOfGames = function(value) {
14452
+ return jspb.Message.setField(this, 8, value);
14453
+ };
14454
+
14455
+
14456
+ /**
14457
+ * Clears the field making it undefined.
14458
+ * @return {!proto.game.TagItem} returns this
14459
+ */
14460
+ proto.game.TagItem.prototype.clearCountOfGames = function() {
14461
+ return jspb.Message.setField(this, 8, undefined);
14462
+ };
14463
+
14464
+
14465
+ /**
14466
+ * Returns whether this field is set.
14467
+ * @return {boolean}
14468
+ */
14469
+ proto.game.TagItem.prototype.hasCountOfGames = function() {
14470
+ return jspb.Message.getField(this, 8) != null;
14471
+ };
14472
+
14473
+
14474
+ /**
14475
+ * optional string icon = 9;
14476
+ * @return {string}
14477
+ */
14478
+ proto.game.TagItem.prototype.getIcon = function() {
14479
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
14480
+ };
14481
+
14482
+
14483
+ /**
14484
+ * @param {string} value
14485
+ * @return {!proto.game.TagItem} returns this
14486
+ */
14487
+ proto.game.TagItem.prototype.setIcon = function(value) {
14488
+ return jspb.Message.setField(this, 9, value);
14489
+ };
14490
+
14491
+
14492
+ /**
14493
+ * Clears the field making it undefined.
14494
+ * @return {!proto.game.TagItem} returns this
14495
+ */
14496
+ proto.game.TagItem.prototype.clearIcon = function() {
14497
+ return jspb.Message.setField(this, 9, undefined);
14498
+ };
14499
+
14500
+
14501
+ /**
14502
+ * Returns whether this field is set.
14503
+ * @return {boolean}
14504
+ */
14505
+ proto.game.TagItem.prototype.hasIcon = function() {
14506
+ return jspb.Message.getField(this, 9) != null;
13903
14507
  };
13904
14508
 
13905
14509
 
13906
14510
  /**
13907
- * optional int32 count_of_games = 8;
13908
- * @return {number}
14511
+ * optional string icon_cdn = 10;
14512
+ * @return {string}
13909
14513
  */
13910
- proto.game.TagItem.prototype.getCountOfGames = function() {
13911
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
14514
+ proto.game.TagItem.prototype.getIconCdn = function() {
14515
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
13912
14516
  };
13913
14517
 
13914
14518
 
13915
14519
  /**
13916
- * @param {number} value
14520
+ * @param {string} value
13917
14521
  * @return {!proto.game.TagItem} returns this
13918
14522
  */
13919
- proto.game.TagItem.prototype.setCountOfGames = function(value) {
13920
- return jspb.Message.setField(this, 8, value);
14523
+ proto.game.TagItem.prototype.setIconCdn = function(value) {
14524
+ return jspb.Message.setField(this, 10, value);
13921
14525
  };
13922
14526
 
13923
14527
 
@@ -13925,8 +14529,8 @@ proto.game.TagItem.prototype.setCountOfGames = function(value) {
13925
14529
  * Clears the field making it undefined.
13926
14530
  * @return {!proto.game.TagItem} returns this
13927
14531
  */
13928
- proto.game.TagItem.prototype.clearCountOfGames = function() {
13929
- return jspb.Message.setField(this, 8, undefined);
14532
+ proto.game.TagItem.prototype.clearIconCdn = function() {
14533
+ return jspb.Message.setField(this, 10, undefined);
13930
14534
  };
13931
14535
 
13932
14536
 
@@ -13934,8 +14538,8 @@ proto.game.TagItem.prototype.clearCountOfGames = function() {
13934
14538
  * Returns whether this field is set.
13935
14539
  * @return {boolean}
13936
14540
  */
13937
- proto.game.TagItem.prototype.hasCountOfGames = function() {
13938
- return jspb.Message.getField(this, 8) != null;
14541
+ proto.game.TagItem.prototype.hasIconCdn = function() {
14542
+ return jspb.Message.getField(this, 10) != null;
13939
14543
  };
13940
14544
 
13941
14545
 
@@ -13948,7 +14552,7 @@ proto.game.TagItem.prototype.hasCountOfGames = function() {
13948
14552
  * @private {!Array<!Array<number>>}
13949
14553
  * @const
13950
14554
  */
13951
- proto.game.TagRequest.oneofGroups_ = [[1,2]];
14555
+ proto.game.TagRequest.oneofGroups_ = [[1,2,3]];
13952
14556
 
13953
14557
  /**
13954
14558
  * @enum {number}
@@ -13956,7 +14560,8 @@ proto.game.TagRequest.oneofGroups_ = [[1,2]];
13956
14560
  proto.game.TagRequest.RequestCase = {
13957
14561
  REQUEST_NOT_SET: 0,
13958
14562
  TAG_DATA: 1,
13959
- FILE: 2
14563
+ FILE: 2,
14564
+ FILE_METADATA: 3
13960
14565
  };
13961
14566
 
13962
14567
  /**
@@ -13998,7 +14603,8 @@ proto.game.TagRequest.prototype.toObject = function(opt_includeInstance) {
13998
14603
  proto.game.TagRequest.toObject = function(includeInstance, msg) {
13999
14604
  var f, obj = {
14000
14605
  tagData: (f = msg.getTagData()) && proto.game.TagItemRequest.toObject(includeInstance, f),
14001
- file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f)
14606
+ file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f),
14607
+ fileMetadata: (f = msg.getFileMetadata()) && proto.game.EntityFileMetadata.toObject(includeInstance, f)
14002
14608
  };
14003
14609
 
14004
14610
  if (includeInstance) {
@@ -14045,6 +14651,11 @@ proto.game.TagRequest.deserializeBinaryFromReader = function(msg, reader) {
14045
14651
  reader.readMessage(value,proto.game.File.deserializeBinaryFromReader);
14046
14652
  msg.setFile(value);
14047
14653
  break;
14654
+ case 3:
14655
+ var value = new proto.game.EntityFileMetadata;
14656
+ reader.readMessage(value,proto.game.EntityFileMetadata.deserializeBinaryFromReader);
14657
+ msg.setFileMetadata(value);
14658
+ break;
14048
14659
  default:
14049
14660
  reader.skipField();
14050
14661
  break;
@@ -14090,6 +14701,14 @@ proto.game.TagRequest.serializeBinaryToWriter = function(message, writer) {
14090
14701
  proto.game.File.serializeBinaryToWriter
14091
14702
  );
14092
14703
  }
14704
+ f = message.getFileMetadata();
14705
+ if (f != null) {
14706
+ writer.writeMessage(
14707
+ 3,
14708
+ f,
14709
+ proto.game.EntityFileMetadata.serializeBinaryToWriter
14710
+ );
14711
+ }
14093
14712
  };
14094
14713
 
14095
14714
 
@@ -14167,6 +14786,43 @@ proto.game.TagRequest.prototype.hasFile = function() {
14167
14786
  };
14168
14787
 
14169
14788
 
14789
+ /**
14790
+ * optional EntityFileMetadata file_metadata = 3;
14791
+ * @return {?proto.game.EntityFileMetadata}
14792
+ */
14793
+ proto.game.TagRequest.prototype.getFileMetadata = function() {
14794
+ return /** @type{?proto.game.EntityFileMetadata} */ (
14795
+ jspb.Message.getWrapperField(this, proto.game.EntityFileMetadata, 3));
14796
+ };
14797
+
14798
+
14799
+ /**
14800
+ * @param {?proto.game.EntityFileMetadata|undefined} value
14801
+ * @return {!proto.game.TagRequest} returns this
14802
+ */
14803
+ proto.game.TagRequest.prototype.setFileMetadata = function(value) {
14804
+ return jspb.Message.setOneofWrapperField(this, 3, proto.game.TagRequest.oneofGroups_[0], value);
14805
+ };
14806
+
14807
+
14808
+ /**
14809
+ * Clears the message field making it undefined.
14810
+ * @return {!proto.game.TagRequest} returns this
14811
+ */
14812
+ proto.game.TagRequest.prototype.clearFileMetadata = function() {
14813
+ return this.setFileMetadata(undefined);
14814
+ };
14815
+
14816
+
14817
+ /**
14818
+ * Returns whether this field is set.
14819
+ * @return {boolean}
14820
+ */
14821
+ proto.game.TagRequest.prototype.hasFileMetadata = function() {
14822
+ return jspb.Message.getField(this, 3) != null;
14823
+ };
14824
+
14825
+
14170
14826
 
14171
14827
 
14172
14828
 
@@ -15519,7 +16175,9 @@ proto.game.ProviderItem.toObject = function(includeInstance, msg) {
15519
16175
  imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
15520
16176
  countOfGames: jspb.Message.getFieldWithDefault(msg, 8, 0),
15521
16177
  isPopular: jspb.Message.getFieldWithDefault(msg, 9, 0),
15522
- isDeactivated: jspb.Message.getFieldWithDefault(msg, 10, 0)
16178
+ isDeactivated: jspb.Message.getFieldWithDefault(msg, 10, 0),
16179
+ icon: jspb.Message.getFieldWithDefault(msg, 11, ""),
16180
+ iconCdn: jspb.Message.getFieldWithDefault(msg, 12, "")
15523
16181
  };
15524
16182
 
15525
16183
  if (includeInstance) {
@@ -15596,6 +16254,14 @@ proto.game.ProviderItem.deserializeBinaryFromReader = function(msg, reader) {
15596
16254
  var value = /** @type {number} */ (reader.readInt32());
15597
16255
  msg.setIsDeactivated(value);
15598
16256
  break;
16257
+ case 11:
16258
+ var value = /** @type {string} */ (reader.readString());
16259
+ msg.setIcon(value);
16260
+ break;
16261
+ case 12:
16262
+ var value = /** @type {string} */ (reader.readString());
16263
+ msg.setIconCdn(value);
16264
+ break;
15599
16265
  default:
15600
16266
  reader.skipField();
15601
16267
  break;
@@ -15695,6 +16361,20 @@ proto.game.ProviderItem.serializeBinaryToWriter = function(message, writer) {
15695
16361
  f
15696
16362
  );
15697
16363
  }
16364
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
16365
+ if (f != null) {
16366
+ writer.writeString(
16367
+ 11,
16368
+ f
16369
+ );
16370
+ }
16371
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
16372
+ if (f != null) {
16373
+ writer.writeString(
16374
+ 12,
16375
+ f
16376
+ );
16377
+ }
15698
16378
  };
15699
16379
 
15700
16380
 
@@ -16058,6 +16738,78 @@ proto.game.ProviderItem.prototype.hasIsDeactivated = function() {
16058
16738
  };
16059
16739
 
16060
16740
 
16741
+ /**
16742
+ * optional string icon = 11;
16743
+ * @return {string}
16744
+ */
16745
+ proto.game.ProviderItem.prototype.getIcon = function() {
16746
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
16747
+ };
16748
+
16749
+
16750
+ /**
16751
+ * @param {string} value
16752
+ * @return {!proto.game.ProviderItem} returns this
16753
+ */
16754
+ proto.game.ProviderItem.prototype.setIcon = function(value) {
16755
+ return jspb.Message.setField(this, 11, value);
16756
+ };
16757
+
16758
+
16759
+ /**
16760
+ * Clears the field making it undefined.
16761
+ * @return {!proto.game.ProviderItem} returns this
16762
+ */
16763
+ proto.game.ProviderItem.prototype.clearIcon = function() {
16764
+ return jspb.Message.setField(this, 11, undefined);
16765
+ };
16766
+
16767
+
16768
+ /**
16769
+ * Returns whether this field is set.
16770
+ * @return {boolean}
16771
+ */
16772
+ proto.game.ProviderItem.prototype.hasIcon = function() {
16773
+ return jspb.Message.getField(this, 11) != null;
16774
+ };
16775
+
16776
+
16777
+ /**
16778
+ * optional string icon_cdn = 12;
16779
+ * @return {string}
16780
+ */
16781
+ proto.game.ProviderItem.prototype.getIconCdn = function() {
16782
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
16783
+ };
16784
+
16785
+
16786
+ /**
16787
+ * @param {string} value
16788
+ * @return {!proto.game.ProviderItem} returns this
16789
+ */
16790
+ proto.game.ProviderItem.prototype.setIconCdn = function(value) {
16791
+ return jspb.Message.setField(this, 12, value);
16792
+ };
16793
+
16794
+
16795
+ /**
16796
+ * Clears the field making it undefined.
16797
+ * @return {!proto.game.ProviderItem} returns this
16798
+ */
16799
+ proto.game.ProviderItem.prototype.clearIconCdn = function() {
16800
+ return jspb.Message.setField(this, 12, undefined);
16801
+ };
16802
+
16803
+
16804
+ /**
16805
+ * Returns whether this field is set.
16806
+ * @return {boolean}
16807
+ */
16808
+ proto.game.ProviderItem.prototype.hasIconCdn = function() {
16809
+ return jspb.Message.getField(this, 12) != null;
16810
+ };
16811
+
16812
+
16061
16813
 
16062
16814
  /**
16063
16815
  * Oneof group definitions for this message. Each group defines the field
@@ -16067,7 +16819,7 @@ proto.game.ProviderItem.prototype.hasIsDeactivated = function() {
16067
16819
  * @private {!Array<!Array<number>>}
16068
16820
  * @const
16069
16821
  */
16070
- proto.game.ProviderRequest.oneofGroups_ = [[1,2]];
16822
+ proto.game.ProviderRequest.oneofGroups_ = [[1,2,3]];
16071
16823
 
16072
16824
  /**
16073
16825
  * @enum {number}
@@ -16075,7 +16827,8 @@ proto.game.ProviderRequest.oneofGroups_ = [[1,2]];
16075
16827
  proto.game.ProviderRequest.RequestCase = {
16076
16828
  REQUEST_NOT_SET: 0,
16077
16829
  PROVIDER_DATA: 1,
16078
- FILE: 2
16830
+ FILE: 2,
16831
+ FILE_METADATA: 3
16079
16832
  };
16080
16833
 
16081
16834
  /**
@@ -16117,7 +16870,8 @@ proto.game.ProviderRequest.prototype.toObject = function(opt_includeInstance) {
16117
16870
  proto.game.ProviderRequest.toObject = function(includeInstance, msg) {
16118
16871
  var f, obj = {
16119
16872
  providerData: (f = msg.getProviderData()) && proto.game.ProviderItemRequest.toObject(includeInstance, f),
16120
- file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f)
16873
+ file: (f = msg.getFile()) && proto.game.File.toObject(includeInstance, f),
16874
+ fileMetadata: (f = msg.getFileMetadata()) && proto.game.EntityFileMetadata.toObject(includeInstance, f)
16121
16875
  };
16122
16876
 
16123
16877
  if (includeInstance) {
@@ -16164,6 +16918,11 @@ proto.game.ProviderRequest.deserializeBinaryFromReader = function(msg, reader) {
16164
16918
  reader.readMessage(value,proto.game.File.deserializeBinaryFromReader);
16165
16919
  msg.setFile(value);
16166
16920
  break;
16921
+ case 3:
16922
+ var value = new proto.game.EntityFileMetadata;
16923
+ reader.readMessage(value,proto.game.EntityFileMetadata.deserializeBinaryFromReader);
16924
+ msg.setFileMetadata(value);
16925
+ break;
16167
16926
  default:
16168
16927
  reader.skipField();
16169
16928
  break;
@@ -16209,6 +16968,14 @@ proto.game.ProviderRequest.serializeBinaryToWriter = function(message, writer) {
16209
16968
  proto.game.File.serializeBinaryToWriter
16210
16969
  );
16211
16970
  }
16971
+ f = message.getFileMetadata();
16972
+ if (f != null) {
16973
+ writer.writeMessage(
16974
+ 3,
16975
+ f,
16976
+ proto.game.EntityFileMetadata.serializeBinaryToWriter
16977
+ );
16978
+ }
16212
16979
  };
16213
16980
 
16214
16981
 
@@ -16286,6 +17053,43 @@ proto.game.ProviderRequest.prototype.hasFile = function() {
16286
17053
  };
16287
17054
 
16288
17055
 
17056
+ /**
17057
+ * optional EntityFileMetadata file_metadata = 3;
17058
+ * @return {?proto.game.EntityFileMetadata}
17059
+ */
17060
+ proto.game.ProviderRequest.prototype.getFileMetadata = function() {
17061
+ return /** @type{?proto.game.EntityFileMetadata} */ (
17062
+ jspb.Message.getWrapperField(this, proto.game.EntityFileMetadata, 3));
17063
+ };
17064
+
17065
+
17066
+ /**
17067
+ * @param {?proto.game.EntityFileMetadata|undefined} value
17068
+ * @return {!proto.game.ProviderRequest} returns this
17069
+ */
17070
+ proto.game.ProviderRequest.prototype.setFileMetadata = function(value) {
17071
+ return jspb.Message.setOneofWrapperField(this, 3, proto.game.ProviderRequest.oneofGroups_[0], value);
17072
+ };
17073
+
17074
+
17075
+ /**
17076
+ * Clears the message field making it undefined.
17077
+ * @return {!proto.game.ProviderRequest} returns this
17078
+ */
17079
+ proto.game.ProviderRequest.prototype.clearFileMetadata = function() {
17080
+ return this.setFileMetadata(undefined);
17081
+ };
17082
+
17083
+
17084
+ /**
17085
+ * Returns whether this field is set.
17086
+ * @return {boolean}
17087
+ */
17088
+ proto.game.ProviderRequest.prototype.hasFileMetadata = function() {
17089
+ return jspb.Message.getField(this, 3) != null;
17090
+ };
17091
+
17092
+
16289
17093
 
16290
17094
 
16291
17095
 
@@ -23771,7 +24575,9 @@ proto.game.GameRelationItem.toObject = function(includeInstance, msg) {
23771
24575
  title: jspb.Message.getFieldWithDefault(msg, 3, ""),
23772
24576
  image: jspb.Message.getFieldWithDefault(msg, 4, ""),
23773
24577
  gameGeoList: jspb.Message.toObjectList(msg.getGameGeoList(),
23774
- proto.game.GameGeo.toObject, includeInstance)
24578
+ proto.game.GameGeo.toObject, includeInstance),
24579
+ icon: jspb.Message.getFieldWithDefault(msg, 6, ""),
24580
+ iconCdn: jspb.Message.getFieldWithDefault(msg, 7, "")
23775
24581
  };
23776
24582
 
23777
24583
  if (includeInstance) {
@@ -23829,6 +24635,14 @@ proto.game.GameRelationItem.deserializeBinaryFromReader = function(msg, reader)
23829
24635
  reader.readMessage(value,proto.game.GameGeo.deserializeBinaryFromReader);
23830
24636
  msg.addGameGeo(value);
23831
24637
  break;
24638
+ case 6:
24639
+ var value = /** @type {string} */ (reader.readString());
24640
+ msg.setIcon(value);
24641
+ break;
24642
+ case 7:
24643
+ var value = /** @type {string} */ (reader.readString());
24644
+ msg.setIconCdn(value);
24645
+ break;
23832
24646
  default:
23833
24647
  reader.skipField();
23834
24648
  break;
@@ -23894,6 +24708,20 @@ proto.game.GameRelationItem.serializeBinaryToWriter = function(message, writer)
23894
24708
  proto.game.GameGeo.serializeBinaryToWriter
23895
24709
  );
23896
24710
  }
24711
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
24712
+ if (f != null) {
24713
+ writer.writeString(
24714
+ 6,
24715
+ f
24716
+ );
24717
+ }
24718
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
24719
+ if (f != null) {
24720
+ writer.writeString(
24721
+ 7,
24722
+ f
24723
+ );
24724
+ }
23897
24725
  };
23898
24726
 
23899
24727
 
@@ -24079,6 +24907,78 @@ proto.game.GameRelationItem.prototype.clearGameGeoList = function() {
24079
24907
  };
24080
24908
 
24081
24909
 
24910
+ /**
24911
+ * optional string icon = 6;
24912
+ * @return {string}
24913
+ */
24914
+ proto.game.GameRelationItem.prototype.getIcon = function() {
24915
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
24916
+ };
24917
+
24918
+
24919
+ /**
24920
+ * @param {string} value
24921
+ * @return {!proto.game.GameRelationItem} returns this
24922
+ */
24923
+ proto.game.GameRelationItem.prototype.setIcon = function(value) {
24924
+ return jspb.Message.setField(this, 6, value);
24925
+ };
24926
+
24927
+
24928
+ /**
24929
+ * Clears the field making it undefined.
24930
+ * @return {!proto.game.GameRelationItem} returns this
24931
+ */
24932
+ proto.game.GameRelationItem.prototype.clearIcon = function() {
24933
+ return jspb.Message.setField(this, 6, undefined);
24934
+ };
24935
+
24936
+
24937
+ /**
24938
+ * Returns whether this field is set.
24939
+ * @return {boolean}
24940
+ */
24941
+ proto.game.GameRelationItem.prototype.hasIcon = function() {
24942
+ return jspb.Message.getField(this, 6) != null;
24943
+ };
24944
+
24945
+
24946
+ /**
24947
+ * optional string icon_cdn = 7;
24948
+ * @return {string}
24949
+ */
24950
+ proto.game.GameRelationItem.prototype.getIconCdn = function() {
24951
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
24952
+ };
24953
+
24954
+
24955
+ /**
24956
+ * @param {string} value
24957
+ * @return {!proto.game.GameRelationItem} returns this
24958
+ */
24959
+ proto.game.GameRelationItem.prototype.setIconCdn = function(value) {
24960
+ return jspb.Message.setField(this, 7, value);
24961
+ };
24962
+
24963
+
24964
+ /**
24965
+ * Clears the field making it undefined.
24966
+ * @return {!proto.game.GameRelationItem} returns this
24967
+ */
24968
+ proto.game.GameRelationItem.prototype.clearIconCdn = function() {
24969
+ return jspb.Message.setField(this, 7, undefined);
24970
+ };
24971
+
24972
+
24973
+ /**
24974
+ * Returns whether this field is set.
24975
+ * @return {boolean}
24976
+ */
24977
+ proto.game.GameRelationItem.prototype.hasIconCdn = function() {
24978
+ return jspb.Message.getField(this, 7) != null;
24979
+ };
24980
+
24981
+
24082
24982
 
24083
24983
 
24084
24984
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.566",
3
+ "version": "1.2.567",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {