protobuf-platform 1.2.271 → 1.2.273
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/cms/cms.proto +10 -1
- package/cms/cms_pb.js +473 -3
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
|
@@ -249,7 +249,7 @@ message BannerTexts {
|
|
|
249
249
|
optional string note = 5;
|
|
250
250
|
}
|
|
251
251
|
message BannerCta {
|
|
252
|
-
optional string action_type = 1; // expected values: tournament|bonus|deposit|promo|game
|
|
252
|
+
optional string action_type = 1; // expected values: tournament|bonus|deposit|promo|game|collection|tag
|
|
253
253
|
optional int32 instance_id = 2; // entity instance id (used for future slug updates)
|
|
254
254
|
optional string slug = 3; // tournament/bonus/promo/game slug, not required for deposit
|
|
255
255
|
optional string provider_slug = 4; // required only for game
|
|
@@ -289,6 +289,7 @@ message GetBannerGroupRequest {
|
|
|
289
289
|
optional bool admin_side = 2;
|
|
290
290
|
optional string locale = 3;
|
|
291
291
|
optional string geo = 4;
|
|
292
|
+
optional bool is_mobile = 5;
|
|
292
293
|
}
|
|
293
294
|
message BannerGroupResponse {
|
|
294
295
|
BannerGroupItem data = 1;
|
|
@@ -298,6 +299,12 @@ message BannerGroupItemsResponse {
|
|
|
298
299
|
optional int32 total_pages = 2;
|
|
299
300
|
optional int32 total_items = 3;
|
|
300
301
|
}
|
|
302
|
+
message UserBannerGameItem {
|
|
303
|
+
optional string title = 1;
|
|
304
|
+
optional string image = 2;
|
|
305
|
+
optional string game_slug = 3;
|
|
306
|
+
optional string provider_slug = 4;
|
|
307
|
+
}
|
|
301
308
|
message UserBannerItem {
|
|
302
309
|
optional string title = 1;
|
|
303
310
|
optional string content = 2;
|
|
@@ -310,6 +317,8 @@ message UserBannerItem {
|
|
|
310
317
|
optional string cta_text = 9;
|
|
311
318
|
optional string note = 10;
|
|
312
319
|
optional BannerCta cta = 11;
|
|
320
|
+
optional string type = 12;
|
|
321
|
+
repeated UserBannerGameItem games = 13;
|
|
313
322
|
}
|
|
314
323
|
message UserBannerGroupResponse {
|
|
315
324
|
repeated UserBannerItem items = 1;
|
package/cms/cms_pb.js
CHANGED
|
@@ -141,6 +141,7 @@ goog.exportSymbol('proto.cms.PromoTranslationResponse', null, global);
|
|
|
141
141
|
goog.exportSymbol('proto.cms.PromosItemsResponse', null, global);
|
|
142
142
|
goog.exportSymbol('proto.cms.SignUpFormWidgetItem', null, global);
|
|
143
143
|
goog.exportSymbol('proto.cms.TranslationItem', null, global);
|
|
144
|
+
goog.exportSymbol('proto.cms.UserBannerGameItem', null, global);
|
|
144
145
|
goog.exportSymbol('proto.cms.UserBannerGroupResponse', null, global);
|
|
145
146
|
goog.exportSymbol('proto.cms.UserBannerItem', null, global);
|
|
146
147
|
/**
|
|
@@ -993,9 +994,30 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
993
994
|
* @extends {jspb.Message}
|
|
994
995
|
* @constructor
|
|
995
996
|
*/
|
|
996
|
-
proto.cms.
|
|
997
|
+
proto.cms.UserBannerGameItem = function(opt_data) {
|
|
997
998
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
998
999
|
};
|
|
1000
|
+
goog.inherits(proto.cms.UserBannerGameItem, jspb.Message);
|
|
1001
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1002
|
+
/**
|
|
1003
|
+
* @public
|
|
1004
|
+
* @override
|
|
1005
|
+
*/
|
|
1006
|
+
proto.cms.UserBannerGameItem.displayName = 'proto.cms.UserBannerGameItem';
|
|
1007
|
+
}
|
|
1008
|
+
/**
|
|
1009
|
+
* Generated by JsPbCodeGenerator.
|
|
1010
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1011
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1012
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1013
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1014
|
+
* valid.
|
|
1015
|
+
* @extends {jspb.Message}
|
|
1016
|
+
* @constructor
|
|
1017
|
+
*/
|
|
1018
|
+
proto.cms.UserBannerItem = function(opt_data) {
|
|
1019
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.UserBannerItem.repeatedFields_, null);
|
|
1020
|
+
};
|
|
999
1021
|
goog.inherits(proto.cms.UserBannerItem, jspb.Message);
|
|
1000
1022
|
if (goog.DEBUG && !COMPILED) {
|
|
1001
1023
|
/**
|
|
@@ -11330,7 +11352,8 @@ proto.cms.GetBannerGroupRequest.toObject = function(includeInstance, msg) {
|
|
|
11330
11352
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
11331
11353
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
11332
11354
|
locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11333
|
-
geo: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
11355
|
+
geo: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
11356
|
+
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
11334
11357
|
};
|
|
11335
11358
|
|
|
11336
11359
|
if (includeInstance) {
|
|
@@ -11383,6 +11406,10 @@ proto.cms.GetBannerGroupRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
11383
11406
|
var value = /** @type {string} */ (reader.readString());
|
|
11384
11407
|
msg.setGeo(value);
|
|
11385
11408
|
break;
|
|
11409
|
+
case 5:
|
|
11410
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
11411
|
+
msg.setIsMobile(value);
|
|
11412
|
+
break;
|
|
11386
11413
|
default:
|
|
11387
11414
|
reader.skipField();
|
|
11388
11415
|
break;
|
|
@@ -11440,6 +11467,13 @@ proto.cms.GetBannerGroupRequest.serializeBinaryToWriter = function(message, writ
|
|
|
11440
11467
|
f
|
|
11441
11468
|
);
|
|
11442
11469
|
}
|
|
11470
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
|
11471
|
+
if (f != null) {
|
|
11472
|
+
writer.writeBool(
|
|
11473
|
+
5,
|
|
11474
|
+
f
|
|
11475
|
+
);
|
|
11476
|
+
}
|
|
11443
11477
|
};
|
|
11444
11478
|
|
|
11445
11479
|
|
|
@@ -11569,6 +11603,42 @@ proto.cms.GetBannerGroupRequest.prototype.hasGeo = function() {
|
|
|
11569
11603
|
};
|
|
11570
11604
|
|
|
11571
11605
|
|
|
11606
|
+
/**
|
|
11607
|
+
* optional bool is_mobile = 5;
|
|
11608
|
+
* @return {boolean}
|
|
11609
|
+
*/
|
|
11610
|
+
proto.cms.GetBannerGroupRequest.prototype.getIsMobile = function() {
|
|
11611
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
11612
|
+
};
|
|
11613
|
+
|
|
11614
|
+
|
|
11615
|
+
/**
|
|
11616
|
+
* @param {boolean} value
|
|
11617
|
+
* @return {!proto.cms.GetBannerGroupRequest} returns this
|
|
11618
|
+
*/
|
|
11619
|
+
proto.cms.GetBannerGroupRequest.prototype.setIsMobile = function(value) {
|
|
11620
|
+
return jspb.Message.setField(this, 5, value);
|
|
11621
|
+
};
|
|
11622
|
+
|
|
11623
|
+
|
|
11624
|
+
/**
|
|
11625
|
+
* Clears the field making it undefined.
|
|
11626
|
+
* @return {!proto.cms.GetBannerGroupRequest} returns this
|
|
11627
|
+
*/
|
|
11628
|
+
proto.cms.GetBannerGroupRequest.prototype.clearIsMobile = function() {
|
|
11629
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
11630
|
+
};
|
|
11631
|
+
|
|
11632
|
+
|
|
11633
|
+
/**
|
|
11634
|
+
* Returns whether this field is set.
|
|
11635
|
+
* @return {boolean}
|
|
11636
|
+
*/
|
|
11637
|
+
proto.cms.GetBannerGroupRequest.prototype.hasIsMobile = function() {
|
|
11638
|
+
return jspb.Message.getField(this, 5) != null;
|
|
11639
|
+
};
|
|
11640
|
+
|
|
11641
|
+
|
|
11572
11642
|
|
|
11573
11643
|
|
|
11574
11644
|
|
|
@@ -11979,6 +12049,305 @@ proto.cms.BannerGroupItemsResponse.prototype.hasTotalItems = function() {
|
|
|
11979
12049
|
|
|
11980
12050
|
|
|
11981
12051
|
|
|
12052
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12053
|
+
/**
|
|
12054
|
+
* Creates an object representation of this proto.
|
|
12055
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12056
|
+
* Optional fields that are not set will be set to undefined.
|
|
12057
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12058
|
+
* For the list of reserved names please see:
|
|
12059
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12060
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12061
|
+
* JSPB instance for transitional soy proto support:
|
|
12062
|
+
* http://goto/soy-param-migration
|
|
12063
|
+
* @return {!Object}
|
|
12064
|
+
*/
|
|
12065
|
+
proto.cms.UserBannerGameItem.prototype.toObject = function(opt_includeInstance) {
|
|
12066
|
+
return proto.cms.UserBannerGameItem.toObject(opt_includeInstance, this);
|
|
12067
|
+
};
|
|
12068
|
+
|
|
12069
|
+
|
|
12070
|
+
/**
|
|
12071
|
+
* Static version of the {@see toObject} method.
|
|
12072
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12073
|
+
* the JSPB instance for transitional soy proto support:
|
|
12074
|
+
* http://goto/soy-param-migration
|
|
12075
|
+
* @param {!proto.cms.UserBannerGameItem} msg The msg instance to transform.
|
|
12076
|
+
* @return {!Object}
|
|
12077
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12078
|
+
*/
|
|
12079
|
+
proto.cms.UserBannerGameItem.toObject = function(includeInstance, msg) {
|
|
12080
|
+
var f, obj = {
|
|
12081
|
+
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12082
|
+
image: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12083
|
+
gameSlug: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12084
|
+
providerSlug: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
12085
|
+
};
|
|
12086
|
+
|
|
12087
|
+
if (includeInstance) {
|
|
12088
|
+
obj.$jspbMessageInstance = msg;
|
|
12089
|
+
}
|
|
12090
|
+
return obj;
|
|
12091
|
+
};
|
|
12092
|
+
}
|
|
12093
|
+
|
|
12094
|
+
|
|
12095
|
+
/**
|
|
12096
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12097
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12098
|
+
* @return {!proto.cms.UserBannerGameItem}
|
|
12099
|
+
*/
|
|
12100
|
+
proto.cms.UserBannerGameItem.deserializeBinary = function(bytes) {
|
|
12101
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12102
|
+
var msg = new proto.cms.UserBannerGameItem;
|
|
12103
|
+
return proto.cms.UserBannerGameItem.deserializeBinaryFromReader(msg, reader);
|
|
12104
|
+
};
|
|
12105
|
+
|
|
12106
|
+
|
|
12107
|
+
/**
|
|
12108
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12109
|
+
* given reader into the given message object.
|
|
12110
|
+
* @param {!proto.cms.UserBannerGameItem} msg The message object to deserialize into.
|
|
12111
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12112
|
+
* @return {!proto.cms.UserBannerGameItem}
|
|
12113
|
+
*/
|
|
12114
|
+
proto.cms.UserBannerGameItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
12115
|
+
while (reader.nextField()) {
|
|
12116
|
+
if (reader.isEndGroup()) {
|
|
12117
|
+
break;
|
|
12118
|
+
}
|
|
12119
|
+
var field = reader.getFieldNumber();
|
|
12120
|
+
switch (field) {
|
|
12121
|
+
case 1:
|
|
12122
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12123
|
+
msg.setTitle(value);
|
|
12124
|
+
break;
|
|
12125
|
+
case 2:
|
|
12126
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12127
|
+
msg.setImage(value);
|
|
12128
|
+
break;
|
|
12129
|
+
case 3:
|
|
12130
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12131
|
+
msg.setGameSlug(value);
|
|
12132
|
+
break;
|
|
12133
|
+
case 4:
|
|
12134
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12135
|
+
msg.setProviderSlug(value);
|
|
12136
|
+
break;
|
|
12137
|
+
default:
|
|
12138
|
+
reader.skipField();
|
|
12139
|
+
break;
|
|
12140
|
+
}
|
|
12141
|
+
}
|
|
12142
|
+
return msg;
|
|
12143
|
+
};
|
|
12144
|
+
|
|
12145
|
+
|
|
12146
|
+
/**
|
|
12147
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12148
|
+
* @return {!Uint8Array}
|
|
12149
|
+
*/
|
|
12150
|
+
proto.cms.UserBannerGameItem.prototype.serializeBinary = function() {
|
|
12151
|
+
var writer = new jspb.BinaryWriter();
|
|
12152
|
+
proto.cms.UserBannerGameItem.serializeBinaryToWriter(this, writer);
|
|
12153
|
+
return writer.getResultBuffer();
|
|
12154
|
+
};
|
|
12155
|
+
|
|
12156
|
+
|
|
12157
|
+
/**
|
|
12158
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12159
|
+
* format), writing to the given BinaryWriter.
|
|
12160
|
+
* @param {!proto.cms.UserBannerGameItem} message
|
|
12161
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12162
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12163
|
+
*/
|
|
12164
|
+
proto.cms.UserBannerGameItem.serializeBinaryToWriter = function(message, writer) {
|
|
12165
|
+
var f = undefined;
|
|
12166
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
12167
|
+
if (f != null) {
|
|
12168
|
+
writer.writeString(
|
|
12169
|
+
1,
|
|
12170
|
+
f
|
|
12171
|
+
);
|
|
12172
|
+
}
|
|
12173
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
12174
|
+
if (f != null) {
|
|
12175
|
+
writer.writeString(
|
|
12176
|
+
2,
|
|
12177
|
+
f
|
|
12178
|
+
);
|
|
12179
|
+
}
|
|
12180
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
12181
|
+
if (f != null) {
|
|
12182
|
+
writer.writeString(
|
|
12183
|
+
3,
|
|
12184
|
+
f
|
|
12185
|
+
);
|
|
12186
|
+
}
|
|
12187
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
12188
|
+
if (f != null) {
|
|
12189
|
+
writer.writeString(
|
|
12190
|
+
4,
|
|
12191
|
+
f
|
|
12192
|
+
);
|
|
12193
|
+
}
|
|
12194
|
+
};
|
|
12195
|
+
|
|
12196
|
+
|
|
12197
|
+
/**
|
|
12198
|
+
* optional string title = 1;
|
|
12199
|
+
* @return {string}
|
|
12200
|
+
*/
|
|
12201
|
+
proto.cms.UserBannerGameItem.prototype.getTitle = function() {
|
|
12202
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
12203
|
+
};
|
|
12204
|
+
|
|
12205
|
+
|
|
12206
|
+
/**
|
|
12207
|
+
* @param {string} value
|
|
12208
|
+
* @return {!proto.cms.UserBannerGameItem} returns this
|
|
12209
|
+
*/
|
|
12210
|
+
proto.cms.UserBannerGameItem.prototype.setTitle = function(value) {
|
|
12211
|
+
return jspb.Message.setField(this, 1, value);
|
|
12212
|
+
};
|
|
12213
|
+
|
|
12214
|
+
|
|
12215
|
+
/**
|
|
12216
|
+
* Clears the field making it undefined.
|
|
12217
|
+
* @return {!proto.cms.UserBannerGameItem} returns this
|
|
12218
|
+
*/
|
|
12219
|
+
proto.cms.UserBannerGameItem.prototype.clearTitle = function() {
|
|
12220
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
12221
|
+
};
|
|
12222
|
+
|
|
12223
|
+
|
|
12224
|
+
/**
|
|
12225
|
+
* Returns whether this field is set.
|
|
12226
|
+
* @return {boolean}
|
|
12227
|
+
*/
|
|
12228
|
+
proto.cms.UserBannerGameItem.prototype.hasTitle = function() {
|
|
12229
|
+
return jspb.Message.getField(this, 1) != null;
|
|
12230
|
+
};
|
|
12231
|
+
|
|
12232
|
+
|
|
12233
|
+
/**
|
|
12234
|
+
* optional string image = 2;
|
|
12235
|
+
* @return {string}
|
|
12236
|
+
*/
|
|
12237
|
+
proto.cms.UserBannerGameItem.prototype.getImage = function() {
|
|
12238
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12239
|
+
};
|
|
12240
|
+
|
|
12241
|
+
|
|
12242
|
+
/**
|
|
12243
|
+
* @param {string} value
|
|
12244
|
+
* @return {!proto.cms.UserBannerGameItem} returns this
|
|
12245
|
+
*/
|
|
12246
|
+
proto.cms.UserBannerGameItem.prototype.setImage = function(value) {
|
|
12247
|
+
return jspb.Message.setField(this, 2, value);
|
|
12248
|
+
};
|
|
12249
|
+
|
|
12250
|
+
|
|
12251
|
+
/**
|
|
12252
|
+
* Clears the field making it undefined.
|
|
12253
|
+
* @return {!proto.cms.UserBannerGameItem} returns this
|
|
12254
|
+
*/
|
|
12255
|
+
proto.cms.UserBannerGameItem.prototype.clearImage = function() {
|
|
12256
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
12257
|
+
};
|
|
12258
|
+
|
|
12259
|
+
|
|
12260
|
+
/**
|
|
12261
|
+
* Returns whether this field is set.
|
|
12262
|
+
* @return {boolean}
|
|
12263
|
+
*/
|
|
12264
|
+
proto.cms.UserBannerGameItem.prototype.hasImage = function() {
|
|
12265
|
+
return jspb.Message.getField(this, 2) != null;
|
|
12266
|
+
};
|
|
12267
|
+
|
|
12268
|
+
|
|
12269
|
+
/**
|
|
12270
|
+
* optional string game_slug = 3;
|
|
12271
|
+
* @return {string}
|
|
12272
|
+
*/
|
|
12273
|
+
proto.cms.UserBannerGameItem.prototype.getGameSlug = function() {
|
|
12274
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
12275
|
+
};
|
|
12276
|
+
|
|
12277
|
+
|
|
12278
|
+
/**
|
|
12279
|
+
* @param {string} value
|
|
12280
|
+
* @return {!proto.cms.UserBannerGameItem} returns this
|
|
12281
|
+
*/
|
|
12282
|
+
proto.cms.UserBannerGameItem.prototype.setGameSlug = function(value) {
|
|
12283
|
+
return jspb.Message.setField(this, 3, value);
|
|
12284
|
+
};
|
|
12285
|
+
|
|
12286
|
+
|
|
12287
|
+
/**
|
|
12288
|
+
* Clears the field making it undefined.
|
|
12289
|
+
* @return {!proto.cms.UserBannerGameItem} returns this
|
|
12290
|
+
*/
|
|
12291
|
+
proto.cms.UserBannerGameItem.prototype.clearGameSlug = function() {
|
|
12292
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
12293
|
+
};
|
|
12294
|
+
|
|
12295
|
+
|
|
12296
|
+
/**
|
|
12297
|
+
* Returns whether this field is set.
|
|
12298
|
+
* @return {boolean}
|
|
12299
|
+
*/
|
|
12300
|
+
proto.cms.UserBannerGameItem.prototype.hasGameSlug = function() {
|
|
12301
|
+
return jspb.Message.getField(this, 3) != null;
|
|
12302
|
+
};
|
|
12303
|
+
|
|
12304
|
+
|
|
12305
|
+
/**
|
|
12306
|
+
* optional string provider_slug = 4;
|
|
12307
|
+
* @return {string}
|
|
12308
|
+
*/
|
|
12309
|
+
proto.cms.UserBannerGameItem.prototype.getProviderSlug = function() {
|
|
12310
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
12311
|
+
};
|
|
12312
|
+
|
|
12313
|
+
|
|
12314
|
+
/**
|
|
12315
|
+
* @param {string} value
|
|
12316
|
+
* @return {!proto.cms.UserBannerGameItem} returns this
|
|
12317
|
+
*/
|
|
12318
|
+
proto.cms.UserBannerGameItem.prototype.setProviderSlug = function(value) {
|
|
12319
|
+
return jspb.Message.setField(this, 4, value);
|
|
12320
|
+
};
|
|
12321
|
+
|
|
12322
|
+
|
|
12323
|
+
/**
|
|
12324
|
+
* Clears the field making it undefined.
|
|
12325
|
+
* @return {!proto.cms.UserBannerGameItem} returns this
|
|
12326
|
+
*/
|
|
12327
|
+
proto.cms.UserBannerGameItem.prototype.clearProviderSlug = function() {
|
|
12328
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
12329
|
+
};
|
|
12330
|
+
|
|
12331
|
+
|
|
12332
|
+
/**
|
|
12333
|
+
* Returns whether this field is set.
|
|
12334
|
+
* @return {boolean}
|
|
12335
|
+
*/
|
|
12336
|
+
proto.cms.UserBannerGameItem.prototype.hasProviderSlug = function() {
|
|
12337
|
+
return jspb.Message.getField(this, 4) != null;
|
|
12338
|
+
};
|
|
12339
|
+
|
|
12340
|
+
|
|
12341
|
+
|
|
12342
|
+
/**
|
|
12343
|
+
* List of repeated fields within this message type.
|
|
12344
|
+
* @private {!Array<number>}
|
|
12345
|
+
* @const
|
|
12346
|
+
*/
|
|
12347
|
+
proto.cms.UserBannerItem.repeatedFields_ = [13];
|
|
12348
|
+
|
|
12349
|
+
|
|
12350
|
+
|
|
11982
12351
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11983
12352
|
/**
|
|
11984
12353
|
* Creates an object representation of this proto.
|
|
@@ -12018,7 +12387,10 @@ proto.cms.UserBannerItem.toObject = function(includeInstance, msg) {
|
|
|
12018
12387
|
ctaType: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
12019
12388
|
ctaText: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
12020
12389
|
note: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
12021
|
-
cta: (f = msg.getCta()) && proto.cms.BannerCta.toObject(includeInstance, f)
|
|
12390
|
+
cta: (f = msg.getCta()) && proto.cms.BannerCta.toObject(includeInstance, f),
|
|
12391
|
+
type: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
12392
|
+
gamesList: jspb.Message.toObjectList(msg.getGamesList(),
|
|
12393
|
+
proto.cms.UserBannerGameItem.toObject, includeInstance)
|
|
12022
12394
|
};
|
|
12023
12395
|
|
|
12024
12396
|
if (includeInstance) {
|
|
@@ -12100,6 +12472,15 @@ proto.cms.UserBannerItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
12100
12472
|
reader.readMessage(value,proto.cms.BannerCta.deserializeBinaryFromReader);
|
|
12101
12473
|
msg.setCta(value);
|
|
12102
12474
|
break;
|
|
12475
|
+
case 12:
|
|
12476
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12477
|
+
msg.setType(value);
|
|
12478
|
+
break;
|
|
12479
|
+
case 13:
|
|
12480
|
+
var value = new proto.cms.UserBannerGameItem;
|
|
12481
|
+
reader.readMessage(value,proto.cms.UserBannerGameItem.deserializeBinaryFromReader);
|
|
12482
|
+
msg.addGames(value);
|
|
12483
|
+
break;
|
|
12103
12484
|
default:
|
|
12104
12485
|
reader.skipField();
|
|
12105
12486
|
break;
|
|
@@ -12207,6 +12588,21 @@ proto.cms.UserBannerItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
12207
12588
|
proto.cms.BannerCta.serializeBinaryToWriter
|
|
12208
12589
|
);
|
|
12209
12590
|
}
|
|
12591
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
12592
|
+
if (f != null) {
|
|
12593
|
+
writer.writeString(
|
|
12594
|
+
12,
|
|
12595
|
+
f
|
|
12596
|
+
);
|
|
12597
|
+
}
|
|
12598
|
+
f = message.getGamesList();
|
|
12599
|
+
if (f.length > 0) {
|
|
12600
|
+
writer.writeRepeatedMessage(
|
|
12601
|
+
13,
|
|
12602
|
+
f,
|
|
12603
|
+
proto.cms.UserBannerGameItem.serializeBinaryToWriter
|
|
12604
|
+
);
|
|
12605
|
+
}
|
|
12210
12606
|
};
|
|
12211
12607
|
|
|
12212
12608
|
|
|
@@ -12607,6 +13003,80 @@ proto.cms.UserBannerItem.prototype.hasCta = function() {
|
|
|
12607
13003
|
};
|
|
12608
13004
|
|
|
12609
13005
|
|
|
13006
|
+
/**
|
|
13007
|
+
* optional string type = 12;
|
|
13008
|
+
* @return {string}
|
|
13009
|
+
*/
|
|
13010
|
+
proto.cms.UserBannerItem.prototype.getType = function() {
|
|
13011
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
13012
|
+
};
|
|
13013
|
+
|
|
13014
|
+
|
|
13015
|
+
/**
|
|
13016
|
+
* @param {string} value
|
|
13017
|
+
* @return {!proto.cms.UserBannerItem} returns this
|
|
13018
|
+
*/
|
|
13019
|
+
proto.cms.UserBannerItem.prototype.setType = function(value) {
|
|
13020
|
+
return jspb.Message.setField(this, 12, value);
|
|
13021
|
+
};
|
|
13022
|
+
|
|
13023
|
+
|
|
13024
|
+
/**
|
|
13025
|
+
* Clears the field making it undefined.
|
|
13026
|
+
* @return {!proto.cms.UserBannerItem} returns this
|
|
13027
|
+
*/
|
|
13028
|
+
proto.cms.UserBannerItem.prototype.clearType = function() {
|
|
13029
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
13030
|
+
};
|
|
13031
|
+
|
|
13032
|
+
|
|
13033
|
+
/**
|
|
13034
|
+
* Returns whether this field is set.
|
|
13035
|
+
* @return {boolean}
|
|
13036
|
+
*/
|
|
13037
|
+
proto.cms.UserBannerItem.prototype.hasType = function() {
|
|
13038
|
+
return jspb.Message.getField(this, 12) != null;
|
|
13039
|
+
};
|
|
13040
|
+
|
|
13041
|
+
|
|
13042
|
+
/**
|
|
13043
|
+
* repeated UserBannerGameItem games = 13;
|
|
13044
|
+
* @return {!Array<!proto.cms.UserBannerGameItem>}
|
|
13045
|
+
*/
|
|
13046
|
+
proto.cms.UserBannerItem.prototype.getGamesList = function() {
|
|
13047
|
+
return /** @type{!Array<!proto.cms.UserBannerGameItem>} */ (
|
|
13048
|
+
jspb.Message.getRepeatedWrapperField(this, proto.cms.UserBannerGameItem, 13));
|
|
13049
|
+
};
|
|
13050
|
+
|
|
13051
|
+
|
|
13052
|
+
/**
|
|
13053
|
+
* @param {!Array<!proto.cms.UserBannerGameItem>} value
|
|
13054
|
+
* @return {!proto.cms.UserBannerItem} returns this
|
|
13055
|
+
*/
|
|
13056
|
+
proto.cms.UserBannerItem.prototype.setGamesList = function(value) {
|
|
13057
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
13058
|
+
};
|
|
13059
|
+
|
|
13060
|
+
|
|
13061
|
+
/**
|
|
13062
|
+
* @param {!proto.cms.UserBannerGameItem=} opt_value
|
|
13063
|
+
* @param {number=} opt_index
|
|
13064
|
+
* @return {!proto.cms.UserBannerGameItem}
|
|
13065
|
+
*/
|
|
13066
|
+
proto.cms.UserBannerItem.prototype.addGames = function(opt_value, opt_index) {
|
|
13067
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.cms.UserBannerGameItem, opt_index);
|
|
13068
|
+
};
|
|
13069
|
+
|
|
13070
|
+
|
|
13071
|
+
/**
|
|
13072
|
+
* Clears the list making it empty but non-null.
|
|
13073
|
+
* @return {!proto.cms.UserBannerItem} returns this
|
|
13074
|
+
*/
|
|
13075
|
+
proto.cms.UserBannerItem.prototype.clearGamesList = function() {
|
|
13076
|
+
return this.setGamesList([]);
|
|
13077
|
+
};
|
|
13078
|
+
|
|
13079
|
+
|
|
12610
13080
|
|
|
12611
13081
|
/**
|
|
12612
13082
|
* List of repeated fields within this message type.
|