protobuf-platform 1.2.568 → 1.2.569
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 +40 -0
- package/game/game_grpc_pb.js +110 -0
- package/game/game_pb.js +1584 -21
- 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
|
|
|
@@ -26714,7 +28085,8 @@ proto.game.SearchGamesFullRequest.toObject = function(includeInstance, msg) {
|
|
|
26714
28085
|
popular: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
26715
28086
|
favourites: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
26716
28087
|
lastPlayed: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
26717
|
-
userId: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
|
28088
|
+
userId: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
28089
|
+
locale: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
26718
28090
|
};
|
|
26719
28091
|
|
|
26720
28092
|
if (includeInstance) {
|
|
@@ -26799,6 +28171,10 @@ proto.game.SearchGamesFullRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
26799
28171
|
var value = /** @type {number} */ (reader.readInt32());
|
|
26800
28172
|
msg.setUserId(value);
|
|
26801
28173
|
break;
|
|
28174
|
+
case 13:
|
|
28175
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28176
|
+
msg.setLocale(value);
|
|
28177
|
+
break;
|
|
26802
28178
|
default:
|
|
26803
28179
|
reader.skipField();
|
|
26804
28180
|
break;
|
|
@@ -26912,6 +28288,13 @@ proto.game.SearchGamesFullRequest.serializeBinaryToWriter = function(message, wr
|
|
|
26912
28288
|
f
|
|
26913
28289
|
);
|
|
26914
28290
|
}
|
|
28291
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
28292
|
+
if (f != null) {
|
|
28293
|
+
writer.writeString(
|
|
28294
|
+
13,
|
|
28295
|
+
f
|
|
28296
|
+
);
|
|
28297
|
+
}
|
|
26915
28298
|
};
|
|
26916
28299
|
|
|
26917
28300
|
|
|
@@ -27329,6 +28712,42 @@ proto.game.SearchGamesFullRequest.prototype.hasUserId = function() {
|
|
|
27329
28712
|
};
|
|
27330
28713
|
|
|
27331
28714
|
|
|
28715
|
+
/**
|
|
28716
|
+
* optional string locale = 13;
|
|
28717
|
+
* @return {string}
|
|
28718
|
+
*/
|
|
28719
|
+
proto.game.SearchGamesFullRequest.prototype.getLocale = function() {
|
|
28720
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
28721
|
+
};
|
|
28722
|
+
|
|
28723
|
+
|
|
28724
|
+
/**
|
|
28725
|
+
* @param {string} value
|
|
28726
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
28727
|
+
*/
|
|
28728
|
+
proto.game.SearchGamesFullRequest.prototype.setLocale = function(value) {
|
|
28729
|
+
return jspb.Message.setField(this, 13, value);
|
|
28730
|
+
};
|
|
28731
|
+
|
|
28732
|
+
|
|
28733
|
+
/**
|
|
28734
|
+
* Clears the field making it undefined.
|
|
28735
|
+
* @return {!proto.game.SearchGamesFullRequest} returns this
|
|
28736
|
+
*/
|
|
28737
|
+
proto.game.SearchGamesFullRequest.prototype.clearLocale = function() {
|
|
28738
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
28739
|
+
};
|
|
28740
|
+
|
|
28741
|
+
|
|
28742
|
+
/**
|
|
28743
|
+
* Returns whether this field is set.
|
|
28744
|
+
* @return {boolean}
|
|
28745
|
+
*/
|
|
28746
|
+
proto.game.SearchGamesFullRequest.prototype.hasLocale = function() {
|
|
28747
|
+
return jspb.Message.getField(this, 13) != null;
|
|
28748
|
+
};
|
|
28749
|
+
|
|
28750
|
+
|
|
27332
28751
|
|
|
27333
28752
|
/**
|
|
27334
28753
|
* List of repeated fields within this message type.
|
|
@@ -35613,7 +37032,8 @@ proto.game.ScopeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
35613
37032
|
*/
|
|
35614
37033
|
proto.game.ScopeRequest.toObject = function(includeInstance, msg) {
|
|
35615
37034
|
var f, obj = {
|
|
35616
|
-
data: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
37035
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
37036
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
35617
37037
|
};
|
|
35618
37038
|
|
|
35619
37039
|
if (includeInstance) {
|
|
@@ -35654,6 +37074,10 @@ proto.game.ScopeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
35654
37074
|
var value = /** @type {string} */ (reader.readString());
|
|
35655
37075
|
msg.setData(value);
|
|
35656
37076
|
break;
|
|
37077
|
+
case 2:
|
|
37078
|
+
var value = /** @type {string} */ (reader.readString());
|
|
37079
|
+
msg.setLocale(value);
|
|
37080
|
+
break;
|
|
35657
37081
|
default:
|
|
35658
37082
|
reader.skipField();
|
|
35659
37083
|
break;
|
|
@@ -35690,6 +37114,13 @@ proto.game.ScopeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
35690
37114
|
f
|
|
35691
37115
|
);
|
|
35692
37116
|
}
|
|
37117
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
37118
|
+
if (f != null) {
|
|
37119
|
+
writer.writeString(
|
|
37120
|
+
2,
|
|
37121
|
+
f
|
|
37122
|
+
);
|
|
37123
|
+
}
|
|
35693
37124
|
};
|
|
35694
37125
|
|
|
35695
37126
|
|
|
@@ -35711,6 +37142,42 @@ proto.game.ScopeRequest.prototype.setData = function(value) {
|
|
|
35711
37142
|
};
|
|
35712
37143
|
|
|
35713
37144
|
|
|
37145
|
+
/**
|
|
37146
|
+
* optional string locale = 2;
|
|
37147
|
+
* @return {string}
|
|
37148
|
+
*/
|
|
37149
|
+
proto.game.ScopeRequest.prototype.getLocale = function() {
|
|
37150
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
37151
|
+
};
|
|
37152
|
+
|
|
37153
|
+
|
|
37154
|
+
/**
|
|
37155
|
+
* @param {string} value
|
|
37156
|
+
* @return {!proto.game.ScopeRequest} returns this
|
|
37157
|
+
*/
|
|
37158
|
+
proto.game.ScopeRequest.prototype.setLocale = function(value) {
|
|
37159
|
+
return jspb.Message.setField(this, 2, value);
|
|
37160
|
+
};
|
|
37161
|
+
|
|
37162
|
+
|
|
37163
|
+
/**
|
|
37164
|
+
* Clears the field making it undefined.
|
|
37165
|
+
* @return {!proto.game.ScopeRequest} returns this
|
|
37166
|
+
*/
|
|
37167
|
+
proto.game.ScopeRequest.prototype.clearLocale = function() {
|
|
37168
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
37169
|
+
};
|
|
37170
|
+
|
|
37171
|
+
|
|
37172
|
+
/**
|
|
37173
|
+
* Returns whether this field is set.
|
|
37174
|
+
* @return {boolean}
|
|
37175
|
+
*/
|
|
37176
|
+
proto.game.ScopeRequest.prototype.hasLocale = function() {
|
|
37177
|
+
return jspb.Message.getField(this, 2) != null;
|
|
37178
|
+
};
|
|
37179
|
+
|
|
37180
|
+
|
|
35714
37181
|
|
|
35715
37182
|
|
|
35716
37183
|
|
|
@@ -36068,7 +37535,8 @@ proto.game.ProvidersIds.prototype.toObject = function(opt_includeInstance) {
|
|
|
36068
37535
|
*/
|
|
36069
37536
|
proto.game.ProvidersIds.toObject = function(includeInstance, msg) {
|
|
36070
37537
|
var f, obj = {
|
|
36071
|
-
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
37538
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
37539
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
36072
37540
|
};
|
|
36073
37541
|
|
|
36074
37542
|
if (includeInstance) {
|
|
@@ -36111,6 +37579,10 @@ proto.game.ProvidersIds.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
36111
37579
|
msg.addIds(values[i]);
|
|
36112
37580
|
}
|
|
36113
37581
|
break;
|
|
37582
|
+
case 2:
|
|
37583
|
+
var value = /** @type {string} */ (reader.readString());
|
|
37584
|
+
msg.setLocale(value);
|
|
37585
|
+
break;
|
|
36114
37586
|
default:
|
|
36115
37587
|
reader.skipField();
|
|
36116
37588
|
break;
|
|
@@ -36147,6 +37619,13 @@ proto.game.ProvidersIds.serializeBinaryToWriter = function(message, writer) {
|
|
|
36147
37619
|
f
|
|
36148
37620
|
);
|
|
36149
37621
|
}
|
|
37622
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
37623
|
+
if (f != null) {
|
|
37624
|
+
writer.writeString(
|
|
37625
|
+
2,
|
|
37626
|
+
f
|
|
37627
|
+
);
|
|
37628
|
+
}
|
|
36150
37629
|
};
|
|
36151
37630
|
|
|
36152
37631
|
|
|
@@ -36187,6 +37666,42 @@ proto.game.ProvidersIds.prototype.clearIdsList = function() {
|
|
|
36187
37666
|
};
|
|
36188
37667
|
|
|
36189
37668
|
|
|
37669
|
+
/**
|
|
37670
|
+
* optional string locale = 2;
|
|
37671
|
+
* @return {string}
|
|
37672
|
+
*/
|
|
37673
|
+
proto.game.ProvidersIds.prototype.getLocale = function() {
|
|
37674
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
37675
|
+
};
|
|
37676
|
+
|
|
37677
|
+
|
|
37678
|
+
/**
|
|
37679
|
+
* @param {string} value
|
|
37680
|
+
* @return {!proto.game.ProvidersIds} returns this
|
|
37681
|
+
*/
|
|
37682
|
+
proto.game.ProvidersIds.prototype.setLocale = function(value) {
|
|
37683
|
+
return jspb.Message.setField(this, 2, value);
|
|
37684
|
+
};
|
|
37685
|
+
|
|
37686
|
+
|
|
37687
|
+
/**
|
|
37688
|
+
* Clears the field making it undefined.
|
|
37689
|
+
* @return {!proto.game.ProvidersIds} returns this
|
|
37690
|
+
*/
|
|
37691
|
+
proto.game.ProvidersIds.prototype.clearLocale = function() {
|
|
37692
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
37693
|
+
};
|
|
37694
|
+
|
|
37695
|
+
|
|
37696
|
+
/**
|
|
37697
|
+
* Returns whether this field is set.
|
|
37698
|
+
* @return {boolean}
|
|
37699
|
+
*/
|
|
37700
|
+
proto.game.ProvidersIds.prototype.hasLocale = function() {
|
|
37701
|
+
return jspb.Message.getField(this, 2) != null;
|
|
37702
|
+
};
|
|
37703
|
+
|
|
37704
|
+
|
|
36190
37705
|
|
|
36191
37706
|
/**
|
|
36192
37707
|
* List of repeated fields within this message type.
|
|
@@ -36229,7 +37744,8 @@ proto.game.ProvidersSlugs.toObject = function(includeInstance, msg) {
|
|
|
36229
37744
|
slugsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
36230
37745
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
36231
37746
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
36232
|
-
withGamesCount: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
37747
|
+
withGamesCount: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
37748
|
+
locale: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
36233
37749
|
};
|
|
36234
37750
|
|
|
36235
37751
|
if (includeInstance) {
|
|
@@ -36282,6 +37798,10 @@ proto.game.ProvidersSlugs.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
36282
37798
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
36283
37799
|
msg.setWithGamesCount(value);
|
|
36284
37800
|
break;
|
|
37801
|
+
case 5:
|
|
37802
|
+
var value = /** @type {string} */ (reader.readString());
|
|
37803
|
+
msg.setLocale(value);
|
|
37804
|
+
break;
|
|
36285
37805
|
default:
|
|
36286
37806
|
reader.skipField();
|
|
36287
37807
|
break;
|
|
@@ -36339,6 +37859,13 @@ proto.game.ProvidersSlugs.serializeBinaryToWriter = function(message, writer) {
|
|
|
36339
37859
|
f
|
|
36340
37860
|
);
|
|
36341
37861
|
}
|
|
37862
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
37863
|
+
if (f != null) {
|
|
37864
|
+
writer.writeString(
|
|
37865
|
+
5,
|
|
37866
|
+
f
|
|
37867
|
+
);
|
|
37868
|
+
}
|
|
36342
37869
|
};
|
|
36343
37870
|
|
|
36344
37871
|
|
|
@@ -36487,6 +38014,42 @@ proto.game.ProvidersSlugs.prototype.hasWithGamesCount = function() {
|
|
|
36487
38014
|
};
|
|
36488
38015
|
|
|
36489
38016
|
|
|
38017
|
+
/**
|
|
38018
|
+
* optional string locale = 5;
|
|
38019
|
+
* @return {string}
|
|
38020
|
+
*/
|
|
38021
|
+
proto.game.ProvidersSlugs.prototype.getLocale = function() {
|
|
38022
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
38023
|
+
};
|
|
38024
|
+
|
|
38025
|
+
|
|
38026
|
+
/**
|
|
38027
|
+
* @param {string} value
|
|
38028
|
+
* @return {!proto.game.ProvidersSlugs} returns this
|
|
38029
|
+
*/
|
|
38030
|
+
proto.game.ProvidersSlugs.prototype.setLocale = function(value) {
|
|
38031
|
+
return jspb.Message.setField(this, 5, value);
|
|
38032
|
+
};
|
|
38033
|
+
|
|
38034
|
+
|
|
38035
|
+
/**
|
|
38036
|
+
* Clears the field making it undefined.
|
|
38037
|
+
* @return {!proto.game.ProvidersSlugs} returns this
|
|
38038
|
+
*/
|
|
38039
|
+
proto.game.ProvidersSlugs.prototype.clearLocale = function() {
|
|
38040
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
38041
|
+
};
|
|
38042
|
+
|
|
38043
|
+
|
|
38044
|
+
/**
|
|
38045
|
+
* Returns whether this field is set.
|
|
38046
|
+
* @return {boolean}
|
|
38047
|
+
*/
|
|
38048
|
+
proto.game.ProvidersSlugs.prototype.hasLocale = function() {
|
|
38049
|
+
return jspb.Message.getField(this, 5) != null;
|
|
38050
|
+
};
|
|
38051
|
+
|
|
38052
|
+
|
|
36490
38053
|
|
|
36491
38054
|
/**
|
|
36492
38055
|
* List of repeated fields within this message type.
|