protobuf-platform 1.2.308 → 1.2.310
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 +8 -0
- package/cms/cms_pb.js +389 -5
- package/game/game.proto +11 -0
- package/game/game_grpc_pb.js +33 -0
- package/game/game_pb.js +442 -0
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
|
@@ -501,6 +501,8 @@ message PromoItemRequest {
|
|
|
501
501
|
optional int32 is_active = 6;
|
|
502
502
|
optional string started_at = 7;
|
|
503
503
|
optional string finished_at = 8;
|
|
504
|
+
optional string type = 9;
|
|
505
|
+
optional string promo_label = 10;
|
|
504
506
|
}
|
|
505
507
|
message PromoItem {
|
|
506
508
|
optional int32 id = 1;
|
|
@@ -516,6 +518,9 @@ message PromoItem {
|
|
|
516
518
|
optional string image_small = 11;
|
|
517
519
|
optional string image_small_cdn = 12;
|
|
518
520
|
repeated TranslationItem translations = 13;
|
|
521
|
+
optional string type = 14;
|
|
522
|
+
optional string promo_label = 15;
|
|
523
|
+
optional int64 finished_in_milliseconds = 16;
|
|
519
524
|
}
|
|
520
525
|
message PromoResponse {
|
|
521
526
|
PromoItem data = 1;
|
|
@@ -541,6 +546,7 @@ message PromoTranslationRequest {
|
|
|
541
546
|
optional string title = 4;
|
|
542
547
|
optional string content = 5;
|
|
543
548
|
optional int32 is_active = 6;
|
|
549
|
+
optional string promo_label = 7;
|
|
544
550
|
}
|
|
545
551
|
message GetPromoTranslationRequest {
|
|
546
552
|
int32 promo_id = 1;
|
|
@@ -551,6 +557,7 @@ message PromoTranslationResponse {
|
|
|
551
557
|
optional string title = 1;
|
|
552
558
|
optional string content = 2;
|
|
553
559
|
optional bool is_active = 3;
|
|
560
|
+
optional string promo_label = 4;
|
|
554
561
|
}
|
|
555
562
|
//Game Widget CRUD
|
|
556
563
|
message GameWidgetRequest {
|
|
@@ -631,6 +638,7 @@ message TranslationItem {
|
|
|
631
638
|
optional string title = 3;
|
|
632
639
|
optional string content = 4;
|
|
633
640
|
optional bool is_active = 5;
|
|
641
|
+
optional string promo_label = 6;
|
|
634
642
|
}
|
|
635
643
|
// ===== Footer: Partners CRUD (files-only uploads) =====
|
|
636
644
|
|
package/cms/cms_pb.js
CHANGED
|
@@ -20575,7 +20575,9 @@ proto.cms.PromoItemRequest.toObject = function(includeInstance, msg) {
|
|
|
20575
20575
|
anchor: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
20576
20576
|
isActive: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
20577
20577
|
startedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
20578
|
-
finishedAt: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
20578
|
+
finishedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
20579
|
+
type: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
20580
|
+
promoLabel: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
20579
20581
|
};
|
|
20580
20582
|
|
|
20581
20583
|
if (includeInstance) {
|
|
@@ -20644,6 +20646,14 @@ proto.cms.PromoItemRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
20644
20646
|
var value = /** @type {string} */ (reader.readString());
|
|
20645
20647
|
msg.setFinishedAt(value);
|
|
20646
20648
|
break;
|
|
20649
|
+
case 9:
|
|
20650
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20651
|
+
msg.setType(value);
|
|
20652
|
+
break;
|
|
20653
|
+
case 10:
|
|
20654
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20655
|
+
msg.setPromoLabel(value);
|
|
20656
|
+
break;
|
|
20647
20657
|
default:
|
|
20648
20658
|
reader.skipField();
|
|
20649
20659
|
break;
|
|
@@ -20729,6 +20739,20 @@ proto.cms.PromoItemRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
20729
20739
|
f
|
|
20730
20740
|
);
|
|
20731
20741
|
}
|
|
20742
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
20743
|
+
if (f != null) {
|
|
20744
|
+
writer.writeString(
|
|
20745
|
+
9,
|
|
20746
|
+
f
|
|
20747
|
+
);
|
|
20748
|
+
}
|
|
20749
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
20750
|
+
if (f != null) {
|
|
20751
|
+
writer.writeString(
|
|
20752
|
+
10,
|
|
20753
|
+
f
|
|
20754
|
+
);
|
|
20755
|
+
}
|
|
20732
20756
|
};
|
|
20733
20757
|
|
|
20734
20758
|
|
|
@@ -21020,6 +21044,78 @@ proto.cms.PromoItemRequest.prototype.hasFinishedAt = function() {
|
|
|
21020
21044
|
};
|
|
21021
21045
|
|
|
21022
21046
|
|
|
21047
|
+
/**
|
|
21048
|
+
* optional string type = 9;
|
|
21049
|
+
* @return {string}
|
|
21050
|
+
*/
|
|
21051
|
+
proto.cms.PromoItemRequest.prototype.getType = function() {
|
|
21052
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
21053
|
+
};
|
|
21054
|
+
|
|
21055
|
+
|
|
21056
|
+
/**
|
|
21057
|
+
* @param {string} value
|
|
21058
|
+
* @return {!proto.cms.PromoItemRequest} returns this
|
|
21059
|
+
*/
|
|
21060
|
+
proto.cms.PromoItemRequest.prototype.setType = function(value) {
|
|
21061
|
+
return jspb.Message.setField(this, 9, value);
|
|
21062
|
+
};
|
|
21063
|
+
|
|
21064
|
+
|
|
21065
|
+
/**
|
|
21066
|
+
* Clears the field making it undefined.
|
|
21067
|
+
* @return {!proto.cms.PromoItemRequest} returns this
|
|
21068
|
+
*/
|
|
21069
|
+
proto.cms.PromoItemRequest.prototype.clearType = function() {
|
|
21070
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
21071
|
+
};
|
|
21072
|
+
|
|
21073
|
+
|
|
21074
|
+
/**
|
|
21075
|
+
* Returns whether this field is set.
|
|
21076
|
+
* @return {boolean}
|
|
21077
|
+
*/
|
|
21078
|
+
proto.cms.PromoItemRequest.prototype.hasType = function() {
|
|
21079
|
+
return jspb.Message.getField(this, 9) != null;
|
|
21080
|
+
};
|
|
21081
|
+
|
|
21082
|
+
|
|
21083
|
+
/**
|
|
21084
|
+
* optional string promo_label = 10;
|
|
21085
|
+
* @return {string}
|
|
21086
|
+
*/
|
|
21087
|
+
proto.cms.PromoItemRequest.prototype.getPromoLabel = function() {
|
|
21088
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
21089
|
+
};
|
|
21090
|
+
|
|
21091
|
+
|
|
21092
|
+
/**
|
|
21093
|
+
* @param {string} value
|
|
21094
|
+
* @return {!proto.cms.PromoItemRequest} returns this
|
|
21095
|
+
*/
|
|
21096
|
+
proto.cms.PromoItemRequest.prototype.setPromoLabel = function(value) {
|
|
21097
|
+
return jspb.Message.setField(this, 10, value);
|
|
21098
|
+
};
|
|
21099
|
+
|
|
21100
|
+
|
|
21101
|
+
/**
|
|
21102
|
+
* Clears the field making it undefined.
|
|
21103
|
+
* @return {!proto.cms.PromoItemRequest} returns this
|
|
21104
|
+
*/
|
|
21105
|
+
proto.cms.PromoItemRequest.prototype.clearPromoLabel = function() {
|
|
21106
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
21107
|
+
};
|
|
21108
|
+
|
|
21109
|
+
|
|
21110
|
+
/**
|
|
21111
|
+
* Returns whether this field is set.
|
|
21112
|
+
* @return {boolean}
|
|
21113
|
+
*/
|
|
21114
|
+
proto.cms.PromoItemRequest.prototype.hasPromoLabel = function() {
|
|
21115
|
+
return jspb.Message.getField(this, 10) != null;
|
|
21116
|
+
};
|
|
21117
|
+
|
|
21118
|
+
|
|
21023
21119
|
|
|
21024
21120
|
/**
|
|
21025
21121
|
* List of repeated fields within this message type.
|
|
@@ -21072,7 +21168,10 @@ proto.cms.PromoItem.toObject = function(includeInstance, msg) {
|
|
|
21072
21168
|
imageSmall: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
21073
21169
|
imageSmallCdn: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
21074
21170
|
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
21075
|
-
proto.cms.TranslationItem.toObject, includeInstance)
|
|
21171
|
+
proto.cms.TranslationItem.toObject, includeInstance),
|
|
21172
|
+
type: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
21173
|
+
promoLabel: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
21174
|
+
finishedInMilliseconds: jspb.Message.getFieldWithDefault(msg, 16, 0)
|
|
21076
21175
|
};
|
|
21077
21176
|
|
|
21078
21177
|
if (includeInstance) {
|
|
@@ -21162,6 +21261,18 @@ proto.cms.PromoItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
21162
21261
|
reader.readMessage(value,proto.cms.TranslationItem.deserializeBinaryFromReader);
|
|
21163
21262
|
msg.addTranslations(value);
|
|
21164
21263
|
break;
|
|
21264
|
+
case 14:
|
|
21265
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21266
|
+
msg.setType(value);
|
|
21267
|
+
break;
|
|
21268
|
+
case 15:
|
|
21269
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21270
|
+
msg.setPromoLabel(value);
|
|
21271
|
+
break;
|
|
21272
|
+
case 16:
|
|
21273
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
21274
|
+
msg.setFinishedInMilliseconds(value);
|
|
21275
|
+
break;
|
|
21165
21276
|
default:
|
|
21166
21277
|
reader.skipField();
|
|
21167
21278
|
break;
|
|
@@ -21283,6 +21394,27 @@ proto.cms.PromoItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
21283
21394
|
proto.cms.TranslationItem.serializeBinaryToWriter
|
|
21284
21395
|
);
|
|
21285
21396
|
}
|
|
21397
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
21398
|
+
if (f != null) {
|
|
21399
|
+
writer.writeString(
|
|
21400
|
+
14,
|
|
21401
|
+
f
|
|
21402
|
+
);
|
|
21403
|
+
}
|
|
21404
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
|
21405
|
+
if (f != null) {
|
|
21406
|
+
writer.writeString(
|
|
21407
|
+
15,
|
|
21408
|
+
f
|
|
21409
|
+
);
|
|
21410
|
+
}
|
|
21411
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 16));
|
|
21412
|
+
if (f != null) {
|
|
21413
|
+
writer.writeInt64(
|
|
21414
|
+
16,
|
|
21415
|
+
f
|
|
21416
|
+
);
|
|
21417
|
+
}
|
|
21286
21418
|
};
|
|
21287
21419
|
|
|
21288
21420
|
|
|
@@ -21756,6 +21888,114 @@ proto.cms.PromoItem.prototype.clearTranslationsList = function() {
|
|
|
21756
21888
|
};
|
|
21757
21889
|
|
|
21758
21890
|
|
|
21891
|
+
/**
|
|
21892
|
+
* optional string type = 14;
|
|
21893
|
+
* @return {string}
|
|
21894
|
+
*/
|
|
21895
|
+
proto.cms.PromoItem.prototype.getType = function() {
|
|
21896
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
21897
|
+
};
|
|
21898
|
+
|
|
21899
|
+
|
|
21900
|
+
/**
|
|
21901
|
+
* @param {string} value
|
|
21902
|
+
* @return {!proto.cms.PromoItem} returns this
|
|
21903
|
+
*/
|
|
21904
|
+
proto.cms.PromoItem.prototype.setType = function(value) {
|
|
21905
|
+
return jspb.Message.setField(this, 14, value);
|
|
21906
|
+
};
|
|
21907
|
+
|
|
21908
|
+
|
|
21909
|
+
/**
|
|
21910
|
+
* Clears the field making it undefined.
|
|
21911
|
+
* @return {!proto.cms.PromoItem} returns this
|
|
21912
|
+
*/
|
|
21913
|
+
proto.cms.PromoItem.prototype.clearType = function() {
|
|
21914
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
21915
|
+
};
|
|
21916
|
+
|
|
21917
|
+
|
|
21918
|
+
/**
|
|
21919
|
+
* Returns whether this field is set.
|
|
21920
|
+
* @return {boolean}
|
|
21921
|
+
*/
|
|
21922
|
+
proto.cms.PromoItem.prototype.hasType = function() {
|
|
21923
|
+
return jspb.Message.getField(this, 14) != null;
|
|
21924
|
+
};
|
|
21925
|
+
|
|
21926
|
+
|
|
21927
|
+
/**
|
|
21928
|
+
* optional string promo_label = 15;
|
|
21929
|
+
* @return {string}
|
|
21930
|
+
*/
|
|
21931
|
+
proto.cms.PromoItem.prototype.getPromoLabel = function() {
|
|
21932
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
21933
|
+
};
|
|
21934
|
+
|
|
21935
|
+
|
|
21936
|
+
/**
|
|
21937
|
+
* @param {string} value
|
|
21938
|
+
* @return {!proto.cms.PromoItem} returns this
|
|
21939
|
+
*/
|
|
21940
|
+
proto.cms.PromoItem.prototype.setPromoLabel = function(value) {
|
|
21941
|
+
return jspb.Message.setField(this, 15, value);
|
|
21942
|
+
};
|
|
21943
|
+
|
|
21944
|
+
|
|
21945
|
+
/**
|
|
21946
|
+
* Clears the field making it undefined.
|
|
21947
|
+
* @return {!proto.cms.PromoItem} returns this
|
|
21948
|
+
*/
|
|
21949
|
+
proto.cms.PromoItem.prototype.clearPromoLabel = function() {
|
|
21950
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
21951
|
+
};
|
|
21952
|
+
|
|
21953
|
+
|
|
21954
|
+
/**
|
|
21955
|
+
* Returns whether this field is set.
|
|
21956
|
+
* @return {boolean}
|
|
21957
|
+
*/
|
|
21958
|
+
proto.cms.PromoItem.prototype.hasPromoLabel = function() {
|
|
21959
|
+
return jspb.Message.getField(this, 15) != null;
|
|
21960
|
+
};
|
|
21961
|
+
|
|
21962
|
+
|
|
21963
|
+
/**
|
|
21964
|
+
* optional int64 finished_in_milliseconds = 16;
|
|
21965
|
+
* @return {number}
|
|
21966
|
+
*/
|
|
21967
|
+
proto.cms.PromoItem.prototype.getFinishedInMilliseconds = function() {
|
|
21968
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
21969
|
+
};
|
|
21970
|
+
|
|
21971
|
+
|
|
21972
|
+
/**
|
|
21973
|
+
* @param {number} value
|
|
21974
|
+
* @return {!proto.cms.PromoItem} returns this
|
|
21975
|
+
*/
|
|
21976
|
+
proto.cms.PromoItem.prototype.setFinishedInMilliseconds = function(value) {
|
|
21977
|
+
return jspb.Message.setField(this, 16, value);
|
|
21978
|
+
};
|
|
21979
|
+
|
|
21980
|
+
|
|
21981
|
+
/**
|
|
21982
|
+
* Clears the field making it undefined.
|
|
21983
|
+
* @return {!proto.cms.PromoItem} returns this
|
|
21984
|
+
*/
|
|
21985
|
+
proto.cms.PromoItem.prototype.clearFinishedInMilliseconds = function() {
|
|
21986
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
21987
|
+
};
|
|
21988
|
+
|
|
21989
|
+
|
|
21990
|
+
/**
|
|
21991
|
+
* Returns whether this field is set.
|
|
21992
|
+
* @return {boolean}
|
|
21993
|
+
*/
|
|
21994
|
+
proto.cms.PromoItem.prototype.hasFinishedInMilliseconds = function() {
|
|
21995
|
+
return jspb.Message.getField(this, 16) != null;
|
|
21996
|
+
};
|
|
21997
|
+
|
|
21998
|
+
|
|
21759
21999
|
|
|
21760
22000
|
|
|
21761
22001
|
|
|
@@ -22622,7 +22862,8 @@ proto.cms.PromoTranslationRequest.toObject = function(includeInstance, msg) {
|
|
|
22622
22862
|
locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
22623
22863
|
title: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
22624
22864
|
content: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
22625
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
22865
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
22866
|
+
promoLabel: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
22626
22867
|
};
|
|
22627
22868
|
|
|
22628
22869
|
if (includeInstance) {
|
|
@@ -22683,6 +22924,10 @@ proto.cms.PromoTranslationRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
22683
22924
|
var value = /** @type {number} */ (reader.readInt32());
|
|
22684
22925
|
msg.setIsActive(value);
|
|
22685
22926
|
break;
|
|
22927
|
+
case 7:
|
|
22928
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22929
|
+
msg.setPromoLabel(value);
|
|
22930
|
+
break;
|
|
22686
22931
|
default:
|
|
22687
22932
|
reader.skipField();
|
|
22688
22933
|
break;
|
|
@@ -22754,6 +22999,13 @@ proto.cms.PromoTranslationRequest.serializeBinaryToWriter = function(message, wr
|
|
|
22754
22999
|
f
|
|
22755
23000
|
);
|
|
22756
23001
|
}
|
|
23002
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
23003
|
+
if (f != null) {
|
|
23004
|
+
writer.writeString(
|
|
23005
|
+
7,
|
|
23006
|
+
f
|
|
23007
|
+
);
|
|
23008
|
+
}
|
|
22757
23009
|
};
|
|
22758
23010
|
|
|
22759
23011
|
|
|
@@ -22919,6 +23171,42 @@ proto.cms.PromoTranslationRequest.prototype.hasIsActive = function() {
|
|
|
22919
23171
|
};
|
|
22920
23172
|
|
|
22921
23173
|
|
|
23174
|
+
/**
|
|
23175
|
+
* optional string promo_label = 7;
|
|
23176
|
+
* @return {string}
|
|
23177
|
+
*/
|
|
23178
|
+
proto.cms.PromoTranslationRequest.prototype.getPromoLabel = function() {
|
|
23179
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
23180
|
+
};
|
|
23181
|
+
|
|
23182
|
+
|
|
23183
|
+
/**
|
|
23184
|
+
* @param {string} value
|
|
23185
|
+
* @return {!proto.cms.PromoTranslationRequest} returns this
|
|
23186
|
+
*/
|
|
23187
|
+
proto.cms.PromoTranslationRequest.prototype.setPromoLabel = function(value) {
|
|
23188
|
+
return jspb.Message.setField(this, 7, value);
|
|
23189
|
+
};
|
|
23190
|
+
|
|
23191
|
+
|
|
23192
|
+
/**
|
|
23193
|
+
* Clears the field making it undefined.
|
|
23194
|
+
* @return {!proto.cms.PromoTranslationRequest} returns this
|
|
23195
|
+
*/
|
|
23196
|
+
proto.cms.PromoTranslationRequest.prototype.clearPromoLabel = function() {
|
|
23197
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
23198
|
+
};
|
|
23199
|
+
|
|
23200
|
+
|
|
23201
|
+
/**
|
|
23202
|
+
* Returns whether this field is set.
|
|
23203
|
+
* @return {boolean}
|
|
23204
|
+
*/
|
|
23205
|
+
proto.cms.PromoTranslationRequest.prototype.hasPromoLabel = function() {
|
|
23206
|
+
return jspb.Message.getField(this, 7) != null;
|
|
23207
|
+
};
|
|
23208
|
+
|
|
23209
|
+
|
|
22922
23210
|
|
|
22923
23211
|
|
|
22924
23212
|
|
|
@@ -23143,7 +23431,8 @@ proto.cms.PromoTranslationResponse.toObject = function(includeInstance, msg) {
|
|
|
23143
23431
|
var f, obj = {
|
|
23144
23432
|
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
23145
23433
|
content: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
23146
|
-
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
23434
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
23435
|
+
promoLabel: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
23147
23436
|
};
|
|
23148
23437
|
|
|
23149
23438
|
if (includeInstance) {
|
|
@@ -23192,6 +23481,10 @@ proto.cms.PromoTranslationResponse.deserializeBinaryFromReader = function(msg, r
|
|
|
23192
23481
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
23193
23482
|
msg.setIsActive(value);
|
|
23194
23483
|
break;
|
|
23484
|
+
case 4:
|
|
23485
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23486
|
+
msg.setPromoLabel(value);
|
|
23487
|
+
break;
|
|
23195
23488
|
default:
|
|
23196
23489
|
reader.skipField();
|
|
23197
23490
|
break;
|
|
@@ -23242,6 +23535,13 @@ proto.cms.PromoTranslationResponse.serializeBinaryToWriter = function(message, w
|
|
|
23242
23535
|
f
|
|
23243
23536
|
);
|
|
23244
23537
|
}
|
|
23538
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
23539
|
+
if (f != null) {
|
|
23540
|
+
writer.writeString(
|
|
23541
|
+
4,
|
|
23542
|
+
f
|
|
23543
|
+
);
|
|
23544
|
+
}
|
|
23245
23545
|
};
|
|
23246
23546
|
|
|
23247
23547
|
|
|
@@ -23353,6 +23653,42 @@ proto.cms.PromoTranslationResponse.prototype.hasIsActive = function() {
|
|
|
23353
23653
|
};
|
|
23354
23654
|
|
|
23355
23655
|
|
|
23656
|
+
/**
|
|
23657
|
+
* optional string promo_label = 4;
|
|
23658
|
+
* @return {string}
|
|
23659
|
+
*/
|
|
23660
|
+
proto.cms.PromoTranslationResponse.prototype.getPromoLabel = function() {
|
|
23661
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
23662
|
+
};
|
|
23663
|
+
|
|
23664
|
+
|
|
23665
|
+
/**
|
|
23666
|
+
* @param {string} value
|
|
23667
|
+
* @return {!proto.cms.PromoTranslationResponse} returns this
|
|
23668
|
+
*/
|
|
23669
|
+
proto.cms.PromoTranslationResponse.prototype.setPromoLabel = function(value) {
|
|
23670
|
+
return jspb.Message.setField(this, 4, value);
|
|
23671
|
+
};
|
|
23672
|
+
|
|
23673
|
+
|
|
23674
|
+
/**
|
|
23675
|
+
* Clears the field making it undefined.
|
|
23676
|
+
* @return {!proto.cms.PromoTranslationResponse} returns this
|
|
23677
|
+
*/
|
|
23678
|
+
proto.cms.PromoTranslationResponse.prototype.clearPromoLabel = function() {
|
|
23679
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
23680
|
+
};
|
|
23681
|
+
|
|
23682
|
+
|
|
23683
|
+
/**
|
|
23684
|
+
* Returns whether this field is set.
|
|
23685
|
+
* @return {boolean}
|
|
23686
|
+
*/
|
|
23687
|
+
proto.cms.PromoTranslationResponse.prototype.hasPromoLabel = function() {
|
|
23688
|
+
return jspb.Message.getField(this, 4) != null;
|
|
23689
|
+
};
|
|
23690
|
+
|
|
23691
|
+
|
|
23356
23692
|
|
|
23357
23693
|
/**
|
|
23358
23694
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -26635,7 +26971,8 @@ proto.cms.TranslationItem.toObject = function(includeInstance, msg) {
|
|
|
26635
26971
|
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
26636
26972
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
26637
26973
|
content: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
26638
|
-
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
26974
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
26975
|
+
promoLabel: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
26639
26976
|
};
|
|
26640
26977
|
|
|
26641
26978
|
if (includeInstance) {
|
|
@@ -26692,6 +27029,10 @@ proto.cms.TranslationItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
26692
27029
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
26693
27030
|
msg.setIsActive(value);
|
|
26694
27031
|
break;
|
|
27032
|
+
case 6:
|
|
27033
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27034
|
+
msg.setPromoLabel(value);
|
|
27035
|
+
break;
|
|
26695
27036
|
default:
|
|
26696
27037
|
reader.skipField();
|
|
26697
27038
|
break;
|
|
@@ -26756,6 +27097,13 @@ proto.cms.TranslationItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
26756
27097
|
f
|
|
26757
27098
|
);
|
|
26758
27099
|
}
|
|
27100
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
27101
|
+
if (f != null) {
|
|
27102
|
+
writer.writeString(
|
|
27103
|
+
6,
|
|
27104
|
+
f
|
|
27105
|
+
);
|
|
27106
|
+
}
|
|
26759
27107
|
};
|
|
26760
27108
|
|
|
26761
27109
|
|
|
@@ -26939,6 +27287,42 @@ proto.cms.TranslationItem.prototype.hasIsActive = function() {
|
|
|
26939
27287
|
};
|
|
26940
27288
|
|
|
26941
27289
|
|
|
27290
|
+
/**
|
|
27291
|
+
* optional string promo_label = 6;
|
|
27292
|
+
* @return {string}
|
|
27293
|
+
*/
|
|
27294
|
+
proto.cms.TranslationItem.prototype.getPromoLabel = function() {
|
|
27295
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
27296
|
+
};
|
|
27297
|
+
|
|
27298
|
+
|
|
27299
|
+
/**
|
|
27300
|
+
* @param {string} value
|
|
27301
|
+
* @return {!proto.cms.TranslationItem} returns this
|
|
27302
|
+
*/
|
|
27303
|
+
proto.cms.TranslationItem.prototype.setPromoLabel = function(value) {
|
|
27304
|
+
return jspb.Message.setField(this, 6, value);
|
|
27305
|
+
};
|
|
27306
|
+
|
|
27307
|
+
|
|
27308
|
+
/**
|
|
27309
|
+
* Clears the field making it undefined.
|
|
27310
|
+
* @return {!proto.cms.TranslationItem} returns this
|
|
27311
|
+
*/
|
|
27312
|
+
proto.cms.TranslationItem.prototype.clearPromoLabel = function() {
|
|
27313
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
27314
|
+
};
|
|
27315
|
+
|
|
27316
|
+
|
|
27317
|
+
/**
|
|
27318
|
+
* Returns whether this field is set.
|
|
27319
|
+
* @return {boolean}
|
|
27320
|
+
*/
|
|
27321
|
+
proto.cms.TranslationItem.prototype.hasPromoLabel = function() {
|
|
27322
|
+
return jspb.Message.getField(this, 6) != null;
|
|
27323
|
+
};
|
|
27324
|
+
|
|
27325
|
+
|
|
26942
27326
|
|
|
26943
27327
|
/**
|
|
26944
27328
|
* Oneof group definitions for this message. Each group defines the field
|
package/game/game.proto
CHANGED
|
@@ -44,6 +44,7 @@ service Game {
|
|
|
44
44
|
rpc readListProviders(PaginationRequest) returns (ProviderItemsResponse);
|
|
45
45
|
rpc updateProvidersInBunch(ItemsBunchRequest) returns (ProviderStatusResponse);
|
|
46
46
|
rpc syncProvidersImages(SyncImagesRequest) returns (ProviderStatusResponse);
|
|
47
|
+
rpc normalizeDuplicateProviders(NormalizeDuplicateProvidersRequest) returns (NormalizeDuplicateProvidersResponse);
|
|
47
48
|
//Games
|
|
48
49
|
rpc parseGames(ParseGamesRequest) returns (ParseGamesResponse);
|
|
49
50
|
rpc readSingleGame(GetGameRequest) returns (GameResponse);
|
|
@@ -415,6 +416,16 @@ message ProviderItemsResponse {
|
|
|
415
416
|
message ProviderStatusResponse {
|
|
416
417
|
string status = 1;
|
|
417
418
|
}
|
|
419
|
+
message NormalizeDuplicateProvidersRequest {
|
|
420
|
+
optional bool dry_run = 1;
|
|
421
|
+
}
|
|
422
|
+
message NormalizeDuplicateProvidersResponse {
|
|
423
|
+
bool dry_run = 1;
|
|
424
|
+
int32 groups_checked = 2;
|
|
425
|
+
int32 groups_matched = 3;
|
|
426
|
+
int32 providers_updated = 4;
|
|
427
|
+
int32 providers_skipped = 5;
|
|
428
|
+
}
|
|
418
429
|
|
|
419
430
|
//Games Common
|
|
420
431
|
message ParseGamesRequest { string vendor = 1; }
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -664,6 +664,28 @@ function deserialize_game_ItemsBunchRequest(buffer_arg) {
|
|
|
664
664
|
return game_pb.ItemsBunchRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
+
function serialize_game_NormalizeDuplicateProvidersRequest(arg) {
|
|
668
|
+
if (!(arg instanceof game_pb.NormalizeDuplicateProvidersRequest)) {
|
|
669
|
+
throw new Error('Expected argument of type game.NormalizeDuplicateProvidersRequest');
|
|
670
|
+
}
|
|
671
|
+
return Buffer.from(arg.serializeBinary());
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
function deserialize_game_NormalizeDuplicateProvidersRequest(buffer_arg) {
|
|
675
|
+
return game_pb.NormalizeDuplicateProvidersRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
function serialize_game_NormalizeDuplicateProvidersResponse(arg) {
|
|
679
|
+
if (!(arg instanceof game_pb.NormalizeDuplicateProvidersResponse)) {
|
|
680
|
+
throw new Error('Expected argument of type game.NormalizeDuplicateProvidersResponse');
|
|
681
|
+
}
|
|
682
|
+
return Buffer.from(arg.serializeBinary());
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
function deserialize_game_NormalizeDuplicateProvidersResponse(buffer_arg) {
|
|
686
|
+
return game_pb.NormalizeDuplicateProvidersResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
687
|
+
}
|
|
688
|
+
|
|
667
689
|
function serialize_game_PaginationRequest(arg) {
|
|
668
690
|
if (!(arg instanceof game_pb.PaginationRequest)) {
|
|
669
691
|
throw new Error('Expected argument of type game.PaginationRequest');
|
|
@@ -1519,6 +1541,17 @@ createSingleProvider: {
|
|
|
1519
1541
|
responseSerialize: serialize_game_ProviderStatusResponse,
|
|
1520
1542
|
responseDeserialize: deserialize_game_ProviderStatusResponse,
|
|
1521
1543
|
},
|
|
1544
|
+
normalizeDuplicateProviders: {
|
|
1545
|
+
path: '/game.Game/normalizeDuplicateProviders',
|
|
1546
|
+
requestStream: false,
|
|
1547
|
+
responseStream: false,
|
|
1548
|
+
requestType: game_pb.NormalizeDuplicateProvidersRequest,
|
|
1549
|
+
responseType: game_pb.NormalizeDuplicateProvidersResponse,
|
|
1550
|
+
requestSerialize: serialize_game_NormalizeDuplicateProvidersRequest,
|
|
1551
|
+
requestDeserialize: deserialize_game_NormalizeDuplicateProvidersRequest,
|
|
1552
|
+
responseSerialize: serialize_game_NormalizeDuplicateProvidersResponse,
|
|
1553
|
+
responseDeserialize: deserialize_game_NormalizeDuplicateProvidersResponse,
|
|
1554
|
+
},
|
|
1522
1555
|
// Games
|
|
1523
1556
|
parseGames: {
|
|
1524
1557
|
path: '/game.Game/parseGames',
|
package/game/game_pb.js
CHANGED
|
@@ -105,6 +105,8 @@ goog.exportSymbol('proto.game.IntegratorSelfValidationResponse', null, global);
|
|
|
105
105
|
goog.exportSymbol('proto.game.IntegratorSettingsRequest', null, global);
|
|
106
106
|
goog.exportSymbol('proto.game.IntegratorSettingsResponse', null, global);
|
|
107
107
|
goog.exportSymbol('proto.game.ItemsBunchRequest', null, global);
|
|
108
|
+
goog.exportSymbol('proto.game.NormalizeDuplicateProvidersRequest', null, global);
|
|
109
|
+
goog.exportSymbol('proto.game.NormalizeDuplicateProvidersResponse', null, global);
|
|
108
110
|
goog.exportSymbol('proto.game.PaginationRequest', null, global);
|
|
109
111
|
goog.exportSymbol('proto.game.ParseGameImagesForAllInboundRequest', null, global);
|
|
110
112
|
goog.exportSymbol('proto.game.ParseGameImagesForProviderRequest', null, global);
|
|
@@ -1190,6 +1192,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1190
1192
|
*/
|
|
1191
1193
|
proto.game.ProviderStatusResponse.displayName = 'proto.game.ProviderStatusResponse';
|
|
1192
1194
|
}
|
|
1195
|
+
/**
|
|
1196
|
+
* Generated by JsPbCodeGenerator.
|
|
1197
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1198
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1199
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1200
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1201
|
+
* valid.
|
|
1202
|
+
* @extends {jspb.Message}
|
|
1203
|
+
* @constructor
|
|
1204
|
+
*/
|
|
1205
|
+
proto.game.NormalizeDuplicateProvidersRequest = function(opt_data) {
|
|
1206
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1207
|
+
};
|
|
1208
|
+
goog.inherits(proto.game.NormalizeDuplicateProvidersRequest, jspb.Message);
|
|
1209
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1210
|
+
/**
|
|
1211
|
+
* @public
|
|
1212
|
+
* @override
|
|
1213
|
+
*/
|
|
1214
|
+
proto.game.NormalizeDuplicateProvidersRequest.displayName = 'proto.game.NormalizeDuplicateProvidersRequest';
|
|
1215
|
+
}
|
|
1216
|
+
/**
|
|
1217
|
+
* Generated by JsPbCodeGenerator.
|
|
1218
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1219
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1220
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1221
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1222
|
+
* valid.
|
|
1223
|
+
* @extends {jspb.Message}
|
|
1224
|
+
* @constructor
|
|
1225
|
+
*/
|
|
1226
|
+
proto.game.NormalizeDuplicateProvidersResponse = function(opt_data) {
|
|
1227
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1228
|
+
};
|
|
1229
|
+
goog.inherits(proto.game.NormalizeDuplicateProvidersResponse, jspb.Message);
|
|
1230
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1231
|
+
/**
|
|
1232
|
+
* @public
|
|
1233
|
+
* @override
|
|
1234
|
+
*/
|
|
1235
|
+
proto.game.NormalizeDuplicateProvidersResponse.displayName = 'proto.game.NormalizeDuplicateProvidersResponse';
|
|
1236
|
+
}
|
|
1193
1237
|
/**
|
|
1194
1238
|
* Generated by JsPbCodeGenerator.
|
|
1195
1239
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -16492,6 +16536,404 @@ proto.game.ProviderStatusResponse.prototype.setStatus = function(value) {
|
|
|
16492
16536
|
|
|
16493
16537
|
|
|
16494
16538
|
|
|
16539
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16540
|
+
/**
|
|
16541
|
+
* Creates an object representation of this proto.
|
|
16542
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16543
|
+
* Optional fields that are not set will be set to undefined.
|
|
16544
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16545
|
+
* For the list of reserved names please see:
|
|
16546
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16547
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16548
|
+
* JSPB instance for transitional soy proto support:
|
|
16549
|
+
* http://goto/soy-param-migration
|
|
16550
|
+
* @return {!Object}
|
|
16551
|
+
*/
|
|
16552
|
+
proto.game.NormalizeDuplicateProvidersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
16553
|
+
return proto.game.NormalizeDuplicateProvidersRequest.toObject(opt_includeInstance, this);
|
|
16554
|
+
};
|
|
16555
|
+
|
|
16556
|
+
|
|
16557
|
+
/**
|
|
16558
|
+
* Static version of the {@see toObject} method.
|
|
16559
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16560
|
+
* the JSPB instance for transitional soy proto support:
|
|
16561
|
+
* http://goto/soy-param-migration
|
|
16562
|
+
* @param {!proto.game.NormalizeDuplicateProvidersRequest} msg The msg instance to transform.
|
|
16563
|
+
* @return {!Object}
|
|
16564
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16565
|
+
*/
|
|
16566
|
+
proto.game.NormalizeDuplicateProvidersRequest.toObject = function(includeInstance, msg) {
|
|
16567
|
+
var f, obj = {
|
|
16568
|
+
dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
16569
|
+
};
|
|
16570
|
+
|
|
16571
|
+
if (includeInstance) {
|
|
16572
|
+
obj.$jspbMessageInstance = msg;
|
|
16573
|
+
}
|
|
16574
|
+
return obj;
|
|
16575
|
+
};
|
|
16576
|
+
}
|
|
16577
|
+
|
|
16578
|
+
|
|
16579
|
+
/**
|
|
16580
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16581
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16582
|
+
* @return {!proto.game.NormalizeDuplicateProvidersRequest}
|
|
16583
|
+
*/
|
|
16584
|
+
proto.game.NormalizeDuplicateProvidersRequest.deserializeBinary = function(bytes) {
|
|
16585
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16586
|
+
var msg = new proto.game.NormalizeDuplicateProvidersRequest;
|
|
16587
|
+
return proto.game.NormalizeDuplicateProvidersRequest.deserializeBinaryFromReader(msg, reader);
|
|
16588
|
+
};
|
|
16589
|
+
|
|
16590
|
+
|
|
16591
|
+
/**
|
|
16592
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16593
|
+
* given reader into the given message object.
|
|
16594
|
+
* @param {!proto.game.NormalizeDuplicateProvidersRequest} msg The message object to deserialize into.
|
|
16595
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16596
|
+
* @return {!proto.game.NormalizeDuplicateProvidersRequest}
|
|
16597
|
+
*/
|
|
16598
|
+
proto.game.NormalizeDuplicateProvidersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
16599
|
+
while (reader.nextField()) {
|
|
16600
|
+
if (reader.isEndGroup()) {
|
|
16601
|
+
break;
|
|
16602
|
+
}
|
|
16603
|
+
var field = reader.getFieldNumber();
|
|
16604
|
+
switch (field) {
|
|
16605
|
+
case 1:
|
|
16606
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
16607
|
+
msg.setDryRun(value);
|
|
16608
|
+
break;
|
|
16609
|
+
default:
|
|
16610
|
+
reader.skipField();
|
|
16611
|
+
break;
|
|
16612
|
+
}
|
|
16613
|
+
}
|
|
16614
|
+
return msg;
|
|
16615
|
+
};
|
|
16616
|
+
|
|
16617
|
+
|
|
16618
|
+
/**
|
|
16619
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16620
|
+
* @return {!Uint8Array}
|
|
16621
|
+
*/
|
|
16622
|
+
proto.game.NormalizeDuplicateProvidersRequest.prototype.serializeBinary = function() {
|
|
16623
|
+
var writer = new jspb.BinaryWriter();
|
|
16624
|
+
proto.game.NormalizeDuplicateProvidersRequest.serializeBinaryToWriter(this, writer);
|
|
16625
|
+
return writer.getResultBuffer();
|
|
16626
|
+
};
|
|
16627
|
+
|
|
16628
|
+
|
|
16629
|
+
/**
|
|
16630
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16631
|
+
* format), writing to the given BinaryWriter.
|
|
16632
|
+
* @param {!proto.game.NormalizeDuplicateProvidersRequest} message
|
|
16633
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16634
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16635
|
+
*/
|
|
16636
|
+
proto.game.NormalizeDuplicateProvidersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
16637
|
+
var f = undefined;
|
|
16638
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 1));
|
|
16639
|
+
if (f != null) {
|
|
16640
|
+
writer.writeBool(
|
|
16641
|
+
1,
|
|
16642
|
+
f
|
|
16643
|
+
);
|
|
16644
|
+
}
|
|
16645
|
+
};
|
|
16646
|
+
|
|
16647
|
+
|
|
16648
|
+
/**
|
|
16649
|
+
* optional bool dry_run = 1;
|
|
16650
|
+
* @return {boolean}
|
|
16651
|
+
*/
|
|
16652
|
+
proto.game.NormalizeDuplicateProvidersRequest.prototype.getDryRun = function() {
|
|
16653
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
16654
|
+
};
|
|
16655
|
+
|
|
16656
|
+
|
|
16657
|
+
/**
|
|
16658
|
+
* @param {boolean} value
|
|
16659
|
+
* @return {!proto.game.NormalizeDuplicateProvidersRequest} returns this
|
|
16660
|
+
*/
|
|
16661
|
+
proto.game.NormalizeDuplicateProvidersRequest.prototype.setDryRun = function(value) {
|
|
16662
|
+
return jspb.Message.setField(this, 1, value);
|
|
16663
|
+
};
|
|
16664
|
+
|
|
16665
|
+
|
|
16666
|
+
/**
|
|
16667
|
+
* Clears the field making it undefined.
|
|
16668
|
+
* @return {!proto.game.NormalizeDuplicateProvidersRequest} returns this
|
|
16669
|
+
*/
|
|
16670
|
+
proto.game.NormalizeDuplicateProvidersRequest.prototype.clearDryRun = function() {
|
|
16671
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
16672
|
+
};
|
|
16673
|
+
|
|
16674
|
+
|
|
16675
|
+
/**
|
|
16676
|
+
* Returns whether this field is set.
|
|
16677
|
+
* @return {boolean}
|
|
16678
|
+
*/
|
|
16679
|
+
proto.game.NormalizeDuplicateProvidersRequest.prototype.hasDryRun = function() {
|
|
16680
|
+
return jspb.Message.getField(this, 1) != null;
|
|
16681
|
+
};
|
|
16682
|
+
|
|
16683
|
+
|
|
16684
|
+
|
|
16685
|
+
|
|
16686
|
+
|
|
16687
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16688
|
+
/**
|
|
16689
|
+
* Creates an object representation of this proto.
|
|
16690
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16691
|
+
* Optional fields that are not set will be set to undefined.
|
|
16692
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16693
|
+
* For the list of reserved names please see:
|
|
16694
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16695
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16696
|
+
* JSPB instance for transitional soy proto support:
|
|
16697
|
+
* http://goto/soy-param-migration
|
|
16698
|
+
* @return {!Object}
|
|
16699
|
+
*/
|
|
16700
|
+
proto.game.NormalizeDuplicateProvidersResponse.prototype.toObject = function(opt_includeInstance) {
|
|
16701
|
+
return proto.game.NormalizeDuplicateProvidersResponse.toObject(opt_includeInstance, this);
|
|
16702
|
+
};
|
|
16703
|
+
|
|
16704
|
+
|
|
16705
|
+
/**
|
|
16706
|
+
* Static version of the {@see toObject} method.
|
|
16707
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16708
|
+
* the JSPB instance for transitional soy proto support:
|
|
16709
|
+
* http://goto/soy-param-migration
|
|
16710
|
+
* @param {!proto.game.NormalizeDuplicateProvidersResponse} msg The msg instance to transform.
|
|
16711
|
+
* @return {!Object}
|
|
16712
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16713
|
+
*/
|
|
16714
|
+
proto.game.NormalizeDuplicateProvidersResponse.toObject = function(includeInstance, msg) {
|
|
16715
|
+
var f, obj = {
|
|
16716
|
+
dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
16717
|
+
groupsChecked: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
16718
|
+
groupsMatched: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
16719
|
+
providersUpdated: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
16720
|
+
providersSkipped: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
16721
|
+
};
|
|
16722
|
+
|
|
16723
|
+
if (includeInstance) {
|
|
16724
|
+
obj.$jspbMessageInstance = msg;
|
|
16725
|
+
}
|
|
16726
|
+
return obj;
|
|
16727
|
+
};
|
|
16728
|
+
}
|
|
16729
|
+
|
|
16730
|
+
|
|
16731
|
+
/**
|
|
16732
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16733
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16734
|
+
* @return {!proto.game.NormalizeDuplicateProvidersResponse}
|
|
16735
|
+
*/
|
|
16736
|
+
proto.game.NormalizeDuplicateProvidersResponse.deserializeBinary = function(bytes) {
|
|
16737
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16738
|
+
var msg = new proto.game.NormalizeDuplicateProvidersResponse;
|
|
16739
|
+
return proto.game.NormalizeDuplicateProvidersResponse.deserializeBinaryFromReader(msg, reader);
|
|
16740
|
+
};
|
|
16741
|
+
|
|
16742
|
+
|
|
16743
|
+
/**
|
|
16744
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16745
|
+
* given reader into the given message object.
|
|
16746
|
+
* @param {!proto.game.NormalizeDuplicateProvidersResponse} msg The message object to deserialize into.
|
|
16747
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16748
|
+
* @return {!proto.game.NormalizeDuplicateProvidersResponse}
|
|
16749
|
+
*/
|
|
16750
|
+
proto.game.NormalizeDuplicateProvidersResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
16751
|
+
while (reader.nextField()) {
|
|
16752
|
+
if (reader.isEndGroup()) {
|
|
16753
|
+
break;
|
|
16754
|
+
}
|
|
16755
|
+
var field = reader.getFieldNumber();
|
|
16756
|
+
switch (field) {
|
|
16757
|
+
case 1:
|
|
16758
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
16759
|
+
msg.setDryRun(value);
|
|
16760
|
+
break;
|
|
16761
|
+
case 2:
|
|
16762
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16763
|
+
msg.setGroupsChecked(value);
|
|
16764
|
+
break;
|
|
16765
|
+
case 3:
|
|
16766
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16767
|
+
msg.setGroupsMatched(value);
|
|
16768
|
+
break;
|
|
16769
|
+
case 4:
|
|
16770
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16771
|
+
msg.setProvidersUpdated(value);
|
|
16772
|
+
break;
|
|
16773
|
+
case 5:
|
|
16774
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16775
|
+
msg.setProvidersSkipped(value);
|
|
16776
|
+
break;
|
|
16777
|
+
default:
|
|
16778
|
+
reader.skipField();
|
|
16779
|
+
break;
|
|
16780
|
+
}
|
|
16781
|
+
}
|
|
16782
|
+
return msg;
|
|
16783
|
+
};
|
|
16784
|
+
|
|
16785
|
+
|
|
16786
|
+
/**
|
|
16787
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16788
|
+
* @return {!Uint8Array}
|
|
16789
|
+
*/
|
|
16790
|
+
proto.game.NormalizeDuplicateProvidersResponse.prototype.serializeBinary = function() {
|
|
16791
|
+
var writer = new jspb.BinaryWriter();
|
|
16792
|
+
proto.game.NormalizeDuplicateProvidersResponse.serializeBinaryToWriter(this, writer);
|
|
16793
|
+
return writer.getResultBuffer();
|
|
16794
|
+
};
|
|
16795
|
+
|
|
16796
|
+
|
|
16797
|
+
/**
|
|
16798
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16799
|
+
* format), writing to the given BinaryWriter.
|
|
16800
|
+
* @param {!proto.game.NormalizeDuplicateProvidersResponse} message
|
|
16801
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16802
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16803
|
+
*/
|
|
16804
|
+
proto.game.NormalizeDuplicateProvidersResponse.serializeBinaryToWriter = function(message, writer) {
|
|
16805
|
+
var f = undefined;
|
|
16806
|
+
f = message.getDryRun();
|
|
16807
|
+
if (f) {
|
|
16808
|
+
writer.writeBool(
|
|
16809
|
+
1,
|
|
16810
|
+
f
|
|
16811
|
+
);
|
|
16812
|
+
}
|
|
16813
|
+
f = message.getGroupsChecked();
|
|
16814
|
+
if (f !== 0) {
|
|
16815
|
+
writer.writeInt32(
|
|
16816
|
+
2,
|
|
16817
|
+
f
|
|
16818
|
+
);
|
|
16819
|
+
}
|
|
16820
|
+
f = message.getGroupsMatched();
|
|
16821
|
+
if (f !== 0) {
|
|
16822
|
+
writer.writeInt32(
|
|
16823
|
+
3,
|
|
16824
|
+
f
|
|
16825
|
+
);
|
|
16826
|
+
}
|
|
16827
|
+
f = message.getProvidersUpdated();
|
|
16828
|
+
if (f !== 0) {
|
|
16829
|
+
writer.writeInt32(
|
|
16830
|
+
4,
|
|
16831
|
+
f
|
|
16832
|
+
);
|
|
16833
|
+
}
|
|
16834
|
+
f = message.getProvidersSkipped();
|
|
16835
|
+
if (f !== 0) {
|
|
16836
|
+
writer.writeInt32(
|
|
16837
|
+
5,
|
|
16838
|
+
f
|
|
16839
|
+
);
|
|
16840
|
+
}
|
|
16841
|
+
};
|
|
16842
|
+
|
|
16843
|
+
|
|
16844
|
+
/**
|
|
16845
|
+
* optional bool dry_run = 1;
|
|
16846
|
+
* @return {boolean}
|
|
16847
|
+
*/
|
|
16848
|
+
proto.game.NormalizeDuplicateProvidersResponse.prototype.getDryRun = function() {
|
|
16849
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
16850
|
+
};
|
|
16851
|
+
|
|
16852
|
+
|
|
16853
|
+
/**
|
|
16854
|
+
* @param {boolean} value
|
|
16855
|
+
* @return {!proto.game.NormalizeDuplicateProvidersResponse} returns this
|
|
16856
|
+
*/
|
|
16857
|
+
proto.game.NormalizeDuplicateProvidersResponse.prototype.setDryRun = function(value) {
|
|
16858
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
16859
|
+
};
|
|
16860
|
+
|
|
16861
|
+
|
|
16862
|
+
/**
|
|
16863
|
+
* optional int32 groups_checked = 2;
|
|
16864
|
+
* @return {number}
|
|
16865
|
+
*/
|
|
16866
|
+
proto.game.NormalizeDuplicateProvidersResponse.prototype.getGroupsChecked = function() {
|
|
16867
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
16868
|
+
};
|
|
16869
|
+
|
|
16870
|
+
|
|
16871
|
+
/**
|
|
16872
|
+
* @param {number} value
|
|
16873
|
+
* @return {!proto.game.NormalizeDuplicateProvidersResponse} returns this
|
|
16874
|
+
*/
|
|
16875
|
+
proto.game.NormalizeDuplicateProvidersResponse.prototype.setGroupsChecked = function(value) {
|
|
16876
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
16877
|
+
};
|
|
16878
|
+
|
|
16879
|
+
|
|
16880
|
+
/**
|
|
16881
|
+
* optional int32 groups_matched = 3;
|
|
16882
|
+
* @return {number}
|
|
16883
|
+
*/
|
|
16884
|
+
proto.game.NormalizeDuplicateProvidersResponse.prototype.getGroupsMatched = function() {
|
|
16885
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
16886
|
+
};
|
|
16887
|
+
|
|
16888
|
+
|
|
16889
|
+
/**
|
|
16890
|
+
* @param {number} value
|
|
16891
|
+
* @return {!proto.game.NormalizeDuplicateProvidersResponse} returns this
|
|
16892
|
+
*/
|
|
16893
|
+
proto.game.NormalizeDuplicateProvidersResponse.prototype.setGroupsMatched = function(value) {
|
|
16894
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
16895
|
+
};
|
|
16896
|
+
|
|
16897
|
+
|
|
16898
|
+
/**
|
|
16899
|
+
* optional int32 providers_updated = 4;
|
|
16900
|
+
* @return {number}
|
|
16901
|
+
*/
|
|
16902
|
+
proto.game.NormalizeDuplicateProvidersResponse.prototype.getProvidersUpdated = function() {
|
|
16903
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
16904
|
+
};
|
|
16905
|
+
|
|
16906
|
+
|
|
16907
|
+
/**
|
|
16908
|
+
* @param {number} value
|
|
16909
|
+
* @return {!proto.game.NormalizeDuplicateProvidersResponse} returns this
|
|
16910
|
+
*/
|
|
16911
|
+
proto.game.NormalizeDuplicateProvidersResponse.prototype.setProvidersUpdated = function(value) {
|
|
16912
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
16913
|
+
};
|
|
16914
|
+
|
|
16915
|
+
|
|
16916
|
+
/**
|
|
16917
|
+
* optional int32 providers_skipped = 5;
|
|
16918
|
+
* @return {number}
|
|
16919
|
+
*/
|
|
16920
|
+
proto.game.NormalizeDuplicateProvidersResponse.prototype.getProvidersSkipped = function() {
|
|
16921
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
16922
|
+
};
|
|
16923
|
+
|
|
16924
|
+
|
|
16925
|
+
/**
|
|
16926
|
+
* @param {number} value
|
|
16927
|
+
* @return {!proto.game.NormalizeDuplicateProvidersResponse} returns this
|
|
16928
|
+
*/
|
|
16929
|
+
proto.game.NormalizeDuplicateProvidersResponse.prototype.setProvidersSkipped = function(value) {
|
|
16930
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
16931
|
+
};
|
|
16932
|
+
|
|
16933
|
+
|
|
16934
|
+
|
|
16935
|
+
|
|
16936
|
+
|
|
16495
16937
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16496
16938
|
/**
|
|
16497
16939
|
* Creates an object representation of this proto.
|