protobuf-platform 1.2.298 → 1.2.301
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bonus/bonus.proto +8 -1
- package/bonus/bonus_pb.js +243 -3
- package/cms/cms.proto +6 -0
- package/cms/cms_pb.js +318 -1
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
|
@@ -40,7 +40,10 @@ service Bonus {
|
|
|
40
40
|
message PingRequest { string ping = 1; }
|
|
41
41
|
message PongResponse { string pong = 1; }
|
|
42
42
|
//Media
|
|
43
|
-
message File {
|
|
43
|
+
message File {
|
|
44
|
+
bytes media = 1;
|
|
45
|
+
optional string file_role = 2;
|
|
46
|
+
}
|
|
44
47
|
message GetFileRequest { string file_name = 1; string instance_type = 2; }
|
|
45
48
|
//Common
|
|
46
49
|
message PaginationRequest {
|
|
@@ -139,6 +142,8 @@ message BonusItemRequest {
|
|
|
139
142
|
repeated int32 segment_ids = 21;
|
|
140
143
|
// Business-allowed: "casino" | "sport" | "all"
|
|
141
144
|
optional string category = 22;
|
|
145
|
+
optional string mobile_file_name = 23;
|
|
146
|
+
optional string mobile_file_type = 24;
|
|
142
147
|
}
|
|
143
148
|
message GetBonusRequest {
|
|
144
149
|
int32 id = 1;
|
|
@@ -195,6 +200,8 @@ message BonusItem {
|
|
|
195
200
|
optional string segments = 35;
|
|
196
201
|
// Business-allowed: "casino" | "sport" | "all"
|
|
197
202
|
optional string category = 36;
|
|
203
|
+
optional string mobile_image = 37;
|
|
204
|
+
optional string mobile_image_cdn = 38;
|
|
198
205
|
}
|
|
199
206
|
message BonusItemsResponse {
|
|
200
207
|
repeated BonusItem items = 1;
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -1282,7 +1282,8 @@ proto.bonus.File.prototype.toObject = function(opt_includeInstance) {
|
|
|
1282
1282
|
*/
|
|
1283
1283
|
proto.bonus.File.toObject = function(includeInstance, msg) {
|
|
1284
1284
|
var f, obj = {
|
|
1285
|
-
media: msg.getMedia_asB64()
|
|
1285
|
+
media: msg.getMedia_asB64(),
|
|
1286
|
+
fileRole: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1286
1287
|
};
|
|
1287
1288
|
|
|
1288
1289
|
if (includeInstance) {
|
|
@@ -1323,6 +1324,10 @@ proto.bonus.File.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1323
1324
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
1324
1325
|
msg.setMedia(value);
|
|
1325
1326
|
break;
|
|
1327
|
+
case 2:
|
|
1328
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1329
|
+
msg.setFileRole(value);
|
|
1330
|
+
break;
|
|
1326
1331
|
default:
|
|
1327
1332
|
reader.skipField();
|
|
1328
1333
|
break;
|
|
@@ -1359,6 +1364,13 @@ proto.bonus.File.serializeBinaryToWriter = function(message, writer) {
|
|
|
1359
1364
|
f
|
|
1360
1365
|
);
|
|
1361
1366
|
}
|
|
1367
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
1368
|
+
if (f != null) {
|
|
1369
|
+
writer.writeString(
|
|
1370
|
+
2,
|
|
1371
|
+
f
|
|
1372
|
+
);
|
|
1373
|
+
}
|
|
1362
1374
|
};
|
|
1363
1375
|
|
|
1364
1376
|
|
|
@@ -1404,6 +1416,42 @@ proto.bonus.File.prototype.setMedia = function(value) {
|
|
|
1404
1416
|
};
|
|
1405
1417
|
|
|
1406
1418
|
|
|
1419
|
+
/**
|
|
1420
|
+
* optional string file_role = 2;
|
|
1421
|
+
* @return {string}
|
|
1422
|
+
*/
|
|
1423
|
+
proto.bonus.File.prototype.getFileRole = function() {
|
|
1424
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* @param {string} value
|
|
1430
|
+
* @return {!proto.bonus.File} returns this
|
|
1431
|
+
*/
|
|
1432
|
+
proto.bonus.File.prototype.setFileRole = function(value) {
|
|
1433
|
+
return jspb.Message.setField(this, 2, value);
|
|
1434
|
+
};
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* Clears the field making it undefined.
|
|
1439
|
+
* @return {!proto.bonus.File} returns this
|
|
1440
|
+
*/
|
|
1441
|
+
proto.bonus.File.prototype.clearFileRole = function() {
|
|
1442
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
1443
|
+
};
|
|
1444
|
+
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* Returns whether this field is set.
|
|
1448
|
+
* @return {boolean}
|
|
1449
|
+
*/
|
|
1450
|
+
proto.bonus.File.prototype.hasFileRole = function() {
|
|
1451
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1452
|
+
};
|
|
1453
|
+
|
|
1454
|
+
|
|
1407
1455
|
|
|
1408
1456
|
|
|
1409
1457
|
|
|
@@ -4714,7 +4762,9 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
|
|
|
4714
4762
|
wageringPeriodInHours: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
4715
4763
|
typeData: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
4716
4764
|
segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 21)) == null ? undefined : f,
|
|
4717
|
-
category: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
4765
|
+
category: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
4766
|
+
mobileFileName: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
4767
|
+
mobileFileType: jspb.Message.getFieldWithDefault(msg, 24, "")
|
|
4718
4768
|
};
|
|
4719
4769
|
|
|
4720
4770
|
if (includeInstance) {
|
|
@@ -4841,6 +4891,14 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
4841
4891
|
var value = /** @type {string} */ (reader.readString());
|
|
4842
4892
|
msg.setCategory(value);
|
|
4843
4893
|
break;
|
|
4894
|
+
case 23:
|
|
4895
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4896
|
+
msg.setMobileFileName(value);
|
|
4897
|
+
break;
|
|
4898
|
+
case 24:
|
|
4899
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4900
|
+
msg.setMobileFileType(value);
|
|
4901
|
+
break;
|
|
4844
4902
|
default:
|
|
4845
4903
|
reader.skipField();
|
|
4846
4904
|
break;
|
|
@@ -5024,6 +5082,20 @@ proto.bonus.BonusItemRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
5024
5082
|
f
|
|
5025
5083
|
);
|
|
5026
5084
|
}
|
|
5085
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 23));
|
|
5086
|
+
if (f != null) {
|
|
5087
|
+
writer.writeString(
|
|
5088
|
+
23,
|
|
5089
|
+
f
|
|
5090
|
+
);
|
|
5091
|
+
}
|
|
5092
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 24));
|
|
5093
|
+
if (f != null) {
|
|
5094
|
+
writer.writeString(
|
|
5095
|
+
24,
|
|
5096
|
+
f
|
|
5097
|
+
);
|
|
5098
|
+
}
|
|
5027
5099
|
};
|
|
5028
5100
|
|
|
5029
5101
|
|
|
@@ -5820,6 +5892,78 @@ proto.bonus.BonusItemRequest.prototype.hasCategory = function() {
|
|
|
5820
5892
|
};
|
|
5821
5893
|
|
|
5822
5894
|
|
|
5895
|
+
/**
|
|
5896
|
+
* optional string mobile_file_name = 23;
|
|
5897
|
+
* @return {string}
|
|
5898
|
+
*/
|
|
5899
|
+
proto.bonus.BonusItemRequest.prototype.getMobileFileName = function() {
|
|
5900
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
5901
|
+
};
|
|
5902
|
+
|
|
5903
|
+
|
|
5904
|
+
/**
|
|
5905
|
+
* @param {string} value
|
|
5906
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
|
5907
|
+
*/
|
|
5908
|
+
proto.bonus.BonusItemRequest.prototype.setMobileFileName = function(value) {
|
|
5909
|
+
return jspb.Message.setField(this, 23, value);
|
|
5910
|
+
};
|
|
5911
|
+
|
|
5912
|
+
|
|
5913
|
+
/**
|
|
5914
|
+
* Clears the field making it undefined.
|
|
5915
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
|
5916
|
+
*/
|
|
5917
|
+
proto.bonus.BonusItemRequest.prototype.clearMobileFileName = function() {
|
|
5918
|
+
return jspb.Message.setField(this, 23, undefined);
|
|
5919
|
+
};
|
|
5920
|
+
|
|
5921
|
+
|
|
5922
|
+
/**
|
|
5923
|
+
* Returns whether this field is set.
|
|
5924
|
+
* @return {boolean}
|
|
5925
|
+
*/
|
|
5926
|
+
proto.bonus.BonusItemRequest.prototype.hasMobileFileName = function() {
|
|
5927
|
+
return jspb.Message.getField(this, 23) != null;
|
|
5928
|
+
};
|
|
5929
|
+
|
|
5930
|
+
|
|
5931
|
+
/**
|
|
5932
|
+
* optional string mobile_file_type = 24;
|
|
5933
|
+
* @return {string}
|
|
5934
|
+
*/
|
|
5935
|
+
proto.bonus.BonusItemRequest.prototype.getMobileFileType = function() {
|
|
5936
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
|
|
5937
|
+
};
|
|
5938
|
+
|
|
5939
|
+
|
|
5940
|
+
/**
|
|
5941
|
+
* @param {string} value
|
|
5942
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
|
5943
|
+
*/
|
|
5944
|
+
proto.bonus.BonusItemRequest.prototype.setMobileFileType = function(value) {
|
|
5945
|
+
return jspb.Message.setField(this, 24, value);
|
|
5946
|
+
};
|
|
5947
|
+
|
|
5948
|
+
|
|
5949
|
+
/**
|
|
5950
|
+
* Clears the field making it undefined.
|
|
5951
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
|
5952
|
+
*/
|
|
5953
|
+
proto.bonus.BonusItemRequest.prototype.clearMobileFileType = function() {
|
|
5954
|
+
return jspb.Message.setField(this, 24, undefined);
|
|
5955
|
+
};
|
|
5956
|
+
|
|
5957
|
+
|
|
5958
|
+
/**
|
|
5959
|
+
* Returns whether this field is set.
|
|
5960
|
+
* @return {boolean}
|
|
5961
|
+
*/
|
|
5962
|
+
proto.bonus.BonusItemRequest.prototype.hasMobileFileType = function() {
|
|
5963
|
+
return jspb.Message.getField(this, 24) != null;
|
|
5964
|
+
};
|
|
5965
|
+
|
|
5966
|
+
|
|
5823
5967
|
|
|
5824
5968
|
|
|
5825
5969
|
|
|
@@ -6556,7 +6700,9 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
|
|
|
6556
6700
|
proto.bonus.CurrencyStatusItem.toObject, includeInstance),
|
|
6557
6701
|
timing: jspb.Message.getFieldWithDefault(msg, 34, ""),
|
|
6558
6702
|
segments: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
6559
|
-
category: jspb.Message.getFieldWithDefault(msg, 36, "")
|
|
6703
|
+
category: jspb.Message.getFieldWithDefault(msg, 36, ""),
|
|
6704
|
+
mobileImage: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
6705
|
+
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 38, "")
|
|
6560
6706
|
};
|
|
6561
6707
|
|
|
6562
6708
|
if (includeInstance) {
|
|
@@ -6746,6 +6892,14 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6746
6892
|
var value = /** @type {string} */ (reader.readString());
|
|
6747
6893
|
msg.setCategory(value);
|
|
6748
6894
|
break;
|
|
6895
|
+
case 37:
|
|
6896
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6897
|
+
msg.setMobileImage(value);
|
|
6898
|
+
break;
|
|
6899
|
+
case 38:
|
|
6900
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6901
|
+
msg.setMobileImageCdn(value);
|
|
6902
|
+
break;
|
|
6749
6903
|
default:
|
|
6750
6904
|
reader.skipField();
|
|
6751
6905
|
break;
|
|
@@ -7034,6 +7188,20 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
7034
7188
|
f
|
|
7035
7189
|
);
|
|
7036
7190
|
}
|
|
7191
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 37));
|
|
7192
|
+
if (f != null) {
|
|
7193
|
+
writer.writeString(
|
|
7194
|
+
37,
|
|
7195
|
+
f
|
|
7196
|
+
);
|
|
7197
|
+
}
|
|
7198
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 38));
|
|
7199
|
+
if (f != null) {
|
|
7200
|
+
writer.writeString(
|
|
7201
|
+
38,
|
|
7202
|
+
f
|
|
7203
|
+
);
|
|
7204
|
+
}
|
|
7037
7205
|
};
|
|
7038
7206
|
|
|
7039
7207
|
|
|
@@ -8348,6 +8516,78 @@ proto.bonus.BonusItem.prototype.hasCategory = function() {
|
|
|
8348
8516
|
};
|
|
8349
8517
|
|
|
8350
8518
|
|
|
8519
|
+
/**
|
|
8520
|
+
* optional string mobile_image = 37;
|
|
8521
|
+
* @return {string}
|
|
8522
|
+
*/
|
|
8523
|
+
proto.bonus.BonusItem.prototype.getMobileImage = function() {
|
|
8524
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, ""));
|
|
8525
|
+
};
|
|
8526
|
+
|
|
8527
|
+
|
|
8528
|
+
/**
|
|
8529
|
+
* @param {string} value
|
|
8530
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
8531
|
+
*/
|
|
8532
|
+
proto.bonus.BonusItem.prototype.setMobileImage = function(value) {
|
|
8533
|
+
return jspb.Message.setField(this, 37, value);
|
|
8534
|
+
};
|
|
8535
|
+
|
|
8536
|
+
|
|
8537
|
+
/**
|
|
8538
|
+
* Clears the field making it undefined.
|
|
8539
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
8540
|
+
*/
|
|
8541
|
+
proto.bonus.BonusItem.prototype.clearMobileImage = function() {
|
|
8542
|
+
return jspb.Message.setField(this, 37, undefined);
|
|
8543
|
+
};
|
|
8544
|
+
|
|
8545
|
+
|
|
8546
|
+
/**
|
|
8547
|
+
* Returns whether this field is set.
|
|
8548
|
+
* @return {boolean}
|
|
8549
|
+
*/
|
|
8550
|
+
proto.bonus.BonusItem.prototype.hasMobileImage = function() {
|
|
8551
|
+
return jspb.Message.getField(this, 37) != null;
|
|
8552
|
+
};
|
|
8553
|
+
|
|
8554
|
+
|
|
8555
|
+
/**
|
|
8556
|
+
* optional string mobile_image_cdn = 38;
|
|
8557
|
+
* @return {string}
|
|
8558
|
+
*/
|
|
8559
|
+
proto.bonus.BonusItem.prototype.getMobileImageCdn = function() {
|
|
8560
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 38, ""));
|
|
8561
|
+
};
|
|
8562
|
+
|
|
8563
|
+
|
|
8564
|
+
/**
|
|
8565
|
+
* @param {string} value
|
|
8566
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
8567
|
+
*/
|
|
8568
|
+
proto.bonus.BonusItem.prototype.setMobileImageCdn = function(value) {
|
|
8569
|
+
return jspb.Message.setField(this, 38, value);
|
|
8570
|
+
};
|
|
8571
|
+
|
|
8572
|
+
|
|
8573
|
+
/**
|
|
8574
|
+
* Clears the field making it undefined.
|
|
8575
|
+
* @return {!proto.bonus.BonusItem} returns this
|
|
8576
|
+
*/
|
|
8577
|
+
proto.bonus.BonusItem.prototype.clearMobileImageCdn = function() {
|
|
8578
|
+
return jspb.Message.setField(this, 38, undefined);
|
|
8579
|
+
};
|
|
8580
|
+
|
|
8581
|
+
|
|
8582
|
+
/**
|
|
8583
|
+
* Returns whether this field is set.
|
|
8584
|
+
* @return {boolean}
|
|
8585
|
+
*/
|
|
8586
|
+
proto.bonus.BonusItem.prototype.hasMobileImageCdn = function() {
|
|
8587
|
+
return jspb.Message.getField(this, 38) != null;
|
|
8588
|
+
};
|
|
8589
|
+
|
|
8590
|
+
|
|
8351
8591
|
|
|
8352
8592
|
/**
|
|
8353
8593
|
* List of repeated fields within this message type.
|
package/cms/cms.proto
CHANGED
|
@@ -336,11 +336,17 @@ message BannerGroupItemsResponse {
|
|
|
336
336
|
optional int32 total_pages = 2;
|
|
337
337
|
optional int32 total_items = 3;
|
|
338
338
|
}
|
|
339
|
+
message UserBannerGameImages {
|
|
340
|
+
optional string portrait = 1;
|
|
341
|
+
optional string landscape = 2;
|
|
342
|
+
optional string square = 3;
|
|
343
|
+
}
|
|
339
344
|
message UserBannerGameItem {
|
|
340
345
|
optional string title = 1;
|
|
341
346
|
optional string image = 2;
|
|
342
347
|
optional string game_slug = 3;
|
|
343
348
|
optional string provider_slug = 4;
|
|
349
|
+
optional UserBannerGameImages images = 5;
|
|
344
350
|
}
|
|
345
351
|
message UserBannerItem {
|
|
346
352
|
optional string title = 1;
|
package/cms/cms_pb.js
CHANGED
|
@@ -165,6 +165,7 @@ goog.exportSymbol('proto.cms.PromosItemsResponse', null, global);
|
|
|
165
165
|
goog.exportSymbol('proto.cms.SetPageSeoAttributesRequest', null, global);
|
|
166
166
|
goog.exportSymbol('proto.cms.SignUpFormWidgetItem', null, global);
|
|
167
167
|
goog.exportSymbol('proto.cms.TranslationItem', null, global);
|
|
168
|
+
goog.exportSymbol('proto.cms.UserBannerGameImages', null, global);
|
|
168
169
|
goog.exportSymbol('proto.cms.UserBannerGameItem', null, global);
|
|
169
170
|
goog.exportSymbol('proto.cms.UserBannerGroupResponse', null, global);
|
|
170
171
|
goog.exportSymbol('proto.cms.UserBannerItem', null, global);
|
|
@@ -1050,6 +1051,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1050
1051
|
*/
|
|
1051
1052
|
proto.cms.BannerGroupItemsResponse.displayName = 'proto.cms.BannerGroupItemsResponse';
|
|
1052
1053
|
}
|
|
1054
|
+
/**
|
|
1055
|
+
* Generated by JsPbCodeGenerator.
|
|
1056
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1057
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1058
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1059
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1060
|
+
* valid.
|
|
1061
|
+
* @extends {jspb.Message}
|
|
1062
|
+
* @constructor
|
|
1063
|
+
*/
|
|
1064
|
+
proto.cms.UserBannerGameImages = function(opt_data) {
|
|
1065
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1066
|
+
};
|
|
1067
|
+
goog.inherits(proto.cms.UserBannerGameImages, jspb.Message);
|
|
1068
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1069
|
+
/**
|
|
1070
|
+
* @public
|
|
1071
|
+
* @override
|
|
1072
|
+
*/
|
|
1073
|
+
proto.cms.UserBannerGameImages.displayName = 'proto.cms.UserBannerGameImages';
|
|
1074
|
+
}
|
|
1053
1075
|
/**
|
|
1054
1076
|
* Generated by JsPbCodeGenerator.
|
|
1055
1077
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -13489,6 +13511,250 @@ proto.cms.BannerGroupItemsResponse.prototype.hasTotalItems = function() {
|
|
|
13489
13511
|
|
|
13490
13512
|
|
|
13491
13513
|
|
|
13514
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13515
|
+
/**
|
|
13516
|
+
* Creates an object representation of this proto.
|
|
13517
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13518
|
+
* Optional fields that are not set will be set to undefined.
|
|
13519
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13520
|
+
* For the list of reserved names please see:
|
|
13521
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13522
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13523
|
+
* JSPB instance for transitional soy proto support:
|
|
13524
|
+
* http://goto/soy-param-migration
|
|
13525
|
+
* @return {!Object}
|
|
13526
|
+
*/
|
|
13527
|
+
proto.cms.UserBannerGameImages.prototype.toObject = function(opt_includeInstance) {
|
|
13528
|
+
return proto.cms.UserBannerGameImages.toObject(opt_includeInstance, this);
|
|
13529
|
+
};
|
|
13530
|
+
|
|
13531
|
+
|
|
13532
|
+
/**
|
|
13533
|
+
* Static version of the {@see toObject} method.
|
|
13534
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13535
|
+
* the JSPB instance for transitional soy proto support:
|
|
13536
|
+
* http://goto/soy-param-migration
|
|
13537
|
+
* @param {!proto.cms.UserBannerGameImages} msg The msg instance to transform.
|
|
13538
|
+
* @return {!Object}
|
|
13539
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13540
|
+
*/
|
|
13541
|
+
proto.cms.UserBannerGameImages.toObject = function(includeInstance, msg) {
|
|
13542
|
+
var f, obj = {
|
|
13543
|
+
portrait: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13544
|
+
landscape: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13545
|
+
square: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
13546
|
+
};
|
|
13547
|
+
|
|
13548
|
+
if (includeInstance) {
|
|
13549
|
+
obj.$jspbMessageInstance = msg;
|
|
13550
|
+
}
|
|
13551
|
+
return obj;
|
|
13552
|
+
};
|
|
13553
|
+
}
|
|
13554
|
+
|
|
13555
|
+
|
|
13556
|
+
/**
|
|
13557
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13558
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13559
|
+
* @return {!proto.cms.UserBannerGameImages}
|
|
13560
|
+
*/
|
|
13561
|
+
proto.cms.UserBannerGameImages.deserializeBinary = function(bytes) {
|
|
13562
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13563
|
+
var msg = new proto.cms.UserBannerGameImages;
|
|
13564
|
+
return proto.cms.UserBannerGameImages.deserializeBinaryFromReader(msg, reader);
|
|
13565
|
+
};
|
|
13566
|
+
|
|
13567
|
+
|
|
13568
|
+
/**
|
|
13569
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13570
|
+
* given reader into the given message object.
|
|
13571
|
+
* @param {!proto.cms.UserBannerGameImages} msg The message object to deserialize into.
|
|
13572
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13573
|
+
* @return {!proto.cms.UserBannerGameImages}
|
|
13574
|
+
*/
|
|
13575
|
+
proto.cms.UserBannerGameImages.deserializeBinaryFromReader = function(msg, reader) {
|
|
13576
|
+
while (reader.nextField()) {
|
|
13577
|
+
if (reader.isEndGroup()) {
|
|
13578
|
+
break;
|
|
13579
|
+
}
|
|
13580
|
+
var field = reader.getFieldNumber();
|
|
13581
|
+
switch (field) {
|
|
13582
|
+
case 1:
|
|
13583
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13584
|
+
msg.setPortrait(value);
|
|
13585
|
+
break;
|
|
13586
|
+
case 2:
|
|
13587
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13588
|
+
msg.setLandscape(value);
|
|
13589
|
+
break;
|
|
13590
|
+
case 3:
|
|
13591
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13592
|
+
msg.setSquare(value);
|
|
13593
|
+
break;
|
|
13594
|
+
default:
|
|
13595
|
+
reader.skipField();
|
|
13596
|
+
break;
|
|
13597
|
+
}
|
|
13598
|
+
}
|
|
13599
|
+
return msg;
|
|
13600
|
+
};
|
|
13601
|
+
|
|
13602
|
+
|
|
13603
|
+
/**
|
|
13604
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13605
|
+
* @return {!Uint8Array}
|
|
13606
|
+
*/
|
|
13607
|
+
proto.cms.UserBannerGameImages.prototype.serializeBinary = function() {
|
|
13608
|
+
var writer = new jspb.BinaryWriter();
|
|
13609
|
+
proto.cms.UserBannerGameImages.serializeBinaryToWriter(this, writer);
|
|
13610
|
+
return writer.getResultBuffer();
|
|
13611
|
+
};
|
|
13612
|
+
|
|
13613
|
+
|
|
13614
|
+
/**
|
|
13615
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13616
|
+
* format), writing to the given BinaryWriter.
|
|
13617
|
+
* @param {!proto.cms.UserBannerGameImages} message
|
|
13618
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13619
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13620
|
+
*/
|
|
13621
|
+
proto.cms.UserBannerGameImages.serializeBinaryToWriter = function(message, writer) {
|
|
13622
|
+
var f = undefined;
|
|
13623
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
13624
|
+
if (f != null) {
|
|
13625
|
+
writer.writeString(
|
|
13626
|
+
1,
|
|
13627
|
+
f
|
|
13628
|
+
);
|
|
13629
|
+
}
|
|
13630
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
13631
|
+
if (f != null) {
|
|
13632
|
+
writer.writeString(
|
|
13633
|
+
2,
|
|
13634
|
+
f
|
|
13635
|
+
);
|
|
13636
|
+
}
|
|
13637
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
13638
|
+
if (f != null) {
|
|
13639
|
+
writer.writeString(
|
|
13640
|
+
3,
|
|
13641
|
+
f
|
|
13642
|
+
);
|
|
13643
|
+
}
|
|
13644
|
+
};
|
|
13645
|
+
|
|
13646
|
+
|
|
13647
|
+
/**
|
|
13648
|
+
* optional string portrait = 1;
|
|
13649
|
+
* @return {string}
|
|
13650
|
+
*/
|
|
13651
|
+
proto.cms.UserBannerGameImages.prototype.getPortrait = function() {
|
|
13652
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13653
|
+
};
|
|
13654
|
+
|
|
13655
|
+
|
|
13656
|
+
/**
|
|
13657
|
+
* @param {string} value
|
|
13658
|
+
* @return {!proto.cms.UserBannerGameImages} returns this
|
|
13659
|
+
*/
|
|
13660
|
+
proto.cms.UserBannerGameImages.prototype.setPortrait = function(value) {
|
|
13661
|
+
return jspb.Message.setField(this, 1, value);
|
|
13662
|
+
};
|
|
13663
|
+
|
|
13664
|
+
|
|
13665
|
+
/**
|
|
13666
|
+
* Clears the field making it undefined.
|
|
13667
|
+
* @return {!proto.cms.UserBannerGameImages} returns this
|
|
13668
|
+
*/
|
|
13669
|
+
proto.cms.UserBannerGameImages.prototype.clearPortrait = function() {
|
|
13670
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
13671
|
+
};
|
|
13672
|
+
|
|
13673
|
+
|
|
13674
|
+
/**
|
|
13675
|
+
* Returns whether this field is set.
|
|
13676
|
+
* @return {boolean}
|
|
13677
|
+
*/
|
|
13678
|
+
proto.cms.UserBannerGameImages.prototype.hasPortrait = function() {
|
|
13679
|
+
return jspb.Message.getField(this, 1) != null;
|
|
13680
|
+
};
|
|
13681
|
+
|
|
13682
|
+
|
|
13683
|
+
/**
|
|
13684
|
+
* optional string landscape = 2;
|
|
13685
|
+
* @return {string}
|
|
13686
|
+
*/
|
|
13687
|
+
proto.cms.UserBannerGameImages.prototype.getLandscape = function() {
|
|
13688
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
13689
|
+
};
|
|
13690
|
+
|
|
13691
|
+
|
|
13692
|
+
/**
|
|
13693
|
+
* @param {string} value
|
|
13694
|
+
* @return {!proto.cms.UserBannerGameImages} returns this
|
|
13695
|
+
*/
|
|
13696
|
+
proto.cms.UserBannerGameImages.prototype.setLandscape = function(value) {
|
|
13697
|
+
return jspb.Message.setField(this, 2, value);
|
|
13698
|
+
};
|
|
13699
|
+
|
|
13700
|
+
|
|
13701
|
+
/**
|
|
13702
|
+
* Clears the field making it undefined.
|
|
13703
|
+
* @return {!proto.cms.UserBannerGameImages} returns this
|
|
13704
|
+
*/
|
|
13705
|
+
proto.cms.UserBannerGameImages.prototype.clearLandscape = function() {
|
|
13706
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
13707
|
+
};
|
|
13708
|
+
|
|
13709
|
+
|
|
13710
|
+
/**
|
|
13711
|
+
* Returns whether this field is set.
|
|
13712
|
+
* @return {boolean}
|
|
13713
|
+
*/
|
|
13714
|
+
proto.cms.UserBannerGameImages.prototype.hasLandscape = function() {
|
|
13715
|
+
return jspb.Message.getField(this, 2) != null;
|
|
13716
|
+
};
|
|
13717
|
+
|
|
13718
|
+
|
|
13719
|
+
/**
|
|
13720
|
+
* optional string square = 3;
|
|
13721
|
+
* @return {string}
|
|
13722
|
+
*/
|
|
13723
|
+
proto.cms.UserBannerGameImages.prototype.getSquare = function() {
|
|
13724
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
13725
|
+
};
|
|
13726
|
+
|
|
13727
|
+
|
|
13728
|
+
/**
|
|
13729
|
+
* @param {string} value
|
|
13730
|
+
* @return {!proto.cms.UserBannerGameImages} returns this
|
|
13731
|
+
*/
|
|
13732
|
+
proto.cms.UserBannerGameImages.prototype.setSquare = function(value) {
|
|
13733
|
+
return jspb.Message.setField(this, 3, value);
|
|
13734
|
+
};
|
|
13735
|
+
|
|
13736
|
+
|
|
13737
|
+
/**
|
|
13738
|
+
* Clears the field making it undefined.
|
|
13739
|
+
* @return {!proto.cms.UserBannerGameImages} returns this
|
|
13740
|
+
*/
|
|
13741
|
+
proto.cms.UserBannerGameImages.prototype.clearSquare = function() {
|
|
13742
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
13743
|
+
};
|
|
13744
|
+
|
|
13745
|
+
|
|
13746
|
+
/**
|
|
13747
|
+
* Returns whether this field is set.
|
|
13748
|
+
* @return {boolean}
|
|
13749
|
+
*/
|
|
13750
|
+
proto.cms.UserBannerGameImages.prototype.hasSquare = function() {
|
|
13751
|
+
return jspb.Message.getField(this, 3) != null;
|
|
13752
|
+
};
|
|
13753
|
+
|
|
13754
|
+
|
|
13755
|
+
|
|
13756
|
+
|
|
13757
|
+
|
|
13492
13758
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13493
13759
|
/**
|
|
13494
13760
|
* Creates an object representation of this proto.
|
|
@@ -13521,7 +13787,8 @@ proto.cms.UserBannerGameItem.toObject = function(includeInstance, msg) {
|
|
|
13521
13787
|
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13522
13788
|
image: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13523
13789
|
gameSlug: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
13524
|
-
providerSlug: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
13790
|
+
providerSlug: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
13791
|
+
images: (f = msg.getImages()) && proto.cms.UserBannerGameImages.toObject(includeInstance, f)
|
|
13525
13792
|
};
|
|
13526
13793
|
|
|
13527
13794
|
if (includeInstance) {
|
|
@@ -13574,6 +13841,11 @@ proto.cms.UserBannerGameItem.deserializeBinaryFromReader = function(msg, reader)
|
|
|
13574
13841
|
var value = /** @type {string} */ (reader.readString());
|
|
13575
13842
|
msg.setProviderSlug(value);
|
|
13576
13843
|
break;
|
|
13844
|
+
case 5:
|
|
13845
|
+
var value = new proto.cms.UserBannerGameImages;
|
|
13846
|
+
reader.readMessage(value,proto.cms.UserBannerGameImages.deserializeBinaryFromReader);
|
|
13847
|
+
msg.setImages(value);
|
|
13848
|
+
break;
|
|
13577
13849
|
default:
|
|
13578
13850
|
reader.skipField();
|
|
13579
13851
|
break;
|
|
@@ -13631,6 +13903,14 @@ proto.cms.UserBannerGameItem.serializeBinaryToWriter = function(message, writer)
|
|
|
13631
13903
|
f
|
|
13632
13904
|
);
|
|
13633
13905
|
}
|
|
13906
|
+
f = message.getImages();
|
|
13907
|
+
if (f != null) {
|
|
13908
|
+
writer.writeMessage(
|
|
13909
|
+
5,
|
|
13910
|
+
f,
|
|
13911
|
+
proto.cms.UserBannerGameImages.serializeBinaryToWriter
|
|
13912
|
+
);
|
|
13913
|
+
}
|
|
13634
13914
|
};
|
|
13635
13915
|
|
|
13636
13916
|
|
|
@@ -13778,6 +14058,43 @@ proto.cms.UserBannerGameItem.prototype.hasProviderSlug = function() {
|
|
|
13778
14058
|
};
|
|
13779
14059
|
|
|
13780
14060
|
|
|
14061
|
+
/**
|
|
14062
|
+
* optional UserBannerGameImages images = 5;
|
|
14063
|
+
* @return {?proto.cms.UserBannerGameImages}
|
|
14064
|
+
*/
|
|
14065
|
+
proto.cms.UserBannerGameItem.prototype.getImages = function() {
|
|
14066
|
+
return /** @type{?proto.cms.UserBannerGameImages} */ (
|
|
14067
|
+
jspb.Message.getWrapperField(this, proto.cms.UserBannerGameImages, 5));
|
|
14068
|
+
};
|
|
14069
|
+
|
|
14070
|
+
|
|
14071
|
+
/**
|
|
14072
|
+
* @param {?proto.cms.UserBannerGameImages|undefined} value
|
|
14073
|
+
* @return {!proto.cms.UserBannerGameItem} returns this
|
|
14074
|
+
*/
|
|
14075
|
+
proto.cms.UserBannerGameItem.prototype.setImages = function(value) {
|
|
14076
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
14077
|
+
};
|
|
14078
|
+
|
|
14079
|
+
|
|
14080
|
+
/**
|
|
14081
|
+
* Clears the message field making it undefined.
|
|
14082
|
+
* @return {!proto.cms.UserBannerGameItem} returns this
|
|
14083
|
+
*/
|
|
14084
|
+
proto.cms.UserBannerGameItem.prototype.clearImages = function() {
|
|
14085
|
+
return this.setImages(undefined);
|
|
14086
|
+
};
|
|
14087
|
+
|
|
14088
|
+
|
|
14089
|
+
/**
|
|
14090
|
+
* Returns whether this field is set.
|
|
14091
|
+
* @return {boolean}
|
|
14092
|
+
*/
|
|
14093
|
+
proto.cms.UserBannerGameItem.prototype.hasImages = function() {
|
|
14094
|
+
return jspb.Message.getField(this, 5) != null;
|
|
14095
|
+
};
|
|
14096
|
+
|
|
14097
|
+
|
|
13781
14098
|
|
|
13782
14099
|
/**
|
|
13783
14100
|
* List of repeated fields within this message type.
|