protobuf-platform 1.2.632 → 1.2.633
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 +23 -0
- package/bonus/bonus_grpc_pb.js +22 -0
- package/bonus/bonus_pb.js +1279 -260
- package/package.json +2 -2
- package/tournament/tournament.proto +33 -0
- package/tournament/tournament_grpc_pb.js +22 -0
- package/tournament/tournament_pb.js +1533 -44
package/bonus/bonus_pb.js
CHANGED
|
@@ -49,6 +49,8 @@ goog.exportSymbol('proto.bonus.BonusStatusResponse', null, global);
|
|
|
49
49
|
goog.exportSymbol('proto.bonus.BonusStatusesResponse', null, global);
|
|
50
50
|
goog.exportSymbol('proto.bonus.BonusTranslationItem', null, global);
|
|
51
51
|
goog.exportSymbol('proto.bonus.BonusTranslationRequest', null, global);
|
|
52
|
+
goog.exportSymbol('proto.bonus.BonusTranslationUpsertRequest', null, global);
|
|
53
|
+
goog.exportSymbol('proto.bonus.BonusTranslationUpsertRequest.RequestCase', null, global);
|
|
52
54
|
goog.exportSymbol('proto.bonus.BonusType', null, global);
|
|
53
55
|
goog.exportSymbol('proto.bonus.BonusTypesResponse', null, global);
|
|
54
56
|
goog.exportSymbol('proto.bonus.CommonUserBonusItems', null, global);
|
|
@@ -807,6 +809,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
807
809
|
*/
|
|
808
810
|
proto.bonus.BonusTranslationRequest.displayName = 'proto.bonus.BonusTranslationRequest';
|
|
809
811
|
}
|
|
812
|
+
/**
|
|
813
|
+
* Generated by JsPbCodeGenerator.
|
|
814
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
815
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
816
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
817
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
818
|
+
* valid.
|
|
819
|
+
* @extends {jspb.Message}
|
|
820
|
+
* @constructor
|
|
821
|
+
*/
|
|
822
|
+
proto.bonus.BonusTranslationUpsertRequest = function(opt_data) {
|
|
823
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.bonus.BonusTranslationUpsertRequest.oneofGroups_);
|
|
824
|
+
};
|
|
825
|
+
goog.inherits(proto.bonus.BonusTranslationUpsertRequest, jspb.Message);
|
|
826
|
+
if (goog.DEBUG && !COMPILED) {
|
|
827
|
+
/**
|
|
828
|
+
* @public
|
|
829
|
+
* @override
|
|
830
|
+
*/
|
|
831
|
+
proto.bonus.BonusTranslationUpsertRequest.displayName = 'proto.bonus.BonusTranslationUpsertRequest';
|
|
832
|
+
}
|
|
810
833
|
/**
|
|
811
834
|
* Generated by JsPbCodeGenerator.
|
|
812
835
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -13609,7 +13632,9 @@ proto.bonus.BonusSnapshotItem.toObject = function(includeInstance, msg) {
|
|
|
13609
13632
|
statusId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
13610
13633
|
description: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
13611
13634
|
startedAt: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
13612
|
-
finishedAt: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
13635
|
+
finishedAt: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
13636
|
+
portraitImage: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
13637
|
+
portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
13613
13638
|
};
|
|
13614
13639
|
|
|
13615
13640
|
if (includeInstance) {
|
|
@@ -13694,6 +13719,14 @@ proto.bonus.BonusSnapshotItem.deserializeBinaryFromReader = function(msg, reader
|
|
|
13694
13719
|
var value = /** @type {string} */ (reader.readString());
|
|
13695
13720
|
msg.setFinishedAt(value);
|
|
13696
13721
|
break;
|
|
13722
|
+
case 13:
|
|
13723
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13724
|
+
msg.setPortraitImage(value);
|
|
13725
|
+
break;
|
|
13726
|
+
case 14:
|
|
13727
|
+
var value = /** @type {string} */ (reader.readString());
|
|
13728
|
+
msg.setPortraitImageCdn(value);
|
|
13729
|
+
break;
|
|
13697
13730
|
default:
|
|
13698
13731
|
reader.skipField();
|
|
13699
13732
|
break;
|
|
@@ -13807,6 +13840,20 @@ proto.bonus.BonusSnapshotItem.serializeBinaryToWriter = function(message, writer
|
|
|
13807
13840
|
f
|
|
13808
13841
|
);
|
|
13809
13842
|
}
|
|
13843
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
13844
|
+
if (f != null) {
|
|
13845
|
+
writer.writeString(
|
|
13846
|
+
13,
|
|
13847
|
+
f
|
|
13848
|
+
);
|
|
13849
|
+
}
|
|
13850
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
13851
|
+
if (f != null) {
|
|
13852
|
+
writer.writeString(
|
|
13853
|
+
14,
|
|
13854
|
+
f
|
|
13855
|
+
);
|
|
13856
|
+
}
|
|
13810
13857
|
};
|
|
13811
13858
|
|
|
13812
13859
|
|
|
@@ -14224,6 +14271,78 @@ proto.bonus.BonusSnapshotItem.prototype.hasFinishedAt = function() {
|
|
|
14224
14271
|
};
|
|
14225
14272
|
|
|
14226
14273
|
|
|
14274
|
+
/**
|
|
14275
|
+
* optional string portrait_image = 13;
|
|
14276
|
+
* @return {string}
|
|
14277
|
+
*/
|
|
14278
|
+
proto.bonus.BonusSnapshotItem.prototype.getPortraitImage = function() {
|
|
14279
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
14280
|
+
};
|
|
14281
|
+
|
|
14282
|
+
|
|
14283
|
+
/**
|
|
14284
|
+
* @param {string} value
|
|
14285
|
+
* @return {!proto.bonus.BonusSnapshotItem} returns this
|
|
14286
|
+
*/
|
|
14287
|
+
proto.bonus.BonusSnapshotItem.prototype.setPortraitImage = function(value) {
|
|
14288
|
+
return jspb.Message.setField(this, 13, value);
|
|
14289
|
+
};
|
|
14290
|
+
|
|
14291
|
+
|
|
14292
|
+
/**
|
|
14293
|
+
* Clears the field making it undefined.
|
|
14294
|
+
* @return {!proto.bonus.BonusSnapshotItem} returns this
|
|
14295
|
+
*/
|
|
14296
|
+
proto.bonus.BonusSnapshotItem.prototype.clearPortraitImage = function() {
|
|
14297
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
14298
|
+
};
|
|
14299
|
+
|
|
14300
|
+
|
|
14301
|
+
/**
|
|
14302
|
+
* Returns whether this field is set.
|
|
14303
|
+
* @return {boolean}
|
|
14304
|
+
*/
|
|
14305
|
+
proto.bonus.BonusSnapshotItem.prototype.hasPortraitImage = function() {
|
|
14306
|
+
return jspb.Message.getField(this, 13) != null;
|
|
14307
|
+
};
|
|
14308
|
+
|
|
14309
|
+
|
|
14310
|
+
/**
|
|
14311
|
+
* optional string portrait_image_cdn = 14;
|
|
14312
|
+
* @return {string}
|
|
14313
|
+
*/
|
|
14314
|
+
proto.bonus.BonusSnapshotItem.prototype.getPortraitImageCdn = function() {
|
|
14315
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
14316
|
+
};
|
|
14317
|
+
|
|
14318
|
+
|
|
14319
|
+
/**
|
|
14320
|
+
* @param {string} value
|
|
14321
|
+
* @return {!proto.bonus.BonusSnapshotItem} returns this
|
|
14322
|
+
*/
|
|
14323
|
+
proto.bonus.BonusSnapshotItem.prototype.setPortraitImageCdn = function(value) {
|
|
14324
|
+
return jspb.Message.setField(this, 14, value);
|
|
14325
|
+
};
|
|
14326
|
+
|
|
14327
|
+
|
|
14328
|
+
/**
|
|
14329
|
+
* Clears the field making it undefined.
|
|
14330
|
+
* @return {!proto.bonus.BonusSnapshotItem} returns this
|
|
14331
|
+
*/
|
|
14332
|
+
proto.bonus.BonusSnapshotItem.prototype.clearPortraitImageCdn = function() {
|
|
14333
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
14334
|
+
};
|
|
14335
|
+
|
|
14336
|
+
|
|
14337
|
+
/**
|
|
14338
|
+
* Returns whether this field is set.
|
|
14339
|
+
* @return {boolean}
|
|
14340
|
+
*/
|
|
14341
|
+
proto.bonus.BonusSnapshotItem.prototype.hasPortraitImageCdn = function() {
|
|
14342
|
+
return jspb.Message.getField(this, 14) != null;
|
|
14343
|
+
};
|
|
14344
|
+
|
|
14345
|
+
|
|
14227
14346
|
|
|
14228
14347
|
/**
|
|
14229
14348
|
* List of repeated fields within this message type.
|
|
@@ -14551,7 +14670,13 @@ proto.bonus.BonusTranslationRequest.toObject = function(includeInstance, msg) {
|
|
|
14551
14670
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
14552
14671
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
14553
14672
|
content: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
14554
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
14673
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
14674
|
+
desktopFileType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
14675
|
+
mobileFileType: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
14676
|
+
portraitFileType: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
14677
|
+
removeDesktopImage: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
14678
|
+
removeMobileImage: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
14679
|
+
removePortraitImage: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
|
|
14555
14680
|
};
|
|
14556
14681
|
|
|
14557
14682
|
if (includeInstance) {
|
|
@@ -14612,6 +14737,30 @@ proto.bonus.BonusTranslationRequest.deserializeBinaryFromReader = function(msg,
|
|
|
14612
14737
|
var value = /** @type {number} */ (reader.readInt32());
|
|
14613
14738
|
msg.setIsActive(value);
|
|
14614
14739
|
break;
|
|
14740
|
+
case 7:
|
|
14741
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14742
|
+
msg.setDesktopFileType(value);
|
|
14743
|
+
break;
|
|
14744
|
+
case 8:
|
|
14745
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14746
|
+
msg.setMobileFileType(value);
|
|
14747
|
+
break;
|
|
14748
|
+
case 9:
|
|
14749
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14750
|
+
msg.setPortraitFileType(value);
|
|
14751
|
+
break;
|
|
14752
|
+
case 10:
|
|
14753
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14754
|
+
msg.setRemoveDesktopImage(value);
|
|
14755
|
+
break;
|
|
14756
|
+
case 11:
|
|
14757
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14758
|
+
msg.setRemoveMobileImage(value);
|
|
14759
|
+
break;
|
|
14760
|
+
case 12:
|
|
14761
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14762
|
+
msg.setRemovePortraitImage(value);
|
|
14763
|
+
break;
|
|
14615
14764
|
default:
|
|
14616
14765
|
reader.skipField();
|
|
14617
14766
|
break;
|
|
@@ -14683,6 +14832,48 @@ proto.bonus.BonusTranslationRequest.serializeBinaryToWriter = function(message,
|
|
|
14683
14832
|
f
|
|
14684
14833
|
);
|
|
14685
14834
|
}
|
|
14835
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
14836
|
+
if (f != null) {
|
|
14837
|
+
writer.writeString(
|
|
14838
|
+
7,
|
|
14839
|
+
f
|
|
14840
|
+
);
|
|
14841
|
+
}
|
|
14842
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
14843
|
+
if (f != null) {
|
|
14844
|
+
writer.writeString(
|
|
14845
|
+
8,
|
|
14846
|
+
f
|
|
14847
|
+
);
|
|
14848
|
+
}
|
|
14849
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
14850
|
+
if (f != null) {
|
|
14851
|
+
writer.writeString(
|
|
14852
|
+
9,
|
|
14853
|
+
f
|
|
14854
|
+
);
|
|
14855
|
+
}
|
|
14856
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
|
|
14857
|
+
if (f != null) {
|
|
14858
|
+
writer.writeBool(
|
|
14859
|
+
10,
|
|
14860
|
+
f
|
|
14861
|
+
);
|
|
14862
|
+
}
|
|
14863
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
|
|
14864
|
+
if (f != null) {
|
|
14865
|
+
writer.writeBool(
|
|
14866
|
+
11,
|
|
14867
|
+
f
|
|
14868
|
+
);
|
|
14869
|
+
}
|
|
14870
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 12));
|
|
14871
|
+
if (f != null) {
|
|
14872
|
+
writer.writeBool(
|
|
14873
|
+
12,
|
|
14874
|
+
f
|
|
14875
|
+
);
|
|
14876
|
+
}
|
|
14686
14877
|
};
|
|
14687
14878
|
|
|
14688
14879
|
|
|
@@ -14902,167 +15093,249 @@ proto.bonus.BonusTranslationRequest.prototype.hasIsActive = function() {
|
|
|
14902
15093
|
};
|
|
14903
15094
|
|
|
14904
15095
|
|
|
15096
|
+
/**
|
|
15097
|
+
* optional string desktop_file_type = 7;
|
|
15098
|
+
* @return {string}
|
|
15099
|
+
*/
|
|
15100
|
+
proto.bonus.BonusTranslationRequest.prototype.getDesktopFileType = function() {
|
|
15101
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
15102
|
+
};
|
|
14905
15103
|
|
|
14906
15104
|
|
|
14907
|
-
|
|
14908
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14909
15105
|
/**
|
|
14910
|
-
*
|
|
14911
|
-
*
|
|
14912
|
-
* Optional fields that are not set will be set to undefined.
|
|
14913
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14914
|
-
* For the list of reserved names please see:
|
|
14915
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14916
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14917
|
-
* JSPB instance for transitional soy proto support:
|
|
14918
|
-
* http://goto/soy-param-migration
|
|
14919
|
-
* @return {!Object}
|
|
15106
|
+
* @param {string} value
|
|
15107
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
14920
15108
|
*/
|
|
14921
|
-
proto.bonus.
|
|
14922
|
-
return
|
|
15109
|
+
proto.bonus.BonusTranslationRequest.prototype.setDesktopFileType = function(value) {
|
|
15110
|
+
return jspb.Message.setField(this, 7, value);
|
|
14923
15111
|
};
|
|
14924
15112
|
|
|
14925
15113
|
|
|
14926
15114
|
/**
|
|
14927
|
-
*
|
|
14928
|
-
* @
|
|
14929
|
-
* the JSPB instance for transitional soy proto support:
|
|
14930
|
-
* http://goto/soy-param-migration
|
|
14931
|
-
* @param {!proto.bonus.GetBonusTranslationRequest} msg The msg instance to transform.
|
|
14932
|
-
* @return {!Object}
|
|
14933
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15115
|
+
* Clears the field making it undefined.
|
|
15116
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
14934
15117
|
*/
|
|
14935
|
-
proto.bonus.
|
|
14936
|
-
|
|
14937
|
-
bonusId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
14938
|
-
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
14939
|
-
};
|
|
14940
|
-
|
|
14941
|
-
if (includeInstance) {
|
|
14942
|
-
obj.$jspbMessageInstance = msg;
|
|
14943
|
-
}
|
|
14944
|
-
return obj;
|
|
15118
|
+
proto.bonus.BonusTranslationRequest.prototype.clearDesktopFileType = function() {
|
|
15119
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
14945
15120
|
};
|
|
14946
|
-
}
|
|
14947
15121
|
|
|
14948
15122
|
|
|
14949
15123
|
/**
|
|
14950
|
-
*
|
|
14951
|
-
* @
|
|
14952
|
-
* @return {!proto.bonus.GetBonusTranslationRequest}
|
|
15124
|
+
* Returns whether this field is set.
|
|
15125
|
+
* @return {boolean}
|
|
14953
15126
|
*/
|
|
14954
|
-
proto.bonus.
|
|
14955
|
-
|
|
14956
|
-
var msg = new proto.bonus.GetBonusTranslationRequest;
|
|
14957
|
-
return proto.bonus.GetBonusTranslationRequest.deserializeBinaryFromReader(msg, reader);
|
|
15127
|
+
proto.bonus.BonusTranslationRequest.prototype.hasDesktopFileType = function() {
|
|
15128
|
+
return jspb.Message.getField(this, 7) != null;
|
|
14958
15129
|
};
|
|
14959
15130
|
|
|
14960
15131
|
|
|
14961
15132
|
/**
|
|
14962
|
-
*
|
|
14963
|
-
*
|
|
14964
|
-
* @param {!proto.bonus.GetBonusTranslationRequest} msg The message object to deserialize into.
|
|
14965
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14966
|
-
* @return {!proto.bonus.GetBonusTranslationRequest}
|
|
15133
|
+
* optional string mobile_file_type = 8;
|
|
15134
|
+
* @return {string}
|
|
14967
15135
|
*/
|
|
14968
|
-
proto.bonus.
|
|
14969
|
-
|
|
14970
|
-
if (reader.isEndGroup()) {
|
|
14971
|
-
break;
|
|
14972
|
-
}
|
|
14973
|
-
var field = reader.getFieldNumber();
|
|
14974
|
-
switch (field) {
|
|
14975
|
-
case 1:
|
|
14976
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
14977
|
-
msg.setBonusId(value);
|
|
14978
|
-
break;
|
|
14979
|
-
case 2:
|
|
14980
|
-
var value = /** @type {string} */ (reader.readString());
|
|
14981
|
-
msg.setLocale(value);
|
|
14982
|
-
break;
|
|
14983
|
-
default:
|
|
14984
|
-
reader.skipField();
|
|
14985
|
-
break;
|
|
14986
|
-
}
|
|
14987
|
-
}
|
|
14988
|
-
return msg;
|
|
15136
|
+
proto.bonus.BonusTranslationRequest.prototype.getMobileFileType = function() {
|
|
15137
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
14989
15138
|
};
|
|
14990
15139
|
|
|
14991
15140
|
|
|
14992
15141
|
/**
|
|
14993
|
-
*
|
|
14994
|
-
* @return {!
|
|
15142
|
+
* @param {string} value
|
|
15143
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
14995
15144
|
*/
|
|
14996
|
-
proto.bonus.
|
|
14997
|
-
|
|
14998
|
-
proto.bonus.GetBonusTranslationRequest.serializeBinaryToWriter(this, writer);
|
|
14999
|
-
return writer.getResultBuffer();
|
|
15145
|
+
proto.bonus.BonusTranslationRequest.prototype.setMobileFileType = function(value) {
|
|
15146
|
+
return jspb.Message.setField(this, 8, value);
|
|
15000
15147
|
};
|
|
15001
15148
|
|
|
15002
15149
|
|
|
15003
15150
|
/**
|
|
15004
|
-
*
|
|
15005
|
-
*
|
|
15006
|
-
* @param {!proto.bonus.GetBonusTranslationRequest} message
|
|
15007
|
-
* @param {!jspb.BinaryWriter} writer
|
|
15008
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15151
|
+
* Clears the field making it undefined.
|
|
15152
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
15009
15153
|
*/
|
|
15010
|
-
proto.bonus.
|
|
15011
|
-
|
|
15012
|
-
f = message.getBonusId();
|
|
15013
|
-
if (f !== 0) {
|
|
15014
|
-
writer.writeInt32(
|
|
15015
|
-
1,
|
|
15016
|
-
f
|
|
15017
|
-
);
|
|
15018
|
-
}
|
|
15019
|
-
f = message.getLocale();
|
|
15020
|
-
if (f.length > 0) {
|
|
15021
|
-
writer.writeString(
|
|
15022
|
-
2,
|
|
15023
|
-
f
|
|
15024
|
-
);
|
|
15025
|
-
}
|
|
15154
|
+
proto.bonus.BonusTranslationRequest.prototype.clearMobileFileType = function() {
|
|
15155
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
15026
15156
|
};
|
|
15027
15157
|
|
|
15028
15158
|
|
|
15029
15159
|
/**
|
|
15030
|
-
*
|
|
15031
|
-
* @return {
|
|
15160
|
+
* Returns whether this field is set.
|
|
15161
|
+
* @return {boolean}
|
|
15032
15162
|
*/
|
|
15033
|
-
proto.bonus.
|
|
15034
|
-
return
|
|
15163
|
+
proto.bonus.BonusTranslationRequest.prototype.hasMobileFileType = function() {
|
|
15164
|
+
return jspb.Message.getField(this, 8) != null;
|
|
15035
15165
|
};
|
|
15036
15166
|
|
|
15037
15167
|
|
|
15038
15168
|
/**
|
|
15039
|
-
*
|
|
15040
|
-
* @return {
|
|
15169
|
+
* optional string portrait_file_type = 9;
|
|
15170
|
+
* @return {string}
|
|
15041
15171
|
*/
|
|
15042
|
-
proto.bonus.
|
|
15043
|
-
return jspb.Message.
|
|
15172
|
+
proto.bonus.BonusTranslationRequest.prototype.getPortraitFileType = function() {
|
|
15173
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
15044
15174
|
};
|
|
15045
15175
|
|
|
15046
15176
|
|
|
15047
15177
|
/**
|
|
15048
|
-
*
|
|
15049
|
-
* @return {
|
|
15178
|
+
* @param {string} value
|
|
15179
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
15050
15180
|
*/
|
|
15051
|
-
proto.bonus.
|
|
15052
|
-
return
|
|
15181
|
+
proto.bonus.BonusTranslationRequest.prototype.setPortraitFileType = function(value) {
|
|
15182
|
+
return jspb.Message.setField(this, 9, value);
|
|
15053
15183
|
};
|
|
15054
15184
|
|
|
15055
15185
|
|
|
15056
15186
|
/**
|
|
15057
|
-
*
|
|
15058
|
-
* @return {!proto.bonus.
|
|
15187
|
+
* Clears the field making it undefined.
|
|
15188
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
15059
15189
|
*/
|
|
15060
|
-
proto.bonus.
|
|
15061
|
-
return jspb.Message.
|
|
15190
|
+
proto.bonus.BonusTranslationRequest.prototype.clearPortraitFileType = function() {
|
|
15191
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
15192
|
+
};
|
|
15193
|
+
|
|
15194
|
+
|
|
15195
|
+
/**
|
|
15196
|
+
* Returns whether this field is set.
|
|
15197
|
+
* @return {boolean}
|
|
15198
|
+
*/
|
|
15199
|
+
proto.bonus.BonusTranslationRequest.prototype.hasPortraitFileType = function() {
|
|
15200
|
+
return jspb.Message.getField(this, 9) != null;
|
|
15201
|
+
};
|
|
15202
|
+
|
|
15203
|
+
|
|
15204
|
+
/**
|
|
15205
|
+
* optional bool remove_desktop_image = 10;
|
|
15206
|
+
* @return {boolean}
|
|
15207
|
+
*/
|
|
15208
|
+
proto.bonus.BonusTranslationRequest.prototype.getRemoveDesktopImage = function() {
|
|
15209
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
15210
|
+
};
|
|
15211
|
+
|
|
15212
|
+
|
|
15213
|
+
/**
|
|
15214
|
+
* @param {boolean} value
|
|
15215
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
15216
|
+
*/
|
|
15217
|
+
proto.bonus.BonusTranslationRequest.prototype.setRemoveDesktopImage = function(value) {
|
|
15218
|
+
return jspb.Message.setField(this, 10, value);
|
|
15219
|
+
};
|
|
15220
|
+
|
|
15221
|
+
|
|
15222
|
+
/**
|
|
15223
|
+
* Clears the field making it undefined.
|
|
15224
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
15225
|
+
*/
|
|
15226
|
+
proto.bonus.BonusTranslationRequest.prototype.clearRemoveDesktopImage = function() {
|
|
15227
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
15228
|
+
};
|
|
15229
|
+
|
|
15230
|
+
|
|
15231
|
+
/**
|
|
15232
|
+
* Returns whether this field is set.
|
|
15233
|
+
* @return {boolean}
|
|
15234
|
+
*/
|
|
15235
|
+
proto.bonus.BonusTranslationRequest.prototype.hasRemoveDesktopImage = function() {
|
|
15236
|
+
return jspb.Message.getField(this, 10) != null;
|
|
15237
|
+
};
|
|
15238
|
+
|
|
15239
|
+
|
|
15240
|
+
/**
|
|
15241
|
+
* optional bool remove_mobile_image = 11;
|
|
15242
|
+
* @return {boolean}
|
|
15243
|
+
*/
|
|
15244
|
+
proto.bonus.BonusTranslationRequest.prototype.getRemoveMobileImage = function() {
|
|
15245
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
15246
|
+
};
|
|
15247
|
+
|
|
15248
|
+
|
|
15249
|
+
/**
|
|
15250
|
+
* @param {boolean} value
|
|
15251
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
15252
|
+
*/
|
|
15253
|
+
proto.bonus.BonusTranslationRequest.prototype.setRemoveMobileImage = function(value) {
|
|
15254
|
+
return jspb.Message.setField(this, 11, value);
|
|
15255
|
+
};
|
|
15256
|
+
|
|
15257
|
+
|
|
15258
|
+
/**
|
|
15259
|
+
* Clears the field making it undefined.
|
|
15260
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
15261
|
+
*/
|
|
15262
|
+
proto.bonus.BonusTranslationRequest.prototype.clearRemoveMobileImage = function() {
|
|
15263
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
15264
|
+
};
|
|
15265
|
+
|
|
15266
|
+
|
|
15267
|
+
/**
|
|
15268
|
+
* Returns whether this field is set.
|
|
15269
|
+
* @return {boolean}
|
|
15270
|
+
*/
|
|
15271
|
+
proto.bonus.BonusTranslationRequest.prototype.hasRemoveMobileImage = function() {
|
|
15272
|
+
return jspb.Message.getField(this, 11) != null;
|
|
15273
|
+
};
|
|
15274
|
+
|
|
15275
|
+
|
|
15276
|
+
/**
|
|
15277
|
+
* optional bool remove_portrait_image = 12;
|
|
15278
|
+
* @return {boolean}
|
|
15279
|
+
*/
|
|
15280
|
+
proto.bonus.BonusTranslationRequest.prototype.getRemovePortraitImage = function() {
|
|
15281
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
15282
|
+
};
|
|
15283
|
+
|
|
15284
|
+
|
|
15285
|
+
/**
|
|
15286
|
+
* @param {boolean} value
|
|
15287
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
15288
|
+
*/
|
|
15289
|
+
proto.bonus.BonusTranslationRequest.prototype.setRemovePortraitImage = function(value) {
|
|
15290
|
+
return jspb.Message.setField(this, 12, value);
|
|
15291
|
+
};
|
|
15292
|
+
|
|
15293
|
+
|
|
15294
|
+
/**
|
|
15295
|
+
* Clears the field making it undefined.
|
|
15296
|
+
* @return {!proto.bonus.BonusTranslationRequest} returns this
|
|
15297
|
+
*/
|
|
15298
|
+
proto.bonus.BonusTranslationRequest.prototype.clearRemovePortraitImage = function() {
|
|
15299
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
15300
|
+
};
|
|
15301
|
+
|
|
15302
|
+
|
|
15303
|
+
/**
|
|
15304
|
+
* Returns whether this field is set.
|
|
15305
|
+
* @return {boolean}
|
|
15306
|
+
*/
|
|
15307
|
+
proto.bonus.BonusTranslationRequest.prototype.hasRemovePortraitImage = function() {
|
|
15308
|
+
return jspb.Message.getField(this, 12) != null;
|
|
15062
15309
|
};
|
|
15063
15310
|
|
|
15064
15311
|
|
|
15065
15312
|
|
|
15313
|
+
/**
|
|
15314
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
15315
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
15316
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
15317
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
15318
|
+
* @private {!Array<!Array<number>>}
|
|
15319
|
+
* @const
|
|
15320
|
+
*/
|
|
15321
|
+
proto.bonus.BonusTranslationUpsertRequest.oneofGroups_ = [[1,2]];
|
|
15322
|
+
|
|
15323
|
+
/**
|
|
15324
|
+
* @enum {number}
|
|
15325
|
+
*/
|
|
15326
|
+
proto.bonus.BonusTranslationUpsertRequest.RequestCase = {
|
|
15327
|
+
REQUEST_NOT_SET: 0,
|
|
15328
|
+
TRANSLATION_DATA: 1,
|
|
15329
|
+
FILE: 2
|
|
15330
|
+
};
|
|
15331
|
+
|
|
15332
|
+
/**
|
|
15333
|
+
* @return {proto.bonus.BonusTranslationUpsertRequest.RequestCase}
|
|
15334
|
+
*/
|
|
15335
|
+
proto.bonus.BonusTranslationUpsertRequest.prototype.getRequestCase = function() {
|
|
15336
|
+
return /** @type {proto.bonus.BonusTranslationUpsertRequest.RequestCase} */(jspb.Message.computeOneofCase(this, proto.bonus.BonusTranslationUpsertRequest.oneofGroups_[0]));
|
|
15337
|
+
};
|
|
15338
|
+
|
|
15066
15339
|
|
|
15067
15340
|
|
|
15068
15341
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -15078,8 +15351,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
15078
15351
|
* http://goto/soy-param-migration
|
|
15079
15352
|
* @return {!Object}
|
|
15080
15353
|
*/
|
|
15081
|
-
proto.bonus.
|
|
15082
|
-
return proto.bonus.
|
|
15354
|
+
proto.bonus.BonusTranslationUpsertRequest.prototype.toObject = function(opt_includeInstance) {
|
|
15355
|
+
return proto.bonus.BonusTranslationUpsertRequest.toObject(opt_includeInstance, this);
|
|
15083
15356
|
};
|
|
15084
15357
|
|
|
15085
15358
|
|
|
@@ -15088,17 +15361,14 @@ proto.bonus.BonusTranslationItem.prototype.toObject = function(opt_includeInstan
|
|
|
15088
15361
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15089
15362
|
* the JSPB instance for transitional soy proto support:
|
|
15090
15363
|
* http://goto/soy-param-migration
|
|
15091
|
-
* @param {!proto.bonus.
|
|
15364
|
+
* @param {!proto.bonus.BonusTranslationUpsertRequest} msg The msg instance to transform.
|
|
15092
15365
|
* @return {!Object}
|
|
15093
15366
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15094
15367
|
*/
|
|
15095
|
-
proto.bonus.
|
|
15368
|
+
proto.bonus.BonusTranslationUpsertRequest.toObject = function(includeInstance, msg) {
|
|
15096
15369
|
var f, obj = {
|
|
15097
|
-
|
|
15098
|
-
|
|
15099
|
-
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
15100
|
-
content: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15101
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
15370
|
+
translationData: (f = msg.getTranslationData()) && proto.bonus.BonusTranslationRequest.toObject(includeInstance, f),
|
|
15371
|
+
file: (f = msg.getFile()) && proto.bonus.File.toObject(includeInstance, f)
|
|
15102
15372
|
};
|
|
15103
15373
|
|
|
15104
15374
|
if (includeInstance) {
|
|
@@ -15110,124 +15380,777 @@ proto.bonus.BonusTranslationItem.toObject = function(includeInstance, msg) {
|
|
|
15110
15380
|
|
|
15111
15381
|
|
|
15112
15382
|
/**
|
|
15113
|
-
* Deserializes binary data (in protobuf wire format).
|
|
15114
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15115
|
-
* @return {!proto.bonus.
|
|
15383
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15384
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15385
|
+
* @return {!proto.bonus.BonusTranslationUpsertRequest}
|
|
15386
|
+
*/
|
|
15387
|
+
proto.bonus.BonusTranslationUpsertRequest.deserializeBinary = function(bytes) {
|
|
15388
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15389
|
+
var msg = new proto.bonus.BonusTranslationUpsertRequest;
|
|
15390
|
+
return proto.bonus.BonusTranslationUpsertRequest.deserializeBinaryFromReader(msg, reader);
|
|
15391
|
+
};
|
|
15392
|
+
|
|
15393
|
+
|
|
15394
|
+
/**
|
|
15395
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15396
|
+
* given reader into the given message object.
|
|
15397
|
+
* @param {!proto.bonus.BonusTranslationUpsertRequest} msg The message object to deserialize into.
|
|
15398
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15399
|
+
* @return {!proto.bonus.BonusTranslationUpsertRequest}
|
|
15400
|
+
*/
|
|
15401
|
+
proto.bonus.BonusTranslationUpsertRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
15402
|
+
while (reader.nextField()) {
|
|
15403
|
+
if (reader.isEndGroup()) {
|
|
15404
|
+
break;
|
|
15405
|
+
}
|
|
15406
|
+
var field = reader.getFieldNumber();
|
|
15407
|
+
switch (field) {
|
|
15408
|
+
case 1:
|
|
15409
|
+
var value = new proto.bonus.BonusTranslationRequest;
|
|
15410
|
+
reader.readMessage(value,proto.bonus.BonusTranslationRequest.deserializeBinaryFromReader);
|
|
15411
|
+
msg.setTranslationData(value);
|
|
15412
|
+
break;
|
|
15413
|
+
case 2:
|
|
15414
|
+
var value = new proto.bonus.File;
|
|
15415
|
+
reader.readMessage(value,proto.bonus.File.deserializeBinaryFromReader);
|
|
15416
|
+
msg.setFile(value);
|
|
15417
|
+
break;
|
|
15418
|
+
default:
|
|
15419
|
+
reader.skipField();
|
|
15420
|
+
break;
|
|
15421
|
+
}
|
|
15422
|
+
}
|
|
15423
|
+
return msg;
|
|
15424
|
+
};
|
|
15425
|
+
|
|
15426
|
+
|
|
15427
|
+
/**
|
|
15428
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15429
|
+
* @return {!Uint8Array}
|
|
15430
|
+
*/
|
|
15431
|
+
proto.bonus.BonusTranslationUpsertRequest.prototype.serializeBinary = function() {
|
|
15432
|
+
var writer = new jspb.BinaryWriter();
|
|
15433
|
+
proto.bonus.BonusTranslationUpsertRequest.serializeBinaryToWriter(this, writer);
|
|
15434
|
+
return writer.getResultBuffer();
|
|
15435
|
+
};
|
|
15436
|
+
|
|
15437
|
+
|
|
15438
|
+
/**
|
|
15439
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15440
|
+
* format), writing to the given BinaryWriter.
|
|
15441
|
+
* @param {!proto.bonus.BonusTranslationUpsertRequest} message
|
|
15442
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15443
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15444
|
+
*/
|
|
15445
|
+
proto.bonus.BonusTranslationUpsertRequest.serializeBinaryToWriter = function(message, writer) {
|
|
15446
|
+
var f = undefined;
|
|
15447
|
+
f = message.getTranslationData();
|
|
15448
|
+
if (f != null) {
|
|
15449
|
+
writer.writeMessage(
|
|
15450
|
+
1,
|
|
15451
|
+
f,
|
|
15452
|
+
proto.bonus.BonusTranslationRequest.serializeBinaryToWriter
|
|
15453
|
+
);
|
|
15454
|
+
}
|
|
15455
|
+
f = message.getFile();
|
|
15456
|
+
if (f != null) {
|
|
15457
|
+
writer.writeMessage(
|
|
15458
|
+
2,
|
|
15459
|
+
f,
|
|
15460
|
+
proto.bonus.File.serializeBinaryToWriter
|
|
15461
|
+
);
|
|
15462
|
+
}
|
|
15463
|
+
};
|
|
15464
|
+
|
|
15465
|
+
|
|
15466
|
+
/**
|
|
15467
|
+
* optional BonusTranslationRequest translation_data = 1;
|
|
15468
|
+
* @return {?proto.bonus.BonusTranslationRequest}
|
|
15469
|
+
*/
|
|
15470
|
+
proto.bonus.BonusTranslationUpsertRequest.prototype.getTranslationData = function() {
|
|
15471
|
+
return /** @type{?proto.bonus.BonusTranslationRequest} */ (
|
|
15472
|
+
jspb.Message.getWrapperField(this, proto.bonus.BonusTranslationRequest, 1));
|
|
15473
|
+
};
|
|
15474
|
+
|
|
15475
|
+
|
|
15476
|
+
/**
|
|
15477
|
+
* @param {?proto.bonus.BonusTranslationRequest|undefined} value
|
|
15478
|
+
* @return {!proto.bonus.BonusTranslationUpsertRequest} returns this
|
|
15479
|
+
*/
|
|
15480
|
+
proto.bonus.BonusTranslationUpsertRequest.prototype.setTranslationData = function(value) {
|
|
15481
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.bonus.BonusTranslationUpsertRequest.oneofGroups_[0], value);
|
|
15482
|
+
};
|
|
15483
|
+
|
|
15484
|
+
|
|
15485
|
+
/**
|
|
15486
|
+
* Clears the message field making it undefined.
|
|
15487
|
+
* @return {!proto.bonus.BonusTranslationUpsertRequest} returns this
|
|
15488
|
+
*/
|
|
15489
|
+
proto.bonus.BonusTranslationUpsertRequest.prototype.clearTranslationData = function() {
|
|
15490
|
+
return this.setTranslationData(undefined);
|
|
15491
|
+
};
|
|
15492
|
+
|
|
15493
|
+
|
|
15494
|
+
/**
|
|
15495
|
+
* Returns whether this field is set.
|
|
15496
|
+
* @return {boolean}
|
|
15497
|
+
*/
|
|
15498
|
+
proto.bonus.BonusTranslationUpsertRequest.prototype.hasTranslationData = function() {
|
|
15499
|
+
return jspb.Message.getField(this, 1) != null;
|
|
15500
|
+
};
|
|
15501
|
+
|
|
15502
|
+
|
|
15503
|
+
/**
|
|
15504
|
+
* optional File file = 2;
|
|
15505
|
+
* @return {?proto.bonus.File}
|
|
15506
|
+
*/
|
|
15507
|
+
proto.bonus.BonusTranslationUpsertRequest.prototype.getFile = function() {
|
|
15508
|
+
return /** @type{?proto.bonus.File} */ (
|
|
15509
|
+
jspb.Message.getWrapperField(this, proto.bonus.File, 2));
|
|
15510
|
+
};
|
|
15511
|
+
|
|
15512
|
+
|
|
15513
|
+
/**
|
|
15514
|
+
* @param {?proto.bonus.File|undefined} value
|
|
15515
|
+
* @return {!proto.bonus.BonusTranslationUpsertRequest} returns this
|
|
15516
|
+
*/
|
|
15517
|
+
proto.bonus.BonusTranslationUpsertRequest.prototype.setFile = function(value) {
|
|
15518
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.bonus.BonusTranslationUpsertRequest.oneofGroups_[0], value);
|
|
15519
|
+
};
|
|
15520
|
+
|
|
15521
|
+
|
|
15522
|
+
/**
|
|
15523
|
+
* Clears the message field making it undefined.
|
|
15524
|
+
* @return {!proto.bonus.BonusTranslationUpsertRequest} returns this
|
|
15525
|
+
*/
|
|
15526
|
+
proto.bonus.BonusTranslationUpsertRequest.prototype.clearFile = function() {
|
|
15527
|
+
return this.setFile(undefined);
|
|
15528
|
+
};
|
|
15529
|
+
|
|
15530
|
+
|
|
15531
|
+
/**
|
|
15532
|
+
* Returns whether this field is set.
|
|
15533
|
+
* @return {boolean}
|
|
15534
|
+
*/
|
|
15535
|
+
proto.bonus.BonusTranslationUpsertRequest.prototype.hasFile = function() {
|
|
15536
|
+
return jspb.Message.getField(this, 2) != null;
|
|
15537
|
+
};
|
|
15538
|
+
|
|
15539
|
+
|
|
15540
|
+
|
|
15541
|
+
|
|
15542
|
+
|
|
15543
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15544
|
+
/**
|
|
15545
|
+
* Creates an object representation of this proto.
|
|
15546
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15547
|
+
* Optional fields that are not set will be set to undefined.
|
|
15548
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15549
|
+
* For the list of reserved names please see:
|
|
15550
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15551
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15552
|
+
* JSPB instance for transitional soy proto support:
|
|
15553
|
+
* http://goto/soy-param-migration
|
|
15554
|
+
* @return {!Object}
|
|
15555
|
+
*/
|
|
15556
|
+
proto.bonus.GetBonusTranslationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
15557
|
+
return proto.bonus.GetBonusTranslationRequest.toObject(opt_includeInstance, this);
|
|
15558
|
+
};
|
|
15559
|
+
|
|
15560
|
+
|
|
15561
|
+
/**
|
|
15562
|
+
* Static version of the {@see toObject} method.
|
|
15563
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15564
|
+
* the JSPB instance for transitional soy proto support:
|
|
15565
|
+
* http://goto/soy-param-migration
|
|
15566
|
+
* @param {!proto.bonus.GetBonusTranslationRequest} msg The msg instance to transform.
|
|
15567
|
+
* @return {!Object}
|
|
15568
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15569
|
+
*/
|
|
15570
|
+
proto.bonus.GetBonusTranslationRequest.toObject = function(includeInstance, msg) {
|
|
15571
|
+
var f, obj = {
|
|
15572
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
15573
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
15574
|
+
};
|
|
15575
|
+
|
|
15576
|
+
if (includeInstance) {
|
|
15577
|
+
obj.$jspbMessageInstance = msg;
|
|
15578
|
+
}
|
|
15579
|
+
return obj;
|
|
15580
|
+
};
|
|
15581
|
+
}
|
|
15582
|
+
|
|
15583
|
+
|
|
15584
|
+
/**
|
|
15585
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15586
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15587
|
+
* @return {!proto.bonus.GetBonusTranslationRequest}
|
|
15588
|
+
*/
|
|
15589
|
+
proto.bonus.GetBonusTranslationRequest.deserializeBinary = function(bytes) {
|
|
15590
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15591
|
+
var msg = new proto.bonus.GetBonusTranslationRequest;
|
|
15592
|
+
return proto.bonus.GetBonusTranslationRequest.deserializeBinaryFromReader(msg, reader);
|
|
15593
|
+
};
|
|
15594
|
+
|
|
15595
|
+
|
|
15596
|
+
/**
|
|
15597
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15598
|
+
* given reader into the given message object.
|
|
15599
|
+
* @param {!proto.bonus.GetBonusTranslationRequest} msg The message object to deserialize into.
|
|
15600
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15601
|
+
* @return {!proto.bonus.GetBonusTranslationRequest}
|
|
15602
|
+
*/
|
|
15603
|
+
proto.bonus.GetBonusTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
15604
|
+
while (reader.nextField()) {
|
|
15605
|
+
if (reader.isEndGroup()) {
|
|
15606
|
+
break;
|
|
15607
|
+
}
|
|
15608
|
+
var field = reader.getFieldNumber();
|
|
15609
|
+
switch (field) {
|
|
15610
|
+
case 1:
|
|
15611
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
15612
|
+
msg.setBonusId(value);
|
|
15613
|
+
break;
|
|
15614
|
+
case 2:
|
|
15615
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15616
|
+
msg.setLocale(value);
|
|
15617
|
+
break;
|
|
15618
|
+
default:
|
|
15619
|
+
reader.skipField();
|
|
15620
|
+
break;
|
|
15621
|
+
}
|
|
15622
|
+
}
|
|
15623
|
+
return msg;
|
|
15624
|
+
};
|
|
15625
|
+
|
|
15626
|
+
|
|
15627
|
+
/**
|
|
15628
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15629
|
+
* @return {!Uint8Array}
|
|
15630
|
+
*/
|
|
15631
|
+
proto.bonus.GetBonusTranslationRequest.prototype.serializeBinary = function() {
|
|
15632
|
+
var writer = new jspb.BinaryWriter();
|
|
15633
|
+
proto.bonus.GetBonusTranslationRequest.serializeBinaryToWriter(this, writer);
|
|
15634
|
+
return writer.getResultBuffer();
|
|
15635
|
+
};
|
|
15636
|
+
|
|
15637
|
+
|
|
15638
|
+
/**
|
|
15639
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15640
|
+
* format), writing to the given BinaryWriter.
|
|
15641
|
+
* @param {!proto.bonus.GetBonusTranslationRequest} message
|
|
15642
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15643
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15644
|
+
*/
|
|
15645
|
+
proto.bonus.GetBonusTranslationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
15646
|
+
var f = undefined;
|
|
15647
|
+
f = message.getBonusId();
|
|
15648
|
+
if (f !== 0) {
|
|
15649
|
+
writer.writeInt32(
|
|
15650
|
+
1,
|
|
15651
|
+
f
|
|
15652
|
+
);
|
|
15653
|
+
}
|
|
15654
|
+
f = message.getLocale();
|
|
15655
|
+
if (f.length > 0) {
|
|
15656
|
+
writer.writeString(
|
|
15657
|
+
2,
|
|
15658
|
+
f
|
|
15659
|
+
);
|
|
15660
|
+
}
|
|
15661
|
+
};
|
|
15662
|
+
|
|
15663
|
+
|
|
15664
|
+
/**
|
|
15665
|
+
* optional int32 bonus_id = 1;
|
|
15666
|
+
* @return {number}
|
|
15667
|
+
*/
|
|
15668
|
+
proto.bonus.GetBonusTranslationRequest.prototype.getBonusId = function() {
|
|
15669
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
15670
|
+
};
|
|
15671
|
+
|
|
15672
|
+
|
|
15673
|
+
/**
|
|
15674
|
+
* @param {number} value
|
|
15675
|
+
* @return {!proto.bonus.GetBonusTranslationRequest} returns this
|
|
15676
|
+
*/
|
|
15677
|
+
proto.bonus.GetBonusTranslationRequest.prototype.setBonusId = function(value) {
|
|
15678
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
15679
|
+
};
|
|
15680
|
+
|
|
15681
|
+
|
|
15682
|
+
/**
|
|
15683
|
+
* optional string locale = 2;
|
|
15684
|
+
* @return {string}
|
|
15685
|
+
*/
|
|
15686
|
+
proto.bonus.GetBonusTranslationRequest.prototype.getLocale = function() {
|
|
15687
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
15688
|
+
};
|
|
15689
|
+
|
|
15690
|
+
|
|
15691
|
+
/**
|
|
15692
|
+
* @param {string} value
|
|
15693
|
+
* @return {!proto.bonus.GetBonusTranslationRequest} returns this
|
|
15694
|
+
*/
|
|
15695
|
+
proto.bonus.GetBonusTranslationRequest.prototype.setLocale = function(value) {
|
|
15696
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
15697
|
+
};
|
|
15698
|
+
|
|
15699
|
+
|
|
15700
|
+
|
|
15701
|
+
|
|
15702
|
+
|
|
15703
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15704
|
+
/**
|
|
15705
|
+
* Creates an object representation of this proto.
|
|
15706
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15707
|
+
* Optional fields that are not set will be set to undefined.
|
|
15708
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15709
|
+
* For the list of reserved names please see:
|
|
15710
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15711
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15712
|
+
* JSPB instance for transitional soy proto support:
|
|
15713
|
+
* http://goto/soy-param-migration
|
|
15714
|
+
* @return {!Object}
|
|
15715
|
+
*/
|
|
15716
|
+
proto.bonus.BonusTranslationItem.prototype.toObject = function(opt_includeInstance) {
|
|
15717
|
+
return proto.bonus.BonusTranslationItem.toObject(opt_includeInstance, this);
|
|
15718
|
+
};
|
|
15719
|
+
|
|
15720
|
+
|
|
15721
|
+
/**
|
|
15722
|
+
* Static version of the {@see toObject} method.
|
|
15723
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15724
|
+
* the JSPB instance for transitional soy proto support:
|
|
15725
|
+
* http://goto/soy-param-migration
|
|
15726
|
+
* @param {!proto.bonus.BonusTranslationItem} msg The msg instance to transform.
|
|
15727
|
+
* @return {!Object}
|
|
15728
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15729
|
+
*/
|
|
15730
|
+
proto.bonus.BonusTranslationItem.toObject = function(includeInstance, msg) {
|
|
15731
|
+
var f, obj = {
|
|
15732
|
+
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15733
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15734
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
15735
|
+
content: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15736
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
15737
|
+
image: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
15738
|
+
imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
15739
|
+
mobileImage: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
15740
|
+
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
15741
|
+
portraitImage: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
15742
|
+
portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
15743
|
+
};
|
|
15744
|
+
|
|
15745
|
+
if (includeInstance) {
|
|
15746
|
+
obj.$jspbMessageInstance = msg;
|
|
15747
|
+
}
|
|
15748
|
+
return obj;
|
|
15749
|
+
};
|
|
15750
|
+
}
|
|
15751
|
+
|
|
15752
|
+
|
|
15753
|
+
/**
|
|
15754
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15755
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15756
|
+
* @return {!proto.bonus.BonusTranslationItem}
|
|
15757
|
+
*/
|
|
15758
|
+
proto.bonus.BonusTranslationItem.deserializeBinary = function(bytes) {
|
|
15759
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15760
|
+
var msg = new proto.bonus.BonusTranslationItem;
|
|
15761
|
+
return proto.bonus.BonusTranslationItem.deserializeBinaryFromReader(msg, reader);
|
|
15762
|
+
};
|
|
15763
|
+
|
|
15764
|
+
|
|
15765
|
+
/**
|
|
15766
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
15767
|
+
* given reader into the given message object.
|
|
15768
|
+
* @param {!proto.bonus.BonusTranslationItem} msg The message object to deserialize into.
|
|
15769
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15770
|
+
* @return {!proto.bonus.BonusTranslationItem}
|
|
15771
|
+
*/
|
|
15772
|
+
proto.bonus.BonusTranslationItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
15773
|
+
while (reader.nextField()) {
|
|
15774
|
+
if (reader.isEndGroup()) {
|
|
15775
|
+
break;
|
|
15776
|
+
}
|
|
15777
|
+
var field = reader.getFieldNumber();
|
|
15778
|
+
switch (field) {
|
|
15779
|
+
case 1:
|
|
15780
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15781
|
+
msg.setTitle(value);
|
|
15782
|
+
break;
|
|
15783
|
+
case 2:
|
|
15784
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15785
|
+
msg.setLocale(value);
|
|
15786
|
+
break;
|
|
15787
|
+
case 3:
|
|
15788
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15789
|
+
msg.setDescription(value);
|
|
15790
|
+
break;
|
|
15791
|
+
case 4:
|
|
15792
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15793
|
+
msg.setContent(value);
|
|
15794
|
+
break;
|
|
15795
|
+
case 5:
|
|
15796
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
15797
|
+
msg.setIsActive(value);
|
|
15798
|
+
break;
|
|
15799
|
+
case 6:
|
|
15800
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15801
|
+
msg.setImage(value);
|
|
15802
|
+
break;
|
|
15803
|
+
case 7:
|
|
15804
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15805
|
+
msg.setImageCdn(value);
|
|
15806
|
+
break;
|
|
15807
|
+
case 8:
|
|
15808
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15809
|
+
msg.setMobileImage(value);
|
|
15810
|
+
break;
|
|
15811
|
+
case 9:
|
|
15812
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15813
|
+
msg.setMobileImageCdn(value);
|
|
15814
|
+
break;
|
|
15815
|
+
case 10:
|
|
15816
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15817
|
+
msg.setPortraitImage(value);
|
|
15818
|
+
break;
|
|
15819
|
+
case 11:
|
|
15820
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15821
|
+
msg.setPortraitImageCdn(value);
|
|
15822
|
+
break;
|
|
15823
|
+
default:
|
|
15824
|
+
reader.skipField();
|
|
15825
|
+
break;
|
|
15826
|
+
}
|
|
15827
|
+
}
|
|
15828
|
+
return msg;
|
|
15829
|
+
};
|
|
15830
|
+
|
|
15831
|
+
|
|
15832
|
+
/**
|
|
15833
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
15834
|
+
* @return {!Uint8Array}
|
|
15835
|
+
*/
|
|
15836
|
+
proto.bonus.BonusTranslationItem.prototype.serializeBinary = function() {
|
|
15837
|
+
var writer = new jspb.BinaryWriter();
|
|
15838
|
+
proto.bonus.BonusTranslationItem.serializeBinaryToWriter(this, writer);
|
|
15839
|
+
return writer.getResultBuffer();
|
|
15840
|
+
};
|
|
15841
|
+
|
|
15842
|
+
|
|
15843
|
+
/**
|
|
15844
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
15845
|
+
* format), writing to the given BinaryWriter.
|
|
15846
|
+
* @param {!proto.bonus.BonusTranslationItem} message
|
|
15847
|
+
* @param {!jspb.BinaryWriter} writer
|
|
15848
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15849
|
+
*/
|
|
15850
|
+
proto.bonus.BonusTranslationItem.serializeBinaryToWriter = function(message, writer) {
|
|
15851
|
+
var f = undefined;
|
|
15852
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
15853
|
+
if (f != null) {
|
|
15854
|
+
writer.writeString(
|
|
15855
|
+
1,
|
|
15856
|
+
f
|
|
15857
|
+
);
|
|
15858
|
+
}
|
|
15859
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
15860
|
+
if (f != null) {
|
|
15861
|
+
writer.writeString(
|
|
15862
|
+
2,
|
|
15863
|
+
f
|
|
15864
|
+
);
|
|
15865
|
+
}
|
|
15866
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
15867
|
+
if (f != null) {
|
|
15868
|
+
writer.writeString(
|
|
15869
|
+
3,
|
|
15870
|
+
f
|
|
15871
|
+
);
|
|
15872
|
+
}
|
|
15873
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
15874
|
+
if (f != null) {
|
|
15875
|
+
writer.writeString(
|
|
15876
|
+
4,
|
|
15877
|
+
f
|
|
15878
|
+
);
|
|
15879
|
+
}
|
|
15880
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
15881
|
+
if (f != null) {
|
|
15882
|
+
writer.writeInt32(
|
|
15883
|
+
5,
|
|
15884
|
+
f
|
|
15885
|
+
);
|
|
15886
|
+
}
|
|
15887
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
15888
|
+
if (f != null) {
|
|
15889
|
+
writer.writeString(
|
|
15890
|
+
6,
|
|
15891
|
+
f
|
|
15892
|
+
);
|
|
15893
|
+
}
|
|
15894
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
15895
|
+
if (f != null) {
|
|
15896
|
+
writer.writeString(
|
|
15897
|
+
7,
|
|
15898
|
+
f
|
|
15899
|
+
);
|
|
15900
|
+
}
|
|
15901
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
15902
|
+
if (f != null) {
|
|
15903
|
+
writer.writeString(
|
|
15904
|
+
8,
|
|
15905
|
+
f
|
|
15906
|
+
);
|
|
15907
|
+
}
|
|
15908
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
15909
|
+
if (f != null) {
|
|
15910
|
+
writer.writeString(
|
|
15911
|
+
9,
|
|
15912
|
+
f
|
|
15913
|
+
);
|
|
15914
|
+
}
|
|
15915
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
15916
|
+
if (f != null) {
|
|
15917
|
+
writer.writeString(
|
|
15918
|
+
10,
|
|
15919
|
+
f
|
|
15920
|
+
);
|
|
15921
|
+
}
|
|
15922
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
15923
|
+
if (f != null) {
|
|
15924
|
+
writer.writeString(
|
|
15925
|
+
11,
|
|
15926
|
+
f
|
|
15927
|
+
);
|
|
15928
|
+
}
|
|
15929
|
+
};
|
|
15930
|
+
|
|
15931
|
+
|
|
15932
|
+
/**
|
|
15933
|
+
* optional string title = 1;
|
|
15934
|
+
* @return {string}
|
|
15935
|
+
*/
|
|
15936
|
+
proto.bonus.BonusTranslationItem.prototype.getTitle = function() {
|
|
15937
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
15938
|
+
};
|
|
15939
|
+
|
|
15940
|
+
|
|
15941
|
+
/**
|
|
15942
|
+
* @param {string} value
|
|
15943
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15944
|
+
*/
|
|
15945
|
+
proto.bonus.BonusTranslationItem.prototype.setTitle = function(value) {
|
|
15946
|
+
return jspb.Message.setField(this, 1, value);
|
|
15947
|
+
};
|
|
15948
|
+
|
|
15949
|
+
|
|
15950
|
+
/**
|
|
15951
|
+
* Clears the field making it undefined.
|
|
15952
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15953
|
+
*/
|
|
15954
|
+
proto.bonus.BonusTranslationItem.prototype.clearTitle = function() {
|
|
15955
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
15956
|
+
};
|
|
15957
|
+
|
|
15958
|
+
|
|
15959
|
+
/**
|
|
15960
|
+
* Returns whether this field is set.
|
|
15961
|
+
* @return {boolean}
|
|
15962
|
+
*/
|
|
15963
|
+
proto.bonus.BonusTranslationItem.prototype.hasTitle = function() {
|
|
15964
|
+
return jspb.Message.getField(this, 1) != null;
|
|
15965
|
+
};
|
|
15966
|
+
|
|
15967
|
+
|
|
15968
|
+
/**
|
|
15969
|
+
* optional string locale = 2;
|
|
15970
|
+
* @return {string}
|
|
15971
|
+
*/
|
|
15972
|
+
proto.bonus.BonusTranslationItem.prototype.getLocale = function() {
|
|
15973
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
15974
|
+
};
|
|
15975
|
+
|
|
15976
|
+
|
|
15977
|
+
/**
|
|
15978
|
+
* @param {string} value
|
|
15979
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15980
|
+
*/
|
|
15981
|
+
proto.bonus.BonusTranslationItem.prototype.setLocale = function(value) {
|
|
15982
|
+
return jspb.Message.setField(this, 2, value);
|
|
15983
|
+
};
|
|
15984
|
+
|
|
15985
|
+
|
|
15986
|
+
/**
|
|
15987
|
+
* Clears the field making it undefined.
|
|
15988
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15989
|
+
*/
|
|
15990
|
+
proto.bonus.BonusTranslationItem.prototype.clearLocale = function() {
|
|
15991
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
15992
|
+
};
|
|
15993
|
+
|
|
15994
|
+
|
|
15995
|
+
/**
|
|
15996
|
+
* Returns whether this field is set.
|
|
15997
|
+
* @return {boolean}
|
|
15998
|
+
*/
|
|
15999
|
+
proto.bonus.BonusTranslationItem.prototype.hasLocale = function() {
|
|
16000
|
+
return jspb.Message.getField(this, 2) != null;
|
|
16001
|
+
};
|
|
16002
|
+
|
|
16003
|
+
|
|
16004
|
+
/**
|
|
16005
|
+
* optional string description = 3;
|
|
16006
|
+
* @return {string}
|
|
16007
|
+
*/
|
|
16008
|
+
proto.bonus.BonusTranslationItem.prototype.getDescription = function() {
|
|
16009
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
16010
|
+
};
|
|
16011
|
+
|
|
16012
|
+
|
|
16013
|
+
/**
|
|
16014
|
+
* @param {string} value
|
|
16015
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
16016
|
+
*/
|
|
16017
|
+
proto.bonus.BonusTranslationItem.prototype.setDescription = function(value) {
|
|
16018
|
+
return jspb.Message.setField(this, 3, value);
|
|
16019
|
+
};
|
|
16020
|
+
|
|
16021
|
+
|
|
16022
|
+
/**
|
|
16023
|
+
* Clears the field making it undefined.
|
|
16024
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
16025
|
+
*/
|
|
16026
|
+
proto.bonus.BonusTranslationItem.prototype.clearDescription = function() {
|
|
16027
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
16028
|
+
};
|
|
16029
|
+
|
|
16030
|
+
|
|
16031
|
+
/**
|
|
16032
|
+
* Returns whether this field is set.
|
|
16033
|
+
* @return {boolean}
|
|
16034
|
+
*/
|
|
16035
|
+
proto.bonus.BonusTranslationItem.prototype.hasDescription = function() {
|
|
16036
|
+
return jspb.Message.getField(this, 3) != null;
|
|
16037
|
+
};
|
|
16038
|
+
|
|
16039
|
+
|
|
16040
|
+
/**
|
|
16041
|
+
* optional string content = 4;
|
|
16042
|
+
* @return {string}
|
|
16043
|
+
*/
|
|
16044
|
+
proto.bonus.BonusTranslationItem.prototype.getContent = function() {
|
|
16045
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
16046
|
+
};
|
|
16047
|
+
|
|
16048
|
+
|
|
16049
|
+
/**
|
|
16050
|
+
* @param {string} value
|
|
16051
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
16052
|
+
*/
|
|
16053
|
+
proto.bonus.BonusTranslationItem.prototype.setContent = function(value) {
|
|
16054
|
+
return jspb.Message.setField(this, 4, value);
|
|
16055
|
+
};
|
|
16056
|
+
|
|
16057
|
+
|
|
16058
|
+
/**
|
|
16059
|
+
* Clears the field making it undefined.
|
|
16060
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
16061
|
+
*/
|
|
16062
|
+
proto.bonus.BonusTranslationItem.prototype.clearContent = function() {
|
|
16063
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
16064
|
+
};
|
|
16065
|
+
|
|
16066
|
+
|
|
16067
|
+
/**
|
|
16068
|
+
* Returns whether this field is set.
|
|
16069
|
+
* @return {boolean}
|
|
16070
|
+
*/
|
|
16071
|
+
proto.bonus.BonusTranslationItem.prototype.hasContent = function() {
|
|
16072
|
+
return jspb.Message.getField(this, 4) != null;
|
|
16073
|
+
};
|
|
16074
|
+
|
|
16075
|
+
|
|
16076
|
+
/**
|
|
16077
|
+
* optional int32 is_active = 5;
|
|
16078
|
+
* @return {number}
|
|
16079
|
+
*/
|
|
16080
|
+
proto.bonus.BonusTranslationItem.prototype.getIsActive = function() {
|
|
16081
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
16082
|
+
};
|
|
16083
|
+
|
|
16084
|
+
|
|
16085
|
+
/**
|
|
16086
|
+
* @param {number} value
|
|
16087
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
16088
|
+
*/
|
|
16089
|
+
proto.bonus.BonusTranslationItem.prototype.setIsActive = function(value) {
|
|
16090
|
+
return jspb.Message.setField(this, 5, value);
|
|
16091
|
+
};
|
|
16092
|
+
|
|
16093
|
+
|
|
16094
|
+
/**
|
|
16095
|
+
* Clears the field making it undefined.
|
|
16096
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
16097
|
+
*/
|
|
16098
|
+
proto.bonus.BonusTranslationItem.prototype.clearIsActive = function() {
|
|
16099
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
16100
|
+
};
|
|
16101
|
+
|
|
16102
|
+
|
|
16103
|
+
/**
|
|
16104
|
+
* Returns whether this field is set.
|
|
16105
|
+
* @return {boolean}
|
|
16106
|
+
*/
|
|
16107
|
+
proto.bonus.BonusTranslationItem.prototype.hasIsActive = function() {
|
|
16108
|
+
return jspb.Message.getField(this, 5) != null;
|
|
16109
|
+
};
|
|
16110
|
+
|
|
16111
|
+
|
|
16112
|
+
/**
|
|
16113
|
+
* optional string image = 6;
|
|
16114
|
+
* @return {string}
|
|
15116
16115
|
*/
|
|
15117
|
-
proto.bonus.BonusTranslationItem.
|
|
15118
|
-
|
|
15119
|
-
var msg = new proto.bonus.BonusTranslationItem;
|
|
15120
|
-
return proto.bonus.BonusTranslationItem.deserializeBinaryFromReader(msg, reader);
|
|
16116
|
+
proto.bonus.BonusTranslationItem.prototype.getImage = function() {
|
|
16117
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
15121
16118
|
};
|
|
15122
16119
|
|
|
15123
16120
|
|
|
15124
16121
|
/**
|
|
15125
|
-
*
|
|
15126
|
-
*
|
|
15127
|
-
* @param {!proto.bonus.BonusTranslationItem} msg The message object to deserialize into.
|
|
15128
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15129
|
-
* @return {!proto.bonus.BonusTranslationItem}
|
|
16122
|
+
* @param {string} value
|
|
16123
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15130
16124
|
*/
|
|
15131
|
-
proto.bonus.BonusTranslationItem.
|
|
15132
|
-
|
|
15133
|
-
if (reader.isEndGroup()) {
|
|
15134
|
-
break;
|
|
15135
|
-
}
|
|
15136
|
-
var field = reader.getFieldNumber();
|
|
15137
|
-
switch (field) {
|
|
15138
|
-
case 1:
|
|
15139
|
-
var value = /** @type {string} */ (reader.readString());
|
|
15140
|
-
msg.setTitle(value);
|
|
15141
|
-
break;
|
|
15142
|
-
case 2:
|
|
15143
|
-
var value = /** @type {string} */ (reader.readString());
|
|
15144
|
-
msg.setLocale(value);
|
|
15145
|
-
break;
|
|
15146
|
-
case 3:
|
|
15147
|
-
var value = /** @type {string} */ (reader.readString());
|
|
15148
|
-
msg.setDescription(value);
|
|
15149
|
-
break;
|
|
15150
|
-
case 4:
|
|
15151
|
-
var value = /** @type {string} */ (reader.readString());
|
|
15152
|
-
msg.setContent(value);
|
|
15153
|
-
break;
|
|
15154
|
-
case 5:
|
|
15155
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
15156
|
-
msg.setIsActive(value);
|
|
15157
|
-
break;
|
|
15158
|
-
default:
|
|
15159
|
-
reader.skipField();
|
|
15160
|
-
break;
|
|
15161
|
-
}
|
|
15162
|
-
}
|
|
15163
|
-
return msg;
|
|
16125
|
+
proto.bonus.BonusTranslationItem.prototype.setImage = function(value) {
|
|
16126
|
+
return jspb.Message.setField(this, 6, value);
|
|
15164
16127
|
};
|
|
15165
16128
|
|
|
15166
16129
|
|
|
15167
16130
|
/**
|
|
15168
|
-
*
|
|
15169
|
-
* @return {!
|
|
16131
|
+
* Clears the field making it undefined.
|
|
16132
|
+
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15170
16133
|
*/
|
|
15171
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15172
|
-
|
|
15173
|
-
proto.bonus.BonusTranslationItem.serializeBinaryToWriter(this, writer);
|
|
15174
|
-
return writer.getResultBuffer();
|
|
16134
|
+
proto.bonus.BonusTranslationItem.prototype.clearImage = function() {
|
|
16135
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
15175
16136
|
};
|
|
15176
16137
|
|
|
15177
16138
|
|
|
15178
16139
|
/**
|
|
15179
|
-
*
|
|
15180
|
-
*
|
|
15181
|
-
* @param {!proto.bonus.BonusTranslationItem} message
|
|
15182
|
-
* @param {!jspb.BinaryWriter} writer
|
|
15183
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16140
|
+
* Returns whether this field is set.
|
|
16141
|
+
* @return {boolean}
|
|
15184
16142
|
*/
|
|
15185
|
-
proto.bonus.BonusTranslationItem.
|
|
15186
|
-
|
|
15187
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
15188
|
-
if (f != null) {
|
|
15189
|
-
writer.writeString(
|
|
15190
|
-
1,
|
|
15191
|
-
f
|
|
15192
|
-
);
|
|
15193
|
-
}
|
|
15194
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
15195
|
-
if (f != null) {
|
|
15196
|
-
writer.writeString(
|
|
15197
|
-
2,
|
|
15198
|
-
f
|
|
15199
|
-
);
|
|
15200
|
-
}
|
|
15201
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
15202
|
-
if (f != null) {
|
|
15203
|
-
writer.writeString(
|
|
15204
|
-
3,
|
|
15205
|
-
f
|
|
15206
|
-
);
|
|
15207
|
-
}
|
|
15208
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
15209
|
-
if (f != null) {
|
|
15210
|
-
writer.writeString(
|
|
15211
|
-
4,
|
|
15212
|
-
f
|
|
15213
|
-
);
|
|
15214
|
-
}
|
|
15215
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
15216
|
-
if (f != null) {
|
|
15217
|
-
writer.writeInt32(
|
|
15218
|
-
5,
|
|
15219
|
-
f
|
|
15220
|
-
);
|
|
15221
|
-
}
|
|
16143
|
+
proto.bonus.BonusTranslationItem.prototype.hasImage = function() {
|
|
16144
|
+
return jspb.Message.getField(this, 6) != null;
|
|
15222
16145
|
};
|
|
15223
16146
|
|
|
15224
16147
|
|
|
15225
16148
|
/**
|
|
15226
|
-
* optional string
|
|
16149
|
+
* optional string image_cdn = 7;
|
|
15227
16150
|
* @return {string}
|
|
15228
16151
|
*/
|
|
15229
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15230
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
16152
|
+
proto.bonus.BonusTranslationItem.prototype.getImageCdn = function() {
|
|
16153
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
15231
16154
|
};
|
|
15232
16155
|
|
|
15233
16156
|
|
|
@@ -15235,8 +16158,8 @@ proto.bonus.BonusTranslationItem.prototype.getTitle = function() {
|
|
|
15235
16158
|
* @param {string} value
|
|
15236
16159
|
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15237
16160
|
*/
|
|
15238
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15239
|
-
return jspb.Message.setField(this,
|
|
16161
|
+
proto.bonus.BonusTranslationItem.prototype.setImageCdn = function(value) {
|
|
16162
|
+
return jspb.Message.setField(this, 7, value);
|
|
15240
16163
|
};
|
|
15241
16164
|
|
|
15242
16165
|
|
|
@@ -15244,8 +16167,8 @@ proto.bonus.BonusTranslationItem.prototype.setTitle = function(value) {
|
|
|
15244
16167
|
* Clears the field making it undefined.
|
|
15245
16168
|
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15246
16169
|
*/
|
|
15247
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15248
|
-
return jspb.Message.setField(this,
|
|
16170
|
+
proto.bonus.BonusTranslationItem.prototype.clearImageCdn = function() {
|
|
16171
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
15249
16172
|
};
|
|
15250
16173
|
|
|
15251
16174
|
|
|
@@ -15253,17 +16176,17 @@ proto.bonus.BonusTranslationItem.prototype.clearTitle = function() {
|
|
|
15253
16176
|
* Returns whether this field is set.
|
|
15254
16177
|
* @return {boolean}
|
|
15255
16178
|
*/
|
|
15256
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15257
|
-
return jspb.Message.getField(this,
|
|
16179
|
+
proto.bonus.BonusTranslationItem.prototype.hasImageCdn = function() {
|
|
16180
|
+
return jspb.Message.getField(this, 7) != null;
|
|
15258
16181
|
};
|
|
15259
16182
|
|
|
15260
16183
|
|
|
15261
16184
|
/**
|
|
15262
|
-
* optional string
|
|
16185
|
+
* optional string mobile_image = 8;
|
|
15263
16186
|
* @return {string}
|
|
15264
16187
|
*/
|
|
15265
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15266
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
16188
|
+
proto.bonus.BonusTranslationItem.prototype.getMobileImage = function() {
|
|
16189
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
15267
16190
|
};
|
|
15268
16191
|
|
|
15269
16192
|
|
|
@@ -15271,8 +16194,8 @@ proto.bonus.BonusTranslationItem.prototype.getLocale = function() {
|
|
|
15271
16194
|
* @param {string} value
|
|
15272
16195
|
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15273
16196
|
*/
|
|
15274
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15275
|
-
return jspb.Message.setField(this,
|
|
16197
|
+
proto.bonus.BonusTranslationItem.prototype.setMobileImage = function(value) {
|
|
16198
|
+
return jspb.Message.setField(this, 8, value);
|
|
15276
16199
|
};
|
|
15277
16200
|
|
|
15278
16201
|
|
|
@@ -15280,8 +16203,8 @@ proto.bonus.BonusTranslationItem.prototype.setLocale = function(value) {
|
|
|
15280
16203
|
* Clears the field making it undefined.
|
|
15281
16204
|
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15282
16205
|
*/
|
|
15283
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15284
|
-
return jspb.Message.setField(this,
|
|
16206
|
+
proto.bonus.BonusTranslationItem.prototype.clearMobileImage = function() {
|
|
16207
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
15285
16208
|
};
|
|
15286
16209
|
|
|
15287
16210
|
|
|
@@ -15289,17 +16212,17 @@ proto.bonus.BonusTranslationItem.prototype.clearLocale = function() {
|
|
|
15289
16212
|
* Returns whether this field is set.
|
|
15290
16213
|
* @return {boolean}
|
|
15291
16214
|
*/
|
|
15292
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15293
|
-
return jspb.Message.getField(this,
|
|
16215
|
+
proto.bonus.BonusTranslationItem.prototype.hasMobileImage = function() {
|
|
16216
|
+
return jspb.Message.getField(this, 8) != null;
|
|
15294
16217
|
};
|
|
15295
16218
|
|
|
15296
16219
|
|
|
15297
16220
|
/**
|
|
15298
|
-
* optional string
|
|
16221
|
+
* optional string mobile_image_cdn = 9;
|
|
15299
16222
|
* @return {string}
|
|
15300
16223
|
*/
|
|
15301
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15302
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
16224
|
+
proto.bonus.BonusTranslationItem.prototype.getMobileImageCdn = function() {
|
|
16225
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
15303
16226
|
};
|
|
15304
16227
|
|
|
15305
16228
|
|
|
@@ -15307,8 +16230,8 @@ proto.bonus.BonusTranslationItem.prototype.getDescription = function() {
|
|
|
15307
16230
|
* @param {string} value
|
|
15308
16231
|
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15309
16232
|
*/
|
|
15310
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15311
|
-
return jspb.Message.setField(this,
|
|
16233
|
+
proto.bonus.BonusTranslationItem.prototype.setMobileImageCdn = function(value) {
|
|
16234
|
+
return jspb.Message.setField(this, 9, value);
|
|
15312
16235
|
};
|
|
15313
16236
|
|
|
15314
16237
|
|
|
@@ -15316,8 +16239,8 @@ proto.bonus.BonusTranslationItem.prototype.setDescription = function(value) {
|
|
|
15316
16239
|
* Clears the field making it undefined.
|
|
15317
16240
|
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15318
16241
|
*/
|
|
15319
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15320
|
-
return jspb.Message.setField(this,
|
|
16242
|
+
proto.bonus.BonusTranslationItem.prototype.clearMobileImageCdn = function() {
|
|
16243
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
15321
16244
|
};
|
|
15322
16245
|
|
|
15323
16246
|
|
|
@@ -15325,17 +16248,17 @@ proto.bonus.BonusTranslationItem.prototype.clearDescription = function() {
|
|
|
15325
16248
|
* Returns whether this field is set.
|
|
15326
16249
|
* @return {boolean}
|
|
15327
16250
|
*/
|
|
15328
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15329
|
-
return jspb.Message.getField(this,
|
|
16251
|
+
proto.bonus.BonusTranslationItem.prototype.hasMobileImageCdn = function() {
|
|
16252
|
+
return jspb.Message.getField(this, 9) != null;
|
|
15330
16253
|
};
|
|
15331
16254
|
|
|
15332
16255
|
|
|
15333
16256
|
/**
|
|
15334
|
-
* optional string
|
|
16257
|
+
* optional string portrait_image = 10;
|
|
15335
16258
|
* @return {string}
|
|
15336
16259
|
*/
|
|
15337
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15338
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
16260
|
+
proto.bonus.BonusTranslationItem.prototype.getPortraitImage = function() {
|
|
16261
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
15339
16262
|
};
|
|
15340
16263
|
|
|
15341
16264
|
|
|
@@ -15343,8 +16266,8 @@ proto.bonus.BonusTranslationItem.prototype.getContent = function() {
|
|
|
15343
16266
|
* @param {string} value
|
|
15344
16267
|
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15345
16268
|
*/
|
|
15346
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15347
|
-
return jspb.Message.setField(this,
|
|
16269
|
+
proto.bonus.BonusTranslationItem.prototype.setPortraitImage = function(value) {
|
|
16270
|
+
return jspb.Message.setField(this, 10, value);
|
|
15348
16271
|
};
|
|
15349
16272
|
|
|
15350
16273
|
|
|
@@ -15352,8 +16275,8 @@ proto.bonus.BonusTranslationItem.prototype.setContent = function(value) {
|
|
|
15352
16275
|
* Clears the field making it undefined.
|
|
15353
16276
|
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15354
16277
|
*/
|
|
15355
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15356
|
-
return jspb.Message.setField(this,
|
|
16278
|
+
proto.bonus.BonusTranslationItem.prototype.clearPortraitImage = function() {
|
|
16279
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
15357
16280
|
};
|
|
15358
16281
|
|
|
15359
16282
|
|
|
@@ -15361,26 +16284,26 @@ proto.bonus.BonusTranslationItem.prototype.clearContent = function() {
|
|
|
15361
16284
|
* Returns whether this field is set.
|
|
15362
16285
|
* @return {boolean}
|
|
15363
16286
|
*/
|
|
15364
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15365
|
-
return jspb.Message.getField(this,
|
|
16287
|
+
proto.bonus.BonusTranslationItem.prototype.hasPortraitImage = function() {
|
|
16288
|
+
return jspb.Message.getField(this, 10) != null;
|
|
15366
16289
|
};
|
|
15367
16290
|
|
|
15368
16291
|
|
|
15369
16292
|
/**
|
|
15370
|
-
* optional
|
|
15371
|
-
* @return {
|
|
16293
|
+
* optional string portrait_image_cdn = 11;
|
|
16294
|
+
* @return {string}
|
|
15372
16295
|
*/
|
|
15373
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15374
|
-
return /** @type {
|
|
16296
|
+
proto.bonus.BonusTranslationItem.prototype.getPortraitImageCdn = function() {
|
|
16297
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
15375
16298
|
};
|
|
15376
16299
|
|
|
15377
16300
|
|
|
15378
16301
|
/**
|
|
15379
|
-
* @param {
|
|
16302
|
+
* @param {string} value
|
|
15380
16303
|
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15381
16304
|
*/
|
|
15382
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15383
|
-
return jspb.Message.setField(this,
|
|
16305
|
+
proto.bonus.BonusTranslationItem.prototype.setPortraitImageCdn = function(value) {
|
|
16306
|
+
return jspb.Message.setField(this, 11, value);
|
|
15384
16307
|
};
|
|
15385
16308
|
|
|
15386
16309
|
|
|
@@ -15388,8 +16311,8 @@ proto.bonus.BonusTranslationItem.prototype.setIsActive = function(value) {
|
|
|
15388
16311
|
* Clears the field making it undefined.
|
|
15389
16312
|
* @return {!proto.bonus.BonusTranslationItem} returns this
|
|
15390
16313
|
*/
|
|
15391
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15392
|
-
return jspb.Message.setField(this,
|
|
16314
|
+
proto.bonus.BonusTranslationItem.prototype.clearPortraitImageCdn = function() {
|
|
16315
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
15393
16316
|
};
|
|
15394
16317
|
|
|
15395
16318
|
|
|
@@ -15397,8 +16320,8 @@ proto.bonus.BonusTranslationItem.prototype.clearIsActive = function() {
|
|
|
15397
16320
|
* Returns whether this field is set.
|
|
15398
16321
|
* @return {boolean}
|
|
15399
16322
|
*/
|
|
15400
|
-
proto.bonus.BonusTranslationItem.prototype.
|
|
15401
|
-
return jspb.Message.getField(this,
|
|
16323
|
+
proto.bonus.BonusTranslationItem.prototype.hasPortraitImageCdn = function() {
|
|
16324
|
+
return jspb.Message.getField(this, 11) != null;
|
|
15402
16325
|
};
|
|
15403
16326
|
|
|
15404
16327
|
|
|
@@ -22446,7 +23369,9 @@ proto.bonus.DepositEligibleUserBonusItem.toObject = function(includeInstance, ms
|
|
|
22446
23369
|
proto.bonus.ActivationRule.toObject, includeInstance),
|
|
22447
23370
|
betsRangeList: jspb.Message.toObjectList(msg.getBetsRangeList(),
|
|
22448
23371
|
proto.bonus.BetsRange.toObject, includeInstance),
|
|
22449
|
-
bonusId: jspb.Message.getFieldWithDefault(msg, 17, 0)
|
|
23372
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
23373
|
+
portraitImage: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
23374
|
+
portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
22450
23375
|
};
|
|
22451
23376
|
|
|
22452
23377
|
if (includeInstance) {
|
|
@@ -22554,6 +23479,14 @@ proto.bonus.DepositEligibleUserBonusItem.deserializeBinaryFromReader = function(
|
|
|
22554
23479
|
var value = /** @type {number} */ (reader.readInt32());
|
|
22555
23480
|
msg.setBonusId(value);
|
|
22556
23481
|
break;
|
|
23482
|
+
case 18:
|
|
23483
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23484
|
+
msg.setPortraitImage(value);
|
|
23485
|
+
break;
|
|
23486
|
+
case 19:
|
|
23487
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23488
|
+
msg.setPortraitImageCdn(value);
|
|
23489
|
+
break;
|
|
22557
23490
|
default:
|
|
22558
23491
|
reader.skipField();
|
|
22559
23492
|
break;
|
|
@@ -22705,6 +23638,20 @@ proto.bonus.DepositEligibleUserBonusItem.serializeBinaryToWriter = function(mess
|
|
|
22705
23638
|
f
|
|
22706
23639
|
);
|
|
22707
23640
|
}
|
|
23641
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
|
23642
|
+
if (f != null) {
|
|
23643
|
+
writer.writeString(
|
|
23644
|
+
18,
|
|
23645
|
+
f
|
|
23646
|
+
);
|
|
23647
|
+
}
|
|
23648
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 19));
|
|
23649
|
+
if (f != null) {
|
|
23650
|
+
writer.writeString(
|
|
23651
|
+
19,
|
|
23652
|
+
f
|
|
23653
|
+
);
|
|
23654
|
+
}
|
|
22708
23655
|
};
|
|
22709
23656
|
|
|
22710
23657
|
|
|
@@ -23326,6 +24273,78 @@ proto.bonus.DepositEligibleUserBonusItem.prototype.hasBonusId = function() {
|
|
|
23326
24273
|
};
|
|
23327
24274
|
|
|
23328
24275
|
|
|
24276
|
+
/**
|
|
24277
|
+
* optional string portrait_image = 18;
|
|
24278
|
+
* @return {string}
|
|
24279
|
+
*/
|
|
24280
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.getPortraitImage = function() {
|
|
24281
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
24282
|
+
};
|
|
24283
|
+
|
|
24284
|
+
|
|
24285
|
+
/**
|
|
24286
|
+
* @param {string} value
|
|
24287
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
24288
|
+
*/
|
|
24289
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.setPortraitImage = function(value) {
|
|
24290
|
+
return jspb.Message.setField(this, 18, value);
|
|
24291
|
+
};
|
|
24292
|
+
|
|
24293
|
+
|
|
24294
|
+
/**
|
|
24295
|
+
* Clears the field making it undefined.
|
|
24296
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
24297
|
+
*/
|
|
24298
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.clearPortraitImage = function() {
|
|
24299
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
24300
|
+
};
|
|
24301
|
+
|
|
24302
|
+
|
|
24303
|
+
/**
|
|
24304
|
+
* Returns whether this field is set.
|
|
24305
|
+
* @return {boolean}
|
|
24306
|
+
*/
|
|
24307
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.hasPortraitImage = function() {
|
|
24308
|
+
return jspb.Message.getField(this, 18) != null;
|
|
24309
|
+
};
|
|
24310
|
+
|
|
24311
|
+
|
|
24312
|
+
/**
|
|
24313
|
+
* optional string portrait_image_cdn = 19;
|
|
24314
|
+
* @return {string}
|
|
24315
|
+
*/
|
|
24316
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.getPortraitImageCdn = function() {
|
|
24317
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
24318
|
+
};
|
|
24319
|
+
|
|
24320
|
+
|
|
24321
|
+
/**
|
|
24322
|
+
* @param {string} value
|
|
24323
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
24324
|
+
*/
|
|
24325
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.setPortraitImageCdn = function(value) {
|
|
24326
|
+
return jspb.Message.setField(this, 19, value);
|
|
24327
|
+
};
|
|
24328
|
+
|
|
24329
|
+
|
|
24330
|
+
/**
|
|
24331
|
+
* Clears the field making it undefined.
|
|
24332
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
24333
|
+
*/
|
|
24334
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.clearPortraitImageCdn = function() {
|
|
24335
|
+
return jspb.Message.setField(this, 19, undefined);
|
|
24336
|
+
};
|
|
24337
|
+
|
|
24338
|
+
|
|
24339
|
+
/**
|
|
24340
|
+
* Returns whether this field is set.
|
|
24341
|
+
* @return {boolean}
|
|
24342
|
+
*/
|
|
24343
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.hasPortraitImageCdn = function() {
|
|
24344
|
+
return jspb.Message.getField(this, 19) != null;
|
|
24345
|
+
};
|
|
24346
|
+
|
|
24347
|
+
|
|
23329
24348
|
|
|
23330
24349
|
|
|
23331
24350
|
|