protobuf-platform 1.1.13 → 1.1.15

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/user/user_pb.js CHANGED
@@ -29,6 +29,8 @@ goog.exportSymbol('proto.user.File', null, global);
29
29
  goog.exportSymbol('proto.user.GetNoteRequest', null, global);
30
30
  goog.exportSymbol('proto.user.GetRoleRequest', null, global);
31
31
  goog.exportSymbol('proto.user.GetSegmentRequest', null, global);
32
+ goog.exportSymbol('proto.user.GetUserLimitsRequest', null, global);
33
+ goog.exportSymbol('proto.user.LimitStatusResponse', null, global);
32
34
  goog.exportSymbol('proto.user.LoggedInResponse', null, global);
33
35
  goog.exportSymbol('proto.user.LoginRequest', null, global);
34
36
  goog.exportSymbol('proto.user.NoteItem', null, global);
@@ -58,6 +60,8 @@ goog.exportSymbol('proto.user.SumSubDocumentRequest.RequestCase', null, global);
58
60
  goog.exportSymbol('proto.user.SumSubResponse', null, global);
59
61
  goog.exportSymbol('proto.user.UserDataRequest', null, global);
60
62
  goog.exportSymbol('proto.user.UserDataResponse', null, global);
63
+ goog.exportSymbol('proto.user.UserLimitsRequest', null, global);
64
+ goog.exportSymbol('proto.user.UserLimitsResponse', null, global);
61
65
  goog.exportSymbol('proto.user.UserLoyaltyItem', null, global);
62
66
  goog.exportSymbol('proto.user.UserRequest', null, global);
63
67
  goog.exportSymbol('proto.user.UserSearchParams', null, global);
@@ -946,6 +950,90 @@ if (goog.DEBUG && !COMPILED) {
946
950
  */
947
951
  proto.user.SumSubResponse.displayName = 'proto.user.SumSubResponse';
948
952
  }
953
+ /**
954
+ * Generated by JsPbCodeGenerator.
955
+ * @param {Array=} opt_data Optional initial data array, typically from a
956
+ * server response, or constructed directly in Javascript. The array is used
957
+ * in place and becomes part of the constructed object. It is not cloned.
958
+ * If no data is provided, the constructed object will be empty, but still
959
+ * valid.
960
+ * @extends {jspb.Message}
961
+ * @constructor
962
+ */
963
+ proto.user.UserLimitsRequest = function(opt_data) {
964
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
965
+ };
966
+ goog.inherits(proto.user.UserLimitsRequest, jspb.Message);
967
+ if (goog.DEBUG && !COMPILED) {
968
+ /**
969
+ * @public
970
+ * @override
971
+ */
972
+ proto.user.UserLimitsRequest.displayName = 'proto.user.UserLimitsRequest';
973
+ }
974
+ /**
975
+ * Generated by JsPbCodeGenerator.
976
+ * @param {Array=} opt_data Optional initial data array, typically from a
977
+ * server response, or constructed directly in Javascript. The array is used
978
+ * in place and becomes part of the constructed object. It is not cloned.
979
+ * If no data is provided, the constructed object will be empty, but still
980
+ * valid.
981
+ * @extends {jspb.Message}
982
+ * @constructor
983
+ */
984
+ proto.user.GetUserLimitsRequest = function(opt_data) {
985
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
986
+ };
987
+ goog.inherits(proto.user.GetUserLimitsRequest, jspb.Message);
988
+ if (goog.DEBUG && !COMPILED) {
989
+ /**
990
+ * @public
991
+ * @override
992
+ */
993
+ proto.user.GetUserLimitsRequest.displayName = 'proto.user.GetUserLimitsRequest';
994
+ }
995
+ /**
996
+ * Generated by JsPbCodeGenerator.
997
+ * @param {Array=} opt_data Optional initial data array, typically from a
998
+ * server response, or constructed directly in Javascript. The array is used
999
+ * in place and becomes part of the constructed object. It is not cloned.
1000
+ * If no data is provided, the constructed object will be empty, but still
1001
+ * valid.
1002
+ * @extends {jspb.Message}
1003
+ * @constructor
1004
+ */
1005
+ proto.user.UserLimitsResponse = function(opt_data) {
1006
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1007
+ };
1008
+ goog.inherits(proto.user.UserLimitsResponse, jspb.Message);
1009
+ if (goog.DEBUG && !COMPILED) {
1010
+ /**
1011
+ * @public
1012
+ * @override
1013
+ */
1014
+ proto.user.UserLimitsResponse.displayName = 'proto.user.UserLimitsResponse';
1015
+ }
1016
+ /**
1017
+ * Generated by JsPbCodeGenerator.
1018
+ * @param {Array=} opt_data Optional initial data array, typically from a
1019
+ * server response, or constructed directly in Javascript. The array is used
1020
+ * in place and becomes part of the constructed object. It is not cloned.
1021
+ * If no data is provided, the constructed object will be empty, but still
1022
+ * valid.
1023
+ * @extends {jspb.Message}
1024
+ * @constructor
1025
+ */
1026
+ proto.user.LimitStatusResponse = function(opt_data) {
1027
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1028
+ };
1029
+ goog.inherits(proto.user.LimitStatusResponse, jspb.Message);
1030
+ if (goog.DEBUG && !COMPILED) {
1031
+ /**
1032
+ * @public
1033
+ * @override
1034
+ */
1035
+ proto.user.LimitStatusResponse.displayName = 'proto.user.LimitStatusResponse';
1036
+ }
949
1037
 
950
1038
 
951
1039
 
@@ -14075,4 +14163,1550 @@ proto.user.SumSubResponse.prototype.hasIdDocType = function() {
14075
14163
  };
14076
14164
 
14077
14165
 
