protobuf-platform 1.2.568 → 1.2.570
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 +45 -0
- package/game/game_grpc_pb.js +110 -0
- package/game/game_pb.js +1829 -26
- package/package.json +1 -1
package/game/game_pb.js
CHANGED
|
@@ -70,6 +70,9 @@ goog.exportSymbol('proto.game.FreeSpinSettingsRequest', null, global);
|
|
|
70
70
|
goog.exportSymbol('proto.game.FreeSpinSettingsResponse', null, global);
|
|
71
71
|
goog.exportSymbol('proto.game.FreeSpinStatusRequest', null, global);
|
|
72
72
|
goog.exportSymbol('proto.game.GameConfigCheckResponse', null, global);
|
|
73
|
+
goog.exportSymbol('proto.game.GameEntityTranslationItem', null, global);
|
|
74
|
+
goog.exportSymbol('proto.game.GameEntityTranslationRequest', null, global);
|
|
75
|
+
goog.exportSymbol('proto.game.GameEntityTranslationResponse', null, global);
|
|
73
76
|
goog.exportSymbol('proto.game.GameGeo', null, global);
|
|
74
77
|
goog.exportSymbol('proto.game.GameImageSlot', null, global);
|
|
75
78
|
goog.exportSymbol('proto.game.GameImageUploadMetadata', null, global);
|
|
@@ -622,9 +625,72 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
622
625
|
* @extends {jspb.Message}
|
|
623
626
|
* @constructor
|
|
624
627
|
*/
|
|
625
|
-
proto.game.
|
|
628
|
+
proto.game.GameEntityTranslationItem = function(opt_data) {
|
|
629
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
630
|
+
};
|
|
631
|
+
goog.inherits(proto.game.GameEntityTranslationItem, jspb.Message);
|
|
632
|
+
if (goog.DEBUG && !COMPILED) {
|
|
633
|
+
/**
|
|
634
|
+
* @public
|
|
635
|
+
* @override
|
|
636
|
+
*/
|
|
637
|
+
proto.game.GameEntityTranslationItem.displayName = 'proto.game.GameEntityTranslationItem';
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* Generated by JsPbCodeGenerator.
|
|
641
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
642
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
643
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
644
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
645
|
+
* valid.
|
|
646
|
+
* @extends {jspb.Message}
|
|
647
|
+
* @constructor
|
|
648
|
+
*/
|
|
649
|
+
proto.game.GameEntityTranslationRequest = function(opt_data) {
|
|
626
650
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
627
651
|
};
|
|
652
|
+
goog.inherits(proto.game.GameEntityTranslationRequest, jspb.Message);
|
|
653
|
+
if (goog.DEBUG && !COMPILED) {
|
|
654
|
+
/**
|
|
655
|
+
* @public
|
|
656
|
+
* @override
|
|
657
|
+
*/
|
|
658
|
+
proto.game.GameEntityTranslationRequest.displayName = 'proto.game.GameEntityTranslationRequest';
|
|
659
|
+
}
|
|
660
|
+
/**
|
|
661
|
+
* Generated by JsPbCodeGenerator.
|
|
662
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
663
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
664
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
665
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
666
|
+
* valid.
|
|
667
|
+
* @extends {jspb.Message}
|
|
668
|
+
* @constructor
|
|
669
|
+
*/
|
|
670
|
+
proto.game.GameEntityTranslationResponse = function(opt_data) {
|
|
671
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
672
|
+
};
|
|
673
|
+
goog.inherits(proto.game.GameEntityTranslationResponse, jspb.Message);
|
|
674
|
+
if (goog.DEBUG && !COMPILED) {
|
|
675
|
+
/**
|
|
676
|
+
* @public
|
|
677
|
+
* @override
|
|
678
|
+
*/
|
|
679
|
+
proto.game.GameEntityTranslationResponse.displayName = 'proto.game.GameEntityTranslationResponse';
|
|
680
|
+
}
|
|
681
|
+
/**
|
|
682
|
+
* Generated by JsPbCodeGenerator.
|
|
683
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
684
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
685
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
686
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
687
|
+
* valid.
|
|
688
|
+
* @extends {jspb.Message}
|
|
689
|
+
* @constructor
|
|
690
|
+
*/
|
|
691
|
+
proto.game.CategoryItem = function(opt_data) {
|
|
692
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.CategoryItem.repeatedFields_, null);
|
|
693
|
+
};
|
|
628
694
|
goog.inherits(proto.game.CategoryItem, jspb.Message);
|
|
629
695
|
if (goog.DEBUG && !COMPILED) {
|
|
630
696
|
/**
|
|
@@ -770,7 +836,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
770
836
|
* @constructor
|
|
771
837
|
*/
|
|
772
838
|
proto.game.CollectionItem = function(opt_data) {
|
|
773
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
839
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.CollectionItem.repeatedFields_, null);
|
|
774
840
|
};
|
|
775
841
|
goog.inherits(proto.game.CollectionItem, jspb.Message);
|
|
776
842
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -938,7 +1004,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
938
1004
|
* @constructor
|
|
939
1005
|
*/
|
|
940
1006
|
proto.game.TagItem = function(opt_data) {
|
|
941
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
1007
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.TagItem.repeatedFields_, null);
|
|
942
1008
|
};
|
|
943
1009
|
goog.inherits(proto.game.TagItem, jspb.Message);
|
|
944
1010
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1106,7 +1172,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1106
1172
|
* @constructor
|
|
1107
1173
|
*/
|
|
1108
1174
|
proto.game.ProviderItem = function(opt_data) {
|
|
1109
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
1175
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.ProviderItem.repeatedFields_, null);
|
|
1110
1176
|
};
|
|
1111
1177
|
goog.inherits(proto.game.ProviderItem, jspb.Message);
|
|
1112
1178
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -4687,7 +4753,8 @@ proto.game.GameSearchRequest.toObject = function(includeInstance, msg) {
|
|
|
4687
4753
|
isHidden: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
4688
4754
|
gameIdsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
|
|
4689
4755
|
query: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
4690
|
-
type: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
4756
|
+
type: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
4757
|
+
locale: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
4691
4758
|
};
|
|
4692
4759
|
|
|
4693
4760
|
if (includeInstance) {
|
|
@@ -4802,6 +4869,10 @@ proto.game.GameSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
4802
4869
|
var value = /** @type {string} */ (reader.readString());
|
|
4803
4870
|
msg.setType(value);
|
|
4804
4871
|
break;
|
|
4872
|
+
case 18:
|
|
4873
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4874
|
+
msg.setLocale(value);
|
|
4875
|
+
break;
|
|
4805
4876
|
default:
|
|
4806
4877
|
reader.skipField();
|
|
4807
4878
|
break;
|
|
@@ -4950,6 +5021,13 @@ proto.game.GameSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
4950
5021
|
f
|
|
4951
5022
|
);
|
|
4952
5023
|
}
|
|
5024
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
|
5025
|
+
if (f != null) {
|
|
5026
|
+
writer.writeString(
|
|
5027
|
+
18,
|
|
5028
|
+
f
|
|
5029
|
+
);
|
|
5030
|
+
}
|
|
4953
5031
|
};
|
|
4954
5032
|
|
|
4955
5033
|
|
|
@@ -5571,6 +5649,42 @@ proto.game.GameSearchRequest.prototype.hasType = function() {
|
|
|
5571
5649
|
};
|
|
5572
5650
|
|
|
5573
5651
|
|
|
5652
|
+
/**
|
|
5653
|
+
* optional string locale = 18;
|
|
5654
|
+
* @return {string}
|
|
5655
|
+
*/
|
|
5656
|
+
proto.game.GameSearchRequest.prototype.getLocale = function() {
|
|
5657
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
5658
|
+
};
|
|
5659
|
+
|
|
5660
|
+
|
|
5661
|
+
/**
|
|
5662
|
+
* @param {string} value
|
|
5663
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
|
5664
|
+
*/
|
|
5665
|
+
proto.game.GameSearchRequest.prototype.setLocale = function(value) {
|
|
5666
|
+
return jspb.Message.setField(this, 18, value);
|
|
5667
|
+
};
|
|
5668
|
+
|
|
5669
|
+
|
|
5670
|
+
/**
|
|
5671
|
+
* Clears the field making it undefined.
|
|
5672
|
+
* @return {!proto.game.GameSearchRequest} returns this
|
|
5673
|
+
*/
|
|
5674
|
+
proto.game.GameSearchRequest.prototype.clearLocale = function() {
|
|
5675
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
5676
|
+
};
|
|
5677
|
+
|
|
5678
|
+
|
|
5679
|
+
/**
|
|
5680
|
+
* Returns whether this field is set.
|
|
5681
|
+
* @return {boolean}
|
|
5682
|
+
*/
|
|
5683
|
+
proto.game.GameSearchRequest.prototype.hasLocale = function() {
|
|
5684
|
+
return jspb.Message.getField(this, 18) != null;
|
|
5685
|
+
};
|
|
5686
|
+
|
|
5687
|
+
|
|
5574
5688
|
|
|
5575
5689
|
/**
|
|
5576
5690
|
* List of repeated fields within this message type.
|
|
@@ -7721,7 +7835,8 @@ proto.game.ProviderSearchRequest.toObject = function(includeInstance, msg) {
|
|
|
7721
7835
|
providerTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7722
7836
|
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7723
7837
|
geo: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7724
|
-
idsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
7838
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
7839
|
+
locale: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
7725
7840
|
};
|
|
7726
7841
|
|
|
7727
7842
|
if (includeInstance) {
|
|
@@ -7776,6 +7891,10 @@ proto.game.ProviderSearchRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
7776
7891
|
msg.addIds(values[i]);
|
|
7777
7892
|
}
|
|
7778
7893
|
break;
|
|
7894
|
+
case 5:
|
|
7895
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7896
|
+
msg.setLocale(value);
|
|
7897
|
+
break;
|
|
7779
7898
|
default:
|
|
7780
7899
|
reader.skipField();
|
|
7781
7900
|
break;
|
|
@@ -7833,6 +7952,13 @@ proto.game.ProviderSearchRequest.serializeBinaryToWriter = function(message, wri
|
|
|
7833
7952
|
f
|
|
7834
7953
|
);
|
|
7835
7954
|
}
|
|
7955
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
7956
|
+
if (f != null) {
|
|
7957
|
+
writer.writeString(
|
|
7958
|
+
5,
|
|
7959
|
+
f
|
|
7960
|
+
);
|
|
7961
|
+
}
|
|
7836
7962
|
};
|
|
7837
7963
|
|
|
7838
7964
|
|
|
@@ -7981,6 +8107,42 @@ proto.game.ProviderSearchRequest.prototype.clearIdsList = function() {
|
|
|
7981
8107
|
};
|
|
7982
8108
|
|
|
7983
8109
|
|
|
8110
|
+
/**
|
|
8111
|
+
* optional string locale = 5;
|
|
8112
|
+
* @return {string}
|
|
8113
|
+
*/
|
|
8114
|
+
proto.game.ProviderSearchRequest.prototype.getLocale = function() {
|
|
8115
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
8116
|
+
};
|
|
8117
|
+
|
|
8118
|
+
|
|
8119
|
+
/**
|
|
8120
|
+
* @param {string} value
|
|
8121
|
+
* @return {!proto.game.ProviderSearchRequest} returns this
|
|
8122
|
+
*/
|
|
8123
|
+
proto.game.ProviderSearchRequest.prototype.setLocale = function(value) {
|
|
8124
|
+
return jspb.Message.setField(this, 5, value);
|
|
8125
|
+
};
|
|
8126
|
+
|
|
8127
|
+
|
|
8128
|
+
/**
|
|
8129
|
+
* Clears the field making it undefined.
|
|
8130
|
+
* @return {!proto.game.ProviderSearchRequest} returns this
|
|
8131
|
+
*/
|
|
8132
|
+
proto.game.ProviderSearchRequest.prototype.clearLocale = function() {
|
|
8133
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
8134
|
+
};
|
|
8135
|
+
|
|
8136
|
+
|
|
8137
|
+
/**
|
|
8138
|
+
* Returns whether this field is set.
|
|
8139
|
+
* @return {boolean}
|
|
8140
|
+
*/
|
|
8141
|
+
proto.game.ProviderSearchRequest.prototype.hasLocale = function() {
|
|
8142
|
+
return jspb.Message.getField(this, 5) != null;
|
|
8143
|
+
};
|
|
8144
|
+
|
|
8145
|
+
|
|
7984
8146
|
|
|
7985
8147
|
/**
|
|
7986
8148
|
* List of repeated fields within this message type.
|
|
@@ -8022,7 +8184,8 @@ proto.game.CategorySearchRequest.toObject = function(includeInstance, msg) {
|
|
|
8022
8184
|
var f, obj = {
|
|
8023
8185
|
categoryTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8024
8186
|
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8025
|
-
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
8187
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
8188
|
+
locale: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
8026
8189
|
};
|
|
8027
8190
|
|
|
8028
8191
|
if (includeInstance) {
|
|
@@ -8073,6 +8236,10 @@ proto.game.CategorySearchRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
8073
8236
|
msg.addIds(values[i]);
|
|
8074
8237
|
}
|
|
8075
8238
|
break;
|
|
8239
|
+
case 4:
|
|
8240
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8241
|
+
msg.setLocale(value);
|
|
8242
|
+
break;
|
|
8076
8243
|
default:
|
|
8077
8244
|
reader.skipField();
|
|
8078
8245
|
break;
|
|
@@ -8123,6 +8290,13 @@ proto.game.CategorySearchRequest.serializeBinaryToWriter = function(message, wri
|
|
|
8123
8290
|
f
|
|
8124
8291
|
);
|
|
8125
8292
|
}
|
|
8293
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
8294
|
+
if (f != null) {
|
|
8295
|
+
writer.writeString(
|
|
8296
|
+
4,
|
|
8297
|
+
f
|
|
8298
|
+
);
|
|
8299
|
+
}
|
|
8126
8300
|
};
|
|
8127
8301
|
|
|
8128
8302
|
|
|
@@ -8235,6 +8409,42 @@ proto.game.CategorySearchRequest.prototype.clearIdsList = function() {
|
|
|
8235
8409
|
};
|
|
8236
8410
|
|
|
8237
8411
|
|
|
8412
|
+
/**
|
|
8413
|
+
* optional string locale = 4;
|
|
8414
|
+
* @return {string}
|
|
8415
|
+
*/
|
|
8416
|
+
proto.game.CategorySearchRequest.prototype.getLocale = function() {
|
|
8417
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
8418
|
+
};
|
|
8419
|
+
|
|
8420
|
+
|
|
8421
|
+
/**
|
|
8422
|
+
* @param {string} value
|
|
8423
|
+
* @return {!proto.game.CategorySearchRequest} returns this
|
|
8424
|
+
*/
|
|
8425
|
+
proto.game.CategorySearchRequest.prototype.setLocale = function(value) {
|
|
8426
|
+
return jspb.Message.setField(this, 4, value);
|
|
8427
|
+
};
|
|
8428
|
+
|
|
8429
|
+
|
|
8430
|
+
/**
|
|
8431
|
+
* Clears the field making it undefined.
|
|
8432
|
+
* @return {!proto.game.CategorySearchRequest} returns this
|
|
8433
|
+
*/
|
|
8434
|
+
proto.game.CategorySearchRequest.prototype.clearLocale = function() {
|
|
8435
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
8436
|
+
};
|
|
8437
|
+
|
|
8438
|
+
|
|
8439
|
+
/**
|
|
8440
|
+
* Returns whether this field is set.
|
|
8441
|
+
* @return {boolean}
|
|
8442
|
+
*/
|
|
8443
|
+
proto.game.CategorySearchRequest.prototype.hasLocale = function() {
|
|
8444
|
+
return jspb.Message.getField(this, 4) != null;
|
|
8445
|
+
};
|
|
8446
|
+
|
|
8447
|
+
|
|
8238
8448
|
|
|
8239
8449
|
/**
|
|
8240
8450
|
* List of repeated fields within this message type.
|
|
@@ -8277,7 +8487,8 @@ proto.game.CollectionSearchRequest.toObject = function(includeInstance, msg) {
|
|
|
8277
8487
|
collectionTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8278
8488
|
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8279
8489
|
categoryIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
8280
|
-
idsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
8490
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
8491
|
+
locale: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
8281
8492
|
};
|
|
8282
8493
|
|
|
8283
8494
|
if (includeInstance) {
|
|
@@ -8334,6 +8545,10 @@ proto.game.CollectionSearchRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
8334
8545
|
msg.addIds(values[i]);
|
|
8335
8546
|
}
|
|
8336
8547
|
break;
|
|
8548
|
+
case 5:
|
|
8549
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8550
|
+
msg.setLocale(value);
|
|
8551
|
+
break;
|
|
8337
8552
|
default:
|
|
8338
8553
|
reader.skipField();
|
|
8339
8554
|
break;
|
|
@@ -8391,6 +8606,13 @@ proto.game.CollectionSearchRequest.serializeBinaryToWriter = function(message, w
|
|
|
8391
8606
|
f
|
|
8392
8607
|
);
|
|
8393
8608
|
}
|
|
8609
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
8610
|
+
if (f != null) {
|
|
8611
|
+
writer.writeString(
|
|
8612
|
+
5,
|
|
8613
|
+
f
|
|
8614
|
+
);
|
|
8615
|
+
}
|
|
8394
8616
|
};
|
|
8395
8617
|
|
|
8396
8618
|
|
|
@@ -8540,6 +8762,42 @@ proto.game.CollectionSearchRequest.prototype.clearIdsList = function() {
|
|
|
8540
8762
|
};
|
|
8541
8763
|
|
|
8542
8764
|
|
|
8765
|
+
/**
|
|
8766
|
+
* optional string locale = 5;
|
|
8767
|
+
* @return {string}
|
|
8768
|
+
*/
|
|
8769
|
+
proto.game.CollectionSearchRequest.prototype.getLocale = function() {
|
|
8770
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
8771
|
+
};
|
|
8772
|
+
|
|
8773
|
+
|
|
8774
|
+
/**
|
|
8775
|
+
* @param {string} value
|
|
8776
|
+
* @return {!proto.game.CollectionSearchRequest} returns this
|
|
8777
|
+
*/
|
|
8778
|
+
proto.game.CollectionSearchRequest.prototype.setLocale = function(value) {
|
|
8779
|
+
return jspb.Message.setField(this, 5, value);
|
|
8780
|
+
};
|
|
8781
|
+
|
|
8782
|
+
|
|
8783
|
+
/**
|
|
8784
|
+
* Clears the field making it undefined.
|
|
8785
|
+
* @return {!proto.game.CollectionSearchRequest} returns this
|
|
8786
|
+
*/
|
|
8787
|
+
proto.game.CollectionSearchRequest.prototype.clearLocale = function() {
|
|
8788
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
8789
|
+
};
|
|
8790
|
+
|
|
8791
|
+
|
|
8792
|
+
/**
|
|
8793
|
+
* Returns whether this field is set.
|
|
8794
|
+
* @return {boolean}
|
|
8795
|
+
*/
|
|
8796
|
+
proto.game.CollectionSearchRequest.prototype.hasLocale = function() {
|
|
8797
|
+
return jspb.Message.getField(this, 5) != null;
|
|
8798
|
+
};
|
|
8799
|
+
|
|
8800
|
+
|
|
8543
8801
|
|
|
8544
8802
|
/**
|
|
8545
8803
|
* List of repeated fields within this message type.
|
|
@@ -8581,7 +8839,8 @@ proto.game.TagSearchRequest.toObject = function(includeInstance, msg) {
|
|
|
8581
8839
|
var f, obj = {
|
|
8582
8840
|
tagTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8583
8841
|
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8584
|
-
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
8842
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
8843
|
+
locale: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
8585
8844
|
};
|
|
8586
8845
|
|
|
8587
8846
|
if (includeInstance) {
|
|
@@ -8632,6 +8891,10 @@ proto.game.TagSearchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
8632
8891
|
msg.addIds(values[i]);
|
|
8633
8892
|
}
|
|
8634
8893
|
break;
|
|
8894
|
+
case 4:
|
|
8895
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8896
|
+
msg.setLocale(value);
|
|
8897
|
+
break;
|
|
8635
8898
|
default:
|
|
8636
8899
|
reader.skipField();
|
|
8637
8900
|
break;
|
|
@@ -8682,6 +8945,13 @@ proto.game.TagSearchRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
8682
8945
|
f
|
|
8683
8946
|
);
|
|
8684
8947
|
}
|
|
8948
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
8949
|
+
if (f != null) {
|
|
8950
|
+
writer.writeString(
|
|
8951
|
+
4,
|
|
8952
|
+
f
|
|
8953
|
+
);
|
|
8954
|
+
}
|
|
8685
8955
|
};
|
|
8686
8956
|
|
|
8687
8957
|
|
|
@@ -8794,6 +9064,42 @@ proto.game.TagSearchRequest.prototype.clearIdsList = function() {
|
|
|
8794
9064
|
};
|
|
8795
9065
|
|
|
8796
9066
|
|
|
9067
|
+
/**
|
|
9068
|
+
* optional string locale = 4;
|
|
9069
|
+
* @return {string}
|
|
9070
|
+
*/
|
|
9071
|
+
proto.game.TagSearchRequest.prototype.getLocale = function() {
|
|
9072
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
9073
|
+
};
|
|
9074
|
+
|
|
9075
|
+
|
|
9076
|
+
/**
|
|
9077
|
+
* @param {string} value
|
|
9078
|
+
* @return {!proto.game.TagSearchRequest} returns this
|
|
9079
|
+
*/
|
|
9080
|
+
proto.game.TagSearchRequest.prototype.setLocale = function(value) {
|
|
9081
|
+
return jspb.Message.setField(this, 4, value);
|
|
9082
|
+
};
|
|
9083
|
+
|
|
9084
|
+
|
|
9085
|
+
/**
|
|
9086
|
+
* Clears the field making it undefined.
|
|
9087
|
+
* @return {!proto.game.TagSearchRequest} returns this
|
|
9088
|
+
*/
|
|
9089
|
+
proto.game.TagSearchRequest.prototype.clearLocale = function() {
|
|
9090
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
9091
|
+
};
|
|
9092
|
+
|
|
9093
|
+
|
|
9094
|
+
/**
|
|
9095
|
+
* Returns whether this field is set.
|
|
9096
|
+
* @return {boolean}
|
|
9097
|
+
*/
|
|
9098
|
+
proto.game.TagSearchRequest.prototype.hasLocale = function() {
|
|
9099
|
+
return jspb.Message.getField(this, 4) != null;
|
|
9100
|
+
};
|
|
9101
|
+
|
|
9102
|
+
|
|
8797
9103
|
|
|
8798
9104
|
/**
|
|
8799
9105
|
* List of repeated fields within this message type.
|
|
@@ -9733,6 +10039,646 @@ proto.game.GetFileRequest.prototype.setInstanceType = function(value) {
|
|
|
9733
10039
|
|
|
9734
10040
|
|
|
9735
10041
|
|
|
10042
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10043
|
+
/**
|
|
10044
|
+
* Creates an object representation of this proto.
|
|
10045
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10046
|
+
* Optional fields that are not set will be set to undefined.
|
|
10047
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10048
|
+
* For the list of reserved names please see:
|
|
10049
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10050
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10051
|
+
* JSPB instance for transitional soy proto support:
|
|
10052
|
+
* http://goto/soy-param-migration
|
|
10053
|
+
* @return {!Object}
|
|
10054
|
+
*/
|
|
10055
|
+
proto.game.GameEntityTranslationItem.prototype.toObject = function(opt_includeInstance) {
|
|
10056
|
+
return proto.game.GameEntityTranslationItem.toObject(opt_includeInstance, this);
|
|
10057
|
+
};
|
|
10058
|
+
|
|
10059
|
+
|
|
10060
|
+
/**
|
|
10061
|
+
* Static version of the {@see toObject} method.
|
|
10062
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10063
|
+
* the JSPB instance for transitional soy proto support:
|
|
10064
|
+
* http://goto/soy-param-migration
|
|
10065
|
+
* @param {!proto.game.GameEntityTranslationItem} msg The msg instance to transform.
|
|
10066
|
+
* @return {!Object}
|
|
10067
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10068
|
+
*/
|
|
10069
|
+
proto.game.GameEntityTranslationItem.toObject = function(includeInstance, msg) {
|
|
10070
|
+
var f, obj = {
|
|
10071
|
+
locale: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10072
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10073
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
10074
|
+
};
|
|
10075
|
+
|
|
10076
|
+
if (includeInstance) {
|
|
10077
|
+
obj.$jspbMessageInstance = msg;
|
|
10078
|
+
}
|
|
10079
|
+
return obj;
|
|
10080
|
+
};
|
|
10081
|
+
}
|
|
10082
|
+
|
|
10083
|
+
|
|
10084
|
+
/**
|
|
10085
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10086
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10087
|
+
* @return {!proto.game.GameEntityTranslationItem}
|
|
10088
|
+
*/
|
|
10089
|
+
proto.game.GameEntityTranslationItem.deserializeBinary = function(bytes) {
|
|
10090
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10091
|
+
var msg = new proto.game.GameEntityTranslationItem;
|
|
10092
|
+
return proto.game.GameEntityTranslationItem.deserializeBinaryFromReader(msg, reader);
|
|
10093
|
+
};
|
|
10094
|
+
|
|
10095
|
+
|
|
10096
|
+
/**
|
|
10097
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10098
|
+
* given reader into the given message object.
|
|
10099
|
+
* @param {!proto.game.GameEntityTranslationItem} msg The message object to deserialize into.
|
|
10100
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10101
|
+
* @return {!proto.game.GameEntityTranslationItem}
|
|
10102
|
+
*/
|
|
10103
|
+
proto.game.GameEntityTranslationItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
10104
|
+
while (reader.nextField()) {
|
|
10105
|
+
if (reader.isEndGroup()) {
|
|
10106
|
+
break;
|
|
10107
|
+
}
|
|
10108
|
+
var field = reader.getFieldNumber();
|
|
10109
|
+
switch (field) {
|
|
10110
|
+
case 1:
|
|
10111
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10112
|
+
msg.setLocale(value);
|
|
10113
|
+
break;
|
|
10114
|
+
case 2:
|
|
10115
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10116
|
+
msg.setTitle(value);
|
|
10117
|
+
break;
|
|
10118
|
+
case 3:
|
|
10119
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10120
|
+
msg.setDescription(value);
|
|
10121
|
+
break;
|
|
10122
|
+
default:
|
|
10123
|
+
reader.skipField();
|
|
10124
|
+
break;
|
|
10125
|
+
}
|
|
10126
|
+
}
|
|
10127
|
+
return msg;
|
|
10128
|
+
};
|
|
10129
|
+
|
|
10130
|
+
|
|
10131
|
+
/**
|
|
10132
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10133
|
+
* @return {!Uint8Array}
|
|
10134
|
+
*/
|
|
10135
|
+
proto.game.GameEntityTranslationItem.prototype.serializeBinary = function() {
|
|
10136
|
+
var writer = new jspb.BinaryWriter();
|
|
10137
|
+
proto.game.GameEntityTranslationItem.serializeBinaryToWriter(this, writer);
|
|
10138
|
+
return writer.getResultBuffer();
|
|
10139
|
+
};
|
|
10140
|
+
|
|
10141
|
+
|
|
10142
|
+
/**
|
|
10143
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10144
|
+
* format), writing to the given BinaryWriter.
|
|
10145
|
+
* @param {!proto.game.GameEntityTranslationItem} message
|
|
10146
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10147
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10148
|
+
*/
|
|
10149
|
+
proto.game.GameEntityTranslationItem.serializeBinaryToWriter = function(message, writer) {
|
|
10150
|
+
var f = undefined;
|
|
10151
|
+
f = message.getLocale();
|
|
10152
|
+
if (f.length > 0) {
|
|
10153
|
+
writer.writeString(
|
|
10154
|
+
1,
|
|
10155
|
+
f
|
|
10156
|
+
);
|
|
10157
|
+
}
|
|
10158
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
10159
|
+
if (f != null) {
|
|
10160
|
+
writer.writeString(
|
|
10161
|
+
2,
|
|
10162
|
+
f
|
|
10163
|
+
);
|
|
10164
|
+
}
|
|
10165
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
10166
|
+
if (f != null) {
|
|
10167
|
+
writer.writeString(
|
|
10168
|
+
3,
|
|
10169
|
+
f
|
|
10170
|
+
);
|
|
10171
|
+
}
|
|
10172
|
+
};
|
|
10173
|
+
|
|
10174
|
+
|
|
10175
|
+
/**
|
|
10176
|
+
* optional string locale = 1;
|
|
10177
|
+
* @return {string}
|
|
10178
|
+
*/
|
|
10179
|
+
proto.game.GameEntityTranslationItem.prototype.getLocale = function() {
|
|
10180
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10181
|
+
};
|
|
10182
|
+
|
|
10183
|
+
|
|
10184
|
+
/**
|
|
10185
|
+
* @param {string} value
|
|
10186
|
+
* @return {!proto.game.GameEntityTranslationItem} returns this
|
|
10187
|
+
*/
|
|
10188
|
+
proto.game.GameEntityTranslationItem.prototype.setLocale = function(value) {
|
|
10189
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10190
|
+
};
|
|
10191
|
+
|
|
10192
|
+
|
|
10193
|
+
/**
|
|
10194
|
+
* optional string title = 2;
|
|
10195
|
+
* @return {string}
|
|
10196
|
+
*/
|
|
10197
|
+
proto.game.GameEntityTranslationItem.prototype.getTitle = function() {
|
|
10198
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10199
|
+
};
|
|
10200
|
+
|
|
10201
|
+
|
|
10202
|
+
/**
|
|
10203
|
+
* @param {string} value
|
|
10204
|
+
* @return {!proto.game.GameEntityTranslationItem} returns this
|
|
10205
|
+
*/
|
|
10206
|
+
proto.game.GameEntityTranslationItem.prototype.setTitle = function(value) {
|
|
10207
|
+
return jspb.Message.setField(this, 2, value);
|
|
10208
|
+
};
|
|
10209
|
+
|
|
10210
|
+
|
|
10211
|
+
/**
|
|
10212
|
+
* Clears the field making it undefined.
|
|
10213
|
+
* @return {!proto.game.GameEntityTranslationItem} returns this
|
|
10214
|
+
*/
|
|
10215
|
+
proto.game.GameEntityTranslationItem.prototype.clearTitle = function() {
|
|
10216
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
10217
|
+
};
|
|
10218
|
+
|
|
10219
|
+
|
|
10220
|
+
/**
|
|
10221
|
+
* Returns whether this field is set.
|
|
10222
|
+
* @return {boolean}
|
|
10223
|
+
*/
|
|
10224
|
+
proto.game.GameEntityTranslationItem.prototype.hasTitle = function() {
|
|
10225
|
+
return jspb.Message.getField(this, 2) != null;
|
|
10226
|
+
};
|
|
10227
|
+
|
|
10228
|
+
|
|
10229
|
+
/**
|
|
10230
|
+
* optional string description = 3;
|
|
10231
|
+
* @return {string}
|
|
10232
|
+
*/
|
|
10233
|
+
proto.game.GameEntityTranslationItem.prototype.getDescription = function() {
|
|
10234
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10235
|
+
};
|
|
10236
|
+
|
|
10237
|
+
|
|
10238
|
+
/**
|
|
10239
|
+
* @param {string} value
|
|
10240
|
+
* @return {!proto.game.GameEntityTranslationItem} returns this
|
|
10241
|
+
*/
|
|
10242
|
+
proto.game.GameEntityTranslationItem.prototype.setDescription = function(value) {
|
|
10243
|
+
return jspb.Message.setField(this, 3, value);
|
|
10244
|
+
};
|
|
10245
|
+
|
|
10246
|
+
|
|
10247
|
+
/**
|
|
10248
|
+
* Clears the field making it undefined.
|
|
10249
|
+
* @return {!proto.game.GameEntityTranslationItem} returns this
|
|
10250
|
+
*/
|
|
10251
|
+
proto.game.GameEntityTranslationItem.prototype.clearDescription = function() {
|
|
10252
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
10253
|
+
};
|
|
10254
|
+
|
|
10255
|
+
|
|
10256
|
+
/**
|
|
10257
|
+
* Returns whether this field is set.
|
|
10258
|
+
* @return {boolean}
|
|
10259
|
+
*/
|
|
10260
|
+
proto.game.GameEntityTranslationItem.prototype.hasDescription = function() {
|
|
10261
|
+
return jspb.Message.getField(this, 3) != null;
|
|
10262
|
+
};
|
|
10263
|
+
|
|
10264
|
+
|
|
10265
|
+
|
|
10266
|
+
|
|
10267
|
+
|
|
10268
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10269
|
+
/**
|
|
10270
|
+
* Creates an object representation of this proto.
|
|
10271
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10272
|
+
* Optional fields that are not set will be set to undefined.
|
|
10273
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10274
|
+
* For the list of reserved names please see:
|
|
10275
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10276
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10277
|
+
* JSPB instance for transitional soy proto support:
|
|
10278
|
+
* http://goto/soy-param-migration
|
|
10279
|
+
* @return {!Object}
|
|
10280
|
+
*/
|
|
10281
|
+
proto.game.GameEntityTranslationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10282
|
+
return proto.game.GameEntityTranslationRequest.toObject(opt_includeInstance, this);
|
|
10283
|
+
};
|
|
10284
|
+
|
|
10285
|
+
|
|
10286
|
+
/**
|
|
10287
|
+
* Static version of the {@see toObject} method.
|
|
10288
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10289
|
+
* the JSPB instance for transitional soy proto support:
|
|
10290
|
+
* http://goto/soy-param-migration
|
|
10291
|
+
* @param {!proto.game.GameEntityTranslationRequest} msg The msg instance to transform.
|
|
10292
|
+
* @return {!Object}
|
|
10293
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10294
|
+
*/
|
|
10295
|
+
proto.game.GameEntityTranslationRequest.toObject = function(includeInstance, msg) {
|
|
10296
|
+
var f, obj = {
|
|
10297
|
+
entityId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10298
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10299
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10300
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
10301
|
+
};
|
|
10302
|
+
|
|
10303
|
+
if (includeInstance) {
|
|
10304
|
+
obj.$jspbMessageInstance = msg;
|
|
10305
|
+
}
|
|
10306
|
+
return obj;
|
|
10307
|
+
};
|
|
10308
|
+
}
|
|
10309
|
+
|
|
10310
|
+
|
|
10311
|
+
/**
|
|
10312
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10313
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10314
|
+
* @return {!proto.game.GameEntityTranslationRequest}
|
|
10315
|
+
*/
|
|
10316
|
+
proto.game.GameEntityTranslationRequest.deserializeBinary = function(bytes) {
|
|
10317
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10318
|
+
var msg = new proto.game.GameEntityTranslationRequest;
|
|
10319
|
+
return proto.game.GameEntityTranslationRequest.deserializeBinaryFromReader(msg, reader);
|
|
10320
|
+
};
|
|
10321
|
+
|
|
10322
|
+
|
|
10323
|
+
/**
|
|
10324
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10325
|
+
* given reader into the given message object.
|
|
10326
|
+
* @param {!proto.game.GameEntityTranslationRequest} msg The message object to deserialize into.
|
|
10327
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10328
|
+
* @return {!proto.game.GameEntityTranslationRequest}
|
|
10329
|
+
*/
|
|
10330
|
+
proto.game.GameEntityTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10331
|
+
while (reader.nextField()) {
|
|
10332
|
+
if (reader.isEndGroup()) {
|
|
10333
|
+
break;
|
|
10334
|
+
}
|
|
10335
|
+
var field = reader.getFieldNumber();
|
|
10336
|
+
switch (field) {
|
|
10337
|
+
case 1:
|
|
10338
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
10339
|
+
msg.setEntityId(value);
|
|
10340
|
+
break;
|
|
10341
|
+
case 2:
|
|
10342
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10343
|
+
msg.setLocale(value);
|
|
10344
|
+
break;
|
|
10345
|
+
case 3:
|
|
10346
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10347
|
+
msg.setTitle(value);
|
|
10348
|
+
break;
|
|
10349
|
+
case 4:
|
|
10350
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10351
|
+
msg.setDescription(value);
|
|
10352
|
+
break;
|
|
10353
|
+
default:
|
|
10354
|
+
reader.skipField();
|
|
10355
|
+
break;
|
|
10356
|
+
}
|
|
10357
|
+
}
|
|
10358
|
+
return msg;
|
|
10359
|
+
};
|
|
10360
|
+
|
|
10361
|
+
|
|
10362
|
+
/**
|
|
10363
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10364
|
+
* @return {!Uint8Array}
|
|
10365
|
+
*/
|
|
10366
|
+
proto.game.GameEntityTranslationRequest.prototype.serializeBinary = function() {
|
|
10367
|
+
var writer = new jspb.BinaryWriter();
|
|
10368
|
+
proto.game.GameEntityTranslationRequest.serializeBinaryToWriter(this, writer);
|
|
10369
|
+
return writer.getResultBuffer();
|
|
10370
|
+
};
|
|
10371
|
+
|
|
10372
|
+
|
|
10373
|
+
/**
|
|
10374
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10375
|
+
* format), writing to the given BinaryWriter.
|
|
10376
|
+
* @param {!proto.game.GameEntityTranslationRequest} message
|
|
10377
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10378
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10379
|
+
*/
|
|
10380
|
+
proto.game.GameEntityTranslationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10381
|
+
var f = undefined;
|
|
10382
|
+
f = message.getEntityId();
|
|
10383
|
+
if (f !== 0) {
|
|
10384
|
+
writer.writeInt32(
|
|
10385
|
+
1,
|
|
10386
|
+
f
|
|
10387
|
+
);
|
|
10388
|
+
}
|
|
10389
|
+
f = message.getLocale();
|
|
10390
|
+
if (f.length > 0) {
|
|
10391
|
+
writer.writeString(
|
|
10392
|
+
2,
|
|
10393
|
+
f
|
|
10394
|
+
);
|
|
10395
|
+
}
|
|
10396
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
10397
|
+
if (f != null) {
|
|
10398
|
+
writer.writeString(
|
|
10399
|
+
3,
|
|
10400
|
+
f
|
|
10401
|
+
);
|
|
10402
|
+
}
|
|
10403
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
10404
|
+
if (f != null) {
|
|
10405
|
+
writer.writeString(
|
|
10406
|
+
4,
|
|
10407
|
+
f
|
|
10408
|
+
);
|
|
10409
|
+
}
|
|
10410
|
+
};
|
|
10411
|
+
|
|
10412
|
+
|
|
10413
|
+
/**
|
|
10414
|
+
* optional int32 entity_id = 1;
|
|
10415
|
+
* @return {number}
|
|
10416
|
+
*/
|
|
10417
|
+
proto.game.GameEntityTranslationRequest.prototype.getEntityId = function() {
|
|
10418
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
10419
|
+
};
|
|
10420
|
+
|
|
10421
|
+
|
|
10422
|
+
/**
|
|
10423
|
+
* @param {number} value
|
|
10424
|
+
* @return {!proto.game.GameEntityTranslationRequest} returns this
|
|
10425
|
+
*/
|
|
10426
|
+
proto.game.GameEntityTranslationRequest.prototype.setEntityId = function(value) {
|
|
10427
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
10428
|
+
};
|
|
10429
|
+
|
|
10430
|
+
|
|
10431
|
+
/**
|
|
10432
|
+
* optional string locale = 2;
|
|
10433
|
+
* @return {string}
|
|
10434
|
+
*/
|
|
10435
|
+
proto.game.GameEntityTranslationRequest.prototype.getLocale = function() {
|
|
10436
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10437
|
+
};
|
|
10438
|
+
|
|
10439
|
+
|
|
10440
|
+
/**
|
|
10441
|
+
* @param {string} value
|
|
10442
|
+
* @return {!proto.game.GameEntityTranslationRequest} returns this
|
|
10443
|
+
*/
|
|
10444
|
+
proto.game.GameEntityTranslationRequest.prototype.setLocale = function(value) {
|
|
10445
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10446
|
+
};
|
|
10447
|
+
|
|
10448
|
+
|
|
10449
|
+
/**
|
|
10450
|
+
* optional string title = 3;
|
|
10451
|
+
* @return {string}
|
|
10452
|
+
*/
|
|
10453
|
+
proto.game.GameEntityTranslationRequest.prototype.getTitle = function() {
|
|
10454
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10455
|
+
};
|
|
10456
|
+
|
|
10457
|
+
|
|
10458
|
+
/**
|
|
10459
|
+
* @param {string} value
|
|
10460
|
+
* @return {!proto.game.GameEntityTranslationRequest} returns this
|
|
10461
|
+
*/
|
|
10462
|
+
proto.game.GameEntityTranslationRequest.prototype.setTitle = function(value) {
|
|
10463
|
+
return jspb.Message.setField(this, 3, value);
|
|
10464
|
+
};
|
|
10465
|
+
|
|
10466
|
+
|
|
10467
|
+
/**
|
|
10468
|
+
* Clears the field making it undefined.
|
|
10469
|
+
* @return {!proto.game.GameEntityTranslationRequest} returns this
|
|
10470
|
+
*/
|
|
10471
|
+
proto.game.GameEntityTranslationRequest.prototype.clearTitle = function() {
|
|
10472
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
10473
|
+
};
|
|
10474
|
+
|
|
10475
|
+
|
|
10476
|
+
/**
|
|
10477
|
+
* Returns whether this field is set.
|
|
10478
|
+
* @return {boolean}
|
|
10479
|
+
*/
|
|
10480
|
+
proto.game.GameEntityTranslationRequest.prototype.hasTitle = function() {
|
|
10481
|
+
return jspb.Message.getField(this, 3) != null;
|
|
10482
|
+
};
|
|
10483
|
+
|
|
10484
|
+
|
|
10485
|
+
/**
|
|
10486
|
+
* optional string description = 4;
|
|
10487
|
+
* @return {string}
|
|
10488
|
+
*/
|
|
10489
|
+
proto.game.GameEntityTranslationRequest.prototype.getDescription = function() {
|
|
10490
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
10491
|
+
};
|
|
10492
|
+
|
|
10493
|
+
|
|
10494
|
+
/**
|
|
10495
|
+
* @param {string} value
|
|
10496
|
+
* @return {!proto.game.GameEntityTranslationRequest} returns this
|
|
10497
|
+
*/
|
|
10498
|
+
proto.game.GameEntityTranslationRequest.prototype.setDescription = function(value) {
|
|
10499
|
+
return jspb.Message.setField(this, 4, value);
|
|
10500
|
+
};
|
|
10501
|
+
|
|
10502
|
+
|
|
10503
|
+
/**
|
|
10504
|
+
* Clears the field making it undefined.
|
|
10505
|
+
* @return {!proto.game.GameEntityTranslationRequest} returns this
|
|
10506
|
+
*/
|
|
10507
|
+
proto.game.GameEntityTranslationRequest.prototype.clearDescription = function() {
|
|
10508
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
10509
|
+
};
|
|
10510
|
+
|
|
10511
|
+
|
|
10512
|
+
/**
|
|
10513
|
+
* Returns whether this field is set.
|
|
10514
|
+
* @return {boolean}
|
|
10515
|
+
*/
|
|
10516
|
+
proto.game.GameEntityTranslationRequest.prototype.hasDescription = function() {
|
|
10517
|
+
return jspb.Message.getField(this, 4) != null;
|
|
10518
|
+
};
|
|
10519
|
+
|
|
10520
|
+
|
|
10521
|
+
|
|
10522
|
+
|
|
10523
|
+
|
|
10524
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10525
|
+
/**
|
|
10526
|
+
* Creates an object representation of this proto.
|
|
10527
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10528
|
+
* Optional fields that are not set will be set to undefined.
|
|
10529
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10530
|
+
* For the list of reserved names please see:
|
|
10531
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10532
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10533
|
+
* JSPB instance for transitional soy proto support:
|
|
10534
|
+
* http://goto/soy-param-migration
|
|
10535
|
+
* @return {!Object}
|
|
10536
|
+
*/
|
|
10537
|
+
proto.game.GameEntityTranslationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10538
|
+
return proto.game.GameEntityTranslationResponse.toObject(opt_includeInstance, this);
|
|
10539
|
+
};
|
|
10540
|
+
|
|
10541
|
+
|
|
10542
|
+
/**
|
|
10543
|
+
* Static version of the {@see toObject} method.
|
|
10544
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10545
|
+
* the JSPB instance for transitional soy proto support:
|
|
10546
|
+
* http://goto/soy-param-migration
|
|
10547
|
+
* @param {!proto.game.GameEntityTranslationResponse} msg The msg instance to transform.
|
|
10548
|
+
* @return {!Object}
|
|
10549
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10550
|
+
*/
|
|
10551
|
+
proto.game.GameEntityTranslationResponse.toObject = function(includeInstance, msg) {
|
|
10552
|
+
var f, obj = {
|
|
10553
|
+
data: (f = msg.getData()) && proto.game.GameEntityTranslationItem.toObject(includeInstance, f)
|
|
10554
|
+
};
|
|
10555
|
+
|
|
10556
|
+
if (includeInstance) {
|
|
10557
|
+
obj.$jspbMessageInstance = msg;
|
|
10558
|
+
}
|
|
10559
|
+
return obj;
|
|
10560
|
+
};
|
|
10561
|
+
}
|
|
10562
|
+
|
|
10563
|
+
|
|
10564
|
+
/**
|
|
10565
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10566
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10567
|
+
* @return {!proto.game.GameEntityTranslationResponse}
|
|
10568
|
+
*/
|
|
10569
|
+
proto.game.GameEntityTranslationResponse.deserializeBinary = function(bytes) {
|
|
10570
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10571
|
+
var msg = new proto.game.GameEntityTranslationResponse;
|
|
10572
|
+
return proto.game.GameEntityTranslationResponse.deserializeBinaryFromReader(msg, reader);
|
|
10573
|
+
};
|
|
10574
|
+
|
|
10575
|
+
|
|
10576
|
+
/**
|
|
10577
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10578
|
+
* given reader into the given message object.
|
|
10579
|
+
* @param {!proto.game.GameEntityTranslationResponse} msg The message object to deserialize into.
|
|
10580
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10581
|
+
* @return {!proto.game.GameEntityTranslationResponse}
|
|
10582
|
+
*/
|
|
10583
|
+
proto.game.GameEntityTranslationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10584
|
+
while (reader.nextField()) {
|
|
10585
|
+
if (reader.isEndGroup()) {
|
|
10586
|
+
break;
|
|
10587
|
+
}
|
|
10588
|
+
var field = reader.getFieldNumber();
|
|
10589
|
+
switch (field) {
|
|
10590
|
+
case 1:
|
|
10591
|
+
var value = new proto.game.GameEntityTranslationItem;
|
|
10592
|
+
reader.readMessage(value,proto.game.GameEntityTranslationItem.deserializeBinaryFromReader);
|
|
10593
|
+
msg.setData(value);
|
|
10594
|
+
break;
|
|
10595
|
+
default:
|
|
10596
|
+
reader.skipField();
|
|
10597
|
+
break;
|
|
10598
|
+
}
|
|
10599
|
+
}
|
|
10600
|
+
return msg;
|
|
10601
|
+
};
|
|
10602
|
+
|
|
10603
|
+
|
|
10604
|
+
/**
|
|
10605
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10606
|
+
* @return {!Uint8Array}
|
|
10607
|
+
*/
|
|
10608
|
+
proto.game.GameEntityTranslationResponse.prototype.serializeBinary = function() {
|
|
10609
|
+
var writer = new jspb.BinaryWriter();
|
|
10610
|
+
proto.game.GameEntityTranslationResponse.serializeBinaryToWriter(this, writer);
|
|
10611
|
+
return writer.getResultBuffer();
|
|
10612
|
+
};
|
|
10613
|
+
|
|
10614
|
+
|
|
10615
|
+
/**
|
|
10616
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10617
|
+
* format), writing to the given BinaryWriter.
|
|
10618
|
+
* @param {!proto.game.GameEntityTranslationResponse} message
|
|
10619
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10620
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10621
|
+
*/
|
|
10622
|
+
proto.game.GameEntityTranslationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10623
|
+
var f = undefined;
|
|
10624
|
+
f = message.getData();
|
|
10625
|
+
if (f != null) {
|
|
10626
|
+
writer.writeMessage(
|
|
10627
|
+
1,
|
|
10628
|
+
f,
|
|
10629
|
+
proto.game.GameEntityTranslationItem.serializeBinaryToWriter
|
|
10630
|
+
);
|
|
10631
|
+
}
|
|
10632
|
+
};
|
|
10633
|
+
|
|
10634
|
+
|
|
10635
|
+
/**
|
|
10636
|
+
* optional GameEntityTranslationItem data = 1;
|
|
10637
|
+
* @return {?proto.game.GameEntityTranslationItem}
|
|
10638
|
+
*/
|
|
10639
|
+
proto.game.GameEntityTranslationResponse.prototype.getData = function() {
|
|
10640
|
+
return /** @type{?proto.game.GameEntityTranslationItem} */ (
|
|
10641
|
+
jspb.Message.getWrapperField(this, proto.game.GameEntityTranslationItem, 1));
|
|
10642
|
+
};
|
|
10643
|
+
|
|
10644
|
+
|
|
10645
|
+
/**
|
|
10646
|
+
* @param {?proto.game.GameEntityTranslationItem|undefined} value
|
|
10647
|
+
* @return {!proto.game.GameEntityTranslationResponse} returns this
|
|
10648
|
+
*/
|
|
10649
|
+
proto.game.GameEntityTranslationResponse.prototype.setData = function(value) {
|
|
10650
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
10651
|
+
};
|
|
10652
|
+
|
|
10653
|
+
|
|
10654
|
+
/**
|
|
10655
|
+
* Clears the message field making it undefined.
|
|
10656
|
+
* @return {!proto.game.GameEntityTranslationResponse} returns this
|
|
10657
|
+
*/
|
|
10658
|
+
proto.game.GameEntityTranslationResponse.prototype.clearData = function() {
|
|
10659
|
+
return this.setData(undefined);
|
|
10660
|
+
};
|
|
10661
|
+
|
|
10662
|
+
|
|
10663
|
+
/**
|
|
10664
|
+
* Returns whether this field is set.
|
|
10665
|
+
* @return {boolean}
|
|
10666
|
+
*/
|
|
10667
|
+
proto.game.GameEntityTranslationResponse.prototype.hasData = function() {
|
|
10668
|
+
return jspb.Message.getField(this, 1) != null;
|
|
10669
|
+
};
|
|
10670
|
+
|
|
10671
|
+
|
|
10672
|
+
|
|
10673
|
+
/**
|
|
10674
|
+
* List of repeated fields within this message type.
|
|
10675
|
+
* @private {!Array<number>}
|
|
10676
|
+
* @const
|
|
10677
|
+
*/
|
|
10678
|
+
proto.game.CategoryItem.repeatedFields_ = [11];
|
|
10679
|
+
|
|
10680
|
+
|
|
10681
|
+
|
|
9736
10682
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9737
10683
|
/**
|
|
9738
10684
|
* Creates an object representation of this proto.
|
|
@@ -9771,7 +10717,9 @@ proto.game.CategoryItem.toObject = function(includeInstance, msg) {
|
|
|
9771
10717
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
9772
10718
|
countOfCollections: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
9773
10719
|
icon: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
9774
|
-
iconCdn: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
10720
|
+
iconCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
10721
|
+
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
10722
|
+
proto.game.GameEntityTranslationItem.toObject, includeInstance)
|
|
9775
10723
|
};
|
|
9776
10724
|
|
|
9777
10725
|
if (includeInstance) {
|
|
@@ -9848,6 +10796,11 @@ proto.game.CategoryItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
9848
10796
|
var value = /** @type {string} */ (reader.readString());
|
|
9849
10797
|
msg.setIconCdn(value);
|
|
9850
10798
|
break;
|
|
10799
|
+
case 11:
|
|
10800
|
+
var value = new proto.game.GameEntityTranslationItem;
|
|
10801
|
+
reader.readMessage(value,proto.game.GameEntityTranslationItem.deserializeBinaryFromReader);
|
|
10802
|
+
msg.addTranslations(value);
|
|
10803
|
+
break;
|
|
9851
10804
|
default:
|
|
9852
10805
|
reader.skipField();
|
|
9853
10806
|
break;
|
|
@@ -9947,6 +10900,14 @@ proto.game.CategoryItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
9947
10900
|
f
|
|
9948
10901
|
);
|
|
9949
10902
|
}
|
|
10903
|
+
f = message.getTranslationsList();
|
|
10904
|
+
if (f.length > 0) {
|
|
10905
|
+
writer.writeRepeatedMessage(
|
|
10906
|
+
11,
|
|
10907
|
+
f,
|
|
10908
|
+
proto.game.GameEntityTranslationItem.serializeBinaryToWriter
|
|
10909
|
+
);
|
|
10910
|
+
}
|
|
9950
10911
|
};
|
|
9951
10912
|
|
|
9952
10913
|
|
|
@@ -10310,6 +11271,44 @@ proto.game.CategoryItem.prototype.hasIconCdn = function() {
|
|
|
10310
11271
|
};
|
|
10311
11272
|
|
|
10312
11273
|
|
|
11274
|
+
/**
|
|
11275
|
+
* repeated GameEntityTranslationItem translations = 11;
|
|
11276
|
+
* @return {!Array<!proto.game.GameEntityTranslationItem>}
|
|
11277
|
+
*/
|
|
11278
|
+
proto.game.CategoryItem.prototype.getTranslationsList = function() {
|
|
11279
|
+
return /** @type{!Array<!proto.game.GameEntityTranslationItem>} */ (
|
|
11280
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.GameEntityTranslationItem, 11));
|
|
11281
|
+
};
|
|
11282
|
+
|
|
11283
|
+
|
|
11284
|
+
/**
|
|
11285
|
+
* @param {!Array<!proto.game.GameEntityTranslationItem>} value
|
|
11286
|
+
* @return {!proto.game.CategoryItem} returns this
|
|
11287
|
+
*/
|
|
11288
|
+
proto.game.CategoryItem.prototype.setTranslationsList = function(value) {
|
|
11289
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
11290
|
+
};
|
|
11291
|
+
|
|
11292
|
+
|
|
11293
|
+
/**
|
|
11294
|
+
* @param {!proto.game.GameEntityTranslationItem=} opt_value
|
|
11295
|
+
* @param {number=} opt_index
|
|
11296
|
+
* @return {!proto.game.GameEntityTranslationItem}
|
|
11297
|
+
*/
|
|
11298
|
+
proto.game.CategoryItem.prototype.addTranslations = function(opt_value, opt_index) {
|
|
11299
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.game.GameEntityTranslationItem, opt_index);
|
|
11300
|
+
};
|
|
11301
|
+
|
|
11302
|
+
|
|
11303
|
+
/**
|
|
11304
|
+
* Clears the list making it empty but non-null.
|
|
11305
|
+
* @return {!proto.game.CategoryItem} returns this
|
|
11306
|
+
*/
|
|
11307
|
+
proto.game.CategoryItem.prototype.clearTranslationsList = function() {
|
|
11308
|
+
return this.setTranslationsList([]);
|
|
11309
|
+
};
|
|
11310
|
+
|
|
11311
|
+
|
|
10313
11312
|
|
|
10314
11313
|
/**
|
|
10315
11314
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -11058,7 +12057,8 @@ proto.game.GetCategoryRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
11058
12057
|
*/
|
|
11059
12058
|
proto.game.GetCategoryRequest.toObject = function(includeInstance, msg) {
|
|
11060
12059
|
var f, obj = {
|
|
11061
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
12060
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
12061
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
11062
12062
|
};
|
|
11063
12063
|
|
|
11064
12064
|
if (includeInstance) {
|
|
@@ -11099,6 +12099,10 @@ proto.game.GetCategoryRequest.deserializeBinaryFromReader = function(msg, reader
|
|
|
11099
12099
|
var value = /** @type {number} */ (reader.readInt32());
|
|
11100
12100
|
msg.setId(value);
|
|
11101
12101
|
break;
|
|
12102
|
+
case 2:
|
|
12103
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12104
|
+
msg.setLocale(value);
|
|
12105
|
+
break;
|
|
11102
12106
|
default:
|
|
11103
12107
|
reader.skipField();
|
|
11104
12108
|
break;
|
|
@@ -11135,6 +12139,13 @@ proto.game.GetCategoryRequest.serializeBinaryToWriter = function(message, writer
|
|
|
11135
12139
|
f
|
|
11136
12140
|
);
|
|
11137
12141
|
}
|
|
12142
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
12143
|
+
if (f != null) {
|
|
12144
|
+
writer.writeString(
|
|
12145
|
+
2,
|
|
12146
|
+
f
|
|
12147
|
+
);
|
|
12148
|
+
}
|
|
11138
12149
|
};
|
|
11139
12150
|
|
|
11140
12151
|
|
|
@@ -11156,6 +12167,42 @@ proto.game.GetCategoryRequest.prototype.setId = function(value) {
|
|
|
11156
12167
|
};
|
|
11157
12168
|
|
|
11158
12169
|
|
|
12170
|
+
/**
|
|
12171
|
+
* optional string locale = 2;
|
|
12172
|
+
* @return {string}
|
|
12173
|
+
*/
|
|
12174
|
+
proto.game.GetCategoryRequest.prototype.getLocale = function() {
|
|
12175
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12176
|
+
};
|
|
12177
|
+
|
|
12178
|
+
|
|
12179
|
+
/**
|
|
12180
|
+
* @param {string} value
|
|
12181
|
+
* @return {!proto.game.GetCategoryRequest} returns this
|
|
12182
|
+
*/
|
|
12183
|
+
proto.game.GetCategoryRequest.prototype.setLocale = function(value) {
|
|
12184
|
+
return jspb.Message.setField(this, 2, value);
|
|
12185
|
+
};
|
|
12186
|
+
|
|
12187
|
+
|
|
12188
|
+
/**
|
|
12189
|
+
* Clears the field making it undefined.
|
|
12190
|
+
* @return {!proto.game.GetCategoryRequest} returns this
|
|
12191
|
+
*/
|
|
12192
|
+
proto.game.GetCategoryRequest.prototype.clearLocale = function() {
|
|
12193
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
12194
|
+
};
|
|
12195
|
+
|
|
12196
|
+
|
|
12197
|
+
/**
|
|
12198
|
+
* Returns whether this field is set.
|
|
12199
|
+
* @return {boolean}
|
|
12200
|
+
*/
|
|
12201
|
+
proto.game.GetCategoryRequest.prototype.hasLocale = function() {
|
|
12202
|
+
return jspb.Message.getField(this, 2) != null;
|
|
12203
|
+
};
|
|
12204
|
+
|
|
12205
|
+
|
|
11159
12206
|
|
|
11160
12207
|
|
|
11161
12208
|
|
|
@@ -11694,6 +12741,13 @@ proto.game.CategoryStatusResponse.prototype.setStatus = function(value) {
|
|
|
11694
12741
|
|
|
11695
12742
|
|
|
11696
12743
|
|
|
12744
|
+
/**
|
|
12745
|
+
* List of repeated fields within this message type.
|
|
12746
|
+
* @private {!Array<number>}
|
|
12747
|
+
* @const
|
|
12748
|
+
*/
|
|
12749
|
+
proto.game.CollectionItem.repeatedFields_ = [12];
|
|
12750
|
+
|
|
11697
12751
|
|
|
11698
12752
|
|
|
11699
12753
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -11735,7 +12789,9 @@ proto.game.CollectionItem.toObject = function(includeInstance, msg) {
|
|
|
11735
12789
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
11736
12790
|
countOfGames: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
11737
12791
|
icon: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
11738
|
-
iconCdn: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
12792
|
+
iconCdn: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
12793
|
+
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
12794
|
+
proto.game.GameEntityTranslationItem.toObject, includeInstance)
|
|
11739
12795
|
};
|
|
11740
12796
|
|
|
11741
12797
|
if (includeInstance) {
|
|
@@ -11817,6 +12873,11 @@ proto.game.CollectionItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
11817
12873
|
var value = /** @type {string} */ (reader.readString());
|
|
11818
12874
|
msg.setIconCdn(value);
|
|
11819
12875
|
break;
|
|
12876
|
+
case 12:
|
|
12877
|
+
var value = new proto.game.GameEntityTranslationItem;
|
|
12878
|
+
reader.readMessage(value,proto.game.GameEntityTranslationItem.deserializeBinaryFromReader);
|
|
12879
|
+
msg.addTranslations(value);
|
|
12880
|
+
break;
|
|
11820
12881
|
default:
|
|
11821
12882
|
reader.skipField();
|
|
11822
12883
|
break;
|
|
@@ -11924,6 +12985,14 @@ proto.game.CollectionItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
11924
12985
|
f
|
|
11925
12986
|
);
|
|
11926
12987
|
}
|
|
12988
|
+
f = message.getTranslationsList();
|
|
12989
|
+
if (f.length > 0) {
|
|
12990
|
+
writer.writeRepeatedMessage(
|
|
12991
|
+
12,
|
|
12992
|
+
f,
|
|
12993
|
+
proto.game.GameEntityTranslationItem.serializeBinaryToWriter
|
|
12994
|
+
);
|
|
12995
|
+
}
|
|
11927
12996
|
};
|
|
11928
12997
|
|
|
11929
12998
|
|
|
@@ -12324,6 +13393,44 @@ proto.game.CollectionItem.prototype.hasIconCdn = function() {
|
|
|
12324
13393
|
};
|
|
12325
13394
|
|
|
12326
13395
|
|
|
13396
|
+
/**
|
|
13397
|
+
* repeated GameEntityTranslationItem translations = 12;
|
|
13398
|
+
* @return {!Array<!proto.game.GameEntityTranslationItem>}
|
|
13399
|
+
*/
|
|
13400
|
+
proto.game.CollectionItem.prototype.getTranslationsList = function() {
|
|
13401
|
+
return /** @type{!Array<!proto.game.GameEntityTranslationItem>} */ (
|
|
13402
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.GameEntityTranslationItem, 12));
|
|
13403
|
+
};
|
|
13404
|
+
|
|
13405
|
+
|
|
13406
|
+
/**
|
|
13407
|
+
* @param {!Array<!proto.game.GameEntityTranslationItem>} value
|
|
13408
|
+
* @return {!proto.game.CollectionItem} returns this
|
|
13409
|
+
*/
|
|
13410
|
+
proto.game.CollectionItem.prototype.setTranslationsList = function(value) {
|
|
13411
|
+
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
13412
|
+
};
|
|
13413
|
+
|
|
13414
|
+
|
|
13415
|
+
/**
|
|
13416
|
+
* @param {!proto.game.GameEntityTranslationItem=} opt_value
|
|
13417
|
+
* @param {number=} opt_index
|
|
13418
|
+
* @return {!proto.game.GameEntityTranslationItem}
|
|
13419
|
+
*/
|
|
13420
|
+
proto.game.CollectionItem.prototype.addTranslations = function(opt_value, opt_index) {
|
|
13421
|
+
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.game.GameEntityTranslationItem, opt_index);
|
|
13422
|
+
};
|
|
13423
|
+
|
|
13424
|
+
|
|
13425
|
+
/**
|
|
13426
|
+
* Clears the list making it empty but non-null.
|
|
13427
|
+
* @return {!proto.game.CollectionItem} returns this
|
|
13428
|
+
*/
|
|
13429
|
+
proto.game.CollectionItem.prototype.clearTranslationsList = function() {
|
|
13430
|
+
return this.setTranslationsList([]);
|
|
13431
|
+
};
|
|
13432
|
+
|
|
13433
|
+
|
|
12327
13434
|
|
|
12328
13435
|
/**
|
|
12329
13436
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -13120,7 +14227,8 @@ proto.game.GetCollectionRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
13120
14227
|
*/
|
|
13121
14228
|
proto.game.GetCollectionRequest.toObject = function(includeInstance, msg) {
|
|
13122
14229
|
var f, obj = {
|
|
13123
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
14230
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
14231
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
13124
14232
|
};
|
|
13125
14233
|
|
|
13126
14234
|
if (includeInstance) {
|
|
@@ -13161,6 +14269,10 @@ proto.game.GetCollectionRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
13161
14269
|
var value = /** @type {number} */ (reader.readInt32());
|
|
13162
14270
|
msg.setId(value);
|
|
13163
14271
|
break;
|
|
14272
|
+
case 2:
|
|
14273
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14274
|
+
msg.setLocale(value);
|
|
14275
|
+
break;
|
|
13164
14276
|
default:
|
|
13165
14277
|
reader.skipField();
|
|
13166
14278
|
break;
|
|
@@ -13197,6 +14309,13 @@ proto.game.GetCollectionRequest.serializeBinaryToWriter = function(message, writ
|
|
|
13197
14309
|
f
|
|
13198
14310
|
);
|
|
13199
14311
|
}
|
|
14312
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
14313
|
+
if (f != null) {
|
|
14314
|
+
writer.writeString(
|
|
14315
|
+
2,
|
|
14316
|
+
f
|
|
14317
|
+
);
|
|
14318
|
+
}
|
|
13200
14319
|
};
|
|
13201
14320
|
|
|
13202
14321
|
|
|
@@ -13218,6 +14337,42 @@ proto.game.GetCollectionRequest.prototype.setId = function(value) {
|
|
|
13218
14337
|
};
|
|
13219
14338
|
|
|
13220
14339
|
|
|
14340
|
+
/**
|
|
14341
|
+
* optional string locale = 2;
|
|
14342
|
+
* @return {string}
|
|
14343
|
+
*/
|
|
14344
|
+
proto.game.GetCollectionRequest.prototype.getLocale = function() {
|
|
14345
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
14346
|
+
};
|
|
14347
|
+
|
|
14348
|
+
|
|
14349
|
+
/**
|
|
14350
|
+
* @param {string} value
|
|
14351
|
+
* @return {!proto.game.GetCollectionRequest} returns this
|
|
14352
|
+
*/
|
|
14353
|
+
proto.game.GetCollectionRequest.prototype.setLocale = function(value) {
|
|
14354
|
+
return jspb.Message.setField(this, 2, value);
|
|
14355
|
+
};
|
|
14356
|
+
|
|
14357
|
+
|
|
14358
|
+
/**
|
|
14359
|
+
* Clears the field making it undefined.
|
|
14360
|
+
* @return {!proto.game.GetCollectionRequest} returns this
|
|
14361
|
+
*/
|
|
14362
|
+
proto.game.GetCollectionRequest.prototype.clearLocale = function() {
|
|
14363
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
14364
|
+
};
|
|
14365
|
+
|
|
14366
|
+
|
|
14367
|
+
/**
|
|
14368
|
+
* Returns whether this field is set.
|
|
14369
|
+
* @return {boolean}
|
|
14370
|
+
*/
|
|
14371
|
+
proto.game.GetCollectionRequest.prototype.hasLocale = function() {
|
|
14372
|
+
return jspb.Message.getField(this, 2) != null;
|
|
14373
|
+
};
|
|
14374
|
+
|
|
14375
|
+
|
|
13221
14376
|
|
|
13222
14377
|
|
|
13223
14378
|
|
|
@@ -13964,6 +15119,13 @@ proto.game.CollectionGamesRequest.prototype.hasGeo = function() {
|
|
|
13964
15119
|
|
|
13965
15120
|
|
|
13966
15121
|
|
|
15122
|
+
/**
|
|
15123
|
+
* List of repeated fields within this message type.
|
|
15124
|
+
* @private {!Array<number>}
|
|
15125
|
+
* @const
|
|
15126
|
+
*/
|
|
15127
|
+
proto.game.TagItem.repeatedFields_ = [11];
|
|
15128
|
+
|
|
13967
15129
|
|
|
13968
15130
|
|
|
13969
15131
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -14004,7 +15166,9 @@ proto.game.TagItem.toObject = function(includeInstance, msg) {
|
|
|
14004
15166
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
14005
15167
|
countOfGames: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
14006
15168
|
icon: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
14007
|
-
iconCdn: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
15169
|
+
iconCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
15170
|
+
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
15171
|
+
proto.game.GameEntityTranslationItem.toObject, includeInstance)
|
|
14008
15172
|
};
|
|
14009
15173
|
|
|
14010
15174
|
if (includeInstance) {
|
|
@@ -14081,6 +15245,11 @@ proto.game.TagItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
14081
15245
|
var value = /** @type {string} */ (reader.readString());
|
|
14082
15246
|
msg.setIconCdn(value);
|
|
14083
15247
|
break;
|
|
15248
|
+
case 11:
|
|
15249
|
+
var value = new proto.game.GameEntityTranslationItem;
|
|
15250
|
+
reader.readMessage(value,proto.game.GameEntityTranslationItem.deserializeBinaryFromReader);
|
|
15251
|
+
msg.addTranslations(value);
|
|
15252
|
+
break;
|
|
14084
15253
|
default:
|
|
14085
15254
|
reader.skipField();
|
|
14086
15255
|
break;
|
|
@@ -14180,6 +15349,14 @@ proto.game.TagItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
14180
15349
|
f
|
|
14181
15350
|
);
|
|
14182
15351
|
}
|
|
15352
|
+
f = message.getTranslationsList();
|
|
15353
|
+
if (f.length > 0) {
|
|
15354
|
+
writer.writeRepeatedMessage(
|
|
15355
|
+
11,
|
|
15356
|
+
f,
|
|
15357
|
+
proto.game.GameEntityTranslationItem.serializeBinaryToWriter
|
|
15358
|
+
);
|
|
15359
|
+
}
|
|
14183
15360
|
};
|
|
14184
15361
|
|
|
14185
15362
|
|
|
@@ -14543,6 +15720,44 @@ proto.game.TagItem.prototype.hasIconCdn = function() {
|
|
|
14543
15720
|
};
|
|
14544
15721
|
|
|
14545
15722
|
|
|
15723
|
+
/**
|
|
15724
|
+
* repeated GameEntityTranslationItem translations = 11;
|
|
15725
|
+
* @return {!Array<!proto.game.GameEntityTranslationItem>}
|
|
15726
|
+
*/
|
|
15727
|
+
proto.game.TagItem.prototype.getTranslationsList = function() {
|
|
15728
|
+
return /** @type{!Array<!proto.game.GameEntityTranslationItem>} */ (
|
|
15729
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.GameEntityTranslationItem, 11));
|
|
15730
|
+
};
|
|
15731
|
+
|
|
15732
|
+
|
|
15733
|
+
/**
|
|
15734
|
+
* @param {!Array<!proto.game.GameEntityTranslationItem>} value
|
|
15735
|
+
* @return {!proto.game.TagItem} returns this
|
|
15736
|
+
*/
|
|
15737
|
+
proto.game.TagItem.prototype.setTranslationsList = function(value) {
|
|
15738
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
15739
|
+
};
|
|
15740
|
+
|
|
15741
|
+
|
|
15742
|
+
/**
|
|
15743
|
+
* @param {!proto.game.GameEntityTranslationItem=} opt_value
|
|
15744
|
+
* @param {number=} opt_index
|
|
15745
|
+
* @return {!proto.game.GameEntityTranslationItem}
|
|
15746
|
+
*/
|
|
15747
|
+
proto.game.TagItem.prototype.addTranslations = function(opt_value, opt_index) {
|
|
15748
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.game.GameEntityTranslationItem, opt_index);
|
|
15749
|
+
};
|
|
15750
|
+
|
|
15751
|
+
|
|
15752
|
+
/**
|
|
15753
|
+
* Clears the list making it empty but non-null.
|
|
15754
|
+
* @return {!proto.game.TagItem} returns this
|
|
15755
|
+
*/
|
|
15756
|
+
proto.game.TagItem.prototype.clearTranslationsList = function() {
|
|
15757
|
+
return this.setTranslationsList([]);
|
|
15758
|
+
};
|
|
15759
|
+
|
|
15760
|
+
|
|
14546
15761
|
|
|
14547
15762
|
/**
|
|
14548
15763
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -15291,7 +16506,8 @@ proto.game.GetTagRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
15291
16506
|
*/
|
|
15292
16507
|
proto.game.GetTagRequest.toObject = function(includeInstance, msg) {
|
|
15293
16508
|
var f, obj = {
|
|
15294
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
16509
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
16510
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
15295
16511
|
};
|
|
15296
16512
|
|
|
15297
16513
|
if (includeInstance) {
|
|
@@ -15332,6 +16548,10 @@ proto.game.GetTagRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
15332
16548
|
var value = /** @type {number} */ (reader.readInt32());
|
|
15333
16549
|
msg.setId(value);
|
|
15334
16550
|
break;
|
|
16551
|
+
case 2:
|
|
16552
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16553
|
+
msg.setLocale(value);
|
|
16554
|
+
break;
|
|
15335
16555
|
default:
|
|
15336
16556
|
reader.skipField();
|
|
15337
16557
|
break;
|
|
@@ -15368,6 +16588,13 @@ proto.game.GetTagRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
15368
16588
|
f
|
|
15369
16589
|
);
|
|
15370
16590
|
}
|
|
16591
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
16592
|
+
if (f != null) {
|
|
16593
|
+
writer.writeString(
|
|
16594
|
+
2,
|
|
16595
|
+
f
|
|
16596
|
+
);
|
|
16597
|
+
}
|
|
15371
16598
|
};
|
|
15372
16599
|
|
|
15373
16600
|
|
|
@@ -15389,6 +16616,42 @@ proto.game.GetTagRequest.prototype.setId = function(value) {
|
|
|
15389
16616
|
};
|
|
15390
16617
|
|
|
15391
16618
|
|
|
16619
|
+
/**
|
|
16620
|
+
* optional string locale = 2;
|
|
16621
|
+
* @return {string}
|
|
16622
|
+
*/
|
|
16623
|
+
proto.game.GetTagRequest.prototype.getLocale = function() {
|
|
16624
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
16625
|
+
};
|
|
16626
|
+
|
|
16627
|
+
|
|
16628
|
+
/**
|
|
16629
|
+
* @param {string} value
|
|
16630
|
+
* @return {!proto.game.GetTagRequest} returns this
|
|
16631
|
+
*/
|
|
16632
|
+
proto.game.GetTagRequest.prototype.setLocale = function(value) {
|
|
16633
|
+
return jspb.Message.setField(this, 2, value);
|
|
16634
|
+
};
|
|
16635
|
+
|
|
16636
|
+
|
|
16637
|
+
/**
|
|
16638
|
+
* Clears the field making it undefined.
|
|
16639
|
+
* @return {!proto.game.GetTagRequest} returns this
|
|
16640
|
+
*/
|
|
16641
|
+
proto.game.GetTagRequest.prototype.clearLocale = function() {
|
|
16642
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
16643
|
+
};
|
|
16644
|
+
|
|
16645
|
+
|
|
16646
|
+
/**
|
|
16647
|
+
* Returns whether this field is set.
|
|
16648
|
+
* @return {boolean}
|
|
16649
|
+
*/
|
|
16650
|
+
proto.game.GetTagRequest.prototype.hasLocale = function() {
|
|
16651
|
+
return jspb.Message.getField(this, 2) != null;
|
|
16652
|
+
};
|
|
16653
|
+
|
|
16654
|
+
|
|
15392
16655
|
|
|
15393
16656
|
|
|
15394
16657
|
|
|
@@ -16135,6 +17398,13 @@ proto.game.TagGamesRequest.prototype.hasGeo = function() {
|
|
|
16135
17398
|
|
|
16136
17399
|
|
|
16137
17400
|
|
|
17401
|
+
/**
|
|
17402
|
+
* List of repeated fields within this message type.
|
|
17403
|
+
* @private {!Array<number>}
|
|
17404
|
+
* @const
|
|
17405
|
+
*/
|
|
17406
|
+
proto.game.ProviderItem.repeatedFields_ = [13];
|
|
17407
|
+
|
|
16138
17408
|
|
|
16139
17409
|
|
|
16140
17410
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -16177,7 +17447,9 @@ proto.game.ProviderItem.toObject = function(includeInstance, msg) {
|
|
|
16177
17447
|
isPopular: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
16178
17448
|
isDeactivated: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
16179
17449
|
icon: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
16180
|
-
iconCdn: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
17450
|
+
iconCdn: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
17451
|
+
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
17452
|
+
proto.game.GameEntityTranslationItem.toObject, includeInstance)
|
|
16181
17453
|
};
|
|
16182
17454
|
|
|
16183
17455
|
if (includeInstance) {
|
|
@@ -16262,6 +17534,11 @@ proto.game.ProviderItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
16262
17534
|
var value = /** @type {string} */ (reader.readString());
|
|
16263
17535
|
msg.setIconCdn(value);
|
|
16264
17536
|
break;
|
|
17537
|
+
case 13:
|
|
17538
|
+
var value = new proto.game.GameEntityTranslationItem;
|
|
17539
|
+
reader.readMessage(value,proto.game.GameEntityTranslationItem.deserializeBinaryFromReader);
|
|
17540
|
+
msg.addTranslations(value);
|
|
17541
|
+
break;
|
|
16265
17542
|
default:
|
|
16266
17543
|
reader.skipField();
|
|
16267
17544
|
break;
|
|
@@ -16375,6 +17652,14 @@ proto.game.ProviderItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
16375
17652
|
f
|
|
16376
17653
|
);
|
|
16377
17654
|
}
|
|
17655
|
+
f = message.getTranslationsList();
|
|
17656
|
+
if (f.length > 0) {
|
|
17657
|
+
writer.writeRepeatedMessage(
|
|
17658
|
+
13,
|
|
17659
|
+
f,
|
|
17660
|
+
proto.game.GameEntityTranslationItem.serializeBinaryToWriter
|
|
17661
|
+
);
|
|
17662
|
+
}
|
|
16378
17663
|
};
|
|
16379
17664
|
|
|
16380
17665
|
|
|
@@ -16810,6 +18095,44 @@ proto.game.ProviderItem.prototype.hasIconCdn = function() {
|
|
|
16810
18095
|
};
|
|
16811
18096
|
|
|
16812
18097
|
|
|
18098
|
+
/**
|
|
18099
|
+
* repeated GameEntityTranslationItem translations = 13;
|
|
18100
|
+
* @return {!Array<!proto.game.GameEntityTranslationItem>}
|
|
18101
|
+
*/
|
|
18102
|
+
proto.game.ProviderItem.prototype.getTranslationsList = function() {
|
|
18103
|
+
return /** @type{!Array<!proto.game.GameEntityTranslationItem>} */ (
|
|
18104
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.GameEntityTranslationItem, 13));
|
|
18105
|
+
};
|
|
18106
|
+
|
|
18107
|
+
|
|
18108
|
+
/**
|
|
18109
|
+
* @param {!Array<!proto.game.GameEntityTranslationItem>} value
|
|
18110
|
+
* @return {!proto.game.ProviderItem} returns this
|
|
18111
|
+
*/
|
|
18112
|
+
proto.game.ProviderItem.prototype.setTranslationsList = function(value) {
|
|
18113
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
18114
|
+
};
|
|
18115
|
+
|
|
18116
|
+
|
|
18117
|
+
/**
|
|
18118
|
+
* @param {!proto.game.GameEntityTranslationItem=} opt_value
|
|
18119
|
+
* @param {number=} opt_index
|
|
18120
|
+
* @return {!proto.game.GameEntityTranslationItem}
|
|
18121
|
+
*/
|
|
18122
|
+
proto.game.ProviderItem.prototype.addTranslations = function(opt_value, opt_index) {
|
|
18123
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.game.GameEntityTranslationItem, opt_index);
|
|
18124
|
+
};
|
|
18125
|
+
|
|
18126
|
+
|
|
18127
|
+
/**
|
|
18128
|
+
* Clears the list making it empty but non-null.
|
|
18129
|
+
* @return {!proto.game.ProviderItem} returns this
|
|
18130
|
+
*/
|
|
18131
|
+
proto.game.ProviderItem.prototype.clearTranslationsList = function() {
|
|
18132
|
+
return this.setTranslationsList([]);
|
|
18133
|
+
};
|
|
18134
|
+
|
|
18135
|
+
|
|
16813
18136
|
|
|
16814
18137
|
/**
|
|
16815
18138
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -17654,7 +18977,8 @@ proto.game.GetProviderRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
17654
18977
|
*/
|
|
17655
18978
|
proto.game.GetProviderRequest.toObject = function(includeInstance, msg) {
|
|
17656
18979
|
var f, obj = {
|
|
17657
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
18980
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
18981
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
17658
18982
|
};
|
|
17659
18983
|
|
|
17660
18984
|
if (includeInstance) {
|
|
@@ -17695,6 +19019,10 @@ proto.game.GetProviderRequest.deserializeBinaryFromReader = function(msg, reader
|
|
|
17695
19019
|
var value = /** @type {number} */ (reader.readInt32());
|
|
17696
19020
|
msg.setId(value);
|
|
17697
19021
|
break;
|
|
19022
|
+
case 2:
|
|
19023
|
+
var value = /** @type {string} */ (reader.readString());
|
|
19024
|
+
msg.setLocale(value);
|
|
19025
|
+
break;
|
|
17698
19026
|
default:
|
|
17699
19027
|
reader.skipField();
|
|
17700
19028
|
break;
|
|
@@ -17731,6 +19059,13 @@ proto.game.GetProviderRequest.serializeBinaryToWriter = function(message, writer
|
|
|
17731
19059
|
f
|
|
17732
19060
|
);
|
|
17733
19061
|
}
|
|
19062
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
19063
|
+
if (f != null) {
|
|
19064
|
+
writer.writeString(
|
|
19065
|
+
2,
|
|
19066
|
+
f
|
|
19067
|
+
);
|
|
19068
|
+
}
|
|
17734
19069
|
};
|
|
17735
19070
|
|
|
17736
19071
|
|
|
@@ -17752,6 +19087,42 @@ proto.game.GetProviderRequest.prototype.setId = function(value) {
|
|
|
17752
19087
|
};
|
|
17753
19088
|
|
|
17754
19089
|
|
|
19090
|
+
/**
|
|
19091
|
+
* optional string locale = 2;
|
|
19092
|
+
* @return {string}
|
|
19093
|
+
*/
|
|
19094
|
+
proto.game.GetProviderRequest.prototype.getLocale = function() {
|
|
19095
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
19096
|
+
};
|
|
19097
|
+
|
|
19098
|
+
|
|
19099
|
+
/**
|
|
19100
|
+
* @param {string} value
|
|
19101
|
+
* @return {!proto.game.GetProviderRequest} returns this
|
|
19102
|
+
*/
|
|
19103
|
+
proto.game.GetProviderRequest.prototype.setLocale = function(value) {
|
|
19104
|
+
return jspb.Message.setField(this, 2, value);
|
|
19105
|
+
};
|
|
19106
|
+
|
|
19107
|
+
|
|
19108
|
+
/**
|
|
19109
|
+
* Clears the field making it undefined.
|
|
19110
|
+
* @return {!proto.game.GetProviderRequest} returns this
|
|
19111
|
+
*/
|
|
19112
|
+
proto.game.GetProviderRequest.prototype.clearLocale = function() {
|
|
19113
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
19114
|
+
};
|
|
19115
|
+
|
|
19116
|
+
|
|
19117
|
+
/**
|
|
19118
|
+
* Returns whether this field is set.
|
|
19119
|
+
* @return {boolean}
|
|
19120
|
+
*/
|
|
19121
|
+
proto.game.GetProviderRequest.prototype.hasLocale = function() {
|
|
19122
|
+
return jspb.Message.getField(this, 2) != null;
|
|
19123
|
+
};
|
|
19124
|
+
|
|
19125
|
+
|
|
17755
19126
|
|
|
17756
19127
|
|
|
17757
19128
|
|
|
@@ -24066,7 +25437,8 @@ proto.game.GetGameRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
24066
25437
|
proto.game.GetGameRequest.toObject = function(includeInstance, msg) {
|
|
24067
25438
|
var f, obj = {
|
|
24068
25439
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
24069
|
-
adminSide: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
25440
|
+
adminSide: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
25441
|
+
locale: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
24070
25442
|
};
|
|
24071
25443
|
|
|
24072
25444
|
if (includeInstance) {
|
|
@@ -24111,6 +25483,10 @@ proto.game.GetGameRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
24111
25483
|
var value = /** @type {number} */ (reader.readInt32());
|
|
24112
25484
|
msg.setAdminSide(value);
|
|
24113
25485
|
break;
|
|
25486
|
+
case 3:
|
|
25487
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25488
|
+
msg.setLocale(value);
|
|
25489
|
+
break;
|
|
24114
25490
|
default:
|
|
24115
25491
|
reader.skipField();
|
|
24116
25492
|
break;
|
|
@@ -24154,6 +25530,13 @@ proto.game.GetGameRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
24154
25530
|
f
|
|
24155
25531
|
);
|
|
24156
25532
|
}
|
|
25533
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
25534
|
+
if (f != null) {
|
|
25535
|
+
writer.writeString(
|
|
25536
|
+
3,
|
|
25537
|
+
f
|
|
25538
|
+
);
|
|
25539
|
+
}
|
|
24157
25540
|
};
|
|
24158
25541
|
|
|
24159
25542
|
|
|
@@ -24211,6 +25594,42 @@ proto.game.GetGameRequest.prototype.hasAdminSide = function() {
|
|
|
24211
25594
|
};
|
|
24212
25595
|
|
|
24213
25596
|
|
|
25597
|
+
/**
|
|
25598
|
+
* optional string locale = 3;
|
|
25599
|
+
* @return {string}
|
|
25600
|
+
*/
|
|
25601
|
+
proto.game.GetGameRequest.prototype.getLocale = function() {
|
|
25602
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
25603
|
+
};
|
|
25604
|
+
|
|
25605
|
+
|
|
25606
|
+
/**
|
|
25607
|
+
* @param {string} value
|
|
25608
|
+
* @return {!proto.game.GetGameRequest} returns this
|
|
25609
|
+
*/
|
|
25610
|
+
proto.game.GetGameRequest.prototype.setLocale = function(value) {
|
|
25611
|
+
return jspb.Message.setField(this, 3, value);
|
|
25612
|
+
};
|
|
25613
|
+
|
|
25614
|
+
|
|
25615
|
+
/**
|
|
25616
|
+
* Clears the field making it undefined.
|
|
25617
|
+
* @return {!proto.game.GetGameRequest} returns this
|
|
25618
|
+
*/
|
|
25619
|
+
proto.game.GetGameRequest.prototype.clearLocale = function() {
|
|
25620
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
25621
|
+
};
|
|
25622
|
+
|
|
25623
|
+
|
|
25624
|
+
/**
|
|
25625
|
+
* Returns whether this field is set.
|
|
25626
|
+
* @return {boolean}
|
|
25627
|
+
*/
|
|
25628
|
+
proto.game.GetGameRequest.prototype.hasLocale = function() {
|
|
25629
|
+
return jspb.Message.getField(this, 3) != null;
|
|
25630
|
+
};
|
|
25631
|
+
|
|
25632
|
+
|
|
24214
25633
|
|
|
24215
25634
|
|
|
24216
25635
|
|
|
@@ -26714,7 +28133,8 @@ proto.game.SearchGamesFullRequest.toObject = function(includeInstance, msg) {
|
|
|
26714
28133
|
popular: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
26715
28134
|
favourites: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
26716
28135
|
lastPlayed: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
26717
|
-
userId: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
|
28136
|
+
userId: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
28137
|
+
locale: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
26718
28138
|
};
|
|
26719
28139
|
|
|
26720
28140
|
if (includeInstance) {
|
|
@@ -26799,6 +28219,10 @@ proto.game.SearchGamesFullRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
26799
28219
|
var value = /** @type {number} */ (reader.readInt32());
|
|
26800
28220
|
msg.setUserId(value);
|
|
26801
28221
|
break;
|
|
28222
|
+
case 13:
|
|
28223
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28224
|
+
msg.setLocale(value);
|
|
28225
|
+
break;
|
|
26802
28226
|
default:
|
|
26803
28227
|
reader.skipField();
|
|
26804
28228
|
break;
|
|
@@ -26912,6 +28336,13 @@ proto.game.SearchGamesFullRequest.serializeBinaryToWriter = function(message, wr
|
|
|
26912
28336
|
f
|
|
26913
28337
|
);
|
|
26914
28338
|
}
|
|
28339
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
28340
|
+
if (f != null) {
|
|
28341
|
+
writer.writeString(
|
|
28342
|
+
13,
|
|
28343
|
+
f
|
|
28344
|
+
);
|
|
28345
|
+
}
|
|
26915
28346
|
};
|
|
26916
28347
|
|
|
26917
28348
|
|
|
@@ -27329,6 +28760,42 @@ proto.game.SearchGamesFullRequest.prototype.hasUserId = function() {
|
|
|
27329
28760
|
};
|
|
27330
28761
|
|
|
27331
28762
|
|
|
28763
|
+
/**
|
|
28764
|
+
* optional string locale = 13;
|
|
28765
|
+
* @return {string}
|
|
28766
|
+
*/
|
|
28767
|
+
proto.game.SearchGamesFullRequest.prototype.getLocale = function() {
|
|
28768
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
28769
|
+
};
|
|
28770
|
+
|
|
28771
|
+
|
|
28772
|
+
/**
|
|
28773
|
+
* @param {string} value
|
|
28774
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
28775
|
+
*/
|
|
28776
|
+
proto.game.SearchGamesFullRequest.prototype.setLocale = function(value) {
|
|
28777
|
+
return jspb.Message.setField(this, 13, value);
|
|
28778
|
+
};
|
|
28779
|
+
|
|
28780
|
+
|
|
28781
|
+
/**
|
|
28782
|
+
* Clears the field making it undefined.
|
|
28783
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
28784
|
+
*/
|
|
28785
|
+
proto.game.SearchGamesFullRequest.prototype.clearLocale = function() {
|
|
28786
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
28787
|
+
};
|
|
28788
|
+
|
|
28789
|
+
|
|
28790
|
+
/**
|
|
28791
|
+
* Returns whether this field is set.
|
|
28792
|
+
* @return {boolean}
|
|
28793
|
+
*/
|
|
28794
|
+
proto.game.SearchGamesFullRequest.prototype.hasLocale = function() {
|
|
28795
|
+
return jspb.Message.getField(this, 13) != null;
|
|
28796
|
+
};
|
|
28797
|
+
|
|
28798
|
+
|
|
27332
28799
|
|
|
27333
28800
|
/**
|
|
27334
28801
|
* List of repeated fields within this message type.
|
|
@@ -28913,7 +30380,8 @@ proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance
|
|
|
28913
30380
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
28914
30381
|
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
28915
30382
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
28916
|
-
gameTitle: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
30383
|
+
gameTitle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
30384
|
+
locale: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
28917
30385
|
};
|
|
28918
30386
|
|
|
28919
30387
|
if (includeInstance) {
|
|
@@ -28978,6 +30446,10 @@ proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = funct
|
|
|
28978
30446
|
var value = /** @type {string} */ (reader.readString());
|
|
28979
30447
|
msg.setGameTitle(value);
|
|
28980
30448
|
break;
|
|
30449
|
+
case 8:
|
|
30450
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30451
|
+
msg.setLocale(value);
|
|
30452
|
+
break;
|
|
28981
30453
|
default:
|
|
28982
30454
|
reader.skipField();
|
|
28983
30455
|
break;
|
|
@@ -29056,6 +30528,13 @@ proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(
|
|
|
29056
30528
|
f
|
|
29057
30529
|
);
|
|
29058
30530
|
}
|
|
30531
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
30532
|
+
if (f != null) {
|
|
30533
|
+
writer.writeString(
|
|
30534
|
+
8,
|
|
30535
|
+
f
|
|
30536
|
+
);
|
|
30537
|
+
}
|
|
29059
30538
|
};
|
|
29060
30539
|
|
|
29061
30540
|
|
|
@@ -29312,6 +30791,42 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasGameTitle = function()
|
|
|
29312
30791
|
};
|
|
29313
30792
|
|
|
29314
30793
|
|
|
30794
|
+
/**
|
|
30795
|
+
* optional string locale = 8;
|
|
30796
|
+
* @return {string}
|
|
30797
|
+
*/
|
|
30798
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.getLocale = function() {
|
|
30799
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
30800
|
+
};
|
|
30801
|
+
|
|
30802
|
+
|
|
30803
|
+
/**
|
|
30804
|
+
* @param {string} value
|
|
30805
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
|
30806
|
+
*/
|
|
30807
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.setLocale = function(value) {
|
|
30808
|
+
return jspb.Message.setField(this, 8, value);
|
|
30809
|
+
};
|
|
30810
|
+
|
|
30811
|
+
|
|
30812
|
+
/**
|
|
30813
|
+
* Clears the field making it undefined.
|
|
30814
|
+
* @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
|
|
30815
|
+
*/
|
|
30816
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.clearLocale = function() {
|
|
30817
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
30818
|
+
};
|
|
30819
|
+
|
|
30820
|
+
|
|
30821
|
+
/**
|
|
30822
|
+
* Returns whether this field is set.
|
|
30823
|
+
* @return {boolean}
|
|
30824
|
+
*/
|
|
30825
|
+
proto.game.SearchGamesIntoCollectionsRequest.prototype.hasLocale = function() {
|
|
30826
|
+
return jspb.Message.getField(this, 8) != null;
|
|
30827
|
+
};
|
|
30828
|
+
|
|
30829
|
+
|
|
29315
30830
|
|
|
29316
30831
|
/**
|
|
29317
30832
|
* List of repeated fields within this message type.
|
|
@@ -29357,7 +30872,8 @@ proto.game.SearchGamesIntoTagsRequest.toObject = function(includeInstance, msg)
|
|
|
29357
30872
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
29358
30873
|
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
29359
30874
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
29360
|
-
gameTitle: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
30875
|
+
gameTitle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
30876
|
+
locale: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
29361
30877
|
};
|
|
29362
30878
|
|
|
29363
30879
|
if (includeInstance) {
|
|
@@ -29422,6 +30938,10 @@ proto.game.SearchGamesIntoTagsRequest.deserializeBinaryFromReader = function(msg
|
|
|
29422
30938
|
var value = /** @type {string} */ (reader.readString());
|
|
29423
30939
|
msg.setGameTitle(value);
|
|
29424
30940
|
break;
|
|
30941
|
+
case 8:
|
|
30942
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30943
|
+
msg.setLocale(value);
|
|
30944
|
+
break;
|
|
29425
30945
|
default:
|
|
29426
30946
|
reader.skipField();
|
|
29427
30947
|
break;
|
|
@@ -29500,6 +31020,13 @@ proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message
|
|
|
29500
31020
|
f
|
|
29501
31021
|
);
|
|
29502
31022
|
}
|
|
31023
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
31024
|
+
if (f != null) {
|
|
31025
|
+
writer.writeString(
|
|
31026
|
+
8,
|
|
31027
|
+
f
|
|
31028
|
+
);
|
|
31029
|
+
}
|
|
29503
31030
|
};
|
|
29504
31031
|
|
|
29505
31032
|
|
|
@@ -29756,6 +31283,42 @@ proto.game.SearchGamesIntoTagsRequest.prototype.hasGameTitle = function() {
|
|
|
29756
31283
|
};
|
|
29757
31284
|
|
|
29758
31285
|
|
|
31286
|
+
/**
|
|
31287
|
+
* optional string locale = 8;
|
|
31288
|
+
* @return {string}
|
|
31289
|
+
*/
|
|
31290
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.getLocale = function() {
|
|
31291
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
31292
|
+
};
|
|
31293
|
+
|
|
31294
|
+
|
|
31295
|
+
/**
|
|
31296
|
+
* @param {string} value
|
|
31297
|
+
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
|
31298
|
+
*/
|
|
31299
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.setLocale = function(value) {
|
|
31300
|
+
return jspb.Message.setField(this, 8, value);
|
|
31301
|
+
};
|
|
31302
|
+
|
|
31303
|
+
|
|
31304
|
+
/**
|
|
31305
|
+
* Clears the field making it undefined.
|
|
31306
|
+
* @return {!proto.game.SearchGamesIntoTagsRequest} returns this
|
|
31307
|
+
*/
|
|
31308
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.clearLocale = function() {
|
|
31309
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
31310
|
+
};
|
|
31311
|
+
|
|
31312
|
+
|
|
31313
|
+
/**
|
|
31314
|
+
* Returns whether this field is set.
|
|
31315
|
+
* @return {boolean}
|
|
31316
|
+
*/
|
|
31317
|
+
proto.game.SearchGamesIntoTagsRequest.prototype.hasLocale = function() {
|
|
31318
|
+
return jspb.Message.getField(this, 8) != null;
|
|
31319
|
+
};
|
|
31320
|
+
|
|
31321
|
+
|
|
29759
31322
|
|
|
29760
31323
|
/**
|
|
29761
31324
|
* List of repeated fields within this message type.
|
|
@@ -29800,7 +31363,8 @@ proto.game.SearchGamesIntoProvidersRequest.toObject = function(includeInstance,
|
|
|
29800
31363
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
29801
31364
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
29802
31365
|
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
29803
|
-
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
31366
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
31367
|
+
locale: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
29804
31368
|
};
|
|
29805
31369
|
|
|
29806
31370
|
if (includeInstance) {
|
|
@@ -29861,6 +31425,10 @@ proto.game.SearchGamesIntoProvidersRequest.deserializeBinaryFromReader = functio
|
|
|
29861
31425
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
29862
31426
|
msg.setAdminSide(value);
|
|
29863
31427
|
break;
|
|
31428
|
+
case 7:
|
|
31429
|
+
var value = /** @type {string} */ (reader.readString());
|
|
31430
|
+
msg.setLocale(value);
|
|
31431
|
+
break;
|
|
29864
31432
|
default:
|
|
29865
31433
|
reader.skipField();
|
|
29866
31434
|
break;
|
|
@@ -29932,6 +31500,13 @@ proto.game.SearchGamesIntoProvidersRequest.serializeBinaryToWriter = function(me
|
|
|
29932
31500
|
f
|
|
29933
31501
|
);
|
|
29934
31502
|
}
|
|
31503
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
31504
|
+
if (f != null) {
|
|
31505
|
+
writer.writeString(
|
|
31506
|
+
7,
|
|
31507
|
+
f
|
|
31508
|
+
);
|
|
31509
|
+
}
|
|
29935
31510
|
};
|
|
29936
31511
|
|
|
29937
31512
|
|
|
@@ -30152,6 +31727,42 @@ proto.game.SearchGamesIntoProvidersRequest.prototype.hasAdminSide = function() {
|
|
|
30152
31727
|
};
|
|
30153
31728
|
|
|
30154
31729
|
|
|
31730
|
+
/**
|
|
31731
|
+
* optional string locale = 7;
|
|
31732
|
+
* @return {string}
|
|
31733
|
+
*/
|
|
31734
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.getLocale = function() {
|
|
31735
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
31736
|
+
};
|
|
31737
|
+
|
|
31738
|
+
|
|
31739
|
+
/**
|
|
31740
|
+
* @param {string} value
|
|
31741
|
+
* @return {!proto.game.SearchGamesIntoProvidersRequest} returns this
|
|
31742
|
+
*/
|
|
31743
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.setLocale = function(value) {
|
|
31744
|
+
return jspb.Message.setField(this, 7, value);
|
|
31745
|
+
};
|
|
31746
|
+
|
|
31747
|
+
|
|
31748
|
+
/**
|
|
31749
|
+
* Clears the field making it undefined.
|
|
31750
|
+
* @return {!proto.game.SearchGamesIntoProvidersRequest} returns this
|
|
31751
|
+
*/
|
|
31752
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.clearLocale = function() {
|
|
31753
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
31754
|
+
};
|
|
31755
|
+
|
|
31756
|
+
|
|
31757
|
+
/**
|
|
31758
|
+
* Returns whether this field is set.
|
|
31759
|
+
* @return {boolean}
|
|
31760
|
+
*/
|
|
31761
|
+
proto.game.SearchGamesIntoProvidersRequest.prototype.hasLocale = function() {
|
|
31762
|
+
return jspb.Message.getField(this, 7) != null;
|
|
31763
|
+
};
|
|
31764
|
+
|
|
31765
|
+
|
|
30155
31766
|
|
|
30156
31767
|
/**
|
|
30157
31768
|
* List of repeated fields within this message type.
|
|
@@ -30196,7 +31807,8 @@ proto.game.SearchGamesIntoCategoriesRequest.toObject = function(includeInstance,
|
|
|
30196
31807
|
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
30197
31808
|
offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
30198
31809
|
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
30199
|
-
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
31810
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
31811
|
+
locale: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
30200
31812
|
};
|
|
30201
31813
|
|
|
30202
31814
|
if (includeInstance) {
|
|
@@ -30257,6 +31869,10 @@ proto.game.SearchGamesIntoCategoriesRequest.deserializeBinaryFromReader = functi
|
|
|
30257
31869
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
30258
31870
|
msg.setAdminSide(value);
|
|
30259
31871
|
break;
|
|
31872
|
+
case 7:
|
|
31873
|
+
var value = /** @type {string} */ (reader.readString());
|
|
31874
|
+
msg.setLocale(value);
|
|
31875
|
+
break;
|
|
30260
31876
|
default:
|
|
30261
31877
|
reader.skipField();
|
|
30262
31878
|
break;
|
|
@@ -30328,6 +31944,13 @@ proto.game.SearchGamesIntoCategoriesRequest.serializeBinaryToWriter = function(m
|
|
|
30328
31944
|
f
|
|
30329
31945
|
);
|
|
30330
31946
|
}
|
|
31947
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
31948
|
+
if (f != null) {
|
|
31949
|
+
writer.writeString(
|
|
31950
|
+
7,
|
|
31951
|
+
f
|
|
31952
|
+
);
|
|
31953
|
+
}
|
|
30331
31954
|
};
|
|
30332
31955
|
|
|
30333
31956
|
|
|
@@ -30548,6 +32171,42 @@ proto.game.SearchGamesIntoCategoriesRequest.prototype.hasAdminSide = function()
|
|
|
30548
32171
|
};
|
|
30549
32172
|
|
|
30550
32173
|
|
|
32174
|
+
/**
|
|
32175
|
+
* optional string locale = 7;
|
|
32176
|
+
* @return {string}
|
|
32177
|
+
*/
|
|
32178
|
+
proto.game.SearchGamesIntoCategoriesRequest.prototype.getLocale = function() {
|
|
32179
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
32180
|
+
};
|
|
32181
|
+
|
|
32182
|
+
|
|
32183
|
+
/**
|
|
32184
|
+
* @param {string} value
|
|
32185
|
+
* @return {!proto.game.SearchGamesIntoCategoriesRequest} returns this
|
|
32186
|
+
*/
|
|
32187
|
+
proto.game.SearchGamesIntoCategoriesRequest.prototype.setLocale = function(value) {
|
|
32188
|
+
return jspb.Message.setField(this, 7, value);
|
|
32189
|
+
};
|
|
32190
|
+
|
|
32191
|
+
|
|
32192
|
+
/**
|
|
32193
|
+
* Clears the field making it undefined.
|
|
32194
|
+
* @return {!proto.game.SearchGamesIntoCategoriesRequest} returns this
|
|
32195
|
+
*/
|
|
32196
|
+
proto.game.SearchGamesIntoCategoriesRequest.prototype.clearLocale = function() {
|
|
32197
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
32198
|
+
};
|
|
32199
|
+
|
|
32200
|
+
|
|
32201
|
+
/**
|
|
32202
|
+
* Returns whether this field is set.
|
|
32203
|
+
* @return {boolean}
|
|
32204
|
+
*/
|
|
32205
|
+
proto.game.SearchGamesIntoCategoriesRequest.prototype.hasLocale = function() {
|
|
32206
|
+
return jspb.Message.getField(this, 7) != null;
|
|
32207
|
+
};
|
|
32208
|
+
|
|
32209
|
+
|
|
30551
32210
|
|
|
30552
32211
|
|
|
30553
32212
|
|
|
@@ -35613,7 +37272,8 @@ proto.game.ScopeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
35613
37272
|
*/
|
|
35614
37273
|
proto.game.ScopeRequest.toObject = function(includeInstance, msg) {
|
|
35615
37274
|
var f, obj = {
|
|
35616
|
-
data: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
37275
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
37276
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
35617
37277
|
};
|
|
35618
37278
|
|
|
35619
37279
|
if (includeInstance) {
|
|
@@ -35654,6 +37314,10 @@ proto.game.ScopeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
35654
37314
|
var value = /** @type {string} */ (reader.readString());
|
|
35655
37315
|
msg.setData(value);
|
|
35656
37316
|
break;
|
|
37317
|
+
case 2:
|
|
37318
|
+
var value = /** @type {string} */ (reader.readString());
|
|
37319
|
+
msg.setLocale(value);
|
|
37320
|
+
break;
|
|
35657
37321
|
default:
|
|
35658
37322
|
reader.skipField();
|
|
35659
37323
|
break;
|
|
@@ -35690,6 +37354,13 @@ proto.game.ScopeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
35690
37354
|
f
|
|
35691
37355
|
);
|
|
35692
37356
|
}
|
|
37357
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
37358
|
+
if (f != null) {
|
|
37359
|
+
writer.writeString(
|
|
37360
|
+
2,
|
|
37361
|
+
f
|
|
37362
|
+
);
|
|
37363
|
+
}
|
|
35693
37364
|
};
|
|
35694
37365
|
|
|
35695
37366
|
|
|
@@ -35711,6 +37382,42 @@ proto.game.ScopeRequest.prototype.setData = function(value) {
|
|
|
35711
37382
|
};
|
|
35712
37383
|
|
|
35713
37384
|
|
|
37385
|
+
/**
|
|
37386
|
+
* optional string locale = 2;
|
|
37387
|
+
* @return {string}
|
|
37388
|
+
*/
|
|
37389
|
+
proto.game.ScopeRequest.prototype.getLocale = function() {
|
|
37390
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
37391
|
+
};
|
|
37392
|
+
|
|
37393
|
+
|
|
37394
|
+
/**
|
|
37395
|
+
* @param {string} value
|
|
37396
|
+
* @return {!proto.game.ScopeRequest} returns this
|
|
37397
|
+
*/
|
|
37398
|
+
proto.game.ScopeRequest.prototype.setLocale = function(value) {
|
|
37399
|
+
return jspb.Message.setField(this, 2, value);
|
|
37400
|
+
};
|
|
37401
|
+
|
|
37402
|
+
|
|
37403
|
+
/**
|
|
37404
|
+
* Clears the field making it undefined.
|
|
37405
|
+
* @return {!proto.game.ScopeRequest} returns this
|
|
37406
|
+
*/
|
|
37407
|
+
proto.game.ScopeRequest.prototype.clearLocale = function() {
|
|
37408
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
37409
|
+
};
|
|
37410
|
+
|
|
37411
|
+
|
|
37412
|
+
/**
|
|
37413
|
+
* Returns whether this field is set.
|
|
37414
|
+
* @return {boolean}
|
|
37415
|
+
*/
|
|
37416
|
+
proto.game.ScopeRequest.prototype.hasLocale = function() {
|
|
37417
|
+
return jspb.Message.getField(this, 2) != null;
|
|
37418
|
+
};
|
|
37419
|
+
|
|
37420
|
+
|
|
35714
37421
|
|
|
35715
37422
|
|
|
35716
37423
|
|
|
@@ -36068,7 +37775,8 @@ proto.game.ProvidersIds.prototype.toObject = function(opt_includeInstance) {
|
|
|
36068
37775
|
*/
|
|
36069
37776
|
proto.game.ProvidersIds.toObject = function(includeInstance, msg) {
|
|
36070
37777
|
var f, obj = {
|
|
36071
|
-
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
37778
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
37779
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
36072
37780
|
};
|
|
36073
37781
|
|
|
36074
37782
|
if (includeInstance) {
|
|
@@ -36111,6 +37819,10 @@ proto.game.ProvidersIds.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
36111
37819
|
msg.addIds(values[i]);
|
|
36112
37820
|
}
|
|
36113
37821
|
break;
|
|
37822
|
+
case 2:
|
|
37823
|
+
var value = /** @type {string} */ (reader.readString());
|
|
37824
|
+
msg.setLocale(value);
|
|
37825
|
+
break;
|
|
36114
37826
|
default:
|
|
36115
37827
|
reader.skipField();
|
|
36116
37828
|
break;
|
|
@@ -36147,6 +37859,13 @@ proto.game.ProvidersIds.serializeBinaryToWriter = function(message, writer) {
|
|
|
36147
37859
|
f
|
|
36148
37860
|
);
|
|
36149
37861
|
}
|
|
37862
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
37863
|
+
if (f != null) {
|
|
37864
|
+
writer.writeString(
|
|
37865
|
+
2,
|
|
37866
|
+
f
|
|
37867
|
+
);
|
|
37868
|
+
}
|
|
36150
37869
|
};
|
|
36151
37870
|
|
|
36152
37871
|
|
|
@@ -36187,6 +37906,42 @@ proto.game.ProvidersIds.prototype.clearIdsList = function() {
|
|
|
36187
37906
|
};
|
|
36188
37907
|
|
|
36189
37908
|
|
|
37909
|
+
/**
|
|
37910
|
+
* optional string locale = 2;
|
|
37911
|
+
* @return {string}
|
|
37912
|
+
*/
|
|
37913
|
+
proto.game.ProvidersIds.prototype.getLocale = function() {
|
|
37914
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
37915
|
+
};
|
|
37916
|
+
|
|
37917
|
+
|
|
37918
|
+
/**
|
|
37919
|
+
* @param {string} value
|
|
37920
|
+
* @return {!proto.game.ProvidersIds} returns this
|
|
37921
|
+
*/
|
|
37922
|
+
proto.game.ProvidersIds.prototype.setLocale = function(value) {
|
|
37923
|
+
return jspb.Message.setField(this, 2, value);
|
|
37924
|
+
};
|
|
37925
|
+
|
|
37926
|
+
|
|
37927
|
+
/**
|
|
37928
|
+
* Clears the field making it undefined.
|
|
37929
|
+
* @return {!proto.game.ProvidersIds} returns this
|
|
37930
|
+
*/
|
|
37931
|
+
proto.game.ProvidersIds.prototype.clearLocale = function() {
|
|
37932
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
37933
|
+
};
|
|
37934
|
+
|
|
37935
|
+
|
|
37936
|
+
/**
|
|
37937
|
+
* Returns whether this field is set.
|
|
37938
|
+
* @return {boolean}
|
|
37939
|
+
*/
|
|
37940
|
+
proto.game.ProvidersIds.prototype.hasLocale = function() {
|
|
37941
|
+
return jspb.Message.getField(this, 2) != null;
|
|
37942
|
+
};
|
|
37943
|
+
|
|
37944
|
+
|
|
36190
37945
|
|
|
36191
37946
|
/**
|
|
36192
37947
|
* List of repeated fields within this message type.
|
|
@@ -36229,7 +37984,8 @@ proto.game.ProvidersSlugs.toObject = function(includeInstance, msg) {
|
|
|
36229
37984
|
slugsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
36230
37985
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
36231
37986
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
36232
|
-
withGamesCount: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
37987
|
+
withGamesCount: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
37988
|
+
locale: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
36233
37989
|
};
|
|
36234
37990
|
|
|
36235
37991
|
if (includeInstance) {
|
|
@@ -36282,6 +38038,10 @@ proto.game.ProvidersSlugs.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
36282
38038
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
36283
38039
|
msg.setWithGamesCount(value);
|
|
36284
38040
|
break;
|
|
38041
|
+
case 5:
|
|
38042
|
+
var value = /** @type {string} */ (reader.readString());
|
|
38043
|
+
msg.setLocale(value);
|
|
38044
|
+
break;
|
|
36285
38045
|
default:
|
|
36286
38046
|
reader.skipField();
|
|
36287
38047
|
break;
|
|
@@ -36339,6 +38099,13 @@ proto.game.ProvidersSlugs.serializeBinaryToWriter = function(message, writer) {
|
|
|
36339
38099
|
f
|
|
36340
38100
|
);
|
|
36341
38101
|
}
|
|
38102
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
38103
|
+
if (f != null) {
|
|
38104
|
+
writer.writeString(
|
|
38105
|
+
5,
|
|
38106
|
+
f
|
|
38107
|
+
);
|
|
38108
|
+
}
|
|
36342
38109
|
};
|
|
36343
38110
|
|
|
36344
38111
|
|
|
@@ -36487,6 +38254,42 @@ proto.game.ProvidersSlugs.prototype.hasWithGamesCount = function() {
|
|
|
36487
38254
|
};
|
|
36488
38255
|
|
|
36489
38256
|
|
|
38257
|
+
/**
|
|
38258
|
+
* optional string locale = 5;
|
|
38259
|
+
* @return {string}
|
|
38260
|
+
*/
|
|
38261
|
+
proto.game.ProvidersSlugs.prototype.getLocale = function() {
|
|
38262
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
38263
|
+
};
|
|
38264
|
+
|
|
38265
|
+
|
|
38266
|
+
/**
|
|
38267
|
+
* @param {string} value
|
|
38268
|
+
* @return {!proto.game.ProvidersSlugs} returns this
|
|
38269
|
+
*/
|
|
38270
|
+
proto.game.ProvidersSlugs.prototype.setLocale = function(value) {
|
|
38271
|
+
return jspb.Message.setField(this, 5, value);
|
|
38272
|
+
};
|
|
38273
|
+
|
|
38274
|
+
|
|
38275
|
+
/**
|
|
38276
|
+
* Clears the field making it undefined.
|
|
38277
|
+
* @return {!proto.game.ProvidersSlugs} returns this
|
|
38278
|
+
*/
|
|
38279
|
+
proto.game.ProvidersSlugs.prototype.clearLocale = function() {
|
|
38280
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
38281
|
+
};
|
|
38282
|
+
|
|
38283
|
+
|
|
38284
|
+
/**
|
|
38285
|
+
* Returns whether this field is set.
|
|
38286
|
+
* @return {boolean}
|
|
38287
|
+
*/
|
|
38288
|
+
proto.game.ProvidersSlugs.prototype.hasLocale = function() {
|
|
38289
|
+
return jspb.Message.getField(this, 5) != null;
|
|
38290
|
+
};
|
|
38291
|
+
|
|
38292
|
+
|
|
36490
38293
|
|
|
36491
38294
|
/**
|
|
36492
38295
|
* List of repeated fields within this message type.
|