protobuf-platform 1.2.299 → 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/cms/cms.proto +6 -0
- package/cms/cms_pb.js +318 -1
- package/package.json +1 -1
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.
|