14166
+
14167
+
14168
+
14169
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14170
+ /**
14171
+ * Creates an object representation of this proto.
14172
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14173
+ * Optional fields that are not set will be set to undefined.
14174
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14175
+ * For the list of reserved names please see:
14176
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14177
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14178
+ * JSPB instance for transitional soy proto support:
14179
+ * http://goto/soy-param-migration
14180
+ * @return {!Object}
14181
+ */
14182
+ proto.user.UserLimitsRequest.prototype.toObject = function(opt_includeInstance) {
14183
+ return proto.user.UserLimitsRequest.toObject(opt_includeInstance, this);
14184
+ };
14185
+
14186
+
14187
+ /**
14188
+ * Static version of the {@see toObject} method.
14189
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14190
+ * the JSPB instance for transitional soy proto support:
14191
+ * http://goto/soy-param-migration
14192
+ * @param {!proto.user.UserLimitsRequest} msg The msg instance to transform.
14193
+ * @return {!Object}
14194
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14195
+ */
14196
+ proto.user.UserLimitsRequest.toObject = function(includeInstance, msg) {
14197
+ var f, obj = {
14198
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
14199
+ dailyDepositLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
14200
+ dailyWithdrawalLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
14201
+ weeklyDepositLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
14202
+ weeklyWithdrawalLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
14203
+ monthlyDepositLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
14204
+ monthlyWithdrawalLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
14205
+ yearlyDepositLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
14206
+ yearlyWithdrawalLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
14207
+ dailyMaxBetSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
14208
+ dailyMaxBetCount: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
14209
+ dailyMaxLossSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0)
14210
+ };
14211
+
14212
+ if (includeInstance) {
14213
+ obj.$jspbMessageInstance = msg;
14214
+ }
14215
+ return obj;
14216
+ };
14217
+ }
14218
+
14219
+
14220
+ /**
14221
+ * Deserializes binary data (in protobuf wire format).
14222
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14223
+ * @return {!proto.user.UserLimitsRequest}
14224
+ */
14225
+ proto.user.UserLimitsRequest.deserializeBinary = function(bytes) {
14226
+ var reader = new jspb.BinaryReader(bytes);
14227
+ var msg = new proto.user.UserLimitsRequest;
14228
+ return proto.user.UserLimitsRequest.deserializeBinaryFromReader(msg, reader);
14229
+ };
14230
+
14231
+
14232
+ /**
14233
+ * Deserializes binary data (in protobuf wire format) from the
14234
+ * given reader into the given message object.
14235
+ * @param {!proto.user.UserLimitsRequest} msg The message object to deserialize into.
14236
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14237
+ * @return {!proto.user.UserLimitsRequest}
14238
+ */
14239
+ proto.user.UserLimitsRequest.deserializeBinaryFromReader = function(msg, reader) {
14240
+ while (reader.nextField()) {
14241
+ if (reader.isEndGroup()) {
14242
+ break;
14243
+ }
14244
+ var field = reader.getFieldNumber();
14245
+ switch (field) {
14246
+ case 1:
14247
+ var value = /** @type {number} */ (reader.readInt32());
14248
+ msg.setUserId(value);
14249
+ break;
14250
+ case 2:
14251
+ var value = /** @type {number} */ (reader.readFloat());
14252
+ msg.setDailyDepositLimit(value);
14253
+ break;
14254
+ case 3:
14255
+ var value = /** @type {number} */ (reader.readFloat());
14256
+ msg.setDailyWithdrawalLimit(value);
14257
+ break;
14258
+ case 4:
14259
+ var value = /** @type {number} */ (reader.readFloat());
14260
+ msg.setWeeklyDepositLimit(value);
14261
+ break;
14262
+ case 5:
14263
+ var value = /** @type {number} */ (reader.readFloat());
14264
+ msg.setWeeklyWithdrawalLimit(value);
14265
+ break;
14266
+ case 6:
14267
+ var value = /** @type {number} */ (reader.readFloat());
14268
+ msg.setMonthlyDepositLimit(value);
14269
+ break;
14270
+ case 7:
14271
+ var value = /** @type {number} */ (reader.readFloat());
14272
+ msg.setMonthlyWithdrawalLimit(value);
14273
+ break;
14274
+ case 8:
14275
+ var value = /** @type {number} */ (reader.readFloat());
14276
+ msg.setYearlyDepositLimit(value);
14277
+ break;
14278
+ case 9:
14279
+ var value = /** @type {number} */ (reader.readFloat());
14280
+ msg.setYearlyWithdrawalLimit(value);
14281
+ break;
14282
+ case 10:
14283
+ var value = /** @type {number} */ (reader.readFloat());
14284
+ msg.setDailyMaxBetSum(value);
14285
+ break;
14286
+ case 11:
14287
+ var value = /** @type {number} */ (reader.readFloat());
14288
+ msg.setDailyMaxBetCount(value);
14289
+ break;
14290
+ case 12:
14291
+ var value = /** @type {number} */ (reader.readFloat());
14292
+ msg.setDailyMaxLossSum(value);
14293
+ break;
14294
+ default:
14295
+ reader.skipField();
14296
+ break;
14297
+ }
14298
+ }
14299
+ return msg;
14300
+ };
14301
+
14302
+
14303
+ /**
14304
+ * Serializes the message to binary data (in protobuf wire format).
14305
+ * @return {!Uint8Array}
14306
+ */
14307
+ proto.user.UserLimitsRequest.prototype.serializeBinary = function() {
14308
+ var writer = new jspb.BinaryWriter();
14309
+ proto.user.UserLimitsRequest.serializeBinaryToWriter(this, writer);
14310
+ return writer.getResultBuffer();
14311
+ };
14312
+
14313
+
14314
+ /**
14315
+ * Serializes the given message to binary data (in protobuf wire
14316
+ * format), writing to the given BinaryWriter.
14317
+ * @param {!proto.user.UserLimitsRequest} message
14318
+ * @param {!jspb.BinaryWriter} writer
14319
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14320
+ */
14321
+ proto.user.UserLimitsRequest.serializeBinaryToWriter = function(message, writer) {
14322
+ var f = undefined;
14323
+ f = message.getUserId();
14324
+ if (f !== 0) {
14325
+ writer.writeInt32(
14326
+ 1,
14327
+ f
14328
+ );
14329
+ }
14330
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
14331
+ if (f != null) {
14332
+ writer.writeFloat(
14333
+ 2,
14334
+ f
14335
+ );
14336
+ }
14337
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
14338
+ if (f != null) {
14339
+ writer.writeFloat(
14340
+ 3,
14341
+ f
14342
+ );
14343
+ }
14344
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
14345
+ if (f != null) {
14346
+ writer.writeFloat(
14347
+ 4,
14348
+ f
14349
+ );
14350
+ }
14351
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
14352
+ if (f != null) {
14353
+ writer.writeFloat(
14354
+ 5,
14355
+ f
14356
+ );
14357
+ }
14358
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
14359
+ if (f != null) {
14360
+ writer.writeFloat(
14361
+ 6,
14362
+ f
14363
+ );
14364
+ }
14365
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
14366
+ if (f != null) {
14367
+ writer.writeFloat(
14368
+ 7,
14369
+ f
14370
+ );
14371
+ }
14372
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
14373
+ if (f != null) {
14374
+ writer.writeFloat(
14375
+ 8,
14376
+ f
14377
+ );
14378
+ }
14379
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
14380
+ if (f != null) {
14381
+ writer.writeFloat(
14382
+ 9,
14383
+ f
14384
+ );
14385
+ }
14386
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
14387
+ if (f != null) {
14388
+ writer.writeFloat(
14389
+ 10,
14390
+ f
14391
+ );
14392
+ }
14393
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
14394
+ if (f != null) {
14395
+ writer.writeFloat(
14396
+ 11,
14397
+ f
14398
+ );
14399
+ }
14400
+ f = /** @type {number} */ (jspb.Message.getField(message, 12));
14401
+ if (f != null) {
14402
+ writer.writeFloat(
14403
+ 12,
14404
+ f
14405
+ );
14406
+ }
14407
+ };
14408
+
14409
+
14410
+ /**
14411
+ * optional int32 user_id = 1;
14412
+ * @return {number}
14413
+ */
14414
+ proto.user.UserLimitsRequest.prototype.getUserId = function() {
14415
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
14416
+ };
14417
+
14418
+
14419
+ /**
14420
+ * @param {number} value
14421
+ * @return {!proto.user.UserLimitsRequest} returns this
14422
+ */
14423
+ proto.user.UserLimitsRequest.prototype.setUserId = function(value) {
14424
+ return jspb.Message.setProto3IntField(this, 1, value);
14425
+ };
14426
+
14427
+
14428
+ /**
14429
+ * optional float daily_deposit_limit = 2;
14430
+ * @return {number}
14431
+ */
14432
+ proto.user.UserLimitsRequest.prototype.getDailyDepositLimit = function() {
14433
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
14434
+ };
14435
+
14436
+
14437
+ /**
14438
+ * @param {number} value
14439
+ * @return {!proto.user.UserLimitsRequest} returns this
14440
+ */
14441
+ proto.user.UserLimitsRequest.prototype.setDailyDepositLimit = function(value) {
14442
+ return jspb.Message.setField(this, 2, value);
14443
+ };
14444
+
14445
+
14446
+ /**
14447
+ * Clears the field making it undefined.
14448
+ * @return {!proto.user.UserLimitsRequest} returns this
14449
+ */
14450
+ proto.user.UserLimitsRequest.prototype.clearDailyDepositLimit = function() {
14451
+ return jspb.Message.setField(this, 2, undefined);
14452
+ };
14453
+
14454
+
14455
+ /**
14456
+ * Returns whether this field is set.
14457
+ * @return {boolean}
14458
+ */
14459
+ proto.user.UserLimitsRequest.prototype.hasDailyDepositLimit = function() {
14460
+ return jspb.Message.getField(this, 2) != null;
14461
+ };
14462
+
14463
+
14464
+ /**
14465
+ * optional float daily_withdrawal_limit = 3;
14466
+ * @return {number}
14467
+ */
14468
+ proto.user.UserLimitsRequest.prototype.getDailyWithdrawalLimit = function() {
14469
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
14470
+ };
14471
+
14472
+
14473
+ /**
14474
+ * @param {number} value
14475
+ * @return {!proto.user.UserLimitsRequest} returns this
14476
+ */
14477
+ proto.user.UserLimitsRequest.prototype.setDailyWithdrawalLimit = function(value) {
14478
+ return jspb.Message.setField(this, 3, value);
14479
+ };
14480
+
14481
+
14482
+ /**
14483
+ * Clears the field making it undefined.
14484
+ * @return {!proto.user.UserLimitsRequest} returns this
14485
+ */
14486
+ proto.user.UserLimitsRequest.prototype.clearDailyWithdrawalLimit = function() {
14487
+ return jspb.Message.setField(this, 3, undefined);
14488
+ };
14489
+
14490
+
14491
+ /**
14492
+ * Returns whether this field is set.
14493
+ * @return {boolean}
14494
+ */
14495
+ proto.user.UserLimitsRequest.prototype.hasDailyWithdrawalLimit = function() {
14496
+ return jspb.Message.getField(this, 3) != null;
14497
+ };
14498
+
14499
+
14500
+ /**
14501
+ * optional float weekly_deposit_limit = 4;
14502
+ * @return {number}
14503
+ */
14504
+ proto.user.UserLimitsRequest.prototype.getWeeklyDepositLimit = function() {
14505
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
14506
+ };
14507
+
14508
+
14509
+ /**
14510
+ * @param {number} value
14511
+ * @return {!proto.user.UserLimitsRequest} returns this
14512
+ */
14513
+ proto.user.UserLimitsRequest.prototype.setWeeklyDepositLimit = function(value) {
14514
+ return jspb.Message.setField(this, 4, value);
14515
+ };
14516
+
14517
+
14518
+ /**
14519
+ * Clears the field making it undefined.
14520
+ * @return {!proto.user.UserLimitsRequest} returns this
14521
+ */
14522
+ proto.user.UserLimitsRequest.prototype.clearWeeklyDepositLimit = function() {
14523
+ return jspb.Message.setField(this, 4, undefined);
14524
+ };
14525
+
14526
+
14527
+ /**
14528
+ * Returns whether this field is set.
14529
+ * @return {boolean}
14530
+ */
14531
+ proto.user.UserLimitsRequest.prototype.hasWeeklyDepositLimit = function() {
14532
+ return jspb.Message.getField(this, 4) != null;
14533
+ };
14534
+
14535
+
14536
+ /**
14537
+ * optional float weekly_withdrawal_limit = 5;
14538
+ * @return {number}
14539
+ */
14540
+ proto.user.UserLimitsRequest.prototype.getWeeklyWithdrawalLimit = function() {
14541
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
14542
+ };
14543
+
14544
+
14545
+ /**
14546
+ * @param {number} value
14547
+ * @return {!proto.user.UserLimitsRequest} returns this
14548
+ */
14549
+ proto.user.UserLimitsRequest.prototype.setWeeklyWithdrawalLimit = function(value) {
14550
+ return jspb.Message.setField(this, 5, value);
14551
+ };
14552
+
14553
+
14554
+ /**
14555
+ * Clears the field making it undefined.
14556
+ * @return {!proto.user.UserLimitsRequest} returns this
14557
+ */
14558
+ proto.user.UserLimitsRequest.prototype.clearWeeklyWithdrawalLimit = function() {
14559
+ return jspb.Message.setField(this, 5, undefined);
14560
+ };
14561
+
14562
+
14563
+ /**
14564
+ * Returns whether this field is set.
14565
+ * @return {boolean}
14566
+ */
14567
+ proto.user.UserLimitsRequest.prototype.hasWeeklyWithdrawalLimit = function() {
14568
+ return jspb.Message.getField(this, 5) != null;
14569
+ };
14570
+
14571
+
14572
+ /**
14573
+ * optional float monthly_deposit_limit = 6;
14574
+ * @return {number}
14575
+ */
14576
+ proto.user.UserLimitsRequest.prototype.getMonthlyDepositLimit = function() {
14577
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
14578
+ };
14579
+
14580
+
14581
+ /**
14582
+ * @param {number} value
14583
+ * @return {!proto.user.UserLimitsRequest} returns this
14584
+ */
14585
+ proto.user.UserLimitsRequest.prototype.setMonthlyDepositLimit = function(value) {
14586
+ return jspb.Message.setField(this, 6, value);
14587
+ };
14588
+
14589
+
14590
+ /**
14591
+ * Clears the field making it undefined.
14592
+ * @return {!proto.user.UserLimitsRequest} returns this
14593
+ */
14594
+ proto.user.UserLimitsRequest.prototype.clearMonthlyDepositLimit = function() {
14595
+ return jspb.Message.setField(this, 6, undefined);
14596
+ };
14597
+
14598
+
14599
+ /**
14600
+ * Returns whether this field is set.
14601
+ * @return {boolean}
14602
+ */
14603
+ proto.user.UserLimitsRequest.prototype.hasMonthlyDepositLimit = function() {
14604
+ return jspb.Message.getField(this, 6) != null;
14605
+ };
14606
+
14607
+
14608
+ /**
14609
+ * optional float monthly_withdrawal_limit = 7;
14610
+ * @return {number}
14611
+ */
14612
+ proto.user.UserLimitsRequest.prototype.getMonthlyWithdrawalLimit = function() {
14613
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
14614
+ };
14615
+
14616
+
14617
+ /**
14618
+ * @param {number} value
14619
+ * @return {!proto.user.UserLimitsRequest} returns this
14620
+ */
14621
+ proto.user.UserLimitsRequest.prototype.setMonthlyWithdrawalLimit = function(value) {
14622
+ return jspb.Message.setField(this, 7, value);
14623
+ };
14624
+
14625
+
14626
+ /**
14627
+ * Clears the field making it undefined.
14628
+ * @return {!proto.user.UserLimitsRequest} returns this
14629
+ */
14630
+ proto.user.UserLimitsRequest.prototype.clearMonthlyWithdrawalLimit = function() {
14631
+ return jspb.Message.setField(this, 7, undefined);
14632
+ };
14633
+
14634
+
14635
+ /**
14636
+ * Returns whether this field is set.
14637
+ * @return {boolean}
14638
+ */
14639
+ proto.user.UserLimitsRequest.prototype.hasMonthlyWithdrawalLimit = function() {
14640
+ return jspb.Message.getField(this, 7) != null;
14641
+ };
14642
+
14643
+
14644
+ /**
14645
+ * optional float yearly_deposit_limit = 8;
14646
+ * @return {number}
14647
+ */
14648
+ proto.user.UserLimitsRequest.prototype.getYearlyDepositLimit = function() {
14649
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
14650
+ };
14651
+
14652
+
14653
+ /**
14654
+ * @param {number} value
14655
+ * @return {!proto.user.UserLimitsRequest} returns this
14656
+ */
14657
+ proto.user.UserLimitsRequest.prototype.setYearlyDepositLimit = function(value) {
14658
+ return jspb.Message.setField(this, 8, value);
14659
+ };
14660
+
14661
+
14662
+ /**
14663
+ * Clears the field making it undefined.
14664
+ * @return {!proto.user.UserLimitsRequest} returns this
14665
+ */
14666
+ proto.user.UserLimitsRequest.prototype.clearYearlyDepositLimit = function() {
14667
+ return jspb.Message.setField(this, 8, undefined);
14668
+ };
14669
+
14670
+
14671
+ /**
14672
+ * Returns whether this field is set.
14673
+ * @return {boolean}
14674
+ */
14675
+ proto.user.UserLimitsRequest.prototype.hasYearlyDepositLimit = function() {
14676
+ return jspb.Message.getField(this, 8) != null;
14677
+ };
14678
+
14679
+
14680
+ /**
14681
+ * optional float yearly_withdrawal_limit = 9;
14682
+ * @return {number}
14683
+ */
14684
+ proto.user.UserLimitsRequest.prototype.getYearlyWithdrawalLimit = function() {
14685
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
14686
+ };
14687
+
14688
+
14689
+ /**
14690
+ * @param {number} value
14691
+ * @return {!proto.user.UserLimitsRequest} returns this
14692
+ */
14693
+ proto.user.UserLimitsRequest.prototype.setYearlyWithdrawalLimit = function(value) {
14694
+ return jspb.Message.setField(this, 9, value);
14695
+ };
14696
+
14697
+
14698
+ /**
14699
+ * Clears the field making it undefined.
14700
+ * @return {!proto.user.UserLimitsRequest} returns this
14701
+ */
14702
+ proto.user.UserLimitsRequest.prototype.clearYearlyWithdrawalLimit = function() {
14703
+ return jspb.Message.setField(this, 9, undefined);
14704
+ };
14705
+
14706
+
14707
+ /**
14708
+ * Returns whether this field is set.
14709
+ * @return {boolean}
14710
+ */
14711
+ proto.user.UserLimitsRequest.prototype.hasYearlyWithdrawalLimit = function() {
14712
+ return jspb.Message.getField(this, 9) != null;
14713
+ };
14714
+
14715
+
14716
+ /**
14717
+ * optional float daily_max_bet_sum = 10;
14718
+ * @return {number}
14719
+ */
14720
+ proto.user.UserLimitsRequest.prototype.getDailyMaxBetSum = function() {
14721
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
14722
+ };
14723
+
14724
+
14725
+ /**
14726
+ * @param {number} value
14727
+ * @return {!proto.user.UserLimitsRequest} returns this
14728
+ */
14729
+ proto.user.UserLimitsRequest.prototype.setDailyMaxBetSum = function(value) {
14730
+ return jspb.Message.setField(this, 10, value);
14731
+ };
14732
+
14733
+
14734
+ /**
14735
+ * Clears the field making it undefined.
14736
+ * @return {!proto.user.UserLimitsRequest} returns this
14737
+ */
14738
+ proto.user.UserLimitsRequest.prototype.clearDailyMaxBetSum = function() {
14739
+ return jspb.Message.setField(this, 10, undefined);
14740
+ };
14741
+
14742
+
14743
+ /**
14744
+ * Returns whether this field is set.
14745
+ * @return {boolean}
14746
+ */
14747
+ proto.user.UserLimitsRequest.prototype.hasDailyMaxBetSum = function() {
14748
+ return jspb.Message.getField(this, 10) != null;
14749
+ };
14750
+
14751
+
14752
+ /**
14753
+ * optional float daily_max_bet_count = 11;
14754
+ * @return {number}
14755
+ */
14756
+ proto.user.UserLimitsRequest.prototype.getDailyMaxBetCount = function() {
14757
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
14758
+ };
14759
+
14760
+
14761
+ /**
14762
+ * @param {number} value
14763
+ * @return {!proto.user.UserLimitsRequest} returns this
14764
+ */
14765
+ proto.user.UserLimitsRequest.prototype.setDailyMaxBetCount = function(value) {
14766
+ return jspb.Message.setField(this, 11, value);
14767
+ };
14768
+
14769
+
14770
+ /**
14771
+ * Clears the field making it undefined.
14772
+ * @return {!proto.user.UserLimitsRequest} returns this
14773
+ */
14774
+ proto.user.UserLimitsRequest.prototype.clearDailyMaxBetCount = function() {
14775
+ return jspb.Message.setField(this, 11, undefined);
14776
+ };
14777
+
14778
+
14779
+ /**
14780
+ * Returns whether this field is set.
14781
+ * @return {boolean}
14782
+ */
14783
+ proto.user.UserLimitsRequest.prototype.hasDailyMaxBetCount = function() {
14784
+ return jspb.Message.getField(this, 11) != null;
14785
+ };
14786
+
14787
+
14788
+ /**
14789
+ * optional float daily_max_loss_sum = 12;
14790
+ * @return {number}
14791
+ */
14792
+ proto.user.UserLimitsRequest.prototype.getDailyMaxLossSum = function() {
14793
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
14794
+ };
14795
+
14796
+
14797
+ /**
14798
+ * @param {number} value
14799
+ * @return {!proto.user.UserLimitsRequest} returns this
14800
+ */
14801
+ proto.user.UserLimitsRequest.prototype.setDailyMaxLossSum = function(value) {
14802
+ return jspb.Message.setField(this, 12, value);
14803
+ };
14804
+
14805
+
14806
+ /**
14807
+ * Clears the field making it undefined.
14808
+ * @return {!proto.user.UserLimitsRequest} returns this
14809
+ */
14810
+ proto.user.UserLimitsRequest.prototype.clearDailyMaxLossSum = function() {
14811
+ return jspb.Message.setField(this, 12, undefined);
14812
+ };
14813
+
14814
+
14815
+ /**
14816
+ * Returns whether this field is set.
14817
+ * @return {boolean}
14818
+ */
14819
+ proto.user.UserLimitsRequest.prototype.hasDailyMaxLossSum = function() {
14820
+ return jspb.Message.getField(this, 12) != null;
14821
+ };
14822
+
14823
+
14824
+
14825
+
14826
+
14827
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14828
+ /**
14829
+ * Creates an object representation of this proto.
14830
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14831
+ * Optional fields that are not set will be set to undefined.
14832
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14833
+ * For the list of reserved names please see:
14834
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14835
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14836
+ * JSPB instance for transitional soy proto support:
14837
+ * http://goto/soy-param-migration
14838
+ * @return {!Object}
14839
+ */
14840
+ proto.user.GetUserLimitsRequest.prototype.toObject = function(opt_includeInstance) {
14841
+ return proto.user.GetUserLimitsRequest.toObject(opt_includeInstance, this);
14842
+ };
14843
+
14844
+
14845
+ /**
14846
+ * Static version of the {@see toObject} method.
14847
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14848
+ * the JSPB instance for transitional soy proto support:
14849
+ * http://goto/soy-param-migration
14850
+ * @param {!proto.user.GetUserLimitsRequest} msg The msg instance to transform.
14851
+ * @return {!Object}
14852
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14853
+ */
14854
+ proto.user.GetUserLimitsRequest.toObject = function(includeInstance, msg) {
14855
+ var f, obj = {
14856
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
14857
+ };
14858
+
14859
+ if (includeInstance) {
14860
+ obj.$jspbMessageInstance = msg;
14861
+ }
14862
+ return obj;
14863
+ };
14864
+ }
14865
+
14866
+
14867
+ /**
14868
+ * Deserializes binary data (in protobuf wire format).
14869
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14870
+ * @return {!proto.user.GetUserLimitsRequest}
14871
+ */
14872
+ proto.user.GetUserLimitsRequest.deserializeBinary = function(bytes) {
14873
+ var reader = new jspb.BinaryReader(bytes);
14874
+ var msg = new proto.user.GetUserLimitsRequest;
14875
+ return proto.user.GetUserLimitsRequest.deserializeBinaryFromReader(msg, reader);
14876
+ };
14877
+
14878
+
14879
+ /**
14880
+ * Deserializes binary data (in protobuf wire format) from the
14881
+ * given reader into the given message object.
14882
+ * @param {!proto.user.GetUserLimitsRequest} msg The message object to deserialize into.
14883
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14884
+ * @return {!proto.user.GetUserLimitsRequest}
14885
+ */
14886
+ proto.user.GetUserLimitsRequest.deserializeBinaryFromReader = function(msg, reader) {
14887
+ while (reader.nextField()) {
14888
+ if (reader.isEndGroup()) {
14889
+ break;
14890
+ }
14891
+ var field = reader.getFieldNumber();
14892
+ switch (field) {
14893
+ case 1:
14894
+ var value = /** @type {number} */ (reader.readInt32());
14895
+ msg.setUserId(value);
14896
+ break;
14897
+ default:
14898
+ reader.skipField();
14899
+ break;
14900
+ }
14901
+ }
14902
+ return msg;
14903
+ };
14904
+
14905
+
14906
+ /**
14907
+ * Serializes the message to binary data (in protobuf wire format).
14908
+ * @return {!Uint8Array}
14909
+ */
14910
+ proto.user.GetUserLimitsRequest.prototype.serializeBinary = function() {
14911
+ var writer = new jspb.BinaryWriter();
14912
+ proto.user.GetUserLimitsRequest.serializeBinaryToWriter(this, writer);
14913
+ return writer.getResultBuffer();
14914
+ };
14915
+
14916
+
14917
+ /**
14918
+ * Serializes the given message to binary data (in protobuf wire
14919
+ * format), writing to the given BinaryWriter.
14920
+ * @param {!proto.user.GetUserLimitsRequest} message
14921
+ * @param {!jspb.BinaryWriter} writer
14922
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14923
+ */
14924
+ proto.user.GetUserLimitsRequest.serializeBinaryToWriter = function(message, writer) {
14925
+ var f = undefined;
14926
+ f = message.getUserId();
14927
+ if (f !== 0) {
14928
+ writer.writeInt32(
14929
+ 1,
14930
+ f
14931
+ );
14932
+ }
14933
+ };
14934
+
14935
+
14936
+ /**
14937
+ * optional int32 user_id = 1;
14938
+ * @return {number}
14939
+ */
14940
+ proto.user.GetUserLimitsRequest.prototype.getUserId = function() {
14941
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
14942
+ };
14943
+
14944
+
14945
+ /**
14946
+ * @param {number} value
14947
+ * @return {!proto.user.GetUserLimitsRequest} returns this
14948
+ */
14949
+ proto.user.GetUserLimitsRequest.prototype.setUserId = function(value) {
14950
+ return jspb.Message.setProto3IntField(this, 1, value);
14951
+ };
14952
+
14953
+
14954
+
14955
+
14956
+
14957
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14958
+ /**
14959
+ * Creates an object representation of this proto.
14960
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14961
+ * Optional fields that are not set will be set to undefined.
14962
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14963
+ * For the list of reserved names please see:
14964
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14965
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14966
+ * JSPB instance for transitional soy proto support:
14967
+ * http://goto/soy-param-migration
14968
+ * @return {!Object}
14969
+ */
14970
+ proto.user.UserLimitsResponse.prototype.toObject = function(opt_includeInstance) {
14971
+ return proto.user.UserLimitsResponse.toObject(opt_includeInstance, this);
14972
+ };
14973
+
14974
+
14975
+ /**
14976
+ * Static version of the {@see toObject} method.
14977
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14978
+ * the JSPB instance for transitional soy proto support:
14979
+ * http://goto/soy-param-migration
14980
+ * @param {!proto.user.UserLimitsResponse} msg The msg instance to transform.
14981
+ * @return {!Object}
14982
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14983
+ */
14984
+ proto.user.UserLimitsResponse.toObject = function(includeInstance, msg) {
14985
+ var f, obj = {
14986
+ dailyDepositLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
14987
+ dailyWithdrawalLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
14988
+ weeklyDepositLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
14989
+ weeklyWithdrawalLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
14990
+ monthlyDepositLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
14991
+ monthlyWithdrawalLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
14992
+ yearlyDepositLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
14993
+ yearlyWithdrawalLimit: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
14994
+ dailyMaxBetSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
14995
+ dailyMaxBetCount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
14996
+ dailyMaxLossSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
14997
+ };
14998
+
14999
+ if (includeInstance) {
15000
+ obj.$jspbMessageInstance = msg;
15001
+ }
15002
+ return obj;
15003
+ };
15004
+ }
15005
+
15006
+
15007
+ /**
15008
+ * Deserializes binary data (in protobuf wire format).
15009
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15010
+ * @return {!proto.user.UserLimitsResponse}
15011
+ */
15012
+ proto.user.UserLimitsResponse.deserializeBinary = function(bytes) {
15013
+ var reader = new jspb.BinaryReader(bytes);
15014
+ var msg = new proto.user.UserLimitsResponse;
15015
+ return proto.user.UserLimitsResponse.deserializeBinaryFromReader(msg, reader);
15016
+ };
15017
+
15018
+
15019
+ /**
15020
+ * Deserializes binary data (in protobuf wire format) from the
15021
+ * given reader into the given message object.
15022
+ * @param {!proto.user.UserLimitsResponse} msg The message object to deserialize into.
15023
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15024
+ * @return {!proto.user.UserLimitsResponse}
15025
+ */
15026
+ proto.user.UserLimitsResponse.deserializeBinaryFromReader = function(msg, reader) {
15027
+ while (reader.nextField()) {
15028
+ if (reader.isEndGroup()) {
15029
+ break;
15030
+ }
15031
+ var field = reader.getFieldNumber();
15032
+ switch (field) {
15033
+ case 1:
15034
+ var value = /** @type {number} */ (reader.readFloat());
15035
+ msg.setDailyDepositLimit(value);
15036
+ break;
15037
+ case 2:
15038
+ var value = /** @type {number} */ (reader.readFloat());
15039
+ msg.setDailyWithdrawalLimit(value);
15040
+ break;
15041
+ case 3:
15042
+ var value = /** @type {number} */ (reader.readFloat());
15043
+ msg.setWeeklyDepositLimit(value);
15044
+ break;
15045
+ case 4:
15046
+ var value = /** @type {number} */ (reader.readFloat());
15047
+ msg.setWeeklyWithdrawalLimit(value);
15048
+ break;
15049
+ case 5:
15050
+ var value = /** @type {number} */ (reader.readFloat());
15051
+ msg.setMonthlyDepositLimit(value);
15052
+ break;
15053
+ case 6:
15054
+ var value = /** @type {number} */ (reader.readFloat());
15055
+ msg.setMonthlyWithdrawalLimit(value);
15056
+ break;
15057
+ case 7:
15058
+ var value = /** @type {number} */ (reader.readFloat());
15059
+ msg.setYearlyDepositLimit(value);
15060
+ break;
15061
+ case 8:
15062
+ var value = /** @type {number} */ (reader.readFloat());
15063
+ msg.setYearlyWithdrawalLimit(value);
15064
+ break;
15065
+ case 9:
15066
+ var value = /** @type {number} */ (reader.readFloat());
15067
+ msg.setDailyMaxBetSum(value);
15068
+ break;
15069
+ case 10:
15070
+ var value = /** @type {number} */ (reader.readFloat());
15071
+ msg.setDailyMaxBetCount(value);
15072
+ break;
15073
+ case 11:
15074
+ var value = /** @type {number} */ (reader.readFloat());
15075
+ msg.setDailyMaxLossSum(value);
15076
+ break;
15077
+ default:
15078
+ reader.skipField();
15079
+ break;
15080
+ }
15081
+ }
15082
+ return msg;
15083
+ };
15084
+
15085
+
15086
+ /**
15087
+ * Serializes the message to binary data (in protobuf wire format).
15088
+ * @return {!Uint8Array}
15089
+ */
15090
+ proto.user.UserLimitsResponse.prototype.serializeBinary = function() {
15091
+ var writer = new jspb.BinaryWriter();
15092
+ proto.user.UserLimitsResponse.serializeBinaryToWriter(this, writer);
15093
+ return writer.getResultBuffer();
15094
+ };
15095
+
15096
+
15097
+ /**
15098
+ * Serializes the given message to binary data (in protobuf wire
15099
+ * format), writing to the given BinaryWriter.
15100
+ * @param {!proto.user.UserLimitsResponse} message
15101
+ * @param {!jspb.BinaryWriter} writer
15102
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15103
+ */
15104
+ proto.user.UserLimitsResponse.serializeBinaryToWriter = function(message, writer) {
15105
+ var f = undefined;
15106
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
15107
+ if (f != null) {
15108
+ writer.writeFloat(
15109
+ 1,
15110
+ f
15111
+ );
15112
+ }
15113
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
15114
+ if (f != null) {
15115
+ writer.writeFloat(
15116
+ 2,
15117
+ f
15118
+ );
15119
+ }
15120
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
15121
+ if (f != null) {
15122
+ writer.writeFloat(
15123
+ 3,
15124
+ f
15125
+ );
15126
+ }
15127
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
15128
+ if (f != null) {
15129
+ writer.writeFloat(
15130
+ 4,
15131
+ f
15132
+ );
15133
+ }
15134
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
15135
+ if (f != null) {
15136
+ writer.writeFloat(
15137
+ 5,
15138
+ f
15139
+ );
15140
+ }
15141
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
15142
+ if (f != null) {
15143
+ writer.writeFloat(
15144
+ 6,
15145
+ f
15146
+ );
15147
+ }
15148
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
15149
+ if (f != null) {
15150
+ writer.writeFloat(
15151
+ 7,
15152
+ f
15153
+ );
15154
+ }
15155
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
15156
+ if (f != null) {
15157
+ writer.writeFloat(
15158
+ 8,
15159
+ f
15160
+ );
15161
+ }
15162
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
15163
+ if (f != null) {
15164
+ writer.writeFloat(
15165
+ 9,
15166
+ f
15167
+ );
15168
+ }
15169
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
15170
+ if (f != null) {
15171
+ writer.writeFloat(
15172
+ 10,
15173
+ f
15174
+ );
15175
+ }
15176
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
15177
+ if (f != null) {
15178
+ writer.writeFloat(
15179
+ 11,
15180
+ f
15181
+ );
15182
+ }
15183
+ };
15184
+
15185
+
15186
+ /**
15187
+ * optional float daily_deposit_limit = 1;
15188
+ * @return {number}
15189
+ */
15190
+ proto.user.UserLimitsResponse.prototype.getDailyDepositLimit = function() {
15191
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
15192
+ };
15193
+
15194
+
15195
+ /**
15196
+ * @param {number} value
15197
+ * @return {!proto.user.UserLimitsResponse} returns this
15198
+ */
15199
+ proto.user.UserLimitsResponse.prototype.setDailyDepositLimit = function(value) {
15200
+ return jspb.Message.setField(this, 1, value);
15201
+ };
15202
+
15203
+
15204
+ /**
15205
+ * Clears the field making it undefined.
15206
+ * @return {!proto.user.UserLimitsResponse} returns this
15207
+ */
15208
+ proto.user.UserLimitsResponse.prototype.clearDailyDepositLimit = function() {
15209
+ return jspb.Message.setField(this, 1, undefined);
15210
+ };
15211
+
15212
+
15213
+ /**
15214
+ * Returns whether this field is set.
15215
+ * @return {boolean}
15216
+ */
15217
+ proto.user.UserLimitsResponse.prototype.hasDailyDepositLimit = function() {
15218
+ return jspb.Message.getField(this, 1) != null;
15219
+ };
15220
+
15221
+
15222
+ /**
15223
+ * optional float daily_withdrawal_limit = 2;
15224
+ * @return {number}
15225
+ */
15226
+ proto.user.UserLimitsResponse.prototype.getDailyWithdrawalLimit = function() {
15227
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
15228
+ };
15229
+
15230
+
15231
+ /**
15232
+ * @param {number} value
15233
+ * @return {!proto.user.UserLimitsResponse} returns this
15234
+ */
15235
+ proto.user.UserLimitsResponse.prototype.setDailyWithdrawalLimit = function(value) {
15236
+ return jspb.Message.setField(this, 2, value);
15237
+ };
15238
+
15239
+
15240
+ /**
15241
+ * Clears the field making it undefined.
15242
+ * @return {!proto.user.UserLimitsResponse} returns this
15243
+ */
15244
+ proto.user.UserLimitsResponse.prototype.clearDailyWithdrawalLimit = function() {
15245
+ return jspb.Message.setField(this, 2, undefined);
15246
+ };
15247
+
15248
+
15249
+ /**
15250
+ * Returns whether this field is set.
15251
+ * @return {boolean}
15252
+ */
15253
+ proto.user.UserLimitsResponse.prototype.hasDailyWithdrawalLimit = function() {
15254
+ return jspb.Message.getField(this, 2) != null;
15255
+ };
15256
+
15257
+
15258
+ /**
15259
+ * optional float weekly_deposit_limit = 3;
15260
+ * @return {number}
15261
+ */
15262
+ proto.user.UserLimitsResponse.prototype.getWeeklyDepositLimit = function() {
15263
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
15264
+ };
15265
+
15266
+
15267
+ /**
15268
+ * @param {number} value
15269
+ * @return {!proto.user.UserLimitsResponse} returns this
15270
+ */
15271
+ proto.user.UserLimitsResponse.prototype.setWeeklyDepositLimit = function(value) {
15272
+ return jspb.Message.setField(this, 3, value);
15273
+ };
15274
+
15275
+
15276
+ /**
15277
+ * Clears the field making it undefined.
15278
+ * @return {!proto.user.UserLimitsResponse} returns this
15279
+ */
15280
+ proto.user.UserLimitsResponse.prototype.clearWeeklyDepositLimit = function() {
15281
+ return jspb.Message.setField(this, 3, undefined);
15282
+ };
15283
+
15284
+
15285
+ /**
15286
+ * Returns whether this field is set.
15287
+ * @return {boolean}
15288
+ */
15289
+ proto.user.UserLimitsResponse.prototype.hasWeeklyDepositLimit = function() {
15290
+ return jspb.Message.getField(this, 3) != null;
15291
+ };
15292
+
15293
+
15294
+ /**
15295
+ * optional float weekly_withdrawal_limit = 4;
15296
+ * @return {number}
15297
+ */
15298
+ proto.user.UserLimitsResponse.prototype.getWeeklyWithdrawalLimit = function() {
15299
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
15300
+ };
15301
+
15302
+
15303
+ /**
15304
+ * @param {number} value
15305
+ * @return {!proto.user.UserLimitsResponse} returns this
15306
+ */
15307
+ proto.user.UserLimitsResponse.prototype.setWeeklyWithdrawalLimit = function(value) {
15308
+ return jspb.Message.setField(this, 4, value);
15309
+ };
15310
+
15311
+
15312
+ /**
15313
+ * Clears the field making it undefined.
15314
+ * @return {!proto.user.UserLimitsResponse} returns this
15315
+ */
15316
+ proto.user.UserLimitsResponse.prototype.clearWeeklyWithdrawalLimit = function() {
15317
+ return jspb.Message.setField(this, 4, undefined);
15318
+ };
15319
+
15320
+
15321
+ /**
15322
+ * Returns whether this field is set.
15323
+ * @return {boolean}
15324
+ */
15325
+ proto.user.UserLimitsResponse.prototype.hasWeeklyWithdrawalLimit = function() {
15326
+ return jspb.Message.getField(this, 4) != null;
15327
+ };
15328
+
15329
+
15330
+ /**
15331
+ * optional float monthly_deposit_limit = 5;
15332
+ * @return {number}
15333
+ */
15334
+ proto.user.UserLimitsResponse.prototype.getMonthlyDepositLimit = function() {
15335
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
15336
+ };
15337
+
15338
+
15339
+ /**
15340
+ * @param {number} value
15341
+ * @return {!proto.user.UserLimitsResponse} returns this
15342
+ */
15343
+ proto.user.UserLimitsResponse.prototype.setMonthlyDepositLimit = function(value) {
15344
+ return jspb.Message.setField(this, 5, value);
15345
+ };
15346
+
15347
+
15348
+ /**
15349
+ * Clears the field making it undefined.
15350
+ * @return {!proto.user.UserLimitsResponse} returns this
15351
+ */
15352
+ proto.user.UserLimitsResponse.prototype.clearMonthlyDepositLimit = function() {
15353
+ return jspb.Message.setField(this, 5, undefined);
15354
+ };
15355
+
15356
+
15357
+ /**
15358
+ * Returns whether this field is set.
15359
+ * @return {boolean}
15360
+ */
15361
+ proto.user.UserLimitsResponse.prototype.hasMonthlyDepositLimit = function() {
15362
+ return jspb.Message.getField(this, 5) != null;
15363
+ };
15364
+
15365
+
15366
+ /**
15367
+ * optional float monthly_withdrawal_limit = 6;
15368
+ * @return {number}
15369
+ */
15370
+ proto.user.UserLimitsResponse.prototype.getMonthlyWithdrawalLimit = function() {
15371
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
15372
+ };
15373
+
15374
+
15375
+ /**
15376
+ * @param {number} value
15377
+ * @return {!proto.user.UserLimitsResponse} returns this
15378
+ */
15379
+ proto.user.UserLimitsResponse.prototype.setMonthlyWithdrawalLimit = function(value) {
15380
+ return jspb.Message.setField(this, 6, value);
15381
+ };
15382
+
15383
+
15384
+ /**
15385
+ * Clears the field making it undefined.
15386
+ * @return {!proto.user.UserLimitsResponse} returns this
15387
+ */
15388
+ proto.user.UserLimitsResponse.prototype.clearMonthlyWithdrawalLimit = function() {
15389
+ return jspb.Message.setField(this, 6, undefined);
15390
+ };
15391
+
15392
+
15393
+ /**
15394
+ * Returns whether this field is set.
15395
+ * @return {boolean}
15396
+ */
15397
+ proto.user.UserLimitsResponse.prototype.hasMonthlyWithdrawalLimit = function() {
15398
+ return jspb.Message.getField(this, 6) != null;
15399
+ };
15400
+
15401
+
15402
+ /**
15403
+ * optional float yearly_deposit_limit = 7;
15404
+ * @return {number}
15405
+ */
15406
+ proto.user.UserLimitsResponse.prototype.getYearlyDepositLimit = function() {
15407
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
15408
+ };
15409
+
15410
+
15411
+ /**
15412
+ * @param {number} value
15413
+ * @return {!proto.user.UserLimitsResponse} returns this
15414
+ */
15415
+ proto.user.UserLimitsResponse.prototype.setYearlyDepositLimit = function(value) {
15416
+ return jspb.Message.setField(this, 7, value);
15417
+ };
15418
+
15419
+
15420
+ /**
15421
+ * Clears the field making it undefined.
15422
+ * @return {!proto.user.UserLimitsResponse} returns this
15423
+ */
15424
+ proto.user.UserLimitsResponse.prototype.clearYearlyDepositLimit = function() {
15425
+ return jspb.Message.setField(this, 7, undefined);
15426
+ };
15427
+
15428
+
15429
+ /**
15430
+ * Returns whether this field is set.
15431
+ * @return {boolean}
15432
+ */
15433
+ proto.user.UserLimitsResponse.prototype.hasYearlyDepositLimit = function() {
15434
+ return jspb.Message.getField(this, 7) != null;
15435
+ };
15436
+
15437
+
15438
+ /**
15439
+ * optional float yearly_withdrawal_limit = 8;
15440
+ * @return {number}
15441
+ */
15442
+ proto.user.UserLimitsResponse.prototype.getYearlyWithdrawalLimit = function() {
15443
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
15444
+ };
15445
+
15446
+
15447
+ /**
15448
+ * @param {number} value
15449
+ * @return {!proto.user.UserLimitsResponse} returns this
15450
+ */
15451
+ proto.user.UserLimitsResponse.prototype.setYearlyWithdrawalLimit = function(value) {
15452
+ return jspb.Message.setField(this, 8, value);
15453
+ };
15454
+
15455
+
15456
+ /**
15457
+ * Clears the field making it undefined.
15458
+ * @return {!proto.user.UserLimitsResponse} returns this
15459
+ */
15460
+ proto.user.UserLimitsResponse.prototype.clearYearlyWithdrawalLimit = function() {
15461
+ return jspb.Message.setField(this, 8, undefined);
15462
+ };
15463
+
15464
+
15465
+ /**
15466
+ * Returns whether this field is set.
15467
+ * @return {boolean}
15468
+ */
15469
+ proto.user.UserLimitsResponse.prototype.hasYearlyWithdrawalLimit = function() {
15470
+ return jspb.Message.getField(this, 8) != null;
15471
+ };
15472
+
15473
+
15474
+ /**
15475
+ * optional float daily_max_bet_sum = 9;
15476
+ * @return {number}
15477
+ */
15478
+ proto.user.UserLimitsResponse.prototype.getDailyMaxBetSum = function() {
15479
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
15480
+ };
15481
+
15482
+
15483
+ /**
15484
+ * @param {number} value
15485
+ * @return {!proto.user.UserLimitsResponse} returns this
15486
+ */
15487
+ proto.user.UserLimitsResponse.prototype.setDailyMaxBetSum = function(value) {
15488
+ return jspb.Message.setField(this, 9, value);
15489
+ };
15490
+
15491
+
15492
+ /**
15493
+ * Clears the field making it undefined.
15494
+ * @return {!proto.user.UserLimitsResponse} returns this
15495
+ */
15496
+ proto.user.UserLimitsResponse.prototype.clearDailyMaxBetSum = function() {
15497
+ return jspb.Message.setField(this, 9, undefined);
15498
+ };
15499
+
15500
+
15501
+ /**
15502
+ * Returns whether this field is set.
15503
+ * @return {boolean}
15504
+ */
15505
+ proto.user.UserLimitsResponse.prototype.hasDailyMaxBetSum = function() {
15506
+ return jspb.Message.getField(this, 9) != null;
15507
+ };
15508
+
15509
+
15510
+ /**
15511
+ * optional float daily_max_bet_count = 10;
15512
+ * @return {number}
15513
+ */
15514
+ proto.user.UserLimitsResponse.prototype.getDailyMaxBetCount = function() {
15515
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
15516
+ };
15517
+
15518
+
15519
+ /**
15520
+ * @param {number} value
15521
+ * @return {!proto.user.UserLimitsResponse} returns this
15522
+ */
15523
+ proto.user.UserLimitsResponse.prototype.setDailyMaxBetCount = function(value) {
15524
+ return jspb.Message.setField(this, 10, value);
15525
+ };
15526
+
15527
+
15528
+ /**
15529
+ * Clears the field making it undefined.
15530
+ * @return {!proto.user.UserLimitsResponse} returns this
15531
+ */
15532
+ proto.user.UserLimitsResponse.prototype.clearDailyMaxBetCount = function() {
15533
+ return jspb.Message.setField(this, 10, undefined);
15534
+ };
15535
+
15536
+
15537
+ /**
15538
+ * Returns whether this field is set.
15539
+ * @return {boolean}
15540
+ */
15541
+ proto.user.UserLimitsResponse.prototype.hasDailyMaxBetCount = function() {
15542
+ return jspb.Message.getField(this, 10) != null;
15543
+ };
15544
+
15545
+
15546
+ /**
15547
+ * optional float daily_max_loss_sum = 11;
15548
+ * @return {number}
15549
+ */
15550
+ proto.user.UserLimitsResponse.prototype.getDailyMaxLossSum = function() {
15551
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
15552
+ };
15553
+
15554
+
15555
+ /**
15556
+ * @param {number} value
15557
+ * @return {!proto.user.UserLimitsResponse} returns this
15558
+ */
15559
+ proto.user.UserLimitsResponse.prototype.setDailyMaxLossSum = function(value) {
15560
+ return jspb.Message.setField(this, 11, value);
15561
+ };
15562
+
15563
+
15564
+ /**
15565
+ * Clears the field making it undefined.
15566
+ * @return {!proto.user.UserLimitsResponse} returns this
15567
+ */
15568
+ proto.user.UserLimitsResponse.prototype.clearDailyMaxLossSum = function() {
15569
+ return jspb.Message.setField(this, 11, undefined);
15570
+ };
15571
+
15572
+
15573
+ /**
15574
+ * Returns whether this field is set.
15575
+ * @return {boolean}
15576
+ */
15577
+ proto.user.UserLimitsResponse.prototype.hasDailyMaxLossSum = function() {
15578
+ return jspb.Message.getField(this, 11) != null;
15579
+ };
15580
+
15581
+
15582
+
15583
+
15584
+
15585
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15586
+ /**
15587
+ * Creates an object representation of this proto.
15588
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15589
+ * Optional fields that are not set will be set to undefined.
15590
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15591
+ * For the list of reserved names please see:
15592
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15593
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15594
+ * JSPB instance for transitional soy proto support:
15595
+ * http://goto/soy-param-migration
15596
+ * @return {!Object}
15597
+ */
15598
+ proto.user.LimitStatusResponse.prototype.toObject = function(opt_includeInstance) {
15599
+ return proto.user.LimitStatusResponse.toObject(opt_includeInstance, this);
15600
+ };
15601
+
15602
+
15603
+ /**
15604
+ * Static version of the {@see toObject} method.
15605
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15606
+ * the JSPB instance for transitional soy proto support:
15607
+ * http://goto/soy-param-migration
15608
+ * @param {!proto.user.LimitStatusResponse} msg The msg instance to transform.
15609
+ * @return {!Object}
15610
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15611
+ */
15612
+ proto.user.LimitStatusResponse.toObject = function(includeInstance, msg) {
15613
+ var f, obj = {
15614
+ status: jspb.Message.getFieldWithDefault(msg, 1, "")
15615
+ };
15616
+
15617
+ if (includeInstance) {
15618
+ obj.$jspbMessageInstance = msg;
15619
+ }
15620
+ return obj;
15621
+ };
15622
+ }
15623
+
15624
+
15625
+ /**
15626
+ * Deserializes binary data (in protobuf wire format).
15627
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15628
+ * @return {!proto.user.LimitStatusResponse}
15629
+ */
15630
+ proto.user.LimitStatusResponse.deserializeBinary = function(bytes) {
15631
+ var reader = new jspb.BinaryReader(bytes);
15632
+ var msg = new proto.user.LimitStatusResponse;
15633
+ return proto.user.LimitStatusResponse.deserializeBinaryFromReader(msg, reader);
15634
+ };
15635
+
15636
+
15637
+ /**
15638
+ * Deserializes binary data (in protobuf wire format) from the
15639
+ * given reader into the given message object.
15640
+ * @param {!proto.user.LimitStatusResponse} msg The message object to deserialize into.
15641
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15642
+ * @return {!proto.user.LimitStatusResponse}
15643
+ */
15644
+ proto.user.LimitStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
15645
+ while (reader.nextField()) {
15646
+ if (reader.isEndGroup()) {
15647
+ break;
15648
+ }
15649
+ var field = reader.getFieldNumber();
15650
+ switch (field) {
15651
+ case 1:
15652
+ var value = /** @type {string} */ (reader.readString());
15653
+ msg.setStatus(value);
15654
+ break;
15655
+ default:
15656
+ reader.skipField();
15657
+ break;
15658
+ }
15659
+ }
15660
+ return msg;
15661
+ };
15662
+
15663
+
15664
+ /**
15665
+ * Serializes the message to binary data (in protobuf wire format).
15666
+ * @return {!Uint8Array}
15667
+ */
15668
+ proto.user.LimitStatusResponse.prototype.serializeBinary = function() {
15669
+ var writer = new jspb.BinaryWriter();
15670
+ proto.user.LimitStatusResponse.serializeBinaryToWriter(this, writer);
15671
+ return writer.getResultBuffer();
15672
+ };
15673
+
15674
+
15675
+ /**
15676
+ * Serializes the given message to binary data (in protobuf wire
15677
+ * format), writing to the given BinaryWriter.
15678
+ * @param {!proto.user.LimitStatusResponse} message
15679
+ * @param {!jspb.BinaryWriter} writer
15680
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15681
+ */
15682
+ proto.user.LimitStatusResponse.serializeBinaryToWriter = function(message, writer) {
15683
+ var f = undefined;
15684
+ f = message.getStatus();
15685
+ if (f.length > 0) {
15686
+ writer.writeString(
15687
+ 1,
15688
+ f
15689
+ );
15690
+ }
15691
+ };
15692
+
15693
+
15694
+ /**
15695
+ * optional string status = 1;
15696
+ * @return {string}
15697
+ */
15698
+ proto.user.LimitStatusResponse.prototype.getStatus = function() {
15699
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
15700
+ };
15701
+
15702
+
15703
+ /**
15704
+ * @param {string} value
15705
+ * @return {!proto.user.LimitStatusResponse} returns this
15706
+ */
15707
+ proto.user.LimitStatusResponse.prototype.setStatus = function(value) {
15708
+ return jspb.Message.setProto3StringField(this, 1, value);
15709
+ };
15710
+
15711
+
14078
15712
  goog.object.extend(exports, proto.user);