protobuf-platform 1.1.77 → 1.1.79
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/package.json +1 -1
- package/user/user.proto +91 -0
- package/user/user_grpc_pb.js +55 -0
- package/user/user_pb.js +4376 -0
package/user/user_pb.js
CHANGED
@@ -32,6 +32,7 @@ goog.exportSymbol('proto.user.File', null, global);
|
|
32
32
|
goog.exportSymbol('proto.user.GetNoteRequest', null, global);
|
33
33
|
goog.exportSymbol('proto.user.GetRoleRequest', null, global);
|
34
34
|
goog.exportSymbol('proto.user.GetSegmentRequest', null, global);
|
35
|
+
goog.exportSymbol('proto.user.GetSegmentRuleRequest', null, global);
|
35
36
|
goog.exportSymbol('proto.user.GetUserLimitsRequest', null, global);
|
36
37
|
goog.exportSymbol('proto.user.LimitStatusResponse', null, global);
|
37
38
|
goog.exportSymbol('proto.user.LoggedInResponse', null, global);
|
@@ -51,9 +52,15 @@ goog.exportSymbol('proto.user.Role', null, global);
|
|
51
52
|
goog.exportSymbol('proto.user.RolePermissionRequest', null, global);
|
52
53
|
goog.exportSymbol('proto.user.RolePermissionStatusResponse', null, global);
|
53
54
|
goog.exportSymbol('proto.user.RolesItemsResponse', null, global);
|
55
|
+
goog.exportSymbol('proto.user.SegmentBetRuleItem', null, global);
|
56
|
+
goog.exportSymbol('proto.user.SegmentBetRuleRequest', null, global);
|
54
57
|
goog.exportSymbol('proto.user.SegmentItemsResponse', null, global);
|
58
|
+
goog.exportSymbol('proto.user.SegmentPaymentRuleItem', null, global);
|
59
|
+
goog.exportSymbol('proto.user.SegmentPaymentRuleRequest', null, global);
|
55
60
|
goog.exportSymbol('proto.user.SegmentRequest', null, global);
|
56
61
|
goog.exportSymbol('proto.user.SegmentResponse', null, global);
|
62
|
+
goog.exportSymbol('proto.user.SegmentRuleItem', null, global);
|
63
|
+
goog.exportSymbol('proto.user.SegmentRuleRequest', null, global);
|
57
64
|
goog.exportSymbol('proto.user.SegmentSearchParams', null, global);
|
58
65
|
goog.exportSymbol('proto.user.SegmentStatusResponse', null, global);
|
59
66
|
goog.exportSymbol('proto.user.SumSubApplicantRequest', null, global);
|
@@ -597,6 +604,153 @@ if (goog.DEBUG && !COMPILED) {
|
|
597
604
|
*/
|
598
605
|
proto.user.SegmentItemsResponse.displayName = 'proto.user.SegmentItemsResponse';
|
599
606
|
}
|
607
|
+
/**
|
608
|
+
* Generated by JsPbCodeGenerator.
|
609
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
610
|
+
* server response, or constructed directly in Javascript. The array is used
|
611
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
612
|
+
* If no data is provided, the constructed object will be empty, but still
|
613
|
+
* valid.
|
614
|
+
* @extends {jspb.Message}
|
615
|
+
* @constructor
|
616
|
+
*/
|
617
|
+
proto.user.SegmentRuleRequest = function(opt_data) {
|
618
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
619
|
+
};
|
620
|
+
goog.inherits(proto.user.SegmentRuleRequest, jspb.Message);
|
621
|
+
if (goog.DEBUG && !COMPILED) {
|
622
|
+
/**
|
623
|
+
* @public
|
624
|
+
* @override
|
625
|
+
*/
|
626
|
+
proto.user.SegmentRuleRequest.displayName = 'proto.user.SegmentRuleRequest';
|
627
|
+
}
|
628
|
+
/**
|
629
|
+
* Generated by JsPbCodeGenerator.
|
630
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
631
|
+
* server response, or constructed directly in Javascript. The array is used
|
632
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
633
|
+
* If no data is provided, the constructed object will be empty, but still
|
634
|
+
* valid.
|
635
|
+
* @extends {jspb.Message}
|
636
|
+
* @constructor
|
637
|
+
*/
|
638
|
+
proto.user.GetSegmentRuleRequest = function(opt_data) {
|
639
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
640
|
+
};
|
641
|
+
goog.inherits(proto.user.GetSegmentRuleRequest, jspb.Message);
|
642
|
+
if (goog.DEBUG && !COMPILED) {
|
643
|
+
/**
|
644
|
+
* @public
|
645
|
+
* @override
|
646
|
+
*/
|
647
|
+
proto.user.GetSegmentRuleRequest.displayName = 'proto.user.GetSegmentRuleRequest';
|
648
|
+
}
|
649
|
+
/**
|
650
|
+
* Generated by JsPbCodeGenerator.
|
651
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
652
|
+
* server response, or constructed directly in Javascript. The array is used
|
653
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
654
|
+
* If no data is provided, the constructed object will be empty, but still
|
655
|
+
* valid.
|
656
|
+
* @extends {jspb.Message}
|
657
|
+
* @constructor
|
658
|
+
*/
|
659
|
+
proto.user.SegmentPaymentRuleRequest = function(opt_data) {
|
660
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.SegmentPaymentRuleRequest.repeatedFields_, null);
|
661
|
+
};
|
662
|
+
goog.inherits(proto.user.SegmentPaymentRuleRequest, jspb.Message);
|
663
|
+
if (goog.DEBUG && !COMPILED) {
|
664
|
+
/**
|
665
|
+
* @public
|
666
|
+
* @override
|
667
|
+
*/
|
668
|
+
proto.user.SegmentPaymentRuleRequest.displayName = 'proto.user.SegmentPaymentRuleRequest';
|
669
|
+
}
|
670
|
+
/**
|
671
|
+
* Generated by JsPbCodeGenerator.
|
672
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
673
|
+
* server response, or constructed directly in Javascript. The array is used
|
674
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
675
|
+
* If no data is provided, the constructed object will be empty, but still
|
676
|
+
* valid.
|
677
|
+
* @extends {jspb.Message}
|
678
|
+
* @constructor
|
679
|
+
*/
|
680
|
+
proto.user.SegmentBetRuleRequest = function(opt_data) {
|
681
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
682
|
+
};
|
683
|
+
goog.inherits(proto.user.SegmentBetRuleRequest, jspb.Message);
|
684
|
+
if (goog.DEBUG && !COMPILED) {
|
685
|
+
/**
|
686
|
+
* @public
|
687
|
+
* @override
|
688
|
+
*/
|
689
|
+
proto.user.SegmentBetRuleRequest.displayName = 'proto.user.SegmentBetRuleRequest';
|
690
|
+
}
|
691
|
+
/**
|
692
|
+
* Generated by JsPbCodeGenerator.
|
693
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
694
|
+
* server response, or constructed directly in Javascript. The array is used
|
695
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
696
|
+
* If no data is provided, the constructed object will be empty, but still
|
697
|
+
* valid.
|
698
|
+
* @extends {jspb.Message}
|
699
|
+
* @constructor
|
700
|
+
*/
|
701
|
+
proto.user.SegmentRuleItem = function(opt_data) {
|
702
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
703
|
+
};
|
704
|
+
goog.inherits(proto.user.SegmentRuleItem, jspb.Message);
|
705
|
+
if (goog.DEBUG && !COMPILED) {
|
706
|
+
/**
|
707
|
+
* @public
|
708
|
+
* @override
|
709
|
+
*/
|
710
|
+
proto.user.SegmentRuleItem.displayName = 'proto.user.SegmentRuleItem';
|
711
|
+
}
|
712
|
+
/**
|
713
|
+
* Generated by JsPbCodeGenerator.
|
714
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
715
|
+
* server response, or constructed directly in Javascript. The array is used
|
716
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
717
|
+
* If no data is provided, the constructed object will be empty, but still
|
718
|
+
* valid.
|
719
|
+
* @extends {jspb.Message}
|
720
|
+
* @constructor
|
721
|
+
*/
|
722
|
+
proto.user.SegmentPaymentRuleItem = function(opt_data) {
|
723
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.SegmentPaymentRuleItem.repeatedFields_, null);
|
724
|
+
};
|
725
|
+
goog.inherits(proto.user.SegmentPaymentRuleItem, jspb.Message);
|
726
|
+
if (goog.DEBUG && !COMPILED) {
|
727
|
+
/**
|
728
|
+
* @public
|
729
|
+
* @override
|
730
|
+
*/
|
731
|
+
proto.user.SegmentPaymentRuleItem.displayName = 'proto.user.SegmentPaymentRuleItem';
|
732
|
+
}
|
733
|
+
/**
|
734
|
+
* Generated by JsPbCodeGenerator.
|
735
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
736
|
+
* server response, or constructed directly in Javascript. The array is used
|
737
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
738
|
+
* If no data is provided, the constructed object will be empty, but still
|
739
|
+
* valid.
|
740
|
+
* @extends {jspb.Message}
|
741
|
+
* @constructor
|
742
|
+
*/
|
743
|
+
proto.user.SegmentBetRuleItem = function(opt_data) {
|
744
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
745
|
+
};
|
746
|
+
goog.inherits(proto.user.SegmentBetRuleItem, jspb.Message);
|
747
|
+
if (goog.DEBUG && !COMPILED) {
|
748
|
+
/**
|
749
|
+
* @public
|
750
|
+
* @override
|
751
|
+
*/
|
752
|
+
proto.user.SegmentBetRuleItem.displayName = 'proto.user.SegmentBetRuleItem';
|
753
|
+
}
|
600
754
|
/**
|
601
755
|
* Generated by JsPbCodeGenerator.
|
602
756
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -11076,6 +11230,4228 @@ proto.user.SegmentItemsResponse.prototype.hasTotalItems = function() {
|
|
11076
11230
|
|
11077
11231
|
|
11078
11232
|
|
11233
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
11234
|
+
/**
|
11235
|
+
* Creates an object representation of this proto.
|
11236
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
11237
|
+
* Optional fields that are not set will be set to undefined.
|
11238
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
11239
|
+
* For the list of reserved names please see:
|
11240
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
11241
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
11242
|
+
* JSPB instance for transitional soy proto support:
|
11243
|
+
* http://goto/soy-param-migration
|
11244
|
+
* @return {!Object}
|
11245
|
+
*/
|
11246
|
+
proto.user.SegmentRuleRequest.prototype.toObject = function(opt_includeInstance) {
|
11247
|
+
return proto.user.SegmentRuleRequest.toObject(opt_includeInstance, this);
|
11248
|
+
};
|
11249
|
+
|
11250
|
+
|
11251
|
+
/**
|
11252
|
+
* Static version of the {@see toObject} method.
|
11253
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
11254
|
+
* the JSPB instance for transitional soy proto support:
|
11255
|
+
* http://goto/soy-param-migration
|
11256
|
+
* @param {!proto.user.SegmentRuleRequest} msg The msg instance to transform.
|
11257
|
+
* @return {!Object}
|
11258
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
11259
|
+
*/
|
11260
|
+
proto.user.SegmentRuleRequest.toObject = function(includeInstance, msg) {
|
11261
|
+
var f, obj = {
|
11262
|
+
paymentRule: (f = msg.getPaymentRule()) && proto.user.SegmentPaymentRuleRequest.toObject(includeInstance, f),
|
11263
|
+
betRule: (f = msg.getBetRule()) && proto.user.SegmentBetRuleRequest.toObject(includeInstance, f)
|
11264
|
+
};
|
11265
|
+
|
11266
|
+
if (includeInstance) {
|
11267
|
+
obj.$jspbMessageInstance = msg;
|
11268
|
+
}
|
11269
|
+
return obj;
|
11270
|
+
};
|
11271
|
+
}
|
11272
|
+
|
11273
|
+
|
11274
|
+
/**
|
11275
|
+
* Deserializes binary data (in protobuf wire format).
|
11276
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
11277
|
+
* @return {!proto.user.SegmentRuleRequest}
|
11278
|
+
*/
|
11279
|
+
proto.user.SegmentRuleRequest.deserializeBinary = function(bytes) {
|
11280
|
+
var reader = new jspb.BinaryReader(bytes);
|
11281
|
+
var msg = new proto.user.SegmentRuleRequest;
|
11282
|
+
return proto.user.SegmentRuleRequest.deserializeBinaryFromReader(msg, reader);
|
11283
|
+
};
|
11284
|
+
|
11285
|
+
|
11286
|
+
/**
|
11287
|
+
* Deserializes binary data (in protobuf wire format) from the
|
11288
|
+
* given reader into the given message object.
|
11289
|
+
* @param {!proto.user.SegmentRuleRequest} msg The message object to deserialize into.
|
11290
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
11291
|
+
* @return {!proto.user.SegmentRuleRequest}
|
11292
|
+
*/
|
11293
|
+
proto.user.SegmentRuleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
11294
|
+
while (reader.nextField()) {
|
11295
|
+
if (reader.isEndGroup()) {
|
11296
|
+
break;
|
11297
|
+
}
|
11298
|
+
var field = reader.getFieldNumber();
|
11299
|
+
switch (field) {
|
11300
|
+
case 1:
|
11301
|
+
var value = new proto.user.SegmentPaymentRuleRequest;
|
11302
|
+
reader.readMessage(value,proto.user.SegmentPaymentRuleRequest.deserializeBinaryFromReader);
|
11303
|
+
msg.setPaymentRule(value);
|
11304
|
+
break;
|
11305
|
+
case 2:
|
11306
|
+
var value = new proto.user.SegmentBetRuleRequest;
|
11307
|
+
reader.readMessage(value,proto.user.SegmentBetRuleRequest.deserializeBinaryFromReader);
|
11308
|
+
msg.setBetRule(value);
|
11309
|
+
break;
|
11310
|
+
default:
|
11311
|
+
reader.skipField();
|
11312
|
+
break;
|
11313
|
+
}
|
11314
|
+
}
|
11315
|
+
return msg;
|
11316
|
+
};
|
11317
|
+
|
11318
|
+
|
11319
|
+
/**
|
11320
|
+
* Serializes the message to binary data (in protobuf wire format).
|
11321
|
+
* @return {!Uint8Array}
|
11322
|
+
*/
|
11323
|
+
proto.user.SegmentRuleRequest.prototype.serializeBinary = function() {
|
11324
|
+
var writer = new jspb.BinaryWriter();
|
11325
|
+
proto.user.SegmentRuleRequest.serializeBinaryToWriter(this, writer);
|
11326
|
+
return writer.getResultBuffer();
|
11327
|
+
};
|
11328
|
+
|
11329
|
+
|
11330
|
+
/**
|
11331
|
+
* Serializes the given message to binary data (in protobuf wire
|
11332
|
+
* format), writing to the given BinaryWriter.
|
11333
|
+
* @param {!proto.user.SegmentRuleRequest} message
|
11334
|
+
* @param {!jspb.BinaryWriter} writer
|
11335
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
11336
|
+
*/
|
11337
|
+
proto.user.SegmentRuleRequest.serializeBinaryToWriter = function(message, writer) {
|
11338
|
+
var f = undefined;
|
11339
|
+
f = message.getPaymentRule();
|
11340
|
+
if (f != null) {
|
11341
|
+
writer.writeMessage(
|
11342
|
+
1,
|
11343
|
+
f,
|
11344
|
+
proto.user.SegmentPaymentRuleRequest.serializeBinaryToWriter
|
11345
|
+
);
|
11346
|
+
}
|
11347
|
+
f = message.getBetRule();
|
11348
|
+
if (f != null) {
|
11349
|
+
writer.writeMessage(
|
11350
|
+
2,
|
11351
|
+
f,
|
11352
|
+
proto.user.SegmentBetRuleRequest.serializeBinaryToWriter
|
11353
|
+
);
|
11354
|
+
}
|
11355
|
+
};
|
11356
|
+
|
11357
|
+
|
11358
|
+
/**
|
11359
|
+
* optional SegmentPaymentRuleRequest payment_rule = 1;
|
11360
|
+
* @return {?proto.user.SegmentPaymentRuleRequest}
|
11361
|
+
*/
|
11362
|
+
proto.user.SegmentRuleRequest.prototype.getPaymentRule = function() {
|
11363
|
+
return /** @type{?proto.user.SegmentPaymentRuleRequest} */ (
|
11364
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentPaymentRuleRequest, 1));
|
11365
|
+
};
|
11366
|
+
|
11367
|
+
|
11368
|
+
/**
|
11369
|
+
* @param {?proto.user.SegmentPaymentRuleRequest|undefined} value
|
11370
|
+
* @return {!proto.user.SegmentRuleRequest} returns this
|
11371
|
+
*/
|
11372
|
+
proto.user.SegmentRuleRequest.prototype.setPaymentRule = function(value) {
|
11373
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
11374
|
+
};
|
11375
|
+
|
11376
|
+
|
11377
|
+
/**
|
11378
|
+
* Clears the message field making it undefined.
|
11379
|
+
* @return {!proto.user.SegmentRuleRequest} returns this
|
11380
|
+
*/
|
11381
|
+
proto.user.SegmentRuleRequest.prototype.clearPaymentRule = function() {
|
11382
|
+
return this.setPaymentRule(undefined);
|
11383
|
+
};
|
11384
|
+
|
11385
|
+
|
11386
|
+
/**
|
11387
|
+
* Returns whether this field is set.
|
11388
|
+
* @return {boolean}
|
11389
|
+
*/
|
11390
|
+
proto.user.SegmentRuleRequest.prototype.hasPaymentRule = function() {
|
11391
|
+
return jspb.Message.getField(this, 1) != null;
|
11392
|
+
};
|
11393
|
+
|
11394
|
+
|
11395
|
+
/**
|
11396
|
+
* optional SegmentBetRuleRequest bet_rule = 2;
|
11397
|
+
* @return {?proto.user.SegmentBetRuleRequest}
|
11398
|
+
*/
|
11399
|
+
proto.user.SegmentRuleRequest.prototype.getBetRule = function() {
|
11400
|
+
return /** @type{?proto.user.SegmentBetRuleRequest} */ (
|
11401
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentBetRuleRequest, 2));
|
11402
|
+
};
|
11403
|
+
|
11404
|
+
|
11405
|
+
/**
|
11406
|
+
* @param {?proto.user.SegmentBetRuleRequest|undefined} value
|
11407
|
+
* @return {!proto.user.SegmentRuleRequest} returns this
|
11408
|
+
*/
|
11409
|
+
proto.user.SegmentRuleRequest.prototype.setBetRule = function(value) {
|
11410
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
11411
|
+
};
|
11412
|
+
|
11413
|
+
|
11414
|
+
/**
|
11415
|
+
* Clears the message field making it undefined.
|
11416
|
+
* @return {!proto.user.SegmentRuleRequest} returns this
|
11417
|
+
*/
|
11418
|
+
proto.user.SegmentRuleRequest.prototype.clearBetRule = function() {
|
11419
|
+
return this.setBetRule(undefined);
|
11420
|
+
};
|
11421
|
+
|
11422
|
+
|
11423
|
+
/**
|
11424
|
+
* Returns whether this field is set.
|
11425
|
+
* @return {boolean}
|
11426
|
+
*/
|
11427
|
+
proto.user.SegmentRuleRequest.prototype.hasBetRule = function() {
|
11428
|
+
return jspb.Message.getField(this, 2) != null;
|
11429
|
+
};
|
11430
|
+
|
11431
|
+
|
11432
|
+
|
11433
|
+
|
11434
|
+
|
11435
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
11436
|
+
/**
|
11437
|
+
* Creates an object representation of this proto.
|
11438
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
11439
|
+
* Optional fields that are not set will be set to undefined.
|
11440
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
11441
|
+
* For the list of reserved names please see:
|
11442
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
11443
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
11444
|
+
* JSPB instance for transitional soy proto support:
|
11445
|
+
* http://goto/soy-param-migration
|
11446
|
+
* @return {!Object}
|
11447
|
+
*/
|
11448
|
+
proto.user.GetSegmentRuleRequest.prototype.toObject = function(opt_includeInstance) {
|
11449
|
+
return proto.user.GetSegmentRuleRequest.toObject(opt_includeInstance, this);
|
11450
|
+
};
|
11451
|
+
|
11452
|
+
|
11453
|
+
/**
|
11454
|
+
* Static version of the {@see toObject} method.
|
11455
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
11456
|
+
* the JSPB instance for transitional soy proto support:
|
11457
|
+
* http://goto/soy-param-migration
|
11458
|
+
* @param {!proto.user.GetSegmentRuleRequest} msg The msg instance to transform.
|
11459
|
+
* @return {!Object}
|
11460
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
11461
|
+
*/
|
11462
|
+
proto.user.GetSegmentRuleRequest.toObject = function(includeInstance, msg) {
|
11463
|
+
var f, obj = {
|
11464
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
11465
|
+
ruleType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
11466
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, "")
|
11467
|
+
};
|
11468
|
+
|
11469
|
+
if (includeInstance) {
|
11470
|
+
obj.$jspbMessageInstance = msg;
|
11471
|
+
}
|
11472
|
+
return obj;
|
11473
|
+
};
|
11474
|
+
}
|
11475
|
+
|
11476
|
+
|
11477
|
+
/**
|
11478
|
+
* Deserializes binary data (in protobuf wire format).
|
11479
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
11480
|
+
* @return {!proto.user.GetSegmentRuleRequest}
|
11481
|
+
*/
|
11482
|
+
proto.user.GetSegmentRuleRequest.deserializeBinary = function(bytes) {
|
11483
|
+
var reader = new jspb.BinaryReader(bytes);
|
11484
|
+
var msg = new proto.user.GetSegmentRuleRequest;
|
11485
|
+
return proto.user.GetSegmentRuleRequest.deserializeBinaryFromReader(msg, reader);
|
11486
|
+
};
|
11487
|
+
|
11488
|
+
|
11489
|
+
/**
|
11490
|
+
* Deserializes binary data (in protobuf wire format) from the
|
11491
|
+
* given reader into the given message object.
|
11492
|
+
* @param {!proto.user.GetSegmentRuleRequest} msg The message object to deserialize into.
|
11493
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
11494
|
+
* @return {!proto.user.GetSegmentRuleRequest}
|
11495
|
+
*/
|
11496
|
+
proto.user.GetSegmentRuleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
11497
|
+
while (reader.nextField()) {
|
11498
|
+
if (reader.isEndGroup()) {
|
11499
|
+
break;
|
11500
|
+
}
|
11501
|
+
var field = reader.getFieldNumber();
|
11502
|
+
switch (field) {
|
11503
|
+
case 1:
|
11504
|
+
var value = /** @type {number} */ (reader.readInt32());
|
11505
|
+
msg.setSegmentId(value);
|
11506
|
+
break;
|
11507
|
+
case 2:
|
11508
|
+
var value = /** @type {string} */ (reader.readString());
|
11509
|
+
msg.setRuleType(value);
|
11510
|
+
break;
|
11511
|
+
case 3:
|
11512
|
+
var value = /** @type {string} */ (reader.readString());
|
11513
|
+
msg.setCurrency(value);
|
11514
|
+
break;
|
11515
|
+
default:
|
11516
|
+
reader.skipField();
|
11517
|
+
break;
|
11518
|
+
}
|
11519
|
+
}
|
11520
|
+
return msg;
|
11521
|
+
};
|
11522
|
+
|
11523
|
+
|
11524
|
+
/**
|
11525
|
+
* Serializes the message to binary data (in protobuf wire format).
|
11526
|
+
* @return {!Uint8Array}
|
11527
|
+
*/
|
11528
|
+
proto.user.GetSegmentRuleRequest.prototype.serializeBinary = function() {
|
11529
|
+
var writer = new jspb.BinaryWriter();
|
11530
|
+
proto.user.GetSegmentRuleRequest.serializeBinaryToWriter(this, writer);
|
11531
|
+
return writer.getResultBuffer();
|
11532
|
+
};
|
11533
|
+
|
11534
|
+
|
11535
|
+
/**
|
11536
|
+
* Serializes the given message to binary data (in protobuf wire
|
11537
|
+
* format), writing to the given BinaryWriter.
|
11538
|
+
* @param {!proto.user.GetSegmentRuleRequest} message
|
11539
|
+
* @param {!jspb.BinaryWriter} writer
|
11540
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
11541
|
+
*/
|
11542
|
+
proto.user.GetSegmentRuleRequest.serializeBinaryToWriter = function(message, writer) {
|
11543
|
+
var f = undefined;
|
11544
|
+
f = message.getSegmentId();
|
11545
|
+
if (f !== 0) {
|
11546
|
+
writer.writeInt32(
|
11547
|
+
1,
|
11548
|
+
f
|
11549
|
+
);
|
11550
|
+
}
|
11551
|
+
f = message.getRuleType();
|
11552
|
+
if (f.length > 0) {
|
11553
|
+
writer.writeString(
|
11554
|
+
2,
|
11555
|
+
f
|
11556
|
+
);
|
11557
|
+
}
|
11558
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
11559
|
+
if (f != null) {
|
11560
|
+
writer.writeString(
|
11561
|
+
3,
|
11562
|
+
f
|
11563
|
+
);
|
11564
|
+
}
|
11565
|
+
};
|
11566
|
+
|
11567
|
+
|
11568
|
+
/**
|
11569
|
+
* optional int32 segment_id = 1;
|
11570
|
+
* @return {number}
|
11571
|
+
*/
|
11572
|
+
proto.user.GetSegmentRuleRequest.prototype.getSegmentId = function() {
|
11573
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
11574
|
+
};
|
11575
|
+
|
11576
|
+
|
11577
|
+
/**
|
11578
|
+
* @param {number} value
|
11579
|
+
* @return {!proto.user.GetSegmentRuleRequest} returns this
|
11580
|
+
*/
|
11581
|
+
proto.user.GetSegmentRuleRequest.prototype.setSegmentId = function(value) {
|
11582
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
11583
|
+
};
|
11584
|
+
|
11585
|
+
|
11586
|
+
/**
|
11587
|
+
* optional string rule_type = 2;
|
11588
|
+
* @return {string}
|
11589
|
+
*/
|
11590
|
+
proto.user.GetSegmentRuleRequest.prototype.getRuleType = function() {
|
11591
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
11592
|
+
};
|
11593
|
+
|
11594
|
+
|
11595
|
+
/**
|
11596
|
+
* @param {string} value
|
11597
|
+
* @return {!proto.user.GetSegmentRuleRequest} returns this
|
11598
|
+
*/
|
11599
|
+
proto.user.GetSegmentRuleRequest.prototype.setRuleType = function(value) {
|
11600
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
11601
|
+
};
|
11602
|
+
|
11603
|
+
|
11604
|
+
/**
|
11605
|
+
* optional string currency = 3;
|
11606
|
+
* @return {string}
|
11607
|
+
*/
|
11608
|
+
proto.user.GetSegmentRuleRequest.prototype.getCurrency = function() {
|
11609
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
11610
|
+
};
|
11611
|
+
|
11612
|
+
|
11613
|
+
/**
|
11614
|
+
* @param {string} value
|
11615
|
+
* @return {!proto.user.GetSegmentRuleRequest} returns this
|
11616
|
+
*/
|
11617
|
+
proto.user.GetSegmentRuleRequest.prototype.setCurrency = function(value) {
|
11618
|
+
return jspb.Message.setField(this, 3, value);
|
11619
|
+
};
|
11620
|
+
|
11621
|
+
|
11622
|
+
/**
|
11623
|
+
* Clears the field making it undefined.
|
11624
|
+
* @return {!proto.user.GetSegmentRuleRequest} returns this
|
11625
|
+
*/
|
11626
|
+
proto.user.GetSegmentRuleRequest.prototype.clearCurrency = function() {
|
11627
|
+
return jspb.Message.setField(this, 3, undefined);
|
11628
|
+
};
|
11629
|
+
|
11630
|
+
|
11631
|
+
/**
|
11632
|
+
* Returns whether this field is set.
|
11633
|
+
* @return {boolean}
|
11634
|
+
*/
|
11635
|
+
proto.user.GetSegmentRuleRequest.prototype.hasCurrency = function() {
|
11636
|
+
return jspb.Message.getField(this, 3) != null;
|
11637
|
+
};
|
11638
|
+
|
11639
|
+
|
11640
|
+
|
11641
|
+
/**
|
11642
|
+
* List of repeated fields within this message type.
|
11643
|
+
* @private {!Array<number>}
|
11644
|
+
* @const
|
11645
|
+
*/
|
11646
|
+
proto.user.SegmentPaymentRuleRequest.repeatedFields_ = [13,14];
|
11647
|
+
|
11648
|
+
|
11649
|
+
|
11650
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
11651
|
+
/**
|
11652
|
+
* Creates an object representation of this proto.
|
11653
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
11654
|
+
* Optional fields that are not set will be set to undefined.
|
11655
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
11656
|
+
* For the list of reserved names please see:
|
11657
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
11658
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
11659
|
+
* JSPB instance for transitional soy proto support:
|
11660
|
+
* http://goto/soy-param-migration
|
11661
|
+
* @return {!Object}
|
11662
|
+
*/
|
11663
|
+
proto.user.SegmentPaymentRuleRequest.prototype.toObject = function(opt_includeInstance) {
|
11664
|
+
return proto.user.SegmentPaymentRuleRequest.toObject(opt_includeInstance, this);
|
11665
|
+
};
|
11666
|
+
|
11667
|
+
|
11668
|
+
/**
|
11669
|
+
* Static version of the {@see toObject} method.
|
11670
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
11671
|
+
* the JSPB instance for transitional soy proto support:
|
11672
|
+
* http://goto/soy-param-migration
|
11673
|
+
* @param {!proto.user.SegmentPaymentRuleRequest} msg The msg instance to transform.
|
11674
|
+
* @return {!Object}
|
11675
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
11676
|
+
*/
|
11677
|
+
proto.user.SegmentPaymentRuleRequest.toObject = function(includeInstance, msg) {
|
11678
|
+
var f, obj = {
|
11679
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
11680
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
11681
|
+
depositAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
11682
|
+
depositAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
11683
|
+
ftdAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
11684
|
+
ftdAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
11685
|
+
depositCountMin: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
11686
|
+
depositCountMax: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
11687
|
+
depositSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
11688
|
+
depositSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
11689
|
+
depositAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
11690
|
+
depositAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
11691
|
+
paymentProvidersList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
|
11692
|
+
paymentTypesList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
|
11693
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 15, 0)
|
11694
|
+
};
|
11695
|
+
|
11696
|
+
if (includeInstance) {
|
11697
|
+
obj.$jspbMessageInstance = msg;
|
11698
|
+
}
|
11699
|
+
return obj;
|
11700
|
+
};
|
11701
|
+
}
|
11702
|
+
|
11703
|
+
|
11704
|
+
/**
|
11705
|
+
* Deserializes binary data (in protobuf wire format).
|
11706
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
11707
|
+
* @return {!proto.user.SegmentPaymentRuleRequest}
|
11708
|
+
*/
|
11709
|
+
proto.user.SegmentPaymentRuleRequest.deserializeBinary = function(bytes) {
|
11710
|
+
var reader = new jspb.BinaryReader(bytes);
|
11711
|
+
var msg = new proto.user.SegmentPaymentRuleRequest;
|
11712
|
+
return proto.user.SegmentPaymentRuleRequest.deserializeBinaryFromReader(msg, reader);
|
11713
|
+
};
|
11714
|
+
|
11715
|
+
|
11716
|
+
/**
|
11717
|
+
* Deserializes binary data (in protobuf wire format) from the
|
11718
|
+
* given reader into the given message object.
|
11719
|
+
* @param {!proto.user.SegmentPaymentRuleRequest} msg The message object to deserialize into.
|
11720
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
11721
|
+
* @return {!proto.user.SegmentPaymentRuleRequest}
|
11722
|
+
*/
|
11723
|
+
proto.user.SegmentPaymentRuleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
11724
|
+
while (reader.nextField()) {
|
11725
|
+
if (reader.isEndGroup()) {
|
11726
|
+
break;
|
11727
|
+
}
|
11728
|
+
var field = reader.getFieldNumber();
|
11729
|
+
switch (field) {
|
11730
|
+
case 1:
|
11731
|
+
var value = /** @type {number} */ (reader.readInt32());
|
11732
|
+
msg.setSegmentId(value);
|
11733
|
+
break;
|
11734
|
+
case 2:
|
11735
|
+
var value = /** @type {string} */ (reader.readString());
|
11736
|
+
msg.setCurrency(value);
|
11737
|
+
break;
|
11738
|
+
case 3:
|
11739
|
+
var value = /** @type {number} */ (reader.readFloat());
|
11740
|
+
msg.setDepositAmountMin(value);
|
11741
|
+
break;
|
11742
|
+
case 4:
|
11743
|
+
var value = /** @type {number} */ (reader.readFloat());
|
11744
|
+
msg.setDepositAmountMax(value);
|
11745
|
+
break;
|
11746
|
+
case 5:
|
11747
|
+
var value = /** @type {number} */ (reader.readFloat());
|
11748
|
+
msg.setFtdAmountMin(value);
|
11749
|
+
break;
|
11750
|
+
case 6:
|
11751
|
+
var value = /** @type {number} */ (reader.readFloat());
|
11752
|
+
msg.setFtdAmountMax(value);
|
11753
|
+
break;
|
11754
|
+
case 7:
|
11755
|
+
var value = /** @type {number} */ (reader.readInt32());
|
11756
|
+
msg.setDepositCountMin(value);
|
11757
|
+
break;
|
11758
|
+
case 8:
|
11759
|
+
var value = /** @type {number} */ (reader.readInt32());
|
11760
|
+
msg.setDepositCountMax(value);
|
11761
|
+
break;
|
11762
|
+
case 9:
|
11763
|
+
var value = /** @type {number} */ (reader.readFloat());
|
11764
|
+
msg.setDepositSumMin(value);
|
11765
|
+
break;
|
11766
|
+
case 10:
|
11767
|
+
var value = /** @type {number} */ (reader.readFloat());
|
11768
|
+
msg.setDepositSumMax(value);
|
11769
|
+
break;
|
11770
|
+
case 11:
|
11771
|
+
var value = /** @type {number} */ (reader.readFloat());
|
11772
|
+
msg.setDepositAvgMin(value);
|
11773
|
+
break;
|
11774
|
+
case 12:
|
11775
|
+
var value = /** @type {number} */ (reader.readFloat());
|
11776
|
+
msg.setDepositAvgMax(value);
|
11777
|
+
break;
|
11778
|
+
case 13:
|
11779
|
+
var value = /** @type {string} */ (reader.readString());
|
11780
|
+
msg.addPaymentProviders(value);
|
11781
|
+
break;
|
11782
|
+
case 14:
|
11783
|
+
var value = /** @type {string} */ (reader.readString());
|
11784
|
+
msg.addPaymentTypes(value);
|
11785
|
+
break;
|
11786
|
+
case 15:
|
11787
|
+
var value = /** @type {number} */ (reader.readInt32());
|
11788
|
+
msg.setIsActive(value);
|
11789
|
+
break;
|
11790
|
+
default:
|
11791
|
+
reader.skipField();
|
11792
|
+
break;
|
11793
|
+
}
|
11794
|
+
}
|
11795
|
+
return msg;
|
11796
|
+
};
|
11797
|
+
|
11798
|
+
|
11799
|
+
/**
|
11800
|
+
* Serializes the message to binary data (in protobuf wire format).
|
11801
|
+
* @return {!Uint8Array}
|
11802
|
+
*/
|
11803
|
+
proto.user.SegmentPaymentRuleRequest.prototype.serializeBinary = function() {
|
11804
|
+
var writer = new jspb.BinaryWriter();
|
11805
|
+
proto.user.SegmentPaymentRuleRequest.serializeBinaryToWriter(this, writer);
|
11806
|
+
return writer.getResultBuffer();
|
11807
|
+
};
|
11808
|
+
|
11809
|
+
|
11810
|
+
/**
|
11811
|
+
* Serializes the given message to binary data (in protobuf wire
|
11812
|
+
* format), writing to the given BinaryWriter.
|
11813
|
+
* @param {!proto.user.SegmentPaymentRuleRequest} message
|
11814
|
+
* @param {!jspb.BinaryWriter} writer
|
11815
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
11816
|
+
*/
|
11817
|
+
proto.user.SegmentPaymentRuleRequest.serializeBinaryToWriter = function(message, writer) {
|
11818
|
+
var f = undefined;
|
11819
|
+
f = message.getSegmentId();
|
11820
|
+
if (f !== 0) {
|
11821
|
+
writer.writeInt32(
|
11822
|
+
1,
|
11823
|
+
f
|
11824
|
+
);
|
11825
|
+
}
|
11826
|
+
f = message.getCurrency();
|
11827
|
+
if (f.length > 0) {
|
11828
|
+
writer.writeString(
|
11829
|
+
2,
|
11830
|
+
f
|
11831
|
+
);
|
11832
|
+
}
|
11833
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
11834
|
+
if (f != null) {
|
11835
|
+
writer.writeFloat(
|
11836
|
+
3,
|
11837
|
+
f
|
11838
|
+
);
|
11839
|
+
}
|
11840
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
11841
|
+
if (f != null) {
|
11842
|
+
writer.writeFloat(
|
11843
|
+
4,
|
11844
|
+
f
|
11845
|
+
);
|
11846
|
+
}
|
11847
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
11848
|
+
if (f != null) {
|
11849
|
+
writer.writeFloat(
|
11850
|
+
5,
|
11851
|
+
f
|
11852
|
+
);
|
11853
|
+
}
|
11854
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
11855
|
+
if (f != null) {
|
11856
|
+
writer.writeFloat(
|
11857
|
+
6,
|
11858
|
+
f
|
11859
|
+
);
|
11860
|
+
}
|
11861
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
11862
|
+
if (f != null) {
|
11863
|
+
writer.writeInt32(
|
11864
|
+
7,
|
11865
|
+
f
|
11866
|
+
);
|
11867
|
+
}
|
11868
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
11869
|
+
if (f != null) {
|
11870
|
+
writer.writeInt32(
|
11871
|
+
8,
|
11872
|
+
f
|
11873
|
+
);
|
11874
|
+
}
|
11875
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
11876
|
+
if (f != null) {
|
11877
|
+
writer.writeFloat(
|
11878
|
+
9,
|
11879
|
+
f
|
11880
|
+
);
|
11881
|
+
}
|
11882
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
11883
|
+
if (f != null) {
|
11884
|
+
writer.writeFloat(
|
11885
|
+
10,
|
11886
|
+
f
|
11887
|
+
);
|
11888
|
+
}
|
11889
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
11890
|
+
if (f != null) {
|
11891
|
+
writer.writeFloat(
|
11892
|
+
11,
|
11893
|
+
f
|
11894
|
+
);
|
11895
|
+
}
|
11896
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
11897
|
+
if (f != null) {
|
11898
|
+
writer.writeFloat(
|
11899
|
+
12,
|
11900
|
+
f
|
11901
|
+
);
|
11902
|
+
}
|
11903
|
+
f = message.getPaymentProvidersList();
|
11904
|
+
if (f.length > 0) {
|
11905
|
+
writer.writeRepeatedString(
|
11906
|
+
13,
|
11907
|
+
f
|
11908
|
+
);
|
11909
|
+
}
|
11910
|
+
f = message.getPaymentTypesList();
|
11911
|
+
if (f.length > 0) {
|
11912
|
+
writer.writeRepeatedString(
|
11913
|
+
14,
|
11914
|
+
f
|
11915
|
+
);
|
11916
|
+
}
|
11917
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
11918
|
+
if (f != null) {
|
11919
|
+
writer.writeInt32(
|
11920
|
+
15,
|
11921
|
+
f
|
11922
|
+
);
|
11923
|
+
}
|
11924
|
+
};
|
11925
|
+
|
11926
|
+
|
11927
|
+
/**
|
11928
|
+
* optional int32 segment_id = 1;
|
11929
|
+
* @return {number}
|
11930
|
+
*/
|
11931
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getSegmentId = function() {
|
11932
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
11933
|
+
};
|
11934
|
+
|
11935
|
+
|
11936
|
+
/**
|
11937
|
+
* @param {number} value
|
11938
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
11939
|
+
*/
|
11940
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setSegmentId = function(value) {
|
11941
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
11942
|
+
};
|
11943
|
+
|
11944
|
+
|
11945
|
+
/**
|
11946
|
+
* optional string currency = 2;
|
11947
|
+
* @return {string}
|
11948
|
+
*/
|
11949
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getCurrency = function() {
|
11950
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
11951
|
+
};
|
11952
|
+
|
11953
|
+
|
11954
|
+
/**
|
11955
|
+
* @param {string} value
|
11956
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
11957
|
+
*/
|
11958
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setCurrency = function(value) {
|
11959
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
11960
|
+
};
|
11961
|
+
|
11962
|
+
|
11963
|
+
/**
|
11964
|
+
* optional float deposit_amount_min = 3;
|
11965
|
+
* @return {number}
|
11966
|
+
*/
|
11967
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getDepositAmountMin = function() {
|
11968
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
11969
|
+
};
|
11970
|
+
|
11971
|
+
|
11972
|
+
/**
|
11973
|
+
* @param {number} value
|
11974
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
11975
|
+
*/
|
11976
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setDepositAmountMin = function(value) {
|
11977
|
+
return jspb.Message.setField(this, 3, value);
|
11978
|
+
};
|
11979
|
+
|
11980
|
+
|
11981
|
+
/**
|
11982
|
+
* Clears the field making it undefined.
|
11983
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
11984
|
+
*/
|
11985
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearDepositAmountMin = function() {
|
11986
|
+
return jspb.Message.setField(this, 3, undefined);
|
11987
|
+
};
|
11988
|
+
|
11989
|
+
|
11990
|
+
/**
|
11991
|
+
* Returns whether this field is set.
|
11992
|
+
* @return {boolean}
|
11993
|
+
*/
|
11994
|
+
proto.user.SegmentPaymentRuleRequest.prototype.hasDepositAmountMin = function() {
|
11995
|
+
return jspb.Message.getField(this, 3) != null;
|
11996
|
+
};
|
11997
|
+
|
11998
|
+
|
11999
|
+
/**
|
12000
|
+
* optional float deposit_amount_max = 4;
|
12001
|
+
* @return {number}
|
12002
|
+
*/
|
12003
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getDepositAmountMax = function() {
|
12004
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
12005
|
+
};
|
12006
|
+
|
12007
|
+
|
12008
|
+
/**
|
12009
|
+
* @param {number} value
|
12010
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12011
|
+
*/
|
12012
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setDepositAmountMax = function(value) {
|
12013
|
+
return jspb.Message.setField(this, 4, value);
|
12014
|
+
};
|
12015
|
+
|
12016
|
+
|
12017
|
+
/**
|
12018
|
+
* Clears the field making it undefined.
|
12019
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12020
|
+
*/
|
12021
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearDepositAmountMax = function() {
|
12022
|
+
return jspb.Message.setField(this, 4, undefined);
|
12023
|
+
};
|
12024
|
+
|
12025
|
+
|
12026
|
+
/**
|
12027
|
+
* Returns whether this field is set.
|
12028
|
+
* @return {boolean}
|
12029
|
+
*/
|
12030
|
+
proto.user.SegmentPaymentRuleRequest.prototype.hasDepositAmountMax = function() {
|
12031
|
+
return jspb.Message.getField(this, 4) != null;
|
12032
|
+
};
|
12033
|
+
|
12034
|
+
|
12035
|
+
/**
|
12036
|
+
* optional float ftd_amount_min = 5;
|
12037
|
+
* @return {number}
|
12038
|
+
*/
|
12039
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getFtdAmountMin = function() {
|
12040
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
12041
|
+
};
|
12042
|
+
|
12043
|
+
|
12044
|
+
/**
|
12045
|
+
* @param {number} value
|
12046
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12047
|
+
*/
|
12048
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setFtdAmountMin = function(value) {
|
12049
|
+
return jspb.Message.setField(this, 5, value);
|
12050
|
+
};
|
12051
|
+
|
12052
|
+
|
12053
|
+
/**
|
12054
|
+
* Clears the field making it undefined.
|
12055
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12056
|
+
*/
|
12057
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearFtdAmountMin = function() {
|
12058
|
+
return jspb.Message.setField(this, 5, undefined);
|
12059
|
+
};
|
12060
|
+
|
12061
|
+
|
12062
|
+
/**
|
12063
|
+
* Returns whether this field is set.
|
12064
|
+
* @return {boolean}
|
12065
|
+
*/
|
12066
|
+
proto.user.SegmentPaymentRuleRequest.prototype.hasFtdAmountMin = function() {
|
12067
|
+
return jspb.Message.getField(this, 5) != null;
|
12068
|
+
};
|
12069
|
+
|
12070
|
+
|
12071
|
+
/**
|
12072
|
+
* optional float ftd_amount_max = 6;
|
12073
|
+
* @return {number}
|
12074
|
+
*/
|
12075
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getFtdAmountMax = function() {
|
12076
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
12077
|
+
};
|
12078
|
+
|
12079
|
+
|
12080
|
+
/**
|
12081
|
+
* @param {number} value
|
12082
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12083
|
+
*/
|
12084
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setFtdAmountMax = function(value) {
|
12085
|
+
return jspb.Message.setField(this, 6, value);
|
12086
|
+
};
|
12087
|
+
|
12088
|
+
|
12089
|
+
/**
|
12090
|
+
* Clears the field making it undefined.
|
12091
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12092
|
+
*/
|
12093
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearFtdAmountMax = function() {
|
12094
|
+
return jspb.Message.setField(this, 6, undefined);
|
12095
|
+
};
|
12096
|
+
|
12097
|
+
|
12098
|
+
/**
|
12099
|
+
* Returns whether this field is set.
|
12100
|
+
* @return {boolean}
|
12101
|
+
*/
|
12102
|
+
proto.user.SegmentPaymentRuleRequest.prototype.hasFtdAmountMax = function() {
|
12103
|
+
return jspb.Message.getField(this, 6) != null;
|
12104
|
+
};
|
12105
|
+
|
12106
|
+
|
12107
|
+
/**
|
12108
|
+
* optional int32 deposit_count_min = 7;
|
12109
|
+
* @return {number}
|
12110
|
+
*/
|
12111
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getDepositCountMin = function() {
|
12112
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
12113
|
+
};
|
12114
|
+
|
12115
|
+
|
12116
|
+
/**
|
12117
|
+
* @param {number} value
|
12118
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12119
|
+
*/
|
12120
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setDepositCountMin = function(value) {
|
12121
|
+
return jspb.Message.setField(this, 7, value);
|
12122
|
+
};
|
12123
|
+
|
12124
|
+
|
12125
|
+
/**
|
12126
|
+
* Clears the field making it undefined.
|
12127
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12128
|
+
*/
|
12129
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearDepositCountMin = function() {
|
12130
|
+
return jspb.Message.setField(this, 7, undefined);
|
12131
|
+
};
|
12132
|
+
|
12133
|
+
|
12134
|
+
/**
|
12135
|
+
* Returns whether this field is set.
|
12136
|
+
* @return {boolean}
|
12137
|
+
*/
|
12138
|
+
proto.user.SegmentPaymentRuleRequest.prototype.hasDepositCountMin = function() {
|
12139
|
+
return jspb.Message.getField(this, 7) != null;
|
12140
|
+
};
|
12141
|
+
|
12142
|
+
|
12143
|
+
/**
|
12144
|
+
* optional int32 deposit_count_max = 8;
|
12145
|
+
* @return {number}
|
12146
|
+
*/
|
12147
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getDepositCountMax = function() {
|
12148
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
12149
|
+
};
|
12150
|
+
|
12151
|
+
|
12152
|
+
/**
|
12153
|
+
* @param {number} value
|
12154
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12155
|
+
*/
|
12156
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setDepositCountMax = function(value) {
|
12157
|
+
return jspb.Message.setField(this, 8, value);
|
12158
|
+
};
|
12159
|
+
|
12160
|
+
|
12161
|
+
/**
|
12162
|
+
* Clears the field making it undefined.
|
12163
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12164
|
+
*/
|
12165
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearDepositCountMax = function() {
|
12166
|
+
return jspb.Message.setField(this, 8, undefined);
|
12167
|
+
};
|
12168
|
+
|
12169
|
+
|
12170
|
+
/**
|
12171
|
+
* Returns whether this field is set.
|
12172
|
+
* @return {boolean}
|
12173
|
+
*/
|
12174
|
+
proto.user.SegmentPaymentRuleRequest.prototype.hasDepositCountMax = function() {
|
12175
|
+
return jspb.Message.getField(this, 8) != null;
|
12176
|
+
};
|
12177
|
+
|
12178
|
+
|
12179
|
+
/**
|
12180
|
+
* optional float deposit_sum_min = 9;
|
12181
|
+
* @return {number}
|
12182
|
+
*/
|
12183
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getDepositSumMin = function() {
|
12184
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
12185
|
+
};
|
12186
|
+
|
12187
|
+
|
12188
|
+
/**
|
12189
|
+
* @param {number} value
|
12190
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12191
|
+
*/
|
12192
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setDepositSumMin = function(value) {
|
12193
|
+
return jspb.Message.setField(this, 9, value);
|
12194
|
+
};
|
12195
|
+
|
12196
|
+
|
12197
|
+
/**
|
12198
|
+
* Clears the field making it undefined.
|
12199
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12200
|
+
*/
|
12201
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearDepositSumMin = function() {
|
12202
|
+
return jspb.Message.setField(this, 9, undefined);
|
12203
|
+
};
|
12204
|
+
|
12205
|
+
|
12206
|
+
/**
|
12207
|
+
* Returns whether this field is set.
|
12208
|
+
* @return {boolean}
|
12209
|
+
*/
|
12210
|
+
proto.user.SegmentPaymentRuleRequest.prototype.hasDepositSumMin = function() {
|
12211
|
+
return jspb.Message.getField(this, 9) != null;
|
12212
|
+
};
|
12213
|
+
|
12214
|
+
|
12215
|
+
/**
|
12216
|
+
* optional float deposit_sum_max = 10;
|
12217
|
+
* @return {number}
|
12218
|
+
*/
|
12219
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getDepositSumMax = function() {
|
12220
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
12221
|
+
};
|
12222
|
+
|
12223
|
+
|
12224
|
+
/**
|
12225
|
+
* @param {number} value
|
12226
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12227
|
+
*/
|
12228
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setDepositSumMax = function(value) {
|
12229
|
+
return jspb.Message.setField(this, 10, value);
|
12230
|
+
};
|
12231
|
+
|
12232
|
+
|
12233
|
+
/**
|
12234
|
+
* Clears the field making it undefined.
|
12235
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12236
|
+
*/
|
12237
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearDepositSumMax = function() {
|
12238
|
+
return jspb.Message.setField(this, 10, undefined);
|
12239
|
+
};
|
12240
|
+
|
12241
|
+
|
12242
|
+
/**
|
12243
|
+
* Returns whether this field is set.
|
12244
|
+
* @return {boolean}
|
12245
|
+
*/
|
12246
|
+
proto.user.SegmentPaymentRuleRequest.prototype.hasDepositSumMax = function() {
|
12247
|
+
return jspb.Message.getField(this, 10) != null;
|
12248
|
+
};
|
12249
|
+
|
12250
|
+
|
12251
|
+
/**
|
12252
|
+
* optional float deposit_avg_min = 11;
|
12253
|
+
* @return {number}
|
12254
|
+
*/
|
12255
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getDepositAvgMin = function() {
|
12256
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
12257
|
+
};
|
12258
|
+
|
12259
|
+
|
12260
|
+
/**
|
12261
|
+
* @param {number} value
|
12262
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12263
|
+
*/
|
12264
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setDepositAvgMin = function(value) {
|
12265
|
+
return jspb.Message.setField(this, 11, value);
|
12266
|
+
};
|
12267
|
+
|
12268
|
+
|
12269
|
+
/**
|
12270
|
+
* Clears the field making it undefined.
|
12271
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12272
|
+
*/
|
12273
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearDepositAvgMin = function() {
|
12274
|
+
return jspb.Message.setField(this, 11, undefined);
|
12275
|
+
};
|
12276
|
+
|
12277
|
+
|
12278
|
+
/**
|
12279
|
+
* Returns whether this field is set.
|
12280
|
+
* @return {boolean}
|
12281
|
+
*/
|
12282
|
+
proto.user.SegmentPaymentRuleRequest.prototype.hasDepositAvgMin = function() {
|
12283
|
+
return jspb.Message.getField(this, 11) != null;
|
12284
|
+
};
|
12285
|
+
|
12286
|
+
|
12287
|
+
/**
|
12288
|
+
* optional float deposit_avg_max = 12;
|
12289
|
+
* @return {number}
|
12290
|
+
*/
|
12291
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getDepositAvgMax = function() {
|
12292
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
12293
|
+
};
|
12294
|
+
|
12295
|
+
|
12296
|
+
/**
|
12297
|
+
* @param {number} value
|
12298
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12299
|
+
*/
|
12300
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setDepositAvgMax = function(value) {
|
12301
|
+
return jspb.Message.setField(this, 12, value);
|
12302
|
+
};
|
12303
|
+
|
12304
|
+
|
12305
|
+
/**
|
12306
|
+
* Clears the field making it undefined.
|
12307
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12308
|
+
*/
|
12309
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearDepositAvgMax = function() {
|
12310
|
+
return jspb.Message.setField(this, 12, undefined);
|
12311
|
+
};
|
12312
|
+
|
12313
|
+
|
12314
|
+
/**
|
12315
|
+
* Returns whether this field is set.
|
12316
|
+
* @return {boolean}
|
12317
|
+
*/
|
12318
|
+
proto.user.SegmentPaymentRuleRequest.prototype.hasDepositAvgMax = function() {
|
12319
|
+
return jspb.Message.getField(this, 12) != null;
|
12320
|
+
};
|
12321
|
+
|
12322
|
+
|
12323
|
+
/**
|
12324
|
+
* repeated string payment_providers = 13;
|
12325
|
+
* @return {!Array<string>}
|
12326
|
+
*/
|
12327
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getPaymentProvidersList = function() {
|
12328
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
|
12329
|
+
};
|
12330
|
+
|
12331
|
+
|
12332
|
+
/**
|
12333
|
+
* @param {!Array<string>} value
|
12334
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12335
|
+
*/
|
12336
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setPaymentProvidersList = function(value) {
|
12337
|
+
return jspb.Message.setField(this, 13, value || []);
|
12338
|
+
};
|
12339
|
+
|
12340
|
+
|
12341
|
+
/**
|
12342
|
+
* @param {string} value
|
12343
|
+
* @param {number=} opt_index
|
12344
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12345
|
+
*/
|
12346
|
+
proto.user.SegmentPaymentRuleRequest.prototype.addPaymentProviders = function(value, opt_index) {
|
12347
|
+
return jspb.Message.addToRepeatedField(this, 13, value, opt_index);
|
12348
|
+
};
|
12349
|
+
|
12350
|
+
|
12351
|
+
/**
|
12352
|
+
* Clears the list making it empty but non-null.
|
12353
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12354
|
+
*/
|
12355
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearPaymentProvidersList = function() {
|
12356
|
+
return this.setPaymentProvidersList([]);
|
12357
|
+
};
|
12358
|
+
|
12359
|
+
|
12360
|
+
/**
|
12361
|
+
* repeated string payment_types = 14;
|
12362
|
+
* @return {!Array<string>}
|
12363
|
+
*/
|
12364
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getPaymentTypesList = function() {
|
12365
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 14));
|
12366
|
+
};
|
12367
|
+
|
12368
|
+
|
12369
|
+
/**
|
12370
|
+
* @param {!Array<string>} value
|
12371
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12372
|
+
*/
|
12373
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setPaymentTypesList = function(value) {
|
12374
|
+
return jspb.Message.setField(this, 14, value || []);
|
12375
|
+
};
|
12376
|
+
|
12377
|
+
|
12378
|
+
/**
|
12379
|
+
* @param {string} value
|
12380
|
+
* @param {number=} opt_index
|
12381
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12382
|
+
*/
|
12383
|
+
proto.user.SegmentPaymentRuleRequest.prototype.addPaymentTypes = function(value, opt_index) {
|
12384
|
+
return jspb.Message.addToRepeatedField(this, 14, value, opt_index);
|
12385
|
+
};
|
12386
|
+
|
12387
|
+
|
12388
|
+
/**
|
12389
|
+
* Clears the list making it empty but non-null.
|
12390
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12391
|
+
*/
|
12392
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearPaymentTypesList = function() {
|
12393
|
+
return this.setPaymentTypesList([]);
|
12394
|
+
};
|
12395
|
+
|
12396
|
+
|
12397
|
+
/**
|
12398
|
+
* optional int32 is_active = 15;
|
12399
|
+
* @return {number}
|
12400
|
+
*/
|
12401
|
+
proto.user.SegmentPaymentRuleRequest.prototype.getIsActive = function() {
|
12402
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
12403
|
+
};
|
12404
|
+
|
12405
|
+
|
12406
|
+
/**
|
12407
|
+
* @param {number} value
|
12408
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12409
|
+
*/
|
12410
|
+
proto.user.SegmentPaymentRuleRequest.prototype.setIsActive = function(value) {
|
12411
|
+
return jspb.Message.setField(this, 15, value);
|
12412
|
+
};
|
12413
|
+
|
12414
|
+
|
12415
|
+
/**
|
12416
|
+
* Clears the field making it undefined.
|
12417
|
+
* @return {!proto.user.SegmentPaymentRuleRequest} returns this
|
12418
|
+
*/
|
12419
|
+
proto.user.SegmentPaymentRuleRequest.prototype.clearIsActive = function() {
|
12420
|
+
return jspb.Message.setField(this, 15, undefined);
|
12421
|
+
};
|
12422
|
+
|
12423
|
+
|
12424
|
+
/**
|
12425
|
+
* Returns whether this field is set.
|
12426
|
+
* @return {boolean}
|
12427
|
+
*/
|
12428
|
+
proto.user.SegmentPaymentRuleRequest.prototype.hasIsActive = function() {
|
12429
|
+
return jspb.Message.getField(this, 15) != null;
|
12430
|
+
};
|
12431
|
+
|
12432
|
+
|
12433
|
+
|
12434
|
+
|
12435
|
+
|
12436
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
12437
|
+
/**
|
12438
|
+
* Creates an object representation of this proto.
|
12439
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
12440
|
+
* Optional fields that are not set will be set to undefined.
|
12441
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
12442
|
+
* For the list of reserved names please see:
|
12443
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
12444
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
12445
|
+
* JSPB instance for transitional soy proto support:
|
12446
|
+
* http://goto/soy-param-migration
|
12447
|
+
* @return {!Object}
|
12448
|
+
*/
|
12449
|
+
proto.user.SegmentBetRuleRequest.prototype.toObject = function(opt_includeInstance) {
|
12450
|
+
return proto.user.SegmentBetRuleRequest.toObject(opt_includeInstance, this);
|
12451
|
+
};
|
12452
|
+
|
12453
|
+
|
12454
|
+
/**
|
12455
|
+
* Static version of the {@see toObject} method.
|
12456
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
12457
|
+
* the JSPB instance for transitional soy proto support:
|
12458
|
+
* http://goto/soy-param-migration
|
12459
|
+
* @param {!proto.user.SegmentBetRuleRequest} msg The msg instance to transform.
|
12460
|
+
* @return {!Object}
|
12461
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
12462
|
+
*/
|
12463
|
+
proto.user.SegmentBetRuleRequest.toObject = function(includeInstance, msg) {
|
12464
|
+
var f, obj = {
|
12465
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
12466
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
12467
|
+
betAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
12468
|
+
betAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
12469
|
+
betCountMin: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
12470
|
+
betCountMax: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
12471
|
+
betSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
12472
|
+
betSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
12473
|
+
betAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
12474
|
+
betAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
12475
|
+
winAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
12476
|
+
winAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
12477
|
+
winCountMin: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
12478
|
+
winCountMax: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
12479
|
+
winSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
12480
|
+
winSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
12481
|
+
winAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
|
12482
|
+
winAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
|
12483
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 19, 0)
|
12484
|
+
};
|
12485
|
+
|
12486
|
+
if (includeInstance) {
|
12487
|
+
obj.$jspbMessageInstance = msg;
|
12488
|
+
}
|
12489
|
+
return obj;
|
12490
|
+
};
|
12491
|
+
}
|
12492
|
+
|
12493
|
+
|
12494
|
+
/**
|
12495
|
+
* Deserializes binary data (in protobuf wire format).
|
12496
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
12497
|
+
* @return {!proto.user.SegmentBetRuleRequest}
|
12498
|
+
*/
|
12499
|
+
proto.user.SegmentBetRuleRequest.deserializeBinary = function(bytes) {
|
12500
|
+
var reader = new jspb.BinaryReader(bytes);
|
12501
|
+
var msg = new proto.user.SegmentBetRuleRequest;
|
12502
|
+
return proto.user.SegmentBetRuleRequest.deserializeBinaryFromReader(msg, reader);
|
12503
|
+
};
|
12504
|
+
|
12505
|
+
|
12506
|
+
/**
|
12507
|
+
* Deserializes binary data (in protobuf wire format) from the
|
12508
|
+
* given reader into the given message object.
|
12509
|
+
* @param {!proto.user.SegmentBetRuleRequest} msg The message object to deserialize into.
|
12510
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
12511
|
+
* @return {!proto.user.SegmentBetRuleRequest}
|
12512
|
+
*/
|
12513
|
+
proto.user.SegmentBetRuleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
12514
|
+
while (reader.nextField()) {
|
12515
|
+
if (reader.isEndGroup()) {
|
12516
|
+
break;
|
12517
|
+
}
|
12518
|
+
var field = reader.getFieldNumber();
|
12519
|
+
switch (field) {
|
12520
|
+
case 1:
|
12521
|
+
var value = /** @type {number} */ (reader.readInt32());
|
12522
|
+
msg.setSegmentId(value);
|
12523
|
+
break;
|
12524
|
+
case 2:
|
12525
|
+
var value = /** @type {string} */ (reader.readString());
|
12526
|
+
msg.setCurrency(value);
|
12527
|
+
break;
|
12528
|
+
case 3:
|
12529
|
+
var value = /** @type {number} */ (reader.readFloat());
|
12530
|
+
msg.setBetAmountMin(value);
|
12531
|
+
break;
|
12532
|
+
case 4:
|
12533
|
+
var value = /** @type {number} */ (reader.readFloat());
|
12534
|
+
msg.setBetAmountMax(value);
|
12535
|
+
break;
|
12536
|
+
case 5:
|
12537
|
+
var value = /** @type {number} */ (reader.readInt32());
|
12538
|
+
msg.setBetCountMin(value);
|
12539
|
+
break;
|
12540
|
+
case 6:
|
12541
|
+
var value = /** @type {number} */ (reader.readInt32());
|
12542
|
+
msg.setBetCountMax(value);
|
12543
|
+
break;
|
12544
|
+
case 7:
|
12545
|
+
var value = /** @type {number} */ (reader.readFloat());
|
12546
|
+
msg.setBetSumMin(value);
|
12547
|
+
break;
|
12548
|
+
case 8:
|
12549
|
+
var value = /** @type {number} */ (reader.readFloat());
|
12550
|
+
msg.setBetSumMax(value);
|
12551
|
+
break;
|
12552
|
+
case 9:
|
12553
|
+
var value = /** @type {number} */ (reader.readFloat());
|
12554
|
+
msg.setBetAvgMin(value);
|
12555
|
+
break;
|
12556
|
+
case 10:
|
12557
|
+
var value = /** @type {number} */ (reader.readFloat());
|
12558
|
+
msg.setBetAvgMax(value);
|
12559
|
+
break;
|
12560
|
+
case 11:
|
12561
|
+
var value = /** @type {number} */ (reader.readFloat());
|
12562
|
+
msg.setWinAmountMin(value);
|
12563
|
+
break;
|
12564
|
+
case 12:
|
12565
|
+
var value = /** @type {number} */ (reader.readFloat());
|
12566
|
+
msg.setWinAmountMax(value);
|
12567
|
+
break;
|
12568
|
+
case 13:
|
12569
|
+
var value = /** @type {number} */ (reader.readInt32());
|
12570
|
+
msg.setWinCountMin(value);
|
12571
|
+
break;
|
12572
|
+
case 14:
|
12573
|
+
var value = /** @type {number} */ (reader.readInt32());
|
12574
|
+
msg.setWinCountMax(value);
|
12575
|
+
break;
|
12576
|
+
case 15:
|
12577
|
+
var value = /** @type {number} */ (reader.readFloat());
|
12578
|
+
msg.setWinSumMin(value);
|
12579
|
+
break;
|
12580
|
+
case 16:
|
12581
|
+
var value = /** @type {number} */ (reader.readFloat());
|
12582
|
+
msg.setWinSumMax(value);
|
12583
|
+
break;
|
12584
|
+
case 17:
|
12585
|
+
var value = /** @type {number} */ (reader.readFloat());
|
12586
|
+
msg.setWinAvgMin(value);
|
12587
|
+
break;
|
12588
|
+
case 18:
|
12589
|
+
var value = /** @type {number} */ (reader.readFloat());
|
12590
|
+
msg.setWinAvgMax(value);
|
12591
|
+
break;
|
12592
|
+
case 19:
|
12593
|
+
var value = /** @type {number} */ (reader.readInt32());
|
12594
|
+
msg.setIsActive(value);
|
12595
|
+
break;
|
12596
|
+
default:
|
12597
|
+
reader.skipField();
|
12598
|
+
break;
|
12599
|
+
}
|
12600
|
+
}
|
12601
|
+
return msg;
|
12602
|
+
};
|
12603
|
+
|
12604
|
+
|
12605
|
+
/**
|
12606
|
+
* Serializes the message to binary data (in protobuf wire format).
|
12607
|
+
* @return {!Uint8Array}
|
12608
|
+
*/
|
12609
|
+
proto.user.SegmentBetRuleRequest.prototype.serializeBinary = function() {
|
12610
|
+
var writer = new jspb.BinaryWriter();
|
12611
|
+
proto.user.SegmentBetRuleRequest.serializeBinaryToWriter(this, writer);
|
12612
|
+
return writer.getResultBuffer();
|
12613
|
+
};
|
12614
|
+
|
12615
|
+
|
12616
|
+
/**
|
12617
|
+
* Serializes the given message to binary data (in protobuf wire
|
12618
|
+
* format), writing to the given BinaryWriter.
|
12619
|
+
* @param {!proto.user.SegmentBetRuleRequest} message
|
12620
|
+
* @param {!jspb.BinaryWriter} writer
|
12621
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
12622
|
+
*/
|
12623
|
+
proto.user.SegmentBetRuleRequest.serializeBinaryToWriter = function(message, writer) {
|
12624
|
+
var f = undefined;
|
12625
|
+
f = message.getSegmentId();
|
12626
|
+
if (f !== 0) {
|
12627
|
+
writer.writeInt32(
|
12628
|
+
1,
|
12629
|
+
f
|
12630
|
+
);
|
12631
|
+
}
|
12632
|
+
f = message.getCurrency();
|
12633
|
+
if (f.length > 0) {
|
12634
|
+
writer.writeString(
|
12635
|
+
2,
|
12636
|
+
f
|
12637
|
+
);
|
12638
|
+
}
|
12639
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
12640
|
+
if (f != null) {
|
12641
|
+
writer.writeFloat(
|
12642
|
+
3,
|
12643
|
+
f
|
12644
|
+
);
|
12645
|
+
}
|
12646
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
12647
|
+
if (f != null) {
|
12648
|
+
writer.writeFloat(
|
12649
|
+
4,
|
12650
|
+
f
|
12651
|
+
);
|
12652
|
+
}
|
12653
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
12654
|
+
if (f != null) {
|
12655
|
+
writer.writeInt32(
|
12656
|
+
5,
|
12657
|
+
f
|
12658
|
+
);
|
12659
|
+
}
|
12660
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
12661
|
+
if (f != null) {
|
12662
|
+
writer.writeInt32(
|
12663
|
+
6,
|
12664
|
+
f
|
12665
|
+
);
|
12666
|
+
}
|
12667
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
12668
|
+
if (f != null) {
|
12669
|
+
writer.writeFloat(
|
12670
|
+
7,
|
12671
|
+
f
|
12672
|
+
);
|
12673
|
+
}
|
12674
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
12675
|
+
if (f != null) {
|
12676
|
+
writer.writeFloat(
|
12677
|
+
8,
|
12678
|
+
f
|
12679
|
+
);
|
12680
|
+
}
|
12681
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
12682
|
+
if (f != null) {
|
12683
|
+
writer.writeFloat(
|
12684
|
+
9,
|
12685
|
+
f
|
12686
|
+
);
|
12687
|
+
}
|
12688
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
12689
|
+
if (f != null) {
|
12690
|
+
writer.writeFloat(
|
12691
|
+
10,
|
12692
|
+
f
|
12693
|
+
);
|
12694
|
+
}
|
12695
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
12696
|
+
if (f != null) {
|
12697
|
+
writer.writeFloat(
|
12698
|
+
11,
|
12699
|
+
f
|
12700
|
+
);
|
12701
|
+
}
|
12702
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
12703
|
+
if (f != null) {
|
12704
|
+
writer.writeFloat(
|
12705
|
+
12,
|
12706
|
+
f
|
12707
|
+
);
|
12708
|
+
}
|
12709
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
12710
|
+
if (f != null) {
|
12711
|
+
writer.writeInt32(
|
12712
|
+
13,
|
12713
|
+
f
|
12714
|
+
);
|
12715
|
+
}
|
12716
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
12717
|
+
if (f != null) {
|
12718
|
+
writer.writeInt32(
|
12719
|
+
14,
|
12720
|
+
f
|
12721
|
+
);
|
12722
|
+
}
|
12723
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
12724
|
+
if (f != null) {
|
12725
|
+
writer.writeFloat(
|
12726
|
+
15,
|
12727
|
+
f
|
12728
|
+
);
|
12729
|
+
}
|
12730
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 16));
|
12731
|
+
if (f != null) {
|
12732
|
+
writer.writeFloat(
|
12733
|
+
16,
|
12734
|
+
f
|
12735
|
+
);
|
12736
|
+
}
|
12737
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 17));
|
12738
|
+
if (f != null) {
|
12739
|
+
writer.writeFloat(
|
12740
|
+
17,
|
12741
|
+
f
|
12742
|
+
);
|
12743
|
+
}
|
12744
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
12745
|
+
if (f != null) {
|
12746
|
+
writer.writeFloat(
|
12747
|
+
18,
|
12748
|
+
f
|
12749
|
+
);
|
12750
|
+
}
|
12751
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 19));
|
12752
|
+
if (f != null) {
|
12753
|
+
writer.writeInt32(
|
12754
|
+
19,
|
12755
|
+
f
|
12756
|
+
);
|
12757
|
+
}
|
12758
|
+
};
|
12759
|
+
|
12760
|
+
|
12761
|
+
/**
|
12762
|
+
* optional int32 segment_id = 1;
|
12763
|
+
* @return {number}
|
12764
|
+
*/
|
12765
|
+
proto.user.SegmentBetRuleRequest.prototype.getSegmentId = function() {
|
12766
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
12767
|
+
};
|
12768
|
+
|
12769
|
+
|
12770
|
+
/**
|
12771
|
+
* @param {number} value
|
12772
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12773
|
+
*/
|
12774
|
+
proto.user.SegmentBetRuleRequest.prototype.setSegmentId = function(value) {
|
12775
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
12776
|
+
};
|
12777
|
+
|
12778
|
+
|
12779
|
+
/**
|
12780
|
+
* optional string currency = 2;
|
12781
|
+
* @return {string}
|
12782
|
+
*/
|
12783
|
+
proto.user.SegmentBetRuleRequest.prototype.getCurrency = function() {
|
12784
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
12785
|
+
};
|
12786
|
+
|
12787
|
+
|
12788
|
+
/**
|
12789
|
+
* @param {string} value
|
12790
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12791
|
+
*/
|
12792
|
+
proto.user.SegmentBetRuleRequest.prototype.setCurrency = function(value) {
|
12793
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
12794
|
+
};
|
12795
|
+
|
12796
|
+
|
12797
|
+
/**
|
12798
|
+
* optional float bet_amount_min = 3;
|
12799
|
+
* @return {number}
|
12800
|
+
*/
|
12801
|
+
proto.user.SegmentBetRuleRequest.prototype.getBetAmountMin = function() {
|
12802
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
12803
|
+
};
|
12804
|
+
|
12805
|
+
|
12806
|
+
/**
|
12807
|
+
* @param {number} value
|
12808
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12809
|
+
*/
|
12810
|
+
proto.user.SegmentBetRuleRequest.prototype.setBetAmountMin = function(value) {
|
12811
|
+
return jspb.Message.setField(this, 3, value);
|
12812
|
+
};
|
12813
|
+
|
12814
|
+
|
12815
|
+
/**
|
12816
|
+
* Clears the field making it undefined.
|
12817
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12818
|
+
*/
|
12819
|
+
proto.user.SegmentBetRuleRequest.prototype.clearBetAmountMin = function() {
|
12820
|
+
return jspb.Message.setField(this, 3, undefined);
|
12821
|
+
};
|
12822
|
+
|
12823
|
+
|
12824
|
+
/**
|
12825
|
+
* Returns whether this field is set.
|
12826
|
+
* @return {boolean}
|
12827
|
+
*/
|
12828
|
+
proto.user.SegmentBetRuleRequest.prototype.hasBetAmountMin = function() {
|
12829
|
+
return jspb.Message.getField(this, 3) != null;
|
12830
|
+
};
|
12831
|
+
|
12832
|
+
|
12833
|
+
/**
|
12834
|
+
* optional float bet_amount_max = 4;
|
12835
|
+
* @return {number}
|
12836
|
+
*/
|
12837
|
+
proto.user.SegmentBetRuleRequest.prototype.getBetAmountMax = function() {
|
12838
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
12839
|
+
};
|
12840
|
+
|
12841
|
+
|
12842
|
+
/**
|
12843
|
+
* @param {number} value
|
12844
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12845
|
+
*/
|
12846
|
+
proto.user.SegmentBetRuleRequest.prototype.setBetAmountMax = function(value) {
|
12847
|
+
return jspb.Message.setField(this, 4, value);
|
12848
|
+
};
|
12849
|
+
|
12850
|
+
|
12851
|
+
/**
|
12852
|
+
* Clears the field making it undefined.
|
12853
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12854
|
+
*/
|
12855
|
+
proto.user.SegmentBetRuleRequest.prototype.clearBetAmountMax = function() {
|
12856
|
+
return jspb.Message.setField(this, 4, undefined);
|
12857
|
+
};
|
12858
|
+
|
12859
|
+
|
12860
|
+
/**
|
12861
|
+
* Returns whether this field is set.
|
12862
|
+
* @return {boolean}
|
12863
|
+
*/
|
12864
|
+
proto.user.SegmentBetRuleRequest.prototype.hasBetAmountMax = function() {
|
12865
|
+
return jspb.Message.getField(this, 4) != null;
|
12866
|
+
};
|
12867
|
+
|
12868
|
+
|
12869
|
+
/**
|
12870
|
+
* optional int32 bet_count_min = 5;
|
12871
|
+
* @return {number}
|
12872
|
+
*/
|
12873
|
+
proto.user.SegmentBetRuleRequest.prototype.getBetCountMin = function() {
|
12874
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
12875
|
+
};
|
12876
|
+
|
12877
|
+
|
12878
|
+
/**
|
12879
|
+
* @param {number} value
|
12880
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12881
|
+
*/
|
12882
|
+
proto.user.SegmentBetRuleRequest.prototype.setBetCountMin = function(value) {
|
12883
|
+
return jspb.Message.setField(this, 5, value);
|
12884
|
+
};
|
12885
|
+
|
12886
|
+
|
12887
|
+
/**
|
12888
|
+
* Clears the field making it undefined.
|
12889
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12890
|
+
*/
|
12891
|
+
proto.user.SegmentBetRuleRequest.prototype.clearBetCountMin = function() {
|
12892
|
+
return jspb.Message.setField(this, 5, undefined);
|
12893
|
+
};
|
12894
|
+
|
12895
|
+
|
12896
|
+
/**
|
12897
|
+
* Returns whether this field is set.
|
12898
|
+
* @return {boolean}
|
12899
|
+
*/
|
12900
|
+
proto.user.SegmentBetRuleRequest.prototype.hasBetCountMin = function() {
|
12901
|
+
return jspb.Message.getField(this, 5) != null;
|
12902
|
+
};
|
12903
|
+
|
12904
|
+
|
12905
|
+
/**
|
12906
|
+
* optional int32 bet_count_max = 6;
|
12907
|
+
* @return {number}
|
12908
|
+
*/
|
12909
|
+
proto.user.SegmentBetRuleRequest.prototype.getBetCountMax = function() {
|
12910
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
12911
|
+
};
|
12912
|
+
|
12913
|
+
|
12914
|
+
/**
|
12915
|
+
* @param {number} value
|
12916
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12917
|
+
*/
|
12918
|
+
proto.user.SegmentBetRuleRequest.prototype.setBetCountMax = function(value) {
|
12919
|
+
return jspb.Message.setField(this, 6, value);
|
12920
|
+
};
|
12921
|
+
|
12922
|
+
|
12923
|
+
/**
|
12924
|
+
* Clears the field making it undefined.
|
12925
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12926
|
+
*/
|
12927
|
+
proto.user.SegmentBetRuleRequest.prototype.clearBetCountMax = function() {
|
12928
|
+
return jspb.Message.setField(this, 6, undefined);
|
12929
|
+
};
|
12930
|
+
|
12931
|
+
|
12932
|
+
/**
|
12933
|
+
* Returns whether this field is set.
|
12934
|
+
* @return {boolean}
|
12935
|
+
*/
|
12936
|
+
proto.user.SegmentBetRuleRequest.prototype.hasBetCountMax = function() {
|
12937
|
+
return jspb.Message.getField(this, 6) != null;
|
12938
|
+
};
|
12939
|
+
|
12940
|
+
|
12941
|
+
/**
|
12942
|
+
* optional float bet_sum_min = 7;
|
12943
|
+
* @return {number}
|
12944
|
+
*/
|
12945
|
+
proto.user.SegmentBetRuleRequest.prototype.getBetSumMin = function() {
|
12946
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
12947
|
+
};
|
12948
|
+
|
12949
|
+
|
12950
|
+
/**
|
12951
|
+
* @param {number} value
|
12952
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12953
|
+
*/
|
12954
|
+
proto.user.SegmentBetRuleRequest.prototype.setBetSumMin = function(value) {
|
12955
|
+
return jspb.Message.setField(this, 7, value);
|
12956
|
+
};
|
12957
|
+
|
12958
|
+
|
12959
|
+
/**
|
12960
|
+
* Clears the field making it undefined.
|
12961
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12962
|
+
*/
|
12963
|
+
proto.user.SegmentBetRuleRequest.prototype.clearBetSumMin = function() {
|
12964
|
+
return jspb.Message.setField(this, 7, undefined);
|
12965
|
+
};
|
12966
|
+
|
12967
|
+
|
12968
|
+
/**
|
12969
|
+
* Returns whether this field is set.
|
12970
|
+
* @return {boolean}
|
12971
|
+
*/
|
12972
|
+
proto.user.SegmentBetRuleRequest.prototype.hasBetSumMin = function() {
|
12973
|
+
return jspb.Message.getField(this, 7) != null;
|
12974
|
+
};
|
12975
|
+
|
12976
|
+
|
12977
|
+
/**
|
12978
|
+
* optional float bet_sum_max = 8;
|
12979
|
+
* @return {number}
|
12980
|
+
*/
|
12981
|
+
proto.user.SegmentBetRuleRequest.prototype.getBetSumMax = function() {
|
12982
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
12983
|
+
};
|
12984
|
+
|
12985
|
+
|
12986
|
+
/**
|
12987
|
+
* @param {number} value
|
12988
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12989
|
+
*/
|
12990
|
+
proto.user.SegmentBetRuleRequest.prototype.setBetSumMax = function(value) {
|
12991
|
+
return jspb.Message.setField(this, 8, value);
|
12992
|
+
};
|
12993
|
+
|
12994
|
+
|
12995
|
+
/**
|
12996
|
+
* Clears the field making it undefined.
|
12997
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
12998
|
+
*/
|
12999
|
+
proto.user.SegmentBetRuleRequest.prototype.clearBetSumMax = function() {
|
13000
|
+
return jspb.Message.setField(this, 8, undefined);
|
13001
|
+
};
|
13002
|
+
|
13003
|
+
|
13004
|
+
/**
|
13005
|
+
* Returns whether this field is set.
|
13006
|
+
* @return {boolean}
|
13007
|
+
*/
|
13008
|
+
proto.user.SegmentBetRuleRequest.prototype.hasBetSumMax = function() {
|
13009
|
+
return jspb.Message.getField(this, 8) != null;
|
13010
|
+
};
|
13011
|
+
|
13012
|
+
|
13013
|
+
/**
|
13014
|
+
* optional float bet_avg_min = 9;
|
13015
|
+
* @return {number}
|
13016
|
+
*/
|
13017
|
+
proto.user.SegmentBetRuleRequest.prototype.getBetAvgMin = function() {
|
13018
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
13019
|
+
};
|
13020
|
+
|
13021
|
+
|
13022
|
+
/**
|
13023
|
+
* @param {number} value
|
13024
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13025
|
+
*/
|
13026
|
+
proto.user.SegmentBetRuleRequest.prototype.setBetAvgMin = function(value) {
|
13027
|
+
return jspb.Message.setField(this, 9, value);
|
13028
|
+
};
|
13029
|
+
|
13030
|
+
|
13031
|
+
/**
|
13032
|
+
* Clears the field making it undefined.
|
13033
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13034
|
+
*/
|
13035
|
+
proto.user.SegmentBetRuleRequest.prototype.clearBetAvgMin = function() {
|
13036
|
+
return jspb.Message.setField(this, 9, undefined);
|
13037
|
+
};
|
13038
|
+
|
13039
|
+
|
13040
|
+
/**
|
13041
|
+
* Returns whether this field is set.
|
13042
|
+
* @return {boolean}
|
13043
|
+
*/
|
13044
|
+
proto.user.SegmentBetRuleRequest.prototype.hasBetAvgMin = function() {
|
13045
|
+
return jspb.Message.getField(this, 9) != null;
|
13046
|
+
};
|
13047
|
+
|
13048
|
+
|
13049
|
+
/**
|
13050
|
+
* optional float bet_avg_max = 10;
|
13051
|
+
* @return {number}
|
13052
|
+
*/
|
13053
|
+
proto.user.SegmentBetRuleRequest.prototype.getBetAvgMax = function() {
|
13054
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
13055
|
+
};
|
13056
|
+
|
13057
|
+
|
13058
|
+
/**
|
13059
|
+
* @param {number} value
|
13060
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13061
|
+
*/
|
13062
|
+
proto.user.SegmentBetRuleRequest.prototype.setBetAvgMax = function(value) {
|
13063
|
+
return jspb.Message.setField(this, 10, value);
|
13064
|
+
};
|
13065
|
+
|
13066
|
+
|
13067
|
+
/**
|
13068
|
+
* Clears the field making it undefined.
|
13069
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13070
|
+
*/
|
13071
|
+
proto.user.SegmentBetRuleRequest.prototype.clearBetAvgMax = function() {
|
13072
|
+
return jspb.Message.setField(this, 10, undefined);
|
13073
|
+
};
|
13074
|
+
|
13075
|
+
|
13076
|
+
/**
|
13077
|
+
* Returns whether this field is set.
|
13078
|
+
* @return {boolean}
|
13079
|
+
*/
|
13080
|
+
proto.user.SegmentBetRuleRequest.prototype.hasBetAvgMax = function() {
|
13081
|
+
return jspb.Message.getField(this, 10) != null;
|
13082
|
+
};
|
13083
|
+
|
13084
|
+
|
13085
|
+
/**
|
13086
|
+
* optional float win_amount_min = 11;
|
13087
|
+
* @return {number}
|
13088
|
+
*/
|
13089
|
+
proto.user.SegmentBetRuleRequest.prototype.getWinAmountMin = function() {
|
13090
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
13091
|
+
};
|
13092
|
+
|
13093
|
+
|
13094
|
+
/**
|
13095
|
+
* @param {number} value
|
13096
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13097
|
+
*/
|
13098
|
+
proto.user.SegmentBetRuleRequest.prototype.setWinAmountMin = function(value) {
|
13099
|
+
return jspb.Message.setField(this, 11, value);
|
13100
|
+
};
|
13101
|
+
|
13102
|
+
|
13103
|
+
/**
|
13104
|
+
* Clears the field making it undefined.
|
13105
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13106
|
+
*/
|
13107
|
+
proto.user.SegmentBetRuleRequest.prototype.clearWinAmountMin = function() {
|
13108
|
+
return jspb.Message.setField(this, 11, undefined);
|
13109
|
+
};
|
13110
|
+
|
13111
|
+
|
13112
|
+
/**
|
13113
|
+
* Returns whether this field is set.
|
13114
|
+
* @return {boolean}
|
13115
|
+
*/
|
13116
|
+
proto.user.SegmentBetRuleRequest.prototype.hasWinAmountMin = function() {
|
13117
|
+
return jspb.Message.getField(this, 11) != null;
|
13118
|
+
};
|
13119
|
+
|
13120
|
+
|
13121
|
+
/**
|
13122
|
+
* optional float win_amount_max = 12;
|
13123
|
+
* @return {number}
|
13124
|
+
*/
|
13125
|
+
proto.user.SegmentBetRuleRequest.prototype.getWinAmountMax = function() {
|
13126
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
13127
|
+
};
|
13128
|
+
|
13129
|
+
|
13130
|
+
/**
|
13131
|
+
* @param {number} value
|
13132
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13133
|
+
*/
|
13134
|
+
proto.user.SegmentBetRuleRequest.prototype.setWinAmountMax = function(value) {
|
13135
|
+
return jspb.Message.setField(this, 12, value);
|
13136
|
+
};
|
13137
|
+
|
13138
|
+
|
13139
|
+
/**
|
13140
|
+
* Clears the field making it undefined.
|
13141
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13142
|
+
*/
|
13143
|
+
proto.user.SegmentBetRuleRequest.prototype.clearWinAmountMax = function() {
|
13144
|
+
return jspb.Message.setField(this, 12, undefined);
|
13145
|
+
};
|
13146
|
+
|
13147
|
+
|
13148
|
+
/**
|
13149
|
+
* Returns whether this field is set.
|
13150
|
+
* @return {boolean}
|
13151
|
+
*/
|
13152
|
+
proto.user.SegmentBetRuleRequest.prototype.hasWinAmountMax = function() {
|
13153
|
+
return jspb.Message.getField(this, 12) != null;
|
13154
|
+
};
|
13155
|
+
|
13156
|
+
|
13157
|
+
/**
|
13158
|
+
* optional int32 win_count_min = 13;
|
13159
|
+
* @return {number}
|
13160
|
+
*/
|
13161
|
+
proto.user.SegmentBetRuleRequest.prototype.getWinCountMin = function() {
|
13162
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
13163
|
+
};
|
13164
|
+
|
13165
|
+
|
13166
|
+
/**
|
13167
|
+
* @param {number} value
|
13168
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13169
|
+
*/
|
13170
|
+
proto.user.SegmentBetRuleRequest.prototype.setWinCountMin = function(value) {
|
13171
|
+
return jspb.Message.setField(this, 13, value);
|
13172
|
+
};
|
13173
|
+
|
13174
|
+
|
13175
|
+
/**
|
13176
|
+
* Clears the field making it undefined.
|
13177
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13178
|
+
*/
|
13179
|
+
proto.user.SegmentBetRuleRequest.prototype.clearWinCountMin = function() {
|
13180
|
+
return jspb.Message.setField(this, 13, undefined);
|
13181
|
+
};
|
13182
|
+
|
13183
|
+
|
13184
|
+
/**
|
13185
|
+
* Returns whether this field is set.
|
13186
|
+
* @return {boolean}
|
13187
|
+
*/
|
13188
|
+
proto.user.SegmentBetRuleRequest.prototype.hasWinCountMin = function() {
|
13189
|
+
return jspb.Message.getField(this, 13) != null;
|
13190
|
+
};
|
13191
|
+
|
13192
|
+
|
13193
|
+
/**
|
13194
|
+
* optional int32 win_count_max = 14;
|
13195
|
+
* @return {number}
|
13196
|
+
*/
|
13197
|
+
proto.user.SegmentBetRuleRequest.prototype.getWinCountMax = function() {
|
13198
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
13199
|
+
};
|
13200
|
+
|
13201
|
+
|
13202
|
+
/**
|
13203
|
+
* @param {number} value
|
13204
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13205
|
+
*/
|
13206
|
+
proto.user.SegmentBetRuleRequest.prototype.setWinCountMax = function(value) {
|
13207
|
+
return jspb.Message.setField(this, 14, value);
|
13208
|
+
};
|
13209
|
+
|
13210
|
+
|
13211
|
+
/**
|
13212
|
+
* Clears the field making it undefined.
|
13213
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13214
|
+
*/
|
13215
|
+
proto.user.SegmentBetRuleRequest.prototype.clearWinCountMax = function() {
|
13216
|
+
return jspb.Message.setField(this, 14, undefined);
|
13217
|
+
};
|
13218
|
+
|
13219
|
+
|
13220
|
+
/**
|
13221
|
+
* Returns whether this field is set.
|
13222
|
+
* @return {boolean}
|
13223
|
+
*/
|
13224
|
+
proto.user.SegmentBetRuleRequest.prototype.hasWinCountMax = function() {
|
13225
|
+
return jspb.Message.getField(this, 14) != null;
|
13226
|
+
};
|
13227
|
+
|
13228
|
+
|
13229
|
+
/**
|
13230
|
+
* optional float win_sum_min = 15;
|
13231
|
+
* @return {number}
|
13232
|
+
*/
|
13233
|
+
proto.user.SegmentBetRuleRequest.prototype.getWinSumMin = function() {
|
13234
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
13235
|
+
};
|
13236
|
+
|
13237
|
+
|
13238
|
+
/**
|
13239
|
+
* @param {number} value
|
13240
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13241
|
+
*/
|
13242
|
+
proto.user.SegmentBetRuleRequest.prototype.setWinSumMin = function(value) {
|
13243
|
+
return jspb.Message.setField(this, 15, value);
|
13244
|
+
};
|
13245
|
+
|
13246
|
+
|
13247
|
+
/**
|
13248
|
+
* Clears the field making it undefined.
|
13249
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13250
|
+
*/
|
13251
|
+
proto.user.SegmentBetRuleRequest.prototype.clearWinSumMin = function() {
|
13252
|
+
return jspb.Message.setField(this, 15, undefined);
|
13253
|
+
};
|
13254
|
+
|
13255
|
+
|
13256
|
+
/**
|
13257
|
+
* Returns whether this field is set.
|
13258
|
+
* @return {boolean}
|
13259
|
+
*/
|
13260
|
+
proto.user.SegmentBetRuleRequest.prototype.hasWinSumMin = function() {
|
13261
|
+
return jspb.Message.getField(this, 15) != null;
|
13262
|
+
};
|
13263
|
+
|
13264
|
+
|
13265
|
+
/**
|
13266
|
+
* optional float win_sum_max = 16;
|
13267
|
+
* @return {number}
|
13268
|
+
*/
|
13269
|
+
proto.user.SegmentBetRuleRequest.prototype.getWinSumMax = function() {
|
13270
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
|
13271
|
+
};
|
13272
|
+
|
13273
|
+
|
13274
|
+
/**
|
13275
|
+
* @param {number} value
|
13276
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13277
|
+
*/
|
13278
|
+
proto.user.SegmentBetRuleRequest.prototype.setWinSumMax = function(value) {
|
13279
|
+
return jspb.Message.setField(this, 16, value);
|
13280
|
+
};
|
13281
|
+
|
13282
|
+
|
13283
|
+
/**
|
13284
|
+
* Clears the field making it undefined.
|
13285
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13286
|
+
*/
|
13287
|
+
proto.user.SegmentBetRuleRequest.prototype.clearWinSumMax = function() {
|
13288
|
+
return jspb.Message.setField(this, 16, undefined);
|
13289
|
+
};
|
13290
|
+
|
13291
|
+
|
13292
|
+
/**
|
13293
|
+
* Returns whether this field is set.
|
13294
|
+
* @return {boolean}
|
13295
|
+
*/
|
13296
|
+
proto.user.SegmentBetRuleRequest.prototype.hasWinSumMax = function() {
|
13297
|
+
return jspb.Message.getField(this, 16) != null;
|
13298
|
+
};
|
13299
|
+
|
13300
|
+
|
13301
|
+
/**
|
13302
|
+
* optional float win_avg_min = 17;
|
13303
|
+
* @return {number}
|
13304
|
+
*/
|
13305
|
+
proto.user.SegmentBetRuleRequest.prototype.getWinAvgMin = function() {
|
13306
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0));
|
13307
|
+
};
|
13308
|
+
|
13309
|
+
|
13310
|
+
/**
|
13311
|
+
* @param {number} value
|
13312
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13313
|
+
*/
|
13314
|
+
proto.user.SegmentBetRuleRequest.prototype.setWinAvgMin = function(value) {
|
13315
|
+
return jspb.Message.setField(this, 17, value);
|
13316
|
+
};
|
13317
|
+
|
13318
|
+
|
13319
|
+
/**
|
13320
|
+
* Clears the field making it undefined.
|
13321
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13322
|
+
*/
|
13323
|
+
proto.user.SegmentBetRuleRequest.prototype.clearWinAvgMin = function() {
|
13324
|
+
return jspb.Message.setField(this, 17, undefined);
|
13325
|
+
};
|
13326
|
+
|
13327
|
+
|
13328
|
+
/**
|
13329
|
+
* Returns whether this field is set.
|
13330
|
+
* @return {boolean}
|
13331
|
+
*/
|
13332
|
+
proto.user.SegmentBetRuleRequest.prototype.hasWinAvgMin = function() {
|
13333
|
+
return jspb.Message.getField(this, 17) != null;
|
13334
|
+
};
|
13335
|
+
|
13336
|
+
|
13337
|
+
/**
|
13338
|
+
* optional float win_avg_max = 18;
|
13339
|
+
* @return {number}
|
13340
|
+
*/
|
13341
|
+
proto.user.SegmentBetRuleRequest.prototype.getWinAvgMax = function() {
|
13342
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0));
|
13343
|
+
};
|
13344
|
+
|
13345
|
+
|
13346
|
+
/**
|
13347
|
+
* @param {number} value
|
13348
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13349
|
+
*/
|
13350
|
+
proto.user.SegmentBetRuleRequest.prototype.setWinAvgMax = function(value) {
|
13351
|
+
return jspb.Message.setField(this, 18, value);
|
13352
|
+
};
|
13353
|
+
|
13354
|
+
|
13355
|
+
/**
|
13356
|
+
* Clears the field making it undefined.
|
13357
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13358
|
+
*/
|
13359
|
+
proto.user.SegmentBetRuleRequest.prototype.clearWinAvgMax = function() {
|
13360
|
+
return jspb.Message.setField(this, 18, undefined);
|
13361
|
+
};
|
13362
|
+
|
13363
|
+
|
13364
|
+
/**
|
13365
|
+
* Returns whether this field is set.
|
13366
|
+
* @return {boolean}
|
13367
|
+
*/
|
13368
|
+
proto.user.SegmentBetRuleRequest.prototype.hasWinAvgMax = function() {
|
13369
|
+
return jspb.Message.getField(this, 18) != null;
|
13370
|
+
};
|
13371
|
+
|
13372
|
+
|
13373
|
+
/**
|
13374
|
+
* optional int32 is_active = 19;
|
13375
|
+
* @return {number}
|
13376
|
+
*/
|
13377
|
+
proto.user.SegmentBetRuleRequest.prototype.getIsActive = function() {
|
13378
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
13379
|
+
};
|
13380
|
+
|
13381
|
+
|
13382
|
+
/**
|
13383
|
+
* @param {number} value
|
13384
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13385
|
+
*/
|
13386
|
+
proto.user.SegmentBetRuleRequest.prototype.setIsActive = function(value) {
|
13387
|
+
return jspb.Message.setField(this, 19, value);
|
13388
|
+
};
|
13389
|
+
|
13390
|
+
|
13391
|
+
/**
|
13392
|
+
* Clears the field making it undefined.
|
13393
|
+
* @return {!proto.user.SegmentBetRuleRequest} returns this
|
13394
|
+
*/
|
13395
|
+
proto.user.SegmentBetRuleRequest.prototype.clearIsActive = function() {
|
13396
|
+
return jspb.Message.setField(this, 19, undefined);
|
13397
|
+
};
|
13398
|
+
|
13399
|
+
|
13400
|
+
/**
|
13401
|
+
* Returns whether this field is set.
|
13402
|
+
* @return {boolean}
|
13403
|
+
*/
|
13404
|
+
proto.user.SegmentBetRuleRequest.prototype.hasIsActive = function() {
|
13405
|
+
return jspb.Message.getField(this, 19) != null;
|
13406
|
+
};
|
13407
|
+
|
13408
|
+
|
13409
|
+
|
13410
|
+
|
13411
|
+
|
13412
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
13413
|
+
/**
|
13414
|
+
* Creates an object representation of this proto.
|
13415
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
13416
|
+
* Optional fields that are not set will be set to undefined.
|
13417
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
13418
|
+
* For the list of reserved names please see:
|
13419
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
13420
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
13421
|
+
* JSPB instance for transitional soy proto support:
|
13422
|
+
* http://goto/soy-param-migration
|
13423
|
+
* @return {!Object}
|
13424
|
+
*/
|
13425
|
+
proto.user.SegmentRuleItem.prototype.toObject = function(opt_includeInstance) {
|
13426
|
+
return proto.user.SegmentRuleItem.toObject(opt_includeInstance, this);
|
13427
|
+
};
|
13428
|
+
|
13429
|
+
|
13430
|
+
/**
|
13431
|
+
* Static version of the {@see toObject} method.
|
13432
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
13433
|
+
* the JSPB instance for transitional soy proto support:
|
13434
|
+
* http://goto/soy-param-migration
|
13435
|
+
* @param {!proto.user.SegmentRuleItem} msg The msg instance to transform.
|
13436
|
+
* @return {!Object}
|
13437
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
13438
|
+
*/
|
13439
|
+
proto.user.SegmentRuleItem.toObject = function(includeInstance, msg) {
|
13440
|
+
var f, obj = {
|
13441
|
+
paymentRule: (f = msg.getPaymentRule()) && proto.user.SegmentPaymentRuleItem.toObject(includeInstance, f),
|
13442
|
+
betRule: (f = msg.getBetRule()) && proto.user.SegmentBetRuleItem.toObject(includeInstance, f)
|
13443
|
+
};
|
13444
|
+
|
13445
|
+
if (includeInstance) {
|
13446
|
+
obj.$jspbMessageInstance = msg;
|
13447
|
+
}
|
13448
|
+
return obj;
|
13449
|
+
};
|
13450
|
+
}
|
13451
|
+
|
13452
|
+
|
13453
|
+
/**
|
13454
|
+
* Deserializes binary data (in protobuf wire format).
|
13455
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
13456
|
+
* @return {!proto.user.SegmentRuleItem}
|
13457
|
+
*/
|
13458
|
+
proto.user.SegmentRuleItem.deserializeBinary = function(bytes) {
|
13459
|
+
var reader = new jspb.BinaryReader(bytes);
|
13460
|
+
var msg = new proto.user.SegmentRuleItem;
|
13461
|
+
return proto.user.SegmentRuleItem.deserializeBinaryFromReader(msg, reader);
|
13462
|
+
};
|
13463
|
+
|
13464
|
+
|
13465
|
+
/**
|
13466
|
+
* Deserializes binary data (in protobuf wire format) from the
|
13467
|
+
* given reader into the given message object.
|
13468
|
+
* @param {!proto.user.SegmentRuleItem} msg The message object to deserialize into.
|
13469
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
13470
|
+
* @return {!proto.user.SegmentRuleItem}
|
13471
|
+
*/
|
13472
|
+
proto.user.SegmentRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
13473
|
+
while (reader.nextField()) {
|
13474
|
+
if (reader.isEndGroup()) {
|
13475
|
+
break;
|
13476
|
+
}
|
13477
|
+
var field = reader.getFieldNumber();
|
13478
|
+
switch (field) {
|
13479
|
+
case 1:
|
13480
|
+
var value = new proto.user.SegmentPaymentRuleItem;
|
13481
|
+
reader.readMessage(value,proto.user.SegmentPaymentRuleItem.deserializeBinaryFromReader);
|
13482
|
+
msg.setPaymentRule(value);
|
13483
|
+
break;
|
13484
|
+
case 2:
|
13485
|
+
var value = new proto.user.SegmentBetRuleItem;
|
13486
|
+
reader.readMessage(value,proto.user.SegmentBetRuleItem.deserializeBinaryFromReader);
|
13487
|
+
msg.setBetRule(value);
|
13488
|
+
break;
|
13489
|
+
default:
|
13490
|
+
reader.skipField();
|
13491
|
+
break;
|
13492
|
+
}
|
13493
|
+
}
|
13494
|
+
return msg;
|
13495
|
+
};
|
13496
|
+
|
13497
|
+
|
13498
|
+
/**
|
13499
|
+
* Serializes the message to binary data (in protobuf wire format).
|
13500
|
+
* @return {!Uint8Array}
|
13501
|
+
*/
|
13502
|
+
proto.user.SegmentRuleItem.prototype.serializeBinary = function() {
|
13503
|
+
var writer = new jspb.BinaryWriter();
|
13504
|
+
proto.user.SegmentRuleItem.serializeBinaryToWriter(this, writer);
|
13505
|
+
return writer.getResultBuffer();
|
13506
|
+
};
|
13507
|
+
|
13508
|
+
|
13509
|
+
/**
|
13510
|
+
* Serializes the given message to binary data (in protobuf wire
|
13511
|
+
* format), writing to the given BinaryWriter.
|
13512
|
+
* @param {!proto.user.SegmentRuleItem} message
|
13513
|
+
* @param {!jspb.BinaryWriter} writer
|
13514
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
13515
|
+
*/
|
13516
|
+
proto.user.SegmentRuleItem.serializeBinaryToWriter = function(message, writer) {
|
13517
|
+
var f = undefined;
|
13518
|
+
f = message.getPaymentRule();
|
13519
|
+
if (f != null) {
|
13520
|
+
writer.writeMessage(
|
13521
|
+
1,
|
13522
|
+
f,
|
13523
|
+
proto.user.SegmentPaymentRuleItem.serializeBinaryToWriter
|
13524
|
+
);
|
13525
|
+
}
|
13526
|
+
f = message.getBetRule();
|
13527
|
+
if (f != null) {
|
13528
|
+
writer.writeMessage(
|
13529
|
+
2,
|
13530
|
+
f,
|
13531
|
+
proto.user.SegmentBetRuleItem.serializeBinaryToWriter
|
13532
|
+
);
|
13533
|
+
}
|
13534
|
+
};
|
13535
|
+
|
13536
|
+
|
13537
|
+
/**
|
13538
|
+
* optional SegmentPaymentRuleItem payment_rule = 1;
|
13539
|
+
* @return {?proto.user.SegmentPaymentRuleItem}
|
13540
|
+
*/
|
13541
|
+
proto.user.SegmentRuleItem.prototype.getPaymentRule = function() {
|
13542
|
+
return /** @type{?proto.user.SegmentPaymentRuleItem} */ (
|
13543
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentPaymentRuleItem, 1));
|
13544
|
+
};
|
13545
|
+
|
13546
|
+
|
13547
|
+
/**
|
13548
|
+
* @param {?proto.user.SegmentPaymentRuleItem|undefined} value
|
13549
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
13550
|
+
*/
|
13551
|
+
proto.user.SegmentRuleItem.prototype.setPaymentRule = function(value) {
|
13552
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
13553
|
+
};
|
13554
|
+
|
13555
|
+
|
13556
|
+
/**
|
13557
|
+
* Clears the message field making it undefined.
|
13558
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
13559
|
+
*/
|
13560
|
+
proto.user.SegmentRuleItem.prototype.clearPaymentRule = function() {
|
13561
|
+
return this.setPaymentRule(undefined);
|
13562
|
+
};
|
13563
|
+
|
13564
|
+
|
13565
|
+
/**
|
13566
|
+
* Returns whether this field is set.
|
13567
|
+
* @return {boolean}
|
13568
|
+
*/
|
13569
|
+
proto.user.SegmentRuleItem.prototype.hasPaymentRule = function() {
|
13570
|
+
return jspb.Message.getField(this, 1) != null;
|
13571
|
+
};
|
13572
|
+
|
13573
|
+
|
13574
|
+
/**
|
13575
|
+
* optional SegmentBetRuleItem bet_rule = 2;
|
13576
|
+
* @return {?proto.user.SegmentBetRuleItem}
|
13577
|
+
*/
|
13578
|
+
proto.user.SegmentRuleItem.prototype.getBetRule = function() {
|
13579
|
+
return /** @type{?proto.user.SegmentBetRuleItem} */ (
|
13580
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentBetRuleItem, 2));
|
13581
|
+
};
|
13582
|
+
|
13583
|
+
|
13584
|
+
/**
|
13585
|
+
* @param {?proto.user.SegmentBetRuleItem|undefined} value
|
13586
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
13587
|
+
*/
|
13588
|
+
proto.user.SegmentRuleItem.prototype.setBetRule = function(value) {
|
13589
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
13590
|
+
};
|
13591
|
+
|
13592
|
+
|
13593
|
+
/**
|
13594
|
+
* Clears the message field making it undefined.
|
13595
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
13596
|
+
*/
|
13597
|
+
proto.user.SegmentRuleItem.prototype.clearBetRule = function() {
|
13598
|
+
return this.setBetRule(undefined);
|
13599
|
+
};
|
13600
|
+
|
13601
|
+
|
13602
|
+
/**
|
13603
|
+
* Returns whether this field is set.
|
13604
|
+
* @return {boolean}
|
13605
|
+
*/
|
13606
|
+
proto.user.SegmentRuleItem.prototype.hasBetRule = function() {
|
13607
|
+
return jspb.Message.getField(this, 2) != null;
|
13608
|
+
};
|
13609
|
+
|
13610
|
+
|
13611
|
+
|
13612
|
+
/**
|
13613
|
+
* List of repeated fields within this message type.
|
13614
|
+
* @private {!Array<number>}
|
13615
|
+
* @const
|
13616
|
+
*/
|
13617
|
+
proto.user.SegmentPaymentRuleItem.repeatedFields_ = [11,12];
|
13618
|
+
|
13619
|
+
|
13620
|
+
|
13621
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
13622
|
+
/**
|
13623
|
+
* Creates an object representation of this proto.
|
13624
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
13625
|
+
* Optional fields that are not set will be set to undefined.
|
13626
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
13627
|
+
* For the list of reserved names please see:
|
13628
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
13629
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
13630
|
+
* JSPB instance for transitional soy proto support:
|
13631
|
+
* http://goto/soy-param-migration
|
13632
|
+
* @return {!Object}
|
13633
|
+
*/
|
13634
|
+
proto.user.SegmentPaymentRuleItem.prototype.toObject = function(opt_includeInstance) {
|
13635
|
+
return proto.user.SegmentPaymentRuleItem.toObject(opt_includeInstance, this);
|
13636
|
+
};
|
13637
|
+
|
13638
|
+
|
13639
|
+
/**
|
13640
|
+
* Static version of the {@see toObject} method.
|
13641
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
13642
|
+
* the JSPB instance for transitional soy proto support:
|
13643
|
+
* http://goto/soy-param-migration
|
13644
|
+
* @param {!proto.user.SegmentPaymentRuleItem} msg The msg instance to transform.
|
13645
|
+
* @return {!Object}
|
13646
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
13647
|
+
*/
|
13648
|
+
proto.user.SegmentPaymentRuleItem.toObject = function(includeInstance, msg) {
|
13649
|
+
var f, obj = {
|
13650
|
+
depositAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
13651
|
+
depositAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
13652
|
+
ftdAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
13653
|
+
ftdAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
13654
|
+
depositCountMin: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
13655
|
+
depositCountMax: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
13656
|
+
depositSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
13657
|
+
depositSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
13658
|
+
depositAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
13659
|
+
depositAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
13660
|
+
paymentProvidersList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
13661
|
+
paymentTypesList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
|
13662
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
13663
|
+
currency: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
13664
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 15, 0)
|
13665
|
+
};
|
13666
|
+
|
13667
|
+
if (includeInstance) {
|
13668
|
+
obj.$jspbMessageInstance = msg;
|
13669
|
+
}
|
13670
|
+
return obj;
|
13671
|
+
};
|
13672
|
+
}
|
13673
|
+
|
13674
|
+
|
13675
|
+
/**
|
13676
|
+
* Deserializes binary data (in protobuf wire format).
|
13677
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
13678
|
+
* @return {!proto.user.SegmentPaymentRuleItem}
|
13679
|
+
*/
|
13680
|
+
proto.user.SegmentPaymentRuleItem.deserializeBinary = function(bytes) {
|
13681
|
+
var reader = new jspb.BinaryReader(bytes);
|
13682
|
+
var msg = new proto.user.SegmentPaymentRuleItem;
|
13683
|
+
return proto.user.SegmentPaymentRuleItem.deserializeBinaryFromReader(msg, reader);
|
13684
|
+
};
|
13685
|
+
|
13686
|
+
|
13687
|
+
/**
|
13688
|
+
* Deserializes binary data (in protobuf wire format) from the
|
13689
|
+
* given reader into the given message object.
|
13690
|
+
* @param {!proto.user.SegmentPaymentRuleItem} msg The message object to deserialize into.
|
13691
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
13692
|
+
* @return {!proto.user.SegmentPaymentRuleItem}
|
13693
|
+
*/
|
13694
|
+
proto.user.SegmentPaymentRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
13695
|
+
while (reader.nextField()) {
|
13696
|
+
if (reader.isEndGroup()) {
|
13697
|
+
break;
|
13698
|
+
}
|
13699
|
+
var field = reader.getFieldNumber();
|
13700
|
+
switch (field) {
|
13701
|
+
case 1:
|
13702
|
+
var value = /** @type {number} */ (reader.readFloat());
|
13703
|
+
msg.setDepositAmountMin(value);
|
13704
|
+
break;
|
13705
|
+
case 2:
|
13706
|
+
var value = /** @type {number} */ (reader.readFloat());
|
13707
|
+
msg.setDepositAmountMax(value);
|
13708
|
+
break;
|
13709
|
+
case 3:
|
13710
|
+
var value = /** @type {number} */ (reader.readFloat());
|
13711
|
+
msg.setFtdAmountMin(value);
|
13712
|
+
break;
|
13713
|
+
case 4:
|
13714
|
+
var value = /** @type {number} */ (reader.readFloat());
|
13715
|
+
msg.setFtdAmountMax(value);
|
13716
|
+
break;
|
13717
|
+
case 5:
|
13718
|
+
var value = /** @type {number} */ (reader.readInt32());
|
13719
|
+
msg.setDepositCountMin(value);
|
13720
|
+
break;
|
13721
|
+
case 6:
|
13722
|
+
var value = /** @type {number} */ (reader.readInt32());
|
13723
|
+
msg.setDepositCountMax(value);
|
13724
|
+
break;
|
13725
|
+
case 7:
|
13726
|
+
var value = /** @type {number} */ (reader.readFloat());
|
13727
|
+
msg.setDepositSumMin(value);
|
13728
|
+
break;
|
13729
|
+
case 8:
|
13730
|
+
var value = /** @type {number} */ (reader.readFloat());
|
13731
|
+
msg.setDepositSumMax(value);
|
13732
|
+
break;
|
13733
|
+
case 9:
|
13734
|
+
var value = /** @type {number} */ (reader.readFloat());
|
13735
|
+
msg.setDepositAvgMin(value);
|
13736
|
+
break;
|
13737
|
+
case 10:
|
13738
|
+
var value = /** @type {number} */ (reader.readFloat());
|
13739
|
+
msg.setDepositAvgMax(value);
|
13740
|
+
break;
|
13741
|
+
case 11:
|
13742
|
+
var value = /** @type {string} */ (reader.readString());
|
13743
|
+
msg.addPaymentProviders(value);
|
13744
|
+
break;
|
13745
|
+
case 12:
|
13746
|
+
var value = /** @type {string} */ (reader.readString());
|
13747
|
+
msg.addPaymentTypes(value);
|
13748
|
+
break;
|
13749
|
+
case 13:
|
13750
|
+
var value = /** @type {number} */ (reader.readInt32());
|
13751
|
+
msg.setSegmentId(value);
|
13752
|
+
break;
|
13753
|
+
case 14:
|
13754
|
+
var value = /** @type {string} */ (reader.readString());
|
13755
|
+
msg.setCurrency(value);
|
13756
|
+
break;
|
13757
|
+
case 15:
|
13758
|
+
var value = /** @type {number} */ (reader.readInt32());
|
13759
|
+
msg.setIsActive(value);
|
13760
|
+
break;
|
13761
|
+
default:
|
13762
|
+
reader.skipField();
|
13763
|
+
break;
|
13764
|
+
}
|
13765
|
+
}
|
13766
|
+
return msg;
|
13767
|
+
};
|
13768
|
+
|
13769
|
+
|
13770
|
+
/**
|
13771
|
+
* Serializes the message to binary data (in protobuf wire format).
|
13772
|
+
* @return {!Uint8Array}
|
13773
|
+
*/
|
13774
|
+
proto.user.SegmentPaymentRuleItem.prototype.serializeBinary = function() {
|
13775
|
+
var writer = new jspb.BinaryWriter();
|
13776
|
+
proto.user.SegmentPaymentRuleItem.serializeBinaryToWriter(this, writer);
|
13777
|
+
return writer.getResultBuffer();
|
13778
|
+
};
|
13779
|
+
|
13780
|
+
|
13781
|
+
/**
|
13782
|
+
* Serializes the given message to binary data (in protobuf wire
|
13783
|
+
* format), writing to the given BinaryWriter.
|
13784
|
+
* @param {!proto.user.SegmentPaymentRuleItem} message
|
13785
|
+
* @param {!jspb.BinaryWriter} writer
|
13786
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
13787
|
+
*/
|
13788
|
+
proto.user.SegmentPaymentRuleItem.serializeBinaryToWriter = function(message, writer) {
|
13789
|
+
var f = undefined;
|
13790
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
13791
|
+
if (f != null) {
|
13792
|
+
writer.writeFloat(
|
13793
|
+
1,
|
13794
|
+
f
|
13795
|
+
);
|
13796
|
+
}
|
13797
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
13798
|
+
if (f != null) {
|
13799
|
+
writer.writeFloat(
|
13800
|
+
2,
|
13801
|
+
f
|
13802
|
+
);
|
13803
|
+
}
|
13804
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
13805
|
+
if (f != null) {
|
13806
|
+
writer.writeFloat(
|
13807
|
+
3,
|
13808
|
+
f
|
13809
|
+
);
|
13810
|
+
}
|
13811
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
13812
|
+
if (f != null) {
|
13813
|
+
writer.writeFloat(
|
13814
|
+
4,
|
13815
|
+
f
|
13816
|
+
);
|
13817
|
+
}
|
13818
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
13819
|
+
if (f != null) {
|
13820
|
+
writer.writeInt32(
|
13821
|
+
5,
|
13822
|
+
f
|
13823
|
+
);
|
13824
|
+
}
|
13825
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
13826
|
+
if (f != null) {
|
13827
|
+
writer.writeInt32(
|
13828
|
+
6,
|
13829
|
+
f
|
13830
|
+
);
|
13831
|
+
}
|
13832
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
13833
|
+
if (f != null) {
|
13834
|
+
writer.writeFloat(
|
13835
|
+
7,
|
13836
|
+
f
|
13837
|
+
);
|
13838
|
+
}
|
13839
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
13840
|
+
if (f != null) {
|
13841
|
+
writer.writeFloat(
|
13842
|
+
8,
|
13843
|
+
f
|
13844
|
+
);
|
13845
|
+
}
|
13846
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
13847
|
+
if (f != null) {
|
13848
|
+
writer.writeFloat(
|
13849
|
+
9,
|
13850
|
+
f
|
13851
|
+
);
|
13852
|
+
}
|
13853
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
13854
|
+
if (f != null) {
|
13855
|
+
writer.writeFloat(
|
13856
|
+
10,
|
13857
|
+
f
|
13858
|
+
);
|
13859
|
+
}
|
13860
|
+
f = message.getPaymentProvidersList();
|
13861
|
+
if (f.length > 0) {
|
13862
|
+
writer.writeRepeatedString(
|
13863
|
+
11,
|
13864
|
+
f
|
13865
|
+
);
|
13866
|
+
}
|
13867
|
+
f = message.getPaymentTypesList();
|
13868
|
+
if (f.length > 0) {
|
13869
|
+
writer.writeRepeatedString(
|
13870
|
+
12,
|
13871
|
+
f
|
13872
|
+
);
|
13873
|
+
}
|
13874
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
13875
|
+
if (f != null) {
|
13876
|
+
writer.writeInt32(
|
13877
|
+
13,
|
13878
|
+
f
|
13879
|
+
);
|
13880
|
+
}
|
13881
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
13882
|
+
if (f != null) {
|
13883
|
+
writer.writeString(
|
13884
|
+
14,
|
13885
|
+
f
|
13886
|
+
);
|
13887
|
+
}
|
13888
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
13889
|
+
if (f != null) {
|
13890
|
+
writer.writeInt32(
|
13891
|
+
15,
|
13892
|
+
f
|
13893
|
+
);
|
13894
|
+
}
|
13895
|
+
};
|
13896
|
+
|
13897
|
+
|
13898
|
+
/**
|
13899
|
+
* optional float deposit_amount_min = 1;
|
13900
|
+
* @return {number}
|
13901
|
+
*/
|
13902
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositAmountMin = function() {
|
13903
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
13904
|
+
};
|
13905
|
+
|
13906
|
+
|
13907
|
+
/**
|
13908
|
+
* @param {number} value
|
13909
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
13910
|
+
*/
|
13911
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositAmountMin = function(value) {
|
13912
|
+
return jspb.Message.setField(this, 1, value);
|
13913
|
+
};
|
13914
|
+
|
13915
|
+
|
13916
|
+
/**
|
13917
|
+
* Clears the field making it undefined.
|
13918
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
13919
|
+
*/
|
13920
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositAmountMin = function() {
|
13921
|
+
return jspb.Message.setField(this, 1, undefined);
|
13922
|
+
};
|
13923
|
+
|
13924
|
+
|
13925
|
+
/**
|
13926
|
+
* Returns whether this field is set.
|
13927
|
+
* @return {boolean}
|
13928
|
+
*/
|
13929
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositAmountMin = function() {
|
13930
|
+
return jspb.Message.getField(this, 1) != null;
|
13931
|
+
};
|
13932
|
+
|
13933
|
+
|
13934
|
+
/**
|
13935
|
+
* optional float deposit_amount_max = 2;
|
13936
|
+
* @return {number}
|
13937
|
+
*/
|
13938
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositAmountMax = function() {
|
13939
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
13940
|
+
};
|
13941
|
+
|
13942
|
+
|
13943
|
+
/**
|
13944
|
+
* @param {number} value
|
13945
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
13946
|
+
*/
|
13947
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositAmountMax = function(value) {
|
13948
|
+
return jspb.Message.setField(this, 2, value);
|
13949
|
+
};
|
13950
|
+
|
13951
|
+
|
13952
|
+
/**
|
13953
|
+
* Clears the field making it undefined.
|
13954
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
13955
|
+
*/
|
13956
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositAmountMax = function() {
|
13957
|
+
return jspb.Message.setField(this, 2, undefined);
|
13958
|
+
};
|
13959
|
+
|
13960
|
+
|
13961
|
+
/**
|
13962
|
+
* Returns whether this field is set.
|
13963
|
+
* @return {boolean}
|
13964
|
+
*/
|
13965
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositAmountMax = function() {
|
13966
|
+
return jspb.Message.getField(this, 2) != null;
|
13967
|
+
};
|
13968
|
+
|
13969
|
+
|
13970
|
+
/**
|
13971
|
+
* optional float ftd_amount_min = 3;
|
13972
|
+
* @return {number}
|
13973
|
+
*/
|
13974
|
+
proto.user.SegmentPaymentRuleItem.prototype.getFtdAmountMin = function() {
|
13975
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
13976
|
+
};
|
13977
|
+
|
13978
|
+
|
13979
|
+
/**
|
13980
|
+
* @param {number} value
|
13981
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
13982
|
+
*/
|
13983
|
+
proto.user.SegmentPaymentRuleItem.prototype.setFtdAmountMin = function(value) {
|
13984
|
+
return jspb.Message.setField(this, 3, value);
|
13985
|
+
};
|
13986
|
+
|
13987
|
+
|
13988
|
+
/**
|
13989
|
+
* Clears the field making it undefined.
|
13990
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
13991
|
+
*/
|
13992
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearFtdAmountMin = function() {
|
13993
|
+
return jspb.Message.setField(this, 3, undefined);
|
13994
|
+
};
|
13995
|
+
|
13996
|
+
|
13997
|
+
/**
|
13998
|
+
* Returns whether this field is set.
|
13999
|
+
* @return {boolean}
|
14000
|
+
*/
|
14001
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasFtdAmountMin = function() {
|
14002
|
+
return jspb.Message.getField(this, 3) != null;
|
14003
|
+
};
|
14004
|
+
|
14005
|
+
|
14006
|
+
/**
|
14007
|
+
* optional float ftd_amount_max = 4;
|
14008
|
+
* @return {number}
|
14009
|
+
*/
|
14010
|
+
proto.user.SegmentPaymentRuleItem.prototype.getFtdAmountMax = function() {
|
14011
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
14012
|
+
};
|
14013
|
+
|
14014
|
+
|
14015
|
+
/**
|
14016
|
+
* @param {number} value
|
14017
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14018
|
+
*/
|
14019
|
+
proto.user.SegmentPaymentRuleItem.prototype.setFtdAmountMax = function(value) {
|
14020
|
+
return jspb.Message.setField(this, 4, value);
|
14021
|
+
};
|
14022
|
+
|
14023
|
+
|
14024
|
+
/**
|
14025
|
+
* Clears the field making it undefined.
|
14026
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14027
|
+
*/
|
14028
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearFtdAmountMax = function() {
|
14029
|
+
return jspb.Message.setField(this, 4, undefined);
|
14030
|
+
};
|
14031
|
+
|
14032
|
+
|
14033
|
+
/**
|
14034
|
+
* Returns whether this field is set.
|
14035
|
+
* @return {boolean}
|
14036
|
+
*/
|
14037
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasFtdAmountMax = function() {
|
14038
|
+
return jspb.Message.getField(this, 4) != null;
|
14039
|
+
};
|
14040
|
+
|
14041
|
+
|
14042
|
+
/**
|
14043
|
+
* optional int32 deposit_count_min = 5;
|
14044
|
+
* @return {number}
|
14045
|
+
*/
|
14046
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositCountMin = function() {
|
14047
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
14048
|
+
};
|
14049
|
+
|
14050
|
+
|
14051
|
+
/**
|
14052
|
+
* @param {number} value
|
14053
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14054
|
+
*/
|
14055
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositCountMin = function(value) {
|
14056
|
+
return jspb.Message.setField(this, 5, value);
|
14057
|
+
};
|
14058
|
+
|
14059
|
+
|
14060
|
+
/**
|
14061
|
+
* Clears the field making it undefined.
|
14062
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14063
|
+
*/
|
14064
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositCountMin = function() {
|
14065
|
+
return jspb.Message.setField(this, 5, undefined);
|
14066
|
+
};
|
14067
|
+
|
14068
|
+
|
14069
|
+
/**
|
14070
|
+
* Returns whether this field is set.
|
14071
|
+
* @return {boolean}
|
14072
|
+
*/
|
14073
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositCountMin = function() {
|
14074
|
+
return jspb.Message.getField(this, 5) != null;
|
14075
|
+
};
|
14076
|
+
|
14077
|
+
|
14078
|
+
/**
|
14079
|
+
* optional int32 deposit_count_max = 6;
|
14080
|
+
* @return {number}
|
14081
|
+
*/
|
14082
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositCountMax = function() {
|
14083
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
14084
|
+
};
|
14085
|
+
|
14086
|
+
|
14087
|
+
/**
|
14088
|
+
* @param {number} value
|
14089
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14090
|
+
*/
|
14091
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositCountMax = function(value) {
|
14092
|
+
return jspb.Message.setField(this, 6, value);
|
14093
|
+
};
|
14094
|
+
|
14095
|
+
|
14096
|
+
/**
|
14097
|
+
* Clears the field making it undefined.
|
14098
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14099
|
+
*/
|
14100
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositCountMax = function() {
|
14101
|
+
return jspb.Message.setField(this, 6, undefined);
|
14102
|
+
};
|
14103
|
+
|
14104
|
+
|
14105
|
+
/**
|
14106
|
+
* Returns whether this field is set.
|
14107
|
+
* @return {boolean}
|
14108
|
+
*/
|
14109
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositCountMax = function() {
|
14110
|
+
return jspb.Message.getField(this, 6) != null;
|
14111
|
+
};
|
14112
|
+
|
14113
|
+
|
14114
|
+
/**
|
14115
|
+
* optional float deposit_sum_min = 7;
|
14116
|
+
* @return {number}
|
14117
|
+
*/
|
14118
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositSumMin = function() {
|
14119
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
14120
|
+
};
|
14121
|
+
|
14122
|
+
|
14123
|
+
/**
|
14124
|
+
* @param {number} value
|
14125
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14126
|
+
*/
|
14127
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositSumMin = function(value) {
|
14128
|
+
return jspb.Message.setField(this, 7, value);
|
14129
|
+
};
|
14130
|
+
|
14131
|
+
|
14132
|
+
/**
|
14133
|
+
* Clears the field making it undefined.
|
14134
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14135
|
+
*/
|
14136
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositSumMin = function() {
|
14137
|
+
return jspb.Message.setField(this, 7, undefined);
|
14138
|
+
};
|
14139
|
+
|
14140
|
+
|
14141
|
+
/**
|
14142
|
+
* Returns whether this field is set.
|
14143
|
+
* @return {boolean}
|
14144
|
+
*/
|
14145
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositSumMin = function() {
|
14146
|
+
return jspb.Message.getField(this, 7) != null;
|
14147
|
+
};
|
14148
|
+
|
14149
|
+
|
14150
|
+
/**
|
14151
|
+
* optional float deposit_sum_max = 8;
|
14152
|
+
* @return {number}
|
14153
|
+
*/
|
14154
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositSumMax = function() {
|
14155
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
14156
|
+
};
|
14157
|
+
|
14158
|
+
|
14159
|
+
/**
|
14160
|
+
* @param {number} value
|
14161
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14162
|
+
*/
|
14163
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositSumMax = function(value) {
|
14164
|
+
return jspb.Message.setField(this, 8, value);
|
14165
|
+
};
|
14166
|
+
|
14167
|
+
|
14168
|
+
/**
|
14169
|
+
* Clears the field making it undefined.
|
14170
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14171
|
+
*/
|
14172
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositSumMax = function() {
|
14173
|
+
return jspb.Message.setField(this, 8, undefined);
|
14174
|
+
};
|
14175
|
+
|
14176
|
+
|
14177
|
+
/**
|
14178
|
+
* Returns whether this field is set.
|
14179
|
+
* @return {boolean}
|
14180
|
+
*/
|
14181
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositSumMax = function() {
|
14182
|
+
return jspb.Message.getField(this, 8) != null;
|
14183
|
+
};
|
14184
|
+
|
14185
|
+
|
14186
|
+
/**
|
14187
|
+
* optional float deposit_avg_min = 9;
|
14188
|
+
* @return {number}
|
14189
|
+
*/
|
14190
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositAvgMin = function() {
|
14191
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
14192
|
+
};
|
14193
|
+
|
14194
|
+
|
14195
|
+
/**
|
14196
|
+
* @param {number} value
|
14197
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14198
|
+
*/
|
14199
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositAvgMin = function(value) {
|
14200
|
+
return jspb.Message.setField(this, 9, value);
|
14201
|
+
};
|
14202
|
+
|
14203
|
+
|
14204
|
+
/**
|
14205
|
+
* Clears the field making it undefined.
|
14206
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14207
|
+
*/
|
14208
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositAvgMin = function() {
|
14209
|
+
return jspb.Message.setField(this, 9, undefined);
|
14210
|
+
};
|
14211
|
+
|
14212
|
+
|
14213
|
+
/**
|
14214
|
+
* Returns whether this field is set.
|
14215
|
+
* @return {boolean}
|
14216
|
+
*/
|
14217
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositAvgMin = function() {
|
14218
|
+
return jspb.Message.getField(this, 9) != null;
|
14219
|
+
};
|
14220
|
+
|
14221
|
+
|
14222
|
+
/**
|
14223
|
+
* optional float deposit_avg_max = 10;
|
14224
|
+
* @return {number}
|
14225
|
+
*/
|
14226
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositAvgMax = function() {
|
14227
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
14228
|
+
};
|
14229
|
+
|
14230
|
+
|
14231
|
+
/**
|
14232
|
+
* @param {number} value
|
14233
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14234
|
+
*/
|
14235
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositAvgMax = function(value) {
|
14236
|
+
return jspb.Message.setField(this, 10, value);
|
14237
|
+
};
|
14238
|
+
|
14239
|
+
|
14240
|
+
/**
|
14241
|
+
* Clears the field making it undefined.
|
14242
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14243
|
+
*/
|
14244
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositAvgMax = function() {
|
14245
|
+
return jspb.Message.setField(this, 10, undefined);
|
14246
|
+
};
|
14247
|
+
|
14248
|
+
|
14249
|
+
/**
|
14250
|
+
* Returns whether this field is set.
|
14251
|
+
* @return {boolean}
|
14252
|
+
*/
|
14253
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositAvgMax = function() {
|
14254
|
+
return jspb.Message.getField(this, 10) != null;
|
14255
|
+
};
|
14256
|
+
|
14257
|
+
|
14258
|
+
/**
|
14259
|
+
* repeated string payment_providers = 11;
|
14260
|
+
* @return {!Array<string>}
|
14261
|
+
*/
|
14262
|
+
proto.user.SegmentPaymentRuleItem.prototype.getPaymentProvidersList = function() {
|
14263
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
|
14264
|
+
};
|
14265
|
+
|
14266
|
+
|
14267
|
+
/**
|
14268
|
+
* @param {!Array<string>} value
|
14269
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14270
|
+
*/
|
14271
|
+
proto.user.SegmentPaymentRuleItem.prototype.setPaymentProvidersList = function(value) {
|
14272
|
+
return jspb.Message.setField(this, 11, value || []);
|
14273
|
+
};
|
14274
|
+
|
14275
|
+
|
14276
|
+
/**
|
14277
|
+
* @param {string} value
|
14278
|
+
* @param {number=} opt_index
|
14279
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14280
|
+
*/
|
14281
|
+
proto.user.SegmentPaymentRuleItem.prototype.addPaymentProviders = function(value, opt_index) {
|
14282
|
+
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
14283
|
+
};
|
14284
|
+
|
14285
|
+
|
14286
|
+
/**
|
14287
|
+
* Clears the list making it empty but non-null.
|
14288
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14289
|
+
*/
|
14290
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearPaymentProvidersList = function() {
|
14291
|
+
return this.setPaymentProvidersList([]);
|
14292
|
+
};
|
14293
|
+
|
14294
|
+
|
14295
|
+
/**
|
14296
|
+
* repeated string payment_types = 12;
|
14297
|
+
* @return {!Array<string>}
|
14298
|
+
*/
|
14299
|
+
proto.user.SegmentPaymentRuleItem.prototype.getPaymentTypesList = function() {
|
14300
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 12));
|
14301
|
+
};
|
14302
|
+
|
14303
|
+
|
14304
|
+
/**
|
14305
|
+
* @param {!Array<string>} value
|
14306
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14307
|
+
*/
|
14308
|
+
proto.user.SegmentPaymentRuleItem.prototype.setPaymentTypesList = function(value) {
|
14309
|
+
return jspb.Message.setField(this, 12, value || []);
|
14310
|
+
};
|
14311
|
+
|
14312
|
+
|
14313
|
+
/**
|
14314
|
+
* @param {string} value
|
14315
|
+
* @param {number=} opt_index
|
14316
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14317
|
+
*/
|
14318
|
+
proto.user.SegmentPaymentRuleItem.prototype.addPaymentTypes = function(value, opt_index) {
|
14319
|
+
return jspb.Message.addToRepeatedField(this, 12, value, opt_index);
|
14320
|
+
};
|
14321
|
+
|
14322
|
+
|
14323
|
+
/**
|
14324
|
+
* Clears the list making it empty but non-null.
|
14325
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14326
|
+
*/
|
14327
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearPaymentTypesList = function() {
|
14328
|
+
return this.setPaymentTypesList([]);
|
14329
|
+
};
|
14330
|
+
|
14331
|
+
|
14332
|
+
/**
|
14333
|
+
* optional int32 segment_id = 13;
|
14334
|
+
* @return {number}
|
14335
|
+
*/
|
14336
|
+
proto.user.SegmentPaymentRuleItem.prototype.getSegmentId = function() {
|
14337
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
14338
|
+
};
|
14339
|
+
|
14340
|
+
|
14341
|
+
/**
|
14342
|
+
* @param {number} value
|
14343
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14344
|
+
*/
|
14345
|
+
proto.user.SegmentPaymentRuleItem.prototype.setSegmentId = function(value) {
|
14346
|
+
return jspb.Message.setField(this, 13, value);
|
14347
|
+
};
|
14348
|
+
|
14349
|
+
|
14350
|
+
/**
|
14351
|
+
* Clears the field making it undefined.
|
14352
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14353
|
+
*/
|
14354
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearSegmentId = function() {
|
14355
|
+
return jspb.Message.setField(this, 13, undefined);
|
14356
|
+
};
|
14357
|
+
|
14358
|
+
|
14359
|
+
/**
|
14360
|
+
* Returns whether this field is set.
|
14361
|
+
* @return {boolean}
|
14362
|
+
*/
|
14363
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasSegmentId = function() {
|
14364
|
+
return jspb.Message.getField(this, 13) != null;
|
14365
|
+
};
|
14366
|
+
|
14367
|
+
|
14368
|
+
/**
|
14369
|
+
* optional string currency = 14;
|
14370
|
+
* @return {string}
|
14371
|
+
*/
|
14372
|
+
proto.user.SegmentPaymentRuleItem.prototype.getCurrency = function() {
|
14373
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
14374
|
+
};
|
14375
|
+
|
14376
|
+
|
14377
|
+
/**
|
14378
|
+
* @param {string} value
|
14379
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14380
|
+
*/
|
14381
|
+
proto.user.SegmentPaymentRuleItem.prototype.setCurrency = function(value) {
|
14382
|
+
return jspb.Message.setField(this, 14, value);
|
14383
|
+
};
|
14384
|
+
|
14385
|
+
|
14386
|
+
/**
|
14387
|
+
* Clears the field making it undefined.
|
14388
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14389
|
+
*/
|
14390
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearCurrency = function() {
|
14391
|
+
return jspb.Message.setField(this, 14, undefined);
|
14392
|
+
};
|
14393
|
+
|
14394
|
+
|
14395
|
+
/**
|
14396
|
+
* Returns whether this field is set.
|
14397
|
+
* @return {boolean}
|
14398
|
+
*/
|
14399
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasCurrency = function() {
|
14400
|
+
return jspb.Message.getField(this, 14) != null;
|
14401
|
+
};
|
14402
|
+
|
14403
|
+
|
14404
|
+
/**
|
14405
|
+
* optional int32 is_active = 15;
|
14406
|
+
* @return {number}
|
14407
|
+
*/
|
14408
|
+
proto.user.SegmentPaymentRuleItem.prototype.getIsActive = function() {
|
14409
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
14410
|
+
};
|
14411
|
+
|
14412
|
+
|
14413
|
+
/**
|
14414
|
+
* @param {number} value
|
14415
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14416
|
+
*/
|
14417
|
+
proto.user.SegmentPaymentRuleItem.prototype.setIsActive = function(value) {
|
14418
|
+
return jspb.Message.setField(this, 15, value);
|
14419
|
+
};
|
14420
|
+
|
14421
|
+
|
14422
|
+
/**
|
14423
|
+
* Clears the field making it undefined.
|
14424
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14425
|
+
*/
|
14426
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearIsActive = function() {
|
14427
|
+
return jspb.Message.setField(this, 15, undefined);
|
14428
|
+
};
|
14429
|
+
|
14430
|
+
|
14431
|
+
/**
|
14432
|
+
* Returns whether this field is set.
|
14433
|
+
* @return {boolean}
|
14434
|
+
*/
|
14435
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasIsActive = function() {
|
14436
|
+
return jspb.Message.getField(this, 15) != null;
|
14437
|
+
};
|
14438
|
+
|
14439
|
+
|
14440
|
+
|
14441
|
+
|
14442
|
+
|
14443
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
14444
|
+
/**
|
14445
|
+
* Creates an object representation of this proto.
|
14446
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
14447
|
+
* Optional fields that are not set will be set to undefined.
|
14448
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
14449
|
+
* For the list of reserved names please see:
|
14450
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
14451
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
14452
|
+
* JSPB instance for transitional soy proto support:
|
14453
|
+
* http://goto/soy-param-migration
|
14454
|
+
* @return {!Object}
|
14455
|
+
*/
|
14456
|
+
proto.user.SegmentBetRuleItem.prototype.toObject = function(opt_includeInstance) {
|
14457
|
+
return proto.user.SegmentBetRuleItem.toObject(opt_includeInstance, this);
|
14458
|
+
};
|
14459
|
+
|
14460
|
+
|
14461
|
+
/**
|
14462
|
+
* Static version of the {@see toObject} method.
|
14463
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
14464
|
+
* the JSPB instance for transitional soy proto support:
|
14465
|
+
* http://goto/soy-param-migration
|
14466
|
+
* @param {!proto.user.SegmentBetRuleItem} msg The msg instance to transform.
|
14467
|
+
* @return {!Object}
|
14468
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
14469
|
+
*/
|
14470
|
+
proto.user.SegmentBetRuleItem.toObject = function(includeInstance, msg) {
|
14471
|
+
var f, obj = {
|
14472
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
14473
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
14474
|
+
betAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
14475
|
+
betAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
14476
|
+
betCountMin: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
14477
|
+
betCountMax: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
14478
|
+
betSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
14479
|
+
betSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
14480
|
+
betAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
14481
|
+
betAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
14482
|
+
winAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
14483
|
+
winAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
14484
|
+
winCountMin: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
14485
|
+
winCountMax: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
14486
|
+
winSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
14487
|
+
winSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
14488
|
+
winAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
|
14489
|
+
winAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
|
14490
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 19, 0)
|
14491
|
+
};
|
14492
|
+
|
14493
|
+
if (includeInstance) {
|
14494
|
+
obj.$jspbMessageInstance = msg;
|
14495
|
+
}
|
14496
|
+
return obj;
|
14497
|
+
};
|
14498
|
+
}
|
14499
|
+
|
14500
|
+
|
14501
|
+
/**
|
14502
|
+
* Deserializes binary data (in protobuf wire format).
|
14503
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
14504
|
+
* @return {!proto.user.SegmentBetRuleItem}
|
14505
|
+
*/
|
14506
|
+
proto.user.SegmentBetRuleItem.deserializeBinary = function(bytes) {
|
14507
|
+
var reader = new jspb.BinaryReader(bytes);
|
14508
|
+
var msg = new proto.user.SegmentBetRuleItem;
|
14509
|
+
return proto.user.SegmentBetRuleItem.deserializeBinaryFromReader(msg, reader);
|
14510
|
+
};
|
14511
|
+
|
14512
|
+
|
14513
|
+
/**
|
14514
|
+
* Deserializes binary data (in protobuf wire format) from the
|
14515
|
+
* given reader into the given message object.
|
14516
|
+
* @param {!proto.user.SegmentBetRuleItem} msg The message object to deserialize into.
|
14517
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
14518
|
+
* @return {!proto.user.SegmentBetRuleItem}
|
14519
|
+
*/
|
14520
|
+
proto.user.SegmentBetRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
14521
|
+
while (reader.nextField()) {
|
14522
|
+
if (reader.isEndGroup()) {
|
14523
|
+
break;
|
14524
|
+
}
|
14525
|
+
var field = reader.getFieldNumber();
|
14526
|
+
switch (field) {
|
14527
|
+
case 1:
|
14528
|
+
var value = /** @type {number} */ (reader.readInt32());
|
14529
|
+
msg.setSegmentId(value);
|
14530
|
+
break;
|
14531
|
+
case 2:
|
14532
|
+
var value = /** @type {string} */ (reader.readString());
|
14533
|
+
msg.setCurrency(value);
|
14534
|
+
break;
|
14535
|
+
case 3:
|
14536
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14537
|
+
msg.setBetAmountMin(value);
|
14538
|
+
break;
|
14539
|
+
case 4:
|
14540
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14541
|
+
msg.setBetAmountMax(value);
|
14542
|
+
break;
|
14543
|
+
case 5:
|
14544
|
+
var value = /** @type {number} */ (reader.readInt32());
|
14545
|
+
msg.setBetCountMin(value);
|
14546
|
+
break;
|
14547
|
+
case 6:
|
14548
|
+
var value = /** @type {number} */ (reader.readInt32());
|
14549
|
+
msg.setBetCountMax(value);
|
14550
|
+
break;
|
14551
|
+
case 7:
|
14552
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14553
|
+
msg.setBetSumMin(value);
|
14554
|
+
break;
|
14555
|
+
case 8:
|
14556
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14557
|
+
msg.setBetSumMax(value);
|
14558
|
+
break;
|
14559
|
+
case 9:
|
14560
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14561
|
+
msg.setBetAvgMin(value);
|
14562
|
+
break;
|
14563
|
+
case 10:
|
14564
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14565
|
+
msg.setBetAvgMax(value);
|
14566
|
+
break;
|
14567
|
+
case 11:
|
14568
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14569
|
+
msg.setWinAmountMin(value);
|
14570
|
+
break;
|
14571
|
+
case 12:
|
14572
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14573
|
+
msg.setWinAmountMax(value);
|
14574
|
+
break;
|
14575
|
+
case 13:
|
14576
|
+
var value = /** @type {number} */ (reader.readInt32());
|
14577
|
+
msg.setWinCountMin(value);
|
14578
|
+
break;
|
14579
|
+
case 14:
|
14580
|
+
var value = /** @type {number} */ (reader.readInt32());
|
14581
|
+
msg.setWinCountMax(value);
|
14582
|
+
break;
|
14583
|
+
case 15:
|
14584
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14585
|
+
msg.setWinSumMin(value);
|
14586
|
+
break;
|
14587
|
+
case 16:
|
14588
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14589
|
+
msg.setWinSumMax(value);
|
14590
|
+
break;
|
14591
|
+
case 17:
|
14592
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14593
|
+
msg.setWinAvgMin(value);
|
14594
|
+
break;
|
14595
|
+
case 18:
|
14596
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14597
|
+
msg.setWinAvgMax(value);
|
14598
|
+
break;
|
14599
|
+
case 19:
|
14600
|
+
var value = /** @type {number} */ (reader.readInt32());
|
14601
|
+
msg.setIsActive(value);
|
14602
|
+
break;
|
14603
|
+
default:
|
14604
|
+
reader.skipField();
|
14605
|
+
break;
|
14606
|
+
}
|
14607
|
+
}
|
14608
|
+
return msg;
|
14609
|
+
};
|
14610
|
+
|
14611
|
+
|
14612
|
+
/**
|
14613
|
+
* Serializes the message to binary data (in protobuf wire format).
|
14614
|
+
* @return {!Uint8Array}
|
14615
|
+
*/
|
14616
|
+
proto.user.SegmentBetRuleItem.prototype.serializeBinary = function() {
|
14617
|
+
var writer = new jspb.BinaryWriter();
|
14618
|
+
proto.user.SegmentBetRuleItem.serializeBinaryToWriter(this, writer);
|
14619
|
+
return writer.getResultBuffer();
|
14620
|
+
};
|
14621
|
+
|
14622
|
+
|
14623
|
+
/**
|
14624
|
+
* Serializes the given message to binary data (in protobuf wire
|
14625
|
+
* format), writing to the given BinaryWriter.
|
14626
|
+
* @param {!proto.user.SegmentBetRuleItem} message
|
14627
|
+
* @param {!jspb.BinaryWriter} writer
|
14628
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
14629
|
+
*/
|
14630
|
+
proto.user.SegmentBetRuleItem.serializeBinaryToWriter = function(message, writer) {
|
14631
|
+
var f = undefined;
|
14632
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
14633
|
+
if (f != null) {
|
14634
|
+
writer.writeInt32(
|
14635
|
+
1,
|
14636
|
+
f
|
14637
|
+
);
|
14638
|
+
}
|
14639
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
14640
|
+
if (f != null) {
|
14641
|
+
writer.writeString(
|
14642
|
+
2,
|
14643
|
+
f
|
14644
|
+
);
|
14645
|
+
}
|
14646
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
14647
|
+
if (f != null) {
|
14648
|
+
writer.writeFloat(
|
14649
|
+
3,
|
14650
|
+
f
|
14651
|
+
);
|
14652
|
+
}
|
14653
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
14654
|
+
if (f != null) {
|
14655
|
+
writer.writeFloat(
|
14656
|
+
4,
|
14657
|
+
f
|
14658
|
+
);
|
14659
|
+
}
|
14660
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
14661
|
+
if (f != null) {
|
14662
|
+
writer.writeInt32(
|
14663
|
+
5,
|
14664
|
+
f
|
14665
|
+
);
|
14666
|
+
}
|
14667
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
14668
|
+
if (f != null) {
|
14669
|
+
writer.writeInt32(
|
14670
|
+
6,
|
14671
|
+
f
|
14672
|
+
);
|
14673
|
+
}
|
14674
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
14675
|
+
if (f != null) {
|
14676
|
+
writer.writeFloat(
|
14677
|
+
7,
|
14678
|
+
f
|
14679
|
+
);
|
14680
|
+
}
|
14681
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
14682
|
+
if (f != null) {
|
14683
|
+
writer.writeFloat(
|
14684
|
+
8,
|
14685
|
+
f
|
14686
|
+
);
|
14687
|
+
}
|
14688
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
14689
|
+
if (f != null) {
|
14690
|
+
writer.writeFloat(
|
14691
|
+
9,
|
14692
|
+
f
|
14693
|
+
);
|
14694
|
+
}
|
14695
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
14696
|
+
if (f != null) {
|
14697
|
+
writer.writeFloat(
|
14698
|
+
10,
|
14699
|
+
f
|
14700
|
+
);
|
14701
|
+
}
|
14702
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
14703
|
+
if (f != null) {
|
14704
|
+
writer.writeFloat(
|
14705
|
+
11,
|
14706
|
+
f
|
14707
|
+
);
|
14708
|
+
}
|
14709
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
14710
|
+
if (f != null) {
|
14711
|
+
writer.writeFloat(
|
14712
|
+
12,
|
14713
|
+
f
|
14714
|
+
);
|
14715
|
+
}
|
14716
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
14717
|
+
if (f != null) {
|
14718
|
+
writer.writeInt32(
|
14719
|
+
13,
|
14720
|
+
f
|
14721
|
+
);
|
14722
|
+
}
|
14723
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
14724
|
+
if (f != null) {
|
14725
|
+
writer.writeInt32(
|
14726
|
+
14,
|
14727
|
+
f
|
14728
|
+
);
|
14729
|
+
}
|
14730
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
14731
|
+
if (f != null) {
|
14732
|
+
writer.writeFloat(
|
14733
|
+
15,
|
14734
|
+
f
|
14735
|
+
);
|
14736
|
+
}
|
14737
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 16));
|
14738
|
+
if (f != null) {
|
14739
|
+
writer.writeFloat(
|
14740
|
+
16,
|
14741
|
+
f
|
14742
|
+
);
|
14743
|
+
}
|
14744
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 17));
|
14745
|
+
if (f != null) {
|
14746
|
+
writer.writeFloat(
|
14747
|
+
17,
|
14748
|
+
f
|
14749
|
+
);
|
14750
|
+
}
|
14751
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
14752
|
+
if (f != null) {
|
14753
|
+
writer.writeFloat(
|
14754
|
+
18,
|
14755
|
+
f
|
14756
|
+
);
|
14757
|
+
}
|
14758
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 19));
|
14759
|
+
if (f != null) {
|
14760
|
+
writer.writeInt32(
|
14761
|
+
19,
|
14762
|
+
f
|
14763
|
+
);
|
14764
|
+
}
|
14765
|
+
};
|
14766
|
+
|
14767
|
+
|
14768
|
+
/**
|
14769
|
+
* optional int32 segment_id = 1;
|
14770
|
+
* @return {number}
|
14771
|
+
*/
|
14772
|
+
proto.user.SegmentBetRuleItem.prototype.getSegmentId = function() {
|
14773
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
14774
|
+
};
|
14775
|
+
|
14776
|
+
|
14777
|
+
/**
|
14778
|
+
* @param {number} value
|
14779
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14780
|
+
*/
|
14781
|
+
proto.user.SegmentBetRuleItem.prototype.setSegmentId = function(value) {
|
14782
|
+
return jspb.Message.setField(this, 1, value);
|
14783
|
+
};
|
14784
|
+
|
14785
|
+
|
14786
|
+
/**
|
14787
|
+
* Clears the field making it undefined.
|
14788
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14789
|
+
*/
|
14790
|
+
proto.user.SegmentBetRuleItem.prototype.clearSegmentId = function() {
|
14791
|
+
return jspb.Message.setField(this, 1, undefined);
|
14792
|
+
};
|
14793
|
+
|
14794
|
+
|
14795
|
+
/**
|
14796
|
+
* Returns whether this field is set.
|
14797
|
+
* @return {boolean}
|
14798
|
+
*/
|
14799
|
+
proto.user.SegmentBetRuleItem.prototype.hasSegmentId = function() {
|
14800
|
+
return jspb.Message.getField(this, 1) != null;
|
14801
|
+
};
|
14802
|
+
|
14803
|
+
|
14804
|
+
/**
|
14805
|
+
* optional string currency = 2;
|
14806
|
+
* @return {string}
|
14807
|
+
*/
|
14808
|
+
proto.user.SegmentBetRuleItem.prototype.getCurrency = function() {
|
14809
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
14810
|
+
};
|
14811
|
+
|
14812
|
+
|
14813
|
+
/**
|
14814
|
+
* @param {string} value
|
14815
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14816
|
+
*/
|
14817
|
+
proto.user.SegmentBetRuleItem.prototype.setCurrency = function(value) {
|
14818
|
+
return jspb.Message.setField(this, 2, value);
|
14819
|
+
};
|
14820
|
+
|
14821
|
+
|
14822
|
+
/**
|
14823
|
+
* Clears the field making it undefined.
|
14824
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14825
|
+
*/
|
14826
|
+
proto.user.SegmentBetRuleItem.prototype.clearCurrency = function() {
|
14827
|
+
return jspb.Message.setField(this, 2, undefined);
|
14828
|
+
};
|
14829
|
+
|
14830
|
+
|
14831
|
+
/**
|
14832
|
+
* Returns whether this field is set.
|
14833
|
+
* @return {boolean}
|
14834
|
+
*/
|
14835
|
+
proto.user.SegmentBetRuleItem.prototype.hasCurrency = function() {
|
14836
|
+
return jspb.Message.getField(this, 2) != null;
|
14837
|
+
};
|
14838
|
+
|
14839
|
+
|
14840
|
+
/**
|
14841
|
+
* optional float bet_amount_min = 3;
|
14842
|
+
* @return {number}
|
14843
|
+
*/
|
14844
|
+
proto.user.SegmentBetRuleItem.prototype.getBetAmountMin = function() {
|
14845
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
14846
|
+
};
|
14847
|
+
|
14848
|
+
|
14849
|
+
/**
|
14850
|
+
* @param {number} value
|
14851
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14852
|
+
*/
|
14853
|
+
proto.user.SegmentBetRuleItem.prototype.setBetAmountMin = function(value) {
|
14854
|
+
return jspb.Message.setField(this, 3, value);
|
14855
|
+
};
|
14856
|
+
|
14857
|
+
|
14858
|
+
/**
|
14859
|
+
* Clears the field making it undefined.
|
14860
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14861
|
+
*/
|
14862
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetAmountMin = function() {
|
14863
|
+
return jspb.Message.setField(this, 3, undefined);
|
14864
|
+
};
|
14865
|
+
|
14866
|
+
|
14867
|
+
/**
|
14868
|
+
* Returns whether this field is set.
|
14869
|
+
* @return {boolean}
|
14870
|
+
*/
|
14871
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetAmountMin = function() {
|
14872
|
+
return jspb.Message.getField(this, 3) != null;
|
14873
|
+
};
|
14874
|
+
|
14875
|
+
|
14876
|
+
/**
|
14877
|
+
* optional float bet_amount_max = 4;
|
14878
|
+
* @return {number}
|
14879
|
+
*/
|
14880
|
+
proto.user.SegmentBetRuleItem.prototype.getBetAmountMax = function() {
|
14881
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
14882
|
+
};
|
14883
|
+
|
14884
|
+
|
14885
|
+
/**
|
14886
|
+
* @param {number} value
|
14887
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14888
|
+
*/
|
14889
|
+
proto.user.SegmentBetRuleItem.prototype.setBetAmountMax = function(value) {
|
14890
|
+
return jspb.Message.setField(this, 4, value);
|
14891
|
+
};
|
14892
|
+
|
14893
|
+
|
14894
|
+
/**
|
14895
|
+
* Clears the field making it undefined.
|
14896
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14897
|
+
*/
|
14898
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetAmountMax = function() {
|
14899
|
+
return jspb.Message.setField(this, 4, undefined);
|
14900
|
+
};
|
14901
|
+
|
14902
|
+
|
14903
|
+
/**
|
14904
|
+
* Returns whether this field is set.
|
14905
|
+
* @return {boolean}
|
14906
|
+
*/
|
14907
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetAmountMax = function() {
|
14908
|
+
return jspb.Message.getField(this, 4) != null;
|
14909
|
+
};
|
14910
|
+
|
14911
|
+
|
14912
|
+
/**
|
14913
|
+
* optional int32 bet_count_min = 5;
|
14914
|
+
* @return {number}
|
14915
|
+
*/
|
14916
|
+
proto.user.SegmentBetRuleItem.prototype.getBetCountMin = function() {
|
14917
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
14918
|
+
};
|
14919
|
+
|
14920
|
+
|
14921
|
+
/**
|
14922
|
+
* @param {number} value
|
14923
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14924
|
+
*/
|
14925
|
+
proto.user.SegmentBetRuleItem.prototype.setBetCountMin = function(value) {
|
14926
|
+
return jspb.Message.setField(this, 5, value);
|
14927
|
+
};
|
14928
|
+
|
14929
|
+
|
14930
|
+
/**
|
14931
|
+
* Clears the field making it undefined.
|
14932
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14933
|
+
*/
|
14934
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetCountMin = function() {
|
14935
|
+
return jspb.Message.setField(this, 5, undefined);
|
14936
|
+
};
|
14937
|
+
|
14938
|
+
|
14939
|
+
/**
|
14940
|
+
* Returns whether this field is set.
|
14941
|
+
* @return {boolean}
|
14942
|
+
*/
|
14943
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetCountMin = function() {
|
14944
|
+
return jspb.Message.getField(this, 5) != null;
|
14945
|
+
};
|
14946
|
+
|
14947
|
+
|
14948
|
+
/**
|
14949
|
+
* optional int32 bet_count_max = 6;
|
14950
|
+
* @return {number}
|
14951
|
+
*/
|
14952
|
+
proto.user.SegmentBetRuleItem.prototype.getBetCountMax = function() {
|
14953
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
14954
|
+
};
|
14955
|
+
|
14956
|
+
|
14957
|
+
/**
|
14958
|
+
* @param {number} value
|
14959
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14960
|
+
*/
|
14961
|
+
proto.user.SegmentBetRuleItem.prototype.setBetCountMax = function(value) {
|
14962
|
+
return jspb.Message.setField(this, 6, value);
|
14963
|
+
};
|
14964
|
+
|
14965
|
+
|
14966
|
+
/**
|
14967
|
+
* Clears the field making it undefined.
|
14968
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14969
|
+
*/
|
14970
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetCountMax = function() {
|
14971
|
+
return jspb.Message.setField(this, 6, undefined);
|
14972
|
+
};
|
14973
|
+
|
14974
|
+
|
14975
|
+
/**
|
14976
|
+
* Returns whether this field is set.
|
14977
|
+
* @return {boolean}
|
14978
|
+
*/
|
14979
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetCountMax = function() {
|
14980
|
+
return jspb.Message.getField(this, 6) != null;
|
14981
|
+
};
|
14982
|
+
|
14983
|
+
|
14984
|
+
/**
|
14985
|
+
* optional float bet_sum_min = 7;
|
14986
|
+
* @return {number}
|
14987
|
+
*/
|
14988
|
+
proto.user.SegmentBetRuleItem.prototype.getBetSumMin = function() {
|
14989
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
14990
|
+
};
|
14991
|
+
|
14992
|
+
|
14993
|
+
/**
|
14994
|
+
* @param {number} value
|
14995
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14996
|
+
*/
|
14997
|
+
proto.user.SegmentBetRuleItem.prototype.setBetSumMin = function(value) {
|
14998
|
+
return jspb.Message.setField(this, 7, value);
|
14999
|
+
};
|
15000
|
+
|
15001
|
+
|
15002
|
+
/**
|
15003
|
+
* Clears the field making it undefined.
|
15004
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15005
|
+
*/
|
15006
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetSumMin = function() {
|
15007
|
+
return jspb.Message.setField(this, 7, undefined);
|
15008
|
+
};
|
15009
|
+
|
15010
|
+
|
15011
|
+
/**
|
15012
|
+
* Returns whether this field is set.
|
15013
|
+
* @return {boolean}
|
15014
|
+
*/
|
15015
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetSumMin = function() {
|
15016
|
+
return jspb.Message.getField(this, 7) != null;
|
15017
|
+
};
|
15018
|
+
|
15019
|
+
|
15020
|
+
/**
|
15021
|
+
* optional float bet_sum_max = 8;
|
15022
|
+
* @return {number}
|
15023
|
+
*/
|
15024
|
+
proto.user.SegmentBetRuleItem.prototype.getBetSumMax = function() {
|
15025
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
15026
|
+
};
|
15027
|
+
|
15028
|
+
|
15029
|
+
/**
|
15030
|
+
* @param {number} value
|
15031
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15032
|
+
*/
|
15033
|
+
proto.user.SegmentBetRuleItem.prototype.setBetSumMax = function(value) {
|
15034
|
+
return jspb.Message.setField(this, 8, value);
|
15035
|
+
};
|
15036
|
+
|
15037
|
+
|
15038
|
+
/**
|
15039
|
+
* Clears the field making it undefined.
|
15040
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15041
|
+
*/
|
15042
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetSumMax = function() {
|
15043
|
+
return jspb.Message.setField(this, 8, undefined);
|
15044
|
+
};
|
15045
|
+
|
15046
|
+
|
15047
|
+
/**
|
15048
|
+
* Returns whether this field is set.
|
15049
|
+
* @return {boolean}
|
15050
|
+
*/
|
15051
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetSumMax = function() {
|
15052
|
+
return jspb.Message.getField(this, 8) != null;
|
15053
|
+
};
|
15054
|
+
|
15055
|
+
|
15056
|
+
/**
|
15057
|
+
* optional float bet_avg_min = 9;
|
15058
|
+
* @return {number}
|
15059
|
+
*/
|
15060
|
+
proto.user.SegmentBetRuleItem.prototype.getBetAvgMin = function() {
|
15061
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
15062
|
+
};
|
15063
|
+
|
15064
|
+
|
15065
|
+
/**
|
15066
|
+
* @param {number} value
|
15067
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15068
|
+
*/
|
15069
|
+
proto.user.SegmentBetRuleItem.prototype.setBetAvgMin = function(value) {
|
15070
|
+
return jspb.Message.setField(this, 9, value);
|
15071
|
+
};
|
15072
|
+
|
15073
|
+
|
15074
|
+
/**
|
15075
|
+
* Clears the field making it undefined.
|
15076
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15077
|
+
*/
|
15078
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetAvgMin = function() {
|
15079
|
+
return jspb.Message.setField(this, 9, undefined);
|
15080
|
+
};
|
15081
|
+
|
15082
|
+
|
15083
|
+
/**
|
15084
|
+
* Returns whether this field is set.
|
15085
|
+
* @return {boolean}
|
15086
|
+
*/
|
15087
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetAvgMin = function() {
|
15088
|
+
return jspb.Message.getField(this, 9) != null;
|
15089
|
+
};
|
15090
|
+
|
15091
|
+
|
15092
|
+
/**
|
15093
|
+
* optional float bet_avg_max = 10;
|
15094
|
+
* @return {number}
|
15095
|
+
*/
|
15096
|
+
proto.user.SegmentBetRuleItem.prototype.getBetAvgMax = function() {
|
15097
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
15098
|
+
};
|
15099
|
+
|
15100
|
+
|
15101
|
+
/**
|
15102
|
+
* @param {number} value
|
15103
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15104
|
+
*/
|
15105
|
+
proto.user.SegmentBetRuleItem.prototype.setBetAvgMax = function(value) {
|
15106
|
+
return jspb.Message.setField(this, 10, value);
|
15107
|
+
};
|
15108
|
+
|
15109
|
+
|
15110
|
+
/**
|
15111
|
+
* Clears the field making it undefined.
|
15112
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15113
|
+
*/
|
15114
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetAvgMax = function() {
|
15115
|
+
return jspb.Message.setField(this, 10, undefined);
|
15116
|
+
};
|
15117
|
+
|
15118
|
+
|
15119
|
+
/**
|
15120
|
+
* Returns whether this field is set.
|
15121
|
+
* @return {boolean}
|
15122
|
+
*/
|
15123
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetAvgMax = function() {
|
15124
|
+
return jspb.Message.getField(this, 10) != null;
|
15125
|
+
};
|
15126
|
+
|
15127
|
+
|
15128
|
+
/**
|
15129
|
+
* optional float win_amount_min = 11;
|
15130
|
+
* @return {number}
|
15131
|
+
*/
|
15132
|
+
proto.user.SegmentBetRuleItem.prototype.getWinAmountMin = function() {
|
15133
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
15134
|
+
};
|
15135
|
+
|
15136
|
+
|
15137
|
+
/**
|
15138
|
+
* @param {number} value
|
15139
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15140
|
+
*/
|
15141
|
+
proto.user.SegmentBetRuleItem.prototype.setWinAmountMin = function(value) {
|
15142
|
+
return jspb.Message.setField(this, 11, value);
|
15143
|
+
};
|
15144
|
+
|
15145
|
+
|
15146
|
+
/**
|
15147
|
+
* Clears the field making it undefined.
|
15148
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15149
|
+
*/
|
15150
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinAmountMin = function() {
|
15151
|
+
return jspb.Message.setField(this, 11, undefined);
|
15152
|
+
};
|
15153
|
+
|
15154
|
+
|
15155
|
+
/**
|
15156
|
+
* Returns whether this field is set.
|
15157
|
+
* @return {boolean}
|
15158
|
+
*/
|
15159
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinAmountMin = function() {
|
15160
|
+
return jspb.Message.getField(this, 11) != null;
|
15161
|
+
};
|
15162
|
+
|
15163
|
+
|
15164
|
+
/**
|
15165
|
+
* optional float win_amount_max = 12;
|
15166
|
+
* @return {number}
|
15167
|
+
*/
|
15168
|
+
proto.user.SegmentBetRuleItem.prototype.getWinAmountMax = function() {
|
15169
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
15170
|
+
};
|
15171
|
+
|
15172
|
+
|
15173
|
+
/**
|
15174
|
+
* @param {number} value
|
15175
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15176
|
+
*/
|
15177
|
+
proto.user.SegmentBetRuleItem.prototype.setWinAmountMax = function(value) {
|
15178
|
+
return jspb.Message.setField(this, 12, value);
|
15179
|
+
};
|
15180
|
+
|
15181
|
+
|
15182
|
+
/**
|
15183
|
+
* Clears the field making it undefined.
|
15184
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15185
|
+
*/
|
15186
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinAmountMax = function() {
|
15187
|
+
return jspb.Message.setField(this, 12, undefined);
|
15188
|
+
};
|
15189
|
+
|
15190
|
+
|
15191
|
+
/**
|
15192
|
+
* Returns whether this field is set.
|
15193
|
+
* @return {boolean}
|
15194
|
+
*/
|
15195
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinAmountMax = function() {
|
15196
|
+
return jspb.Message.getField(this, 12) != null;
|
15197
|
+
};
|
15198
|
+
|
15199
|
+
|
15200
|
+
/**
|
15201
|
+
* optional int32 win_count_min = 13;
|
15202
|
+
* @return {number}
|
15203
|
+
*/
|
15204
|
+
proto.user.SegmentBetRuleItem.prototype.getWinCountMin = function() {
|
15205
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
15206
|
+
};
|
15207
|
+
|
15208
|
+
|
15209
|
+
/**
|
15210
|
+
* @param {number} value
|
15211
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15212
|
+
*/
|
15213
|
+
proto.user.SegmentBetRuleItem.prototype.setWinCountMin = function(value) {
|
15214
|
+
return jspb.Message.setField(this, 13, value);
|
15215
|
+
};
|
15216
|
+
|
15217
|
+
|
15218
|
+
/**
|
15219
|
+
* Clears the field making it undefined.
|
15220
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15221
|
+
*/
|
15222
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinCountMin = function() {
|
15223
|
+
return jspb.Message.setField(this, 13, undefined);
|
15224
|
+
};
|
15225
|
+
|
15226
|
+
|
15227
|
+
/**
|
15228
|
+
* Returns whether this field is set.
|
15229
|
+
* @return {boolean}
|
15230
|
+
*/
|
15231
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinCountMin = function() {
|
15232
|
+
return jspb.Message.getField(this, 13) != null;
|
15233
|
+
};
|
15234
|
+
|
15235
|
+
|
15236
|
+
/**
|
15237
|
+
* optional int32 win_count_max = 14;
|
15238
|
+
* @return {number}
|
15239
|
+
*/
|
15240
|
+
proto.user.SegmentBetRuleItem.prototype.getWinCountMax = function() {
|
15241
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
15242
|
+
};
|
15243
|
+
|
15244
|
+
|
15245
|
+
/**
|
15246
|
+
* @param {number} value
|
15247
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15248
|
+
*/
|
15249
|
+
proto.user.SegmentBetRuleItem.prototype.setWinCountMax = function(value) {
|
15250
|
+
return jspb.Message.setField(this, 14, value);
|
15251
|
+
};
|
15252
|
+
|
15253
|
+
|
15254
|
+
/**
|
15255
|
+
* Clears the field making it undefined.
|
15256
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15257
|
+
*/
|
15258
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinCountMax = function() {
|
15259
|
+
return jspb.Message.setField(this, 14, undefined);
|
15260
|
+
};
|
15261
|
+
|
15262
|
+
|
15263
|
+
/**
|
15264
|
+
* Returns whether this field is set.
|
15265
|
+
* @return {boolean}
|
15266
|
+
*/
|
15267
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinCountMax = function() {
|
15268
|
+
return jspb.Message.getField(this, 14) != null;
|
15269
|
+
};
|
15270
|
+
|
15271
|
+
|
15272
|
+
/**
|
15273
|
+
* optional float win_sum_min = 15;
|
15274
|
+
* @return {number}
|
15275
|
+
*/
|
15276
|
+
proto.user.SegmentBetRuleItem.prototype.getWinSumMin = function() {
|
15277
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
15278
|
+
};
|
15279
|
+
|
15280
|
+
|
15281
|
+
/**
|
15282
|
+
* @param {number} value
|
15283
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15284
|
+
*/
|
15285
|
+
proto.user.SegmentBetRuleItem.prototype.setWinSumMin = function(value) {
|
15286
|
+
return jspb.Message.setField(this, 15, value);
|
15287
|
+
};
|
15288
|
+
|
15289
|
+
|
15290
|
+
/**
|
15291
|
+
* Clears the field making it undefined.
|
15292
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15293
|
+
*/
|
15294
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinSumMin = function() {
|
15295
|
+
return jspb.Message.setField(this, 15, undefined);
|
15296
|
+
};
|
15297
|
+
|
15298
|
+
|
15299
|
+
/**
|
15300
|
+
* Returns whether this field is set.
|
15301
|
+
* @return {boolean}
|
15302
|
+
*/
|
15303
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinSumMin = function() {
|
15304
|
+
return jspb.Message.getField(this, 15) != null;
|
15305
|
+
};
|
15306
|
+
|
15307
|
+
|
15308
|
+
/**
|
15309
|
+
* optional float win_sum_max = 16;
|
15310
|
+
* @return {number}
|
15311
|
+
*/
|
15312
|
+
proto.user.SegmentBetRuleItem.prototype.getWinSumMax = function() {
|
15313
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
|
15314
|
+
};
|
15315
|
+
|
15316
|
+
|
15317
|
+
/**
|
15318
|
+
* @param {number} value
|
15319
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15320
|
+
*/
|
15321
|
+
proto.user.SegmentBetRuleItem.prototype.setWinSumMax = function(value) {
|
15322
|
+
return jspb.Message.setField(this, 16, value);
|
15323
|
+
};
|
15324
|
+
|
15325
|
+
|
15326
|
+
/**
|
15327
|
+
* Clears the field making it undefined.
|
15328
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15329
|
+
*/
|
15330
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinSumMax = function() {
|
15331
|
+
return jspb.Message.setField(this, 16, undefined);
|
15332
|
+
};
|
15333
|
+
|
15334
|
+
|
15335
|
+
/**
|
15336
|
+
* Returns whether this field is set.
|
15337
|
+
* @return {boolean}
|
15338
|
+
*/
|
15339
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinSumMax = function() {
|
15340
|
+
return jspb.Message.getField(this, 16) != null;
|
15341
|
+
};
|
15342
|
+
|
15343
|
+
|
15344
|
+
/**
|
15345
|
+
* optional float win_avg_min = 17;
|
15346
|
+
* @return {number}
|
15347
|
+
*/
|
15348
|
+
proto.user.SegmentBetRuleItem.prototype.getWinAvgMin = function() {
|
15349
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0));
|
15350
|
+
};
|
15351
|
+
|
15352
|
+
|
15353
|
+
/**
|
15354
|
+
* @param {number} value
|
15355
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15356
|
+
*/
|
15357
|
+
proto.user.SegmentBetRuleItem.prototype.setWinAvgMin = function(value) {
|
15358
|
+
return jspb.Message.setField(this, 17, value);
|
15359
|
+
};
|
15360
|
+
|
15361
|
+
|
15362
|
+
/**
|
15363
|
+
* Clears the field making it undefined.
|
15364
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15365
|
+
*/
|
15366
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinAvgMin = function() {
|
15367
|
+
return jspb.Message.setField(this, 17, undefined);
|
15368
|
+
};
|
15369
|
+
|
15370
|
+
|
15371
|
+
/**
|
15372
|
+
* Returns whether this field is set.
|
15373
|
+
* @return {boolean}
|
15374
|
+
*/
|
15375
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinAvgMin = function() {
|
15376
|
+
return jspb.Message.getField(this, 17) != null;
|
15377
|
+
};
|
15378
|
+
|
15379
|
+
|
15380
|
+
/**
|
15381
|
+
* optional float win_avg_max = 18;
|
15382
|
+
* @return {number}
|
15383
|
+
*/
|
15384
|
+
proto.user.SegmentBetRuleItem.prototype.getWinAvgMax = function() {
|
15385
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0));
|
15386
|
+
};
|
15387
|
+
|
15388
|
+
|
15389
|
+
/**
|
15390
|
+
* @param {number} value
|
15391
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15392
|
+
*/
|
15393
|
+
proto.user.SegmentBetRuleItem.prototype.setWinAvgMax = function(value) {
|
15394
|
+
return jspb.Message.setField(this, 18, value);
|
15395
|
+
};
|
15396
|
+
|
15397
|
+
|
15398
|
+
/**
|
15399
|
+
* Clears the field making it undefined.
|
15400
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15401
|
+
*/
|
15402
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinAvgMax = function() {
|
15403
|
+
return jspb.Message.setField(this, 18, undefined);
|
15404
|
+
};
|
15405
|
+
|
15406
|
+
|
15407
|
+
/**
|
15408
|
+
* Returns whether this field is set.
|
15409
|
+
* @return {boolean}
|
15410
|
+
*/
|
15411
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinAvgMax = function() {
|
15412
|
+
return jspb.Message.getField(this, 18) != null;
|
15413
|
+
};
|
15414
|
+
|
15415
|
+
|
15416
|
+
/**
|
15417
|
+
* optional int32 is_active = 19;
|
15418
|
+
* @return {number}
|
15419
|
+
*/
|
15420
|
+
proto.user.SegmentBetRuleItem.prototype.getIsActive = function() {
|
15421
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
15422
|
+
};
|
15423
|
+
|
15424
|
+
|
15425
|
+
/**
|
15426
|
+
* @param {number} value
|
15427
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15428
|
+
*/
|
15429
|
+
proto.user.SegmentBetRuleItem.prototype.setIsActive = function(value) {
|
15430
|
+
return jspb.Message.setField(this, 19, value);
|
15431
|
+
};
|
15432
|
+
|
15433
|
+
|
15434
|
+
/**
|
15435
|
+
* Clears the field making it undefined.
|
15436
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15437
|
+
*/
|
15438
|
+
proto.user.SegmentBetRuleItem.prototype.clearIsActive = function() {
|
15439
|
+
return jspb.Message.setField(this, 19, undefined);
|
15440
|
+
};
|
15441
|
+
|
15442
|
+
|
15443
|
+
/**
|
15444
|
+
* Returns whether this field is set.
|
15445
|
+
* @return {boolean}
|
15446
|
+
*/
|
15447
|
+
proto.user.SegmentBetRuleItem.prototype.hasIsActive = function() {
|
15448
|
+
return jspb.Message.getField(this, 19) != null;
|
15449
|
+
};
|
15450
|
+
|
15451
|
+
|
15452
|
+
|
15453
|
+
|
15454
|
+
|
11079
15455
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
11080
15456
|
/**
|
11081
15457
|
* Creates an object representation of this proto.
|