protobuf-platform 1.2.67 → 1.2.68
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 +2 -1
- package/game/game_pb.js +56 -8
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -328,7 +328,8 @@ message ProviderItem {
|
|
|
328
328
|
optional string description = 4;
|
|
329
329
|
optional int32 is_active = 5;
|
|
330
330
|
optional string image = 6;
|
|
331
|
-
optional
|
|
331
|
+
optional string image_cdn = 7;
|
|
332
|
+
optional int32 count_of_games = 8;
|
|
332
333
|
}
|
|
333
334
|
//Provider CRUD | Requests
|
|
334
335
|
message ProviderRequest {
|
package/game/game_pb.js
CHANGED
|
@@ -12252,7 +12252,8 @@ proto.game.ProviderItem.toObject = function(includeInstance, msg) {
|
|
|
12252
12252
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
12253
12253
|
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
12254
12254
|
image: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
12255
|
-
|
|
12255
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
12256
|
+
countOfGames: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
12256
12257
|
};
|
|
12257
12258
|
|
|
12258
12259
|
if (includeInstance) {
|
|
@@ -12314,6 +12315,10 @@ proto.game.ProviderItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
12314
12315
|
msg.setImage(value);
|
|
12315
12316
|
break;
|
|
12316
12317
|
case 7:
|
|
12318
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12319
|
+
msg.setImageCdn(value);
|
|
12320
|
+
break;
|
|
12321
|
+
case 8:
|
|
12317
12322
|
var value = /** @type {number} */ (reader.readInt32());
|
|
12318
12323
|
msg.setCountOfGames(value);
|
|
12319
12324
|
break;
|
|
@@ -12388,13 +12393,20 @@ proto.game.ProviderItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
12388
12393
|
f
|
|
12389
12394
|
);
|
|
12390
12395
|
}
|
|
12391
|
-
f = /** @type {
|
|
12396
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
12392
12397
|
if (f != null) {
|
|
12393
|
-
writer.
|
|
12398
|
+
writer.writeString(
|
|
12394
12399
|
7,
|
|
12395
12400
|
f
|
|
12396
12401
|
);
|
|
12397
12402
|
}
|
|
12403
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
12404
|
+
if (f != null) {
|
|
12405
|
+
writer.writeInt32(
|
|
12406
|
+
8,
|
|
12407
|
+
f
|
|
12408
|
+
);
|
|
12409
|
+
}
|
|
12398
12410
|
};
|
|
12399
12411
|
|
|
12400
12412
|
|
|
@@ -12615,11 +12627,47 @@ proto.game.ProviderItem.prototype.hasImage = function() {
|
|
|
12615
12627
|
|
|
12616
12628
|
|
|
12617
12629
|
/**
|
|
12618
|
-
* optional
|
|
12630
|
+
* optional string image_cdn = 7;
|
|
12631
|
+
* @return {string}
|
|
12632
|
+
*/
|
|
12633
|
+
proto.game.ProviderItem.prototype.getImageCdn = function() {
|
|
12634
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
12635
|
+
};
|
|
12636
|
+
|
|
12637
|
+
|
|
12638
|
+
/**
|
|
12639
|
+
* @param {string} value
|
|
12640
|
+
* @return {!proto.game.ProviderItem} returns this
|
|
12641
|
+
*/
|
|
12642
|
+
proto.game.ProviderItem.prototype.setImageCdn = function(value) {
|
|
12643
|
+
return jspb.Message.setField(this, 7, value);
|
|
12644
|
+
};
|
|
12645
|
+
|
|
12646
|
+
|
|
12647
|
+
/**
|
|
12648
|
+
* Clears the field making it undefined.
|
|
12649
|
+
* @return {!proto.game.ProviderItem} returns this
|
|
12650
|
+
*/
|
|
12651
|
+
proto.game.ProviderItem.prototype.clearImageCdn = function() {
|
|
12652
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
12653
|
+
};
|
|
12654
|
+
|
|
12655
|
+
|
|
12656
|
+
/**
|
|
12657
|
+
* Returns whether this field is set.
|
|
12658
|
+
* @return {boolean}
|
|
12659
|
+
*/
|
|
12660
|
+
proto.game.ProviderItem.prototype.hasImageCdn = function() {
|
|
12661
|
+
return jspb.Message.getField(this, 7) != null;
|
|
12662
|
+
};
|
|
12663
|
+
|
|
12664
|
+
|
|
12665
|
+
/**
|
|
12666
|
+
* optional int32 count_of_games = 8;
|
|
12619
12667
|
* @return {number}
|
|
12620
12668
|
*/
|
|
12621
12669
|
proto.game.ProviderItem.prototype.getCountOfGames = function() {
|
|
12622
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
12670
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
12623
12671
|
};
|
|
12624
12672
|
|
|
12625
12673
|
|
|
@@ -12628,7 +12676,7 @@ proto.game.ProviderItem.prototype.getCountOfGames = function() {
|
|
|
12628
12676
|
* @return {!proto.game.ProviderItem} returns this
|
|
12629
12677
|
*/
|
|
12630
12678
|
proto.game.ProviderItem.prototype.setCountOfGames = function(value) {
|
|
12631
|
-
return jspb.Message.setField(this,
|
|
12679
|
+
return jspb.Message.setField(this, 8, value);
|
|
12632
12680
|
};
|
|
12633
12681
|
|
|
12634
12682
|
|
|
@@ -12637,7 +12685,7 @@ proto.game.ProviderItem.prototype.setCountOfGames = function(value) {
|
|
|
12637
12685
|
* @return {!proto.game.ProviderItem} returns this
|
|
12638
12686
|
*/
|
|
12639
12687
|
proto.game.ProviderItem.prototype.clearCountOfGames = function() {
|
|
12640
|
-
return jspb.Message.setField(this,
|
|
12688
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
12641
12689
|
};
|
|
12642
12690
|
|
|
12643
12691
|
|
|
@@ -12646,7 +12694,7 @@ proto.game.ProviderItem.prototype.clearCountOfGames = function() {
|
|
|
12646
12694
|
* @return {boolean}
|
|
12647
12695
|
*/
|
|
12648
12696
|
proto.game.ProviderItem.prototype.hasCountOfGames = function() {
|
|
12649
|
-
return jspb.Message.getField(this,
|
|
12697
|
+
return jspb.Message.getField(this, 8) != null;
|
|
12650
12698
|
};
|
|
12651
12699
|
|
|
12652
12700
|
|