protobuf-platform 1.1.90 → 1.1.91
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/game/game.proto +14 -0
- package/game/game_grpc_pb.js +34 -0
- package/game/game_pb.js +609 -0
- package/package.json +1 -1
- package/user/user.proto +22 -0
- package/user/user_pb.js +2269 -1153
package/user/user_pb.js
CHANGED
@@ -55,6 +55,8 @@ goog.exportSymbol('proto.user.RolePermissionStatusResponse', null, global);
|
|
55
55
|
goog.exportSymbol('proto.user.RolesItemsResponse', null, global);
|
56
56
|
goog.exportSymbol('proto.user.SegmentBetRuleItem', null, global);
|
57
57
|
goog.exportSymbol('proto.user.SegmentBetRuleRequest', null, global);
|
58
|
+
goog.exportSymbol('proto.user.SegmentGameRuleItem', null, global);
|
59
|
+
goog.exportSymbol('proto.user.SegmentGameRuleRequest', null, global);
|
58
60
|
goog.exportSymbol('proto.user.SegmentItemsResponse', null, global);
|
59
61
|
goog.exportSymbol('proto.user.SegmentPaymentRuleItem', null, global);
|
60
62
|
goog.exportSymbol('proto.user.SegmentPaymentRuleRequest', null, global);
|
@@ -712,6 +714,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
712
714
|
*/
|
713
715
|
proto.user.SegmentSessionRuleRequest.displayName = 'proto.user.SegmentSessionRuleRequest';
|
714
716
|
}
|
717
|
+
/**
|
718
|
+
* Generated by JsPbCodeGenerator.
|
719
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
720
|
+
* server response, or constructed directly in Javascript. The array is used
|
721
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
722
|
+
* If no data is provided, the constructed object will be empty, but still
|
723
|
+
* valid.
|
724
|
+
* @extends {jspb.Message}
|
725
|
+
* @constructor
|
726
|
+
*/
|
727
|
+
proto.user.SegmentGameRuleRequest = function(opt_data) {
|
728
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.SegmentGameRuleRequest.repeatedFields_, null);
|
729
|
+
};
|
730
|
+
goog.inherits(proto.user.SegmentGameRuleRequest, jspb.Message);
|
731
|
+
if (goog.DEBUG && !COMPILED) {
|
732
|
+
/**
|
733
|
+
* @public
|
734
|
+
* @override
|
735
|
+
*/
|
736
|
+
proto.user.SegmentGameRuleRequest.displayName = 'proto.user.SegmentGameRuleRequest';
|
737
|
+
}
|
715
738
|
/**
|
716
739
|
* Generated by JsPbCodeGenerator.
|
717
740
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -796,6 +819,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
796
819
|
*/
|
797
820
|
proto.user.SegmentSessionRuleItem.displayName = 'proto.user.SegmentSessionRuleItem';
|
798
821
|
}
|
822
|
+
/**
|
823
|
+
* Generated by JsPbCodeGenerator.
|
824
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
825
|
+
* server response, or constructed directly in Javascript. The array is used
|
826
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
827
|
+
* If no data is provided, the constructed object will be empty, but still
|
828
|
+
* valid.
|
829
|
+
* @extends {jspb.Message}
|
830
|
+
* @constructor
|
831
|
+
*/
|
832
|
+
proto.user.SegmentGameRuleItem = function(opt_data) {
|
833
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.user.SegmentGameRuleItem.repeatedFields_, null);
|
834
|
+
};
|
835
|
+
goog.inherits(proto.user.SegmentGameRuleItem, jspb.Message);
|
836
|
+
if (goog.DEBUG && !COMPILED) {
|
837
|
+
/**
|
838
|
+
* @public
|
839
|
+
* @override
|
840
|
+
*/
|
841
|
+
proto.user.SegmentGameRuleItem.displayName = 'proto.user.SegmentGameRuleItem';
|
842
|
+
}
|
799
843
|
/**
|
800
844
|
* Generated by JsPbCodeGenerator.
|
801
845
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -11541,7 +11585,8 @@ proto.user.SegmentRuleRequest.toObject = function(includeInstance, msg) {
|
|
11541
11585
|
var f, obj = {
|
11542
11586
|
paymentRule: (f = msg.getPaymentRule()) && proto.user.SegmentPaymentRuleRequest.toObject(includeInstance, f),
|
11543
11587
|
betRule: (f = msg.getBetRule()) && proto.user.SegmentBetRuleRequest.toObject(includeInstance, f),
|
11544
|
-
sessionRule: (f = msg.getSessionRule()) && proto.user.SegmentSessionRuleRequest.toObject(includeInstance, f)
|
11588
|
+
sessionRule: (f = msg.getSessionRule()) && proto.user.SegmentSessionRuleRequest.toObject(includeInstance, f),
|
11589
|
+
gameRule: (f = msg.getGameRule()) && proto.user.SegmentGameRuleRequest.toObject(includeInstance, f)
|
11545
11590
|
};
|
11546
11591
|
|
11547
11592
|
if (includeInstance) {
|
@@ -11593,6 +11638,11 @@ proto.user.SegmentRuleRequest.deserializeBinaryFromReader = function(msg, reader
|
|
11593
11638
|
reader.readMessage(value,proto.user.SegmentSessionRuleRequest.deserializeBinaryFromReader);
|
11594
11639
|
msg.setSessionRule(value);
|
11595
11640
|
break;
|
11641
|
+
case 4:
|
11642
|
+
var value = new proto.user.SegmentGameRuleRequest;
|
11643
|
+
reader.readMessage(value,proto.user.SegmentGameRuleRequest.deserializeBinaryFromReader);
|
11644
|
+
msg.setGameRule(value);
|
11645
|
+
break;
|
11596
11646
|
default:
|
11597
11647
|
reader.skipField();
|
11598
11648
|
break;
|
@@ -11646,6 +11696,14 @@ proto.user.SegmentRuleRequest.serializeBinaryToWriter = function(message, writer
|
|
11646
11696
|
proto.user.SegmentSessionRuleRequest.serializeBinaryToWriter
|
11647
11697
|
);
|
11648
11698
|
}
|
11699
|
+
f = message.getGameRule();
|
11700
|
+
if (f != null) {
|
11701
|
+
writer.writeMessage(
|
11702
|
+
4,
|
11703
|
+
f,
|
11704
|
+
proto.user.SegmentGameRuleRequest.serializeBinaryToWriter
|
11705
|
+
);
|
11706
|
+
}
|
11649
11707
|
};
|
11650
11708
|
|
11651
11709
|
|
@@ -11760,6 +11818,43 @@ proto.user.SegmentRuleRequest.prototype.hasSessionRule = function() {
|
|
11760
11818
|
};
|
11761
11819
|
|
11762
11820
|
|
11821
|
+
/**
|
11822
|
+
* optional SegmentGameRuleRequest game_rule = 4;
|
11823
|
+
* @return {?proto.user.SegmentGameRuleRequest}
|
11824
|
+
*/
|
11825
|
+
proto.user.SegmentRuleRequest.prototype.getGameRule = function() {
|
11826
|
+
return /** @type{?proto.user.SegmentGameRuleRequest} */ (
|
11827
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentGameRuleRequest, 4));
|
11828
|
+
};
|
11829
|
+
|
11830
|
+
|
11831
|
+
/**
|
11832
|
+
* @param {?proto.user.SegmentGameRuleRequest|undefined} value
|
11833
|
+
* @return {!proto.user.SegmentRuleRequest} returns this
|
11834
|
+
*/
|
11835
|
+
proto.user.SegmentRuleRequest.prototype.setGameRule = function(value) {
|
11836
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
11837
|
+
};
|
11838
|
+
|
11839
|
+
|
11840
|
+
/**
|
11841
|
+
* Clears the message field making it undefined.
|
11842
|
+
* @return {!proto.user.SegmentRuleRequest} returns this
|
11843
|
+
*/
|
11844
|
+
proto.user.SegmentRuleRequest.prototype.clearGameRule = function() {
|
11845
|
+
return this.setGameRule(undefined);
|
11846
|
+
};
|
11847
|
+
|
11848
|
+
|
11849
|
+
/**
|
11850
|
+
* Returns whether this field is set.
|
11851
|
+
* @return {boolean}
|
11852
|
+
*/
|
11853
|
+
proto.user.SegmentRuleRequest.prototype.hasGameRule = function() {
|
11854
|
+
return jspb.Message.getField(this, 4) != null;
|
11855
|
+
};
|
11856
|
+
|
11857
|
+
|
11763
11858
|
|
11764
11859
|
|
11765
11860
|
|
@@ -14206,6 +14301,13 @@ proto.user.SegmentSessionRuleRequest.prototype.hasIsActive = function() {
|
|
14206
14301
|
|
14207
14302
|
|
14208
14303
|
|
14304
|
+
/**
|
14305
|
+
* List of repeated fields within this message type.
|
14306
|
+
* @private {!Array<number>}
|
14307
|
+
* @const
|
14308
|
+
*/
|
14309
|
+
proto.user.SegmentGameRuleRequest.repeatedFields_ = [2,3,4,5];
|
14310
|
+
|
14209
14311
|
|
14210
14312
|
|
14211
14313
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -14221,8 +14323,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14221
14323
|
* http://goto/soy-param-migration
|
14222
14324
|
* @return {!Object}
|
14223
14325
|
*/
|
14224
|
-
proto.user.
|
14225
|
-
return proto.user.
|
14326
|
+
proto.user.SegmentGameRuleRequest.prototype.toObject = function(opt_includeInstance) {
|
14327
|
+
return proto.user.SegmentGameRuleRequest.toObject(opt_includeInstance, this);
|
14226
14328
|
};
|
14227
14329
|
|
14228
14330
|
|
@@ -14231,15 +14333,20 @@ proto.user.SegmentRuleItem.prototype.toObject = function(opt_includeInstance) {
|
|
14231
14333
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
14232
14334
|
* the JSPB instance for transitional soy proto support:
|
14233
14335
|
* http://goto/soy-param-migration
|
14234
|
-
* @param {!proto.user.
|
14336
|
+
* @param {!proto.user.SegmentGameRuleRequest} msg The msg instance to transform.
|
14235
14337
|
* @return {!Object}
|
14236
14338
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
14237
14339
|
*/
|
14238
|
-
proto.user.
|
14340
|
+
proto.user.SegmentGameRuleRequest.toObject = function(includeInstance, msg) {
|
14239
14341
|
var f, obj = {
|
14240
|
-
|
14241
|
-
|
14242
|
-
|
14342
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
14343
|
+
providerIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
14344
|
+
collectionIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
14345
|
+
tagIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
14346
|
+
gameIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
14347
|
+
rtpMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
14348
|
+
rtpMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
14349
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
14243
14350
|
};
|
14244
14351
|
|
14245
14352
|
if (includeInstance) {
|
@@ -14253,23 +14360,23 @@ proto.user.SegmentRuleItem.toObject = function(includeInstance, msg) {
|
|
14253
14360
|
/**
|
14254
14361
|
* Deserializes binary data (in protobuf wire format).
|
14255
14362
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
14256
|
-
* @return {!proto.user.
|
14363
|
+
* @return {!proto.user.SegmentGameRuleRequest}
|
14257
14364
|
*/
|
14258
|
-
proto.user.
|
14365
|
+
proto.user.SegmentGameRuleRequest.deserializeBinary = function(bytes) {
|
14259
14366
|
var reader = new jspb.BinaryReader(bytes);
|
14260
|
-
var msg = new proto.user.
|
14261
|
-
return proto.user.
|
14367
|
+
var msg = new proto.user.SegmentGameRuleRequest;
|
14368
|
+
return proto.user.SegmentGameRuleRequest.deserializeBinaryFromReader(msg, reader);
|
14262
14369
|
};
|
14263
14370
|
|
14264
14371
|
|
14265
14372
|
/**
|
14266
14373
|
* Deserializes binary data (in protobuf wire format) from the
|
14267
14374
|
* given reader into the given message object.
|
14268
|
-
* @param {!proto.user.
|
14375
|
+
* @param {!proto.user.SegmentGameRuleRequest} msg The message object to deserialize into.
|
14269
14376
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
14270
|
-
* @return {!proto.user.
|
14377
|
+
* @return {!proto.user.SegmentGameRuleRequest}
|
14271
14378
|
*/
|
14272
|
-
proto.user.
|
14379
|
+
proto.user.SegmentGameRuleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
14273
14380
|
while (reader.nextField()) {
|
14274
14381
|
if (reader.isEndGroup()) {
|
14275
14382
|
break;
|
@@ -14277,19 +14384,44 @@ proto.user.SegmentRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
14277
14384
|
var field = reader.getFieldNumber();
|
14278
14385
|
switch (field) {
|
14279
14386
|
case 1:
|
14280
|
-
var value =
|
14281
|
-
|
14282
|
-
msg.setPaymentRule(value);
|
14387
|
+
var value = /** @type {number} */ (reader.readInt32());
|
14388
|
+
msg.setSegmentId(value);
|
14283
14389
|
break;
|
14284
14390
|
case 2:
|
14285
|
-
var
|
14286
|
-
|
14287
|
-
|
14391
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
14392
|
+
for (var i = 0; i < values.length; i++) {
|
14393
|
+
msg.addProviderIds(values[i]);
|
14394
|
+
}
|
14288
14395
|
break;
|
14289
14396
|
case 3:
|
14290
|
-
var
|
14291
|
-
|
14292
|
-
|
14397
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
14398
|
+
for (var i = 0; i < values.length; i++) {
|
14399
|
+
msg.addCollectionIds(values[i]);
|
14400
|
+
}
|
14401
|
+
break;
|
14402
|
+
case 4:
|
14403
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
14404
|
+
for (var i = 0; i < values.length; i++) {
|
14405
|
+
msg.addTagIds(values[i]);
|
14406
|
+
}
|
14407
|
+
break;
|
14408
|
+
case 5:
|
14409
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
14410
|
+
for (var i = 0; i < values.length; i++) {
|
14411
|
+
msg.addGameIds(values[i]);
|
14412
|
+
}
|
14413
|
+
break;
|
14414
|
+
case 6:
|
14415
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14416
|
+
msg.setRtpMin(value);
|
14417
|
+
break;
|
14418
|
+
case 7:
|
14419
|
+
var value = /** @type {number} */ (reader.readFloat());
|
14420
|
+
msg.setRtpMax(value);
|
14421
|
+
break;
|
14422
|
+
case 8:
|
14423
|
+
var value = /** @type {number} */ (reader.readInt32());
|
14424
|
+
msg.setIsActive(value);
|
14293
14425
|
break;
|
14294
14426
|
default:
|
14295
14427
|
reader.skipField();
|
@@ -14304,9 +14436,9 @@ proto.user.SegmentRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
14304
14436
|
* Serializes the message to binary data (in protobuf wire format).
|
14305
14437
|
* @return {!Uint8Array}
|
14306
14438
|
*/
|
14307
|
-
proto.user.
|
14439
|
+
proto.user.SegmentGameRuleRequest.prototype.serializeBinary = function() {
|
14308
14440
|
var writer = new jspb.BinaryWriter();
|
14309
|
-
proto.user.
|
14441
|
+
proto.user.SegmentGameRuleRequest.serializeBinaryToWriter(this, writer);
|
14310
14442
|
return writer.getResultBuffer();
|
14311
14443
|
};
|
14312
14444
|
|
@@ -14314,138 +14446,261 @@ proto.user.SegmentRuleItem.prototype.serializeBinary = function() {
|
|
14314
14446
|
/**
|
14315
14447
|
* Serializes the given message to binary data (in protobuf wire
|
14316
14448
|
* format), writing to the given BinaryWriter.
|
14317
|
-
* @param {!proto.user.
|
14449
|
+
* @param {!proto.user.SegmentGameRuleRequest} message
|
14318
14450
|
* @param {!jspb.BinaryWriter} writer
|
14319
14451
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
14320
14452
|
*/
|
14321
|
-
proto.user.
|
14453
|
+
proto.user.SegmentGameRuleRequest.serializeBinaryToWriter = function(message, writer) {
|
14322
14454
|
var f = undefined;
|
14323
|
-
f = message.
|
14324
|
-
if (f
|
14325
|
-
writer.
|
14455
|
+
f = message.getSegmentId();
|
14456
|
+
if (f !== 0) {
|
14457
|
+
writer.writeInt32(
|
14326
14458
|
1,
|
14327
|
-
f
|
14328
|
-
proto.user.SegmentPaymentRuleItem.serializeBinaryToWriter
|
14459
|
+
f
|
14329
14460
|
);
|
14330
14461
|
}
|
14331
|
-
f = message.
|
14332
|
-
if (f
|
14333
|
-
writer.
|
14462
|
+
f = message.getProviderIdsList();
|
14463
|
+
if (f.length > 0) {
|
14464
|
+
writer.writePackedInt32(
|
14334
14465
|
2,
|
14335
|
-
f
|
14336
|
-
proto.user.SegmentBetRuleItem.serializeBinaryToWriter
|
14466
|
+
f
|
14337
14467
|
);
|
14338
14468
|
}
|
14339
|
-
f = message.
|
14340
|
-
if (f
|
14341
|
-
writer.
|
14469
|
+
f = message.getCollectionIdsList();
|
14470
|
+
if (f.length > 0) {
|
14471
|
+
writer.writePackedInt32(
|
14342
14472
|
3,
|
14343
|
-
f
|
14344
|
-
|
14473
|
+
f
|
14474
|
+
);
|
14475
|
+
}
|
14476
|
+
f = message.getTagIdsList();
|
14477
|
+
if (f.length > 0) {
|
14478
|
+
writer.writePackedInt32(
|
14479
|
+
4,
|
14480
|
+
f
|
14481
|
+
);
|
14482
|
+
}
|
14483
|
+
f = message.getGameIdsList();
|
14484
|
+
if (f.length > 0) {
|
14485
|
+
writer.writePackedInt32(
|
14486
|
+
5,
|
14487
|
+
f
|
14488
|
+
);
|
14489
|
+
}
|
14490
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
14491
|
+
if (f != null) {
|
14492
|
+
writer.writeFloat(
|
14493
|
+
6,
|
14494
|
+
f
|
14495
|
+
);
|
14496
|
+
}
|
14497
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
14498
|
+
if (f != null) {
|
14499
|
+
writer.writeFloat(
|
14500
|
+
7,
|
14501
|
+
f
|
14502
|
+
);
|
14503
|
+
}
|
14504
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
14505
|
+
if (f != null) {
|
14506
|
+
writer.writeInt32(
|
14507
|
+
8,
|
14508
|
+
f
|
14345
14509
|
);
|
14346
14510
|
}
|
14347
14511
|
};
|
14348
14512
|
|
14349
14513
|
|
14350
14514
|
/**
|
14351
|
-
* optional
|
14352
|
-
* @return {
|
14515
|
+
* optional int32 segment_id = 1;
|
14516
|
+
* @return {number}
|
14353
14517
|
*/
|
14354
|
-
proto.user.
|
14355
|
-
return /** @type{
|
14356
|
-
jspb.Message.getWrapperField(this, proto.user.SegmentPaymentRuleItem, 1));
|
14518
|
+
proto.user.SegmentGameRuleRequest.prototype.getSegmentId = function() {
|
14519
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
14357
14520
|
};
|
14358
14521
|
|
14359
14522
|
|
14360
14523
|
/**
|
14361
|
-
* @param {
|
14362
|
-
* @return {!proto.user.
|
14363
|
-
*/
|
14364
|
-
proto.user.
|
14365
|
-
return jspb.Message.
|
14524
|
+
* @param {number} value
|
14525
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14526
|
+
*/
|
14527
|
+
proto.user.SegmentGameRuleRequest.prototype.setSegmentId = function(value) {
|
14528
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
14366
14529
|
};
|
14367
14530
|
|
14368
14531
|
|
14369
14532
|
/**
|
14370
|
-
*
|
14371
|
-
* @return {!
|
14533
|
+
* repeated int32 provider_ids = 2;
|
14534
|
+
* @return {!Array<number>}
|
14372
14535
|
*/
|
14373
|
-
proto.user.
|
14374
|
-
return
|
14536
|
+
proto.user.SegmentGameRuleRequest.prototype.getProviderIdsList = function() {
|
14537
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
|
14375
14538
|
};
|
14376
14539
|
|
14377
14540
|
|
14378
14541
|
/**
|
14379
|
-
*
|
14380
|
-
* @return {
|
14542
|
+
* @param {!Array<number>} value
|
14543
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14381
14544
|
*/
|
14382
|
-
proto.user.
|
14383
|
-
return jspb.Message.
|
14545
|
+
proto.user.SegmentGameRuleRequest.prototype.setProviderIdsList = function(value) {
|
14546
|
+
return jspb.Message.setField(this, 2, value || []);
|
14384
14547
|
};
|
14385
14548
|
|
14386
14549
|
|
14387
14550
|
/**
|
14388
|
-
*
|
14389
|
-
* @
|
14551
|
+
* @param {number} value
|
14552
|
+
* @param {number=} opt_index
|
14553
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14390
14554
|
*/
|
14391
|
-
proto.user.
|
14392
|
-
return
|
14393
|
-
jspb.Message.getWrapperField(this, proto.user.SegmentBetRuleItem, 2));
|
14555
|
+
proto.user.SegmentGameRuleRequest.prototype.addProviderIds = function(value, opt_index) {
|
14556
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
14394
14557
|
};
|
14395
14558
|
|
14396
14559
|
|
14397
14560
|
/**
|
14398
|
-
*
|
14399
|
-
* @return {!proto.user.
|
14400
|
-
*/
|
14401
|
-
proto.user.
|
14402
|
-
return
|
14561
|
+
* Clears the list making it empty but non-null.
|
14562
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14563
|
+
*/
|
14564
|
+
proto.user.SegmentGameRuleRequest.prototype.clearProviderIdsList = function() {
|
14565
|
+
return this.setProviderIdsList([]);
|
14403
14566
|
};
|
14404
14567
|
|
14405
14568
|
|
14406
14569
|
/**
|
14407
|
-
*
|
14408
|
-
* @return {!
|
14570
|
+
* repeated int32 collection_ids = 3;
|
14571
|
+
* @return {!Array<number>}
|
14409
14572
|
*/
|
14410
|
-
proto.user.
|
14411
|
-
return
|
14573
|
+
proto.user.SegmentGameRuleRequest.prototype.getCollectionIdsList = function() {
|
14574
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
14412
14575
|
};
|
14413
14576
|
|
14414
14577
|
|
14415
14578
|
/**
|
14416
|
-
*
|
14417
|
-
* @return {
|
14579
|
+
* @param {!Array<number>} value
|
14580
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14418
14581
|
*/
|
14419
|
-
proto.user.
|
14420
|
-
return jspb.Message.
|
14582
|
+
proto.user.SegmentGameRuleRequest.prototype.setCollectionIdsList = function(value) {
|
14583
|
+
return jspb.Message.setField(this, 3, value || []);
|
14421
14584
|
};
|
14422
14585
|
|
14423
14586
|
|
14424
14587
|
/**
|
14425
|
-
*
|
14426
|
-
* @
|
14588
|
+
* @param {number} value
|
14589
|
+
* @param {number=} opt_index
|
14590
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14427
14591
|
*/
|
14428
|
-
proto.user.
|
14429
|
-
return
|
14430
|
-
jspb.Message.getWrapperField(this, proto.user.SegmentSessionRuleItem, 3));
|
14592
|
+
proto.user.SegmentGameRuleRequest.prototype.addCollectionIds = function(value, opt_index) {
|
14593
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
14431
14594
|
};
|
14432
14595
|
|
14433
14596
|
|
14434
14597
|
/**
|
14435
|
-
*
|
14436
|
-
* @return {!proto.user.
|
14437
|
-
*/
|
14438
|
-
proto.user.
|
14439
|
-
return
|
14598
|
+
* Clears the list making it empty but non-null.
|
14599
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14600
|
+
*/
|
14601
|
+
proto.user.SegmentGameRuleRequest.prototype.clearCollectionIdsList = function() {
|
14602
|
+
return this.setCollectionIdsList([]);
|
14440
14603
|
};
|
14441
14604
|
|
14442
14605
|
|
14443
14606
|
/**
|
14444
|
-
*
|
14445
|
-
* @return {!
|
14607
|
+
* repeated int32 tag_ids = 4;
|
14608
|
+
* @return {!Array<number>}
|
14446
14609
|
*/
|
14447
|
-
proto.user.
|
14448
|
-
return
|
14610
|
+
proto.user.SegmentGameRuleRequest.prototype.getTagIdsList = function() {
|
14611
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
|
14612
|
+
};
|
14613
|
+
|
14614
|
+
|
14615
|
+
/**
|
14616
|
+
* @param {!Array<number>} value
|
14617
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14618
|
+
*/
|
14619
|
+
proto.user.SegmentGameRuleRequest.prototype.setTagIdsList = function(value) {
|
14620
|
+
return jspb.Message.setField(this, 4, value || []);
|
14621
|
+
};
|
14622
|
+
|
14623
|
+
|
14624
|
+
/**
|
14625
|
+
* @param {number} value
|
14626
|
+
* @param {number=} opt_index
|
14627
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14628
|
+
*/
|
14629
|
+
proto.user.SegmentGameRuleRequest.prototype.addTagIds = function(value, opt_index) {
|
14630
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
14631
|
+
};
|
14632
|
+
|
14633
|
+
|
14634
|
+
/**
|
14635
|
+
* Clears the list making it empty but non-null.
|
14636
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14637
|
+
*/
|
14638
|
+
proto.user.SegmentGameRuleRequest.prototype.clearTagIdsList = function() {
|
14639
|
+
return this.setTagIdsList([]);
|
14640
|
+
};
|
14641
|
+
|
14642
|
+
|
14643
|
+
/**
|
14644
|
+
* repeated int32 game_ids = 5;
|
14645
|
+
* @return {!Array<number>}
|
14646
|
+
*/
|
14647
|
+
proto.user.SegmentGameRuleRequest.prototype.getGameIdsList = function() {
|
14648
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
|
14649
|
+
};
|
14650
|
+
|
14651
|
+
|
14652
|
+
/**
|
14653
|
+
* @param {!Array<number>} value
|
14654
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14655
|
+
*/
|
14656
|
+
proto.user.SegmentGameRuleRequest.prototype.setGameIdsList = function(value) {
|
14657
|
+
return jspb.Message.setField(this, 5, value || []);
|
14658
|
+
};
|
14659
|
+
|
14660
|
+
|
14661
|
+
/**
|
14662
|
+
* @param {number} value
|
14663
|
+
* @param {number=} opt_index
|
14664
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14665
|
+
*/
|
14666
|
+
proto.user.SegmentGameRuleRequest.prototype.addGameIds = function(value, opt_index) {
|
14667
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
14668
|
+
};
|
14669
|
+
|
14670
|
+
|
14671
|
+
/**
|
14672
|
+
* Clears the list making it empty but non-null.
|
14673
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14674
|
+
*/
|
14675
|
+
proto.user.SegmentGameRuleRequest.prototype.clearGameIdsList = function() {
|
14676
|
+
return this.setGameIdsList([]);
|
14677
|
+
};
|
14678
|
+
|
14679
|
+
|
14680
|
+
/**
|
14681
|
+
* optional float rtp_min = 6;
|
14682
|
+
* @return {number}
|
14683
|
+
*/
|
14684
|
+
proto.user.SegmentGameRuleRequest.prototype.getRtpMin = function() {
|
14685
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
14686
|
+
};
|
14687
|
+
|
14688
|
+
|
14689
|
+
/**
|
14690
|
+
* @param {number} value
|
14691
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14692
|
+
*/
|
14693
|
+
proto.user.SegmentGameRuleRequest.prototype.setRtpMin = function(value) {
|
14694
|
+
return jspb.Message.setField(this, 6, value);
|
14695
|
+
};
|
14696
|
+
|
14697
|
+
|
14698
|
+
/**
|
14699
|
+
* Clears the field making it undefined.
|
14700
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14701
|
+
*/
|
14702
|
+
proto.user.SegmentGameRuleRequest.prototype.clearRtpMin = function() {
|
14703
|
+
return jspb.Message.setField(this, 6, undefined);
|
14449
14704
|
};
|
14450
14705
|
|
14451
14706
|
|
@@ -14453,18 +14708,83 @@ proto.user.SegmentRuleItem.prototype.clearSessionRule = function() {
|
|
14453
14708
|
* Returns whether this field is set.
|
14454
14709
|
* @return {boolean}
|
14455
14710
|
*/
|
14456
|
-
proto.user.
|
14457
|
-
return jspb.Message.getField(this,
|
14711
|
+
proto.user.SegmentGameRuleRequest.prototype.hasRtpMin = function() {
|
14712
|
+
return jspb.Message.getField(this, 6) != null;
|
14458
14713
|
};
|
14459
14714
|
|
14460
14715
|
|
14716
|
+
/**
|
14717
|
+
* optional float rtp_max = 7;
|
14718
|
+
* @return {number}
|
14719
|
+
*/
|
14720
|
+
proto.user.SegmentGameRuleRequest.prototype.getRtpMax = function() {
|
14721
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
14722
|
+
};
|
14723
|
+
|
14461
14724
|
|
14462
14725
|
/**
|
14463
|
-
*
|
14464
|
-
* @
|
14465
|
-
* @const
|
14726
|
+
* @param {number} value
|
14727
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14466
14728
|
*/
|
14467
|
-
proto.user.
|
14729
|
+
proto.user.SegmentGameRuleRequest.prototype.setRtpMax = function(value) {
|
14730
|
+
return jspb.Message.setField(this, 7, value);
|
14731
|
+
};
|
14732
|
+
|
14733
|
+
|
14734
|
+
/**
|
14735
|
+
* Clears the field making it undefined.
|
14736
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14737
|
+
*/
|
14738
|
+
proto.user.SegmentGameRuleRequest.prototype.clearRtpMax = function() {
|
14739
|
+
return jspb.Message.setField(this, 7, undefined);
|
14740
|
+
};
|
14741
|
+
|
14742
|
+
|
14743
|
+
/**
|
14744
|
+
* Returns whether this field is set.
|
14745
|
+
* @return {boolean}
|
14746
|
+
*/
|
14747
|
+
proto.user.SegmentGameRuleRequest.prototype.hasRtpMax = function() {
|
14748
|
+
return jspb.Message.getField(this, 7) != null;
|
14749
|
+
};
|
14750
|
+
|
14751
|
+
|
14752
|
+
/**
|
14753
|
+
* optional int32 is_active = 8;
|
14754
|
+
* @return {number}
|
14755
|
+
*/
|
14756
|
+
proto.user.SegmentGameRuleRequest.prototype.getIsActive = function() {
|
14757
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
14758
|
+
};
|
14759
|
+
|
14760
|
+
|
14761
|
+
/**
|
14762
|
+
* @param {number} value
|
14763
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14764
|
+
*/
|
14765
|
+
proto.user.SegmentGameRuleRequest.prototype.setIsActive = function(value) {
|
14766
|
+
return jspb.Message.setField(this, 8, value);
|
14767
|
+
};
|
14768
|
+
|
14769
|
+
|
14770
|
+
/**
|
14771
|
+
* Clears the field making it undefined.
|
14772
|
+
* @return {!proto.user.SegmentGameRuleRequest} returns this
|
14773
|
+
*/
|
14774
|
+
proto.user.SegmentGameRuleRequest.prototype.clearIsActive = function() {
|
14775
|
+
return jspb.Message.setField(this, 8, undefined);
|
14776
|
+
};
|
14777
|
+
|
14778
|
+
|
14779
|
+
/**
|
14780
|
+
* Returns whether this field is set.
|
14781
|
+
* @return {boolean}
|
14782
|
+
*/
|
14783
|
+
proto.user.SegmentGameRuleRequest.prototype.hasIsActive = function() {
|
14784
|
+
return jspb.Message.getField(this, 8) != null;
|
14785
|
+
};
|
14786
|
+
|
14787
|
+
|
14468
14788
|
|
14469
14789
|
|
14470
14790
|
|
@@ -14481,8 +14801,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14481
14801
|
* http://goto/soy-param-migration
|
14482
14802
|
* @return {!Object}
|
14483
14803
|
*/
|
14484
|
-
proto.user.
|
14485
|
-
return proto.user.
|
14804
|
+
proto.user.SegmentRuleItem.prototype.toObject = function(opt_includeInstance) {
|
14805
|
+
return proto.user.SegmentRuleItem.toObject(opt_includeInstance, this);
|
14486
14806
|
};
|
14487
14807
|
|
14488
14808
|
|
@@ -14491,27 +14811,16 @@ proto.user.SegmentPaymentRuleItem.prototype.toObject = function(opt_includeInsta
|
|
14491
14811
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
14492
14812
|
* the JSPB instance for transitional soy proto support:
|
14493
14813
|
* http://goto/soy-param-migration
|
14494
|
-
* @param {!proto.user.
|
14814
|
+
* @param {!proto.user.SegmentRuleItem} msg The msg instance to transform.
|
14495
14815
|
* @return {!Object}
|
14496
14816
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
14497
14817
|
*/
|
14498
|
-
proto.user.
|
14818
|
+
proto.user.SegmentRuleItem.toObject = function(includeInstance, msg) {
|
14499
14819
|
var f, obj = {
|
14500
|
-
|
14501
|
-
|
14502
|
-
|
14503
|
-
|
14504
|
-
depositCountMin: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
14505
|
-
depositCountMax: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
14506
|
-
depositSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
14507
|
-
depositSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
14508
|
-
depositAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
14509
|
-
depositAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
14510
|
-
paymentProvidersList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
14511
|
-
paymentTypesList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
|
14512
|
-
segmentId: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
14513
|
-
currency: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
14514
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 15, 0)
|
14820
|
+
paymentRule: (f = msg.getPaymentRule()) && proto.user.SegmentPaymentRuleItem.toObject(includeInstance, f),
|
14821
|
+
betRule: (f = msg.getBetRule()) && proto.user.SegmentBetRuleItem.toObject(includeInstance, f),
|
14822
|
+
sessionRule: (f = msg.getSessionRule()) && proto.user.SegmentSessionRuleItem.toObject(includeInstance, f),
|
14823
|
+
gameRule: (f = msg.getGameRule()) && proto.user.SegmentGameRuleItem.toObject(includeInstance, f)
|
14515
14824
|
};
|
14516
14825
|
|
14517
14826
|
if (includeInstance) {
|
@@ -14525,23 +14834,23 @@ proto.user.SegmentPaymentRuleItem.toObject = function(includeInstance, msg) {
|
|
14525
14834
|
/**
|
14526
14835
|
* Deserializes binary data (in protobuf wire format).
|
14527
14836
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
14528
|
-
* @return {!proto.user.
|
14837
|
+
* @return {!proto.user.SegmentRuleItem}
|
14529
14838
|
*/
|
14530
|
-
proto.user.
|
14839
|
+
proto.user.SegmentRuleItem.deserializeBinary = function(bytes) {
|
14531
14840
|
var reader = new jspb.BinaryReader(bytes);
|
14532
|
-
var msg = new proto.user.
|
14533
|
-
return proto.user.
|
14841
|
+
var msg = new proto.user.SegmentRuleItem;
|
14842
|
+
return proto.user.SegmentRuleItem.deserializeBinaryFromReader(msg, reader);
|
14534
14843
|
};
|
14535
14844
|
|
14536
14845
|
|
14537
14846
|
/**
|
14538
14847
|
* Deserializes binary data (in protobuf wire format) from the
|
14539
14848
|
* given reader into the given message object.
|
14540
|
-
* @param {!proto.user.
|
14849
|
+
* @param {!proto.user.SegmentRuleItem} msg The message object to deserialize into.
|
14541
14850
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
14542
|
-
* @return {!proto.user.
|
14851
|
+
* @return {!proto.user.SegmentRuleItem}
|
14543
14852
|
*/
|
14544
|
-
proto.user.
|
14853
|
+
proto.user.SegmentRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
14545
14854
|
while (reader.nextField()) {
|
14546
14855
|
if (reader.isEndGroup()) {
|
14547
14856
|
break;
|
@@ -14549,64 +14858,24 @@ proto.user.SegmentPaymentRuleItem.deserializeBinaryFromReader = function(msg, re
|
|
14549
14858
|
var field = reader.getFieldNumber();
|
14550
14859
|
switch (field) {
|
14551
14860
|
case 1:
|
14552
|
-
var value =
|
14553
|
-
|
14861
|
+
var value = new proto.user.SegmentPaymentRuleItem;
|
14862
|
+
reader.readMessage(value,proto.user.SegmentPaymentRuleItem.deserializeBinaryFromReader);
|
14863
|
+
msg.setPaymentRule(value);
|
14554
14864
|
break;
|
14555
14865
|
case 2:
|
14556
|
-
var value =
|
14557
|
-
|
14866
|
+
var value = new proto.user.SegmentBetRuleItem;
|
14867
|
+
reader.readMessage(value,proto.user.SegmentBetRuleItem.deserializeBinaryFromReader);
|
14868
|
+
msg.setBetRule(value);
|
14558
14869
|
break;
|
14559
14870
|
case 3:
|
14560
|
-
var value =
|
14561
|
-
|
14871
|
+
var value = new proto.user.SegmentSessionRuleItem;
|
14872
|
+
reader.readMessage(value,proto.user.SegmentSessionRuleItem.deserializeBinaryFromReader);
|
14873
|
+
msg.setSessionRule(value);
|
14562
14874
|
break;
|
14563
14875
|
case 4:
|
14564
|
-
var value =
|
14565
|
-
|
14566
|
-
|
14567
|
-
case 5:
|
14568
|
-
var value = /** @type {number} */ (reader.readInt32());
|
14569
|
-
msg.setDepositCountMin(value);
|
14570
|
-
break;
|
14571
|
-
case 6:
|
14572
|
-
var value = /** @type {number} */ (reader.readInt32());
|
14573
|
-
msg.setDepositCountMax(value);
|
14574
|
-
break;
|
14575
|
-
case 7:
|
14576
|
-
var value = /** @type {number} */ (reader.readFloat());
|
14577
|
-
msg.setDepositSumMin(value);
|
14578
|
-
break;
|
14579
|
-
case 8:
|
14580
|
-
var value = /** @type {number} */ (reader.readFloat());
|
14581
|
-
msg.setDepositSumMax(value);
|
14582
|
-
break;
|
14583
|
-
case 9:
|
14584
|
-
var value = /** @type {number} */ (reader.readFloat());
|
14585
|
-
msg.setDepositAvgMin(value);
|
14586
|
-
break;
|
14587
|
-
case 10:
|
14588
|
-
var value = /** @type {number} */ (reader.readFloat());
|
14589
|
-
msg.setDepositAvgMax(value);
|
14590
|
-
break;
|
14591
|
-
case 11:
|
14592
|
-
var value = /** @type {string} */ (reader.readString());
|
14593
|
-
msg.addPaymentProviders(value);
|
14594
|
-
break;
|
14595
|
-
case 12:
|
14596
|
-
var value = /** @type {string} */ (reader.readString());
|
14597
|
-
msg.addPaymentTypes(value);
|
14598
|
-
break;
|
14599
|
-
case 13:
|
14600
|
-
var value = /** @type {number} */ (reader.readInt32());
|
14601
|
-
msg.setSegmentId(value);
|
14602
|
-
break;
|
14603
|
-
case 14:
|
14604
|
-
var value = /** @type {string} */ (reader.readString());
|
14605
|
-
msg.setCurrency(value);
|
14606
|
-
break;
|
14607
|
-
case 15:
|
14608
|
-
var value = /** @type {number} */ (reader.readInt32());
|
14609
|
-
msg.setIsActive(value);
|
14876
|
+
var value = new proto.user.SegmentGameRuleItem;
|
14877
|
+
reader.readMessage(value,proto.user.SegmentGameRuleItem.deserializeBinaryFromReader);
|
14878
|
+
msg.setGameRule(value);
|
14610
14879
|
break;
|
14611
14880
|
default:
|
14612
14881
|
reader.skipField();
|
@@ -14621,9 +14890,9 @@ proto.user.SegmentPaymentRuleItem.deserializeBinaryFromReader = function(msg, re
|
|
14621
14890
|
* Serializes the message to binary data (in protobuf wire format).
|
14622
14891
|
* @return {!Uint8Array}
|
14623
14892
|
*/
|
14624
|
-
proto.user.
|
14893
|
+
proto.user.SegmentRuleItem.prototype.serializeBinary = function() {
|
14625
14894
|
var writer = new jspb.BinaryWriter();
|
14626
|
-
proto.user.
|
14895
|
+
proto.user.SegmentRuleItem.serializeBinaryToWriter(this, writer);
|
14627
14896
|
return writer.getResultBuffer();
|
14628
14897
|
};
|
14629
14898
|
|
@@ -14631,144 +14900,72 @@ proto.user.SegmentPaymentRuleItem.prototype.serializeBinary = function() {
|
|
14631
14900
|
/**
|
14632
14901
|
* Serializes the given message to binary data (in protobuf wire
|
14633
14902
|
* format), writing to the given BinaryWriter.
|
14634
|
-
* @param {!proto.user.
|
14903
|
+
* @param {!proto.user.SegmentRuleItem} message
|
14635
14904
|
* @param {!jspb.BinaryWriter} writer
|
14636
14905
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
14637
14906
|
*/
|
14638
|
-
proto.user.
|
14907
|
+
proto.user.SegmentRuleItem.serializeBinaryToWriter = function(message, writer) {
|
14639
14908
|
var f = undefined;
|
14640
|
-
f =
|
14909
|
+
f = message.getPaymentRule();
|
14641
14910
|
if (f != null) {
|
14642
|
-
writer.
|
14911
|
+
writer.writeMessage(
|
14643
14912
|
1,
|
14644
|
-
f
|
14913
|
+
f,
|
14914
|
+
proto.user.SegmentPaymentRuleItem.serializeBinaryToWriter
|
14645
14915
|
);
|
14646
14916
|
}
|
14647
|
-
f =
|
14917
|
+
f = message.getBetRule();
|
14648
14918
|
if (f != null) {
|
14649
|
-
writer.
|
14919
|
+
writer.writeMessage(
|
14650
14920
|
2,
|
14651
|
-
f
|
14921
|
+
f,
|
14922
|
+
proto.user.SegmentBetRuleItem.serializeBinaryToWriter
|
14652
14923
|
);
|
14653
14924
|
}
|
14654
|
-
f =
|
14925
|
+
f = message.getSessionRule();
|
14655
14926
|
if (f != null) {
|
14656
|
-
writer.
|
14927
|
+
writer.writeMessage(
|
14657
14928
|
3,
|
14658
|
-
f
|
14929
|
+
f,
|
14930
|
+
proto.user.SegmentSessionRuleItem.serializeBinaryToWriter
|
14659
14931
|
);
|
14660
14932
|
}
|
14661
|
-
f =
|
14933
|
+
f = message.getGameRule();
|
14662
14934
|
if (f != null) {
|
14663
|
-
writer.
|
14935
|
+
writer.writeMessage(
|
14664
14936
|
4,
|
14665
|
-
f
|
14666
|
-
|
14667
|
-
}
|
14668
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
14669
|
-
if (f != null) {
|
14670
|
-
writer.writeInt32(
|
14671
|
-
5,
|
14672
|
-
f
|
14673
|
-
);
|
14674
|
-
}
|
14675
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
14676
|
-
if (f != null) {
|
14677
|
-
writer.writeInt32(
|
14678
|
-
6,
|
14679
|
-
f
|
14680
|
-
);
|
14681
|
-
}
|
14682
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
14683
|
-
if (f != null) {
|
14684
|
-
writer.writeFloat(
|
14685
|
-
7,
|
14686
|
-
f
|
14687
|
-
);
|
14688
|
-
}
|
14689
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
14690
|
-
if (f != null) {
|
14691
|
-
writer.writeFloat(
|
14692
|
-
8,
|
14693
|
-
f
|
14694
|
-
);
|
14695
|
-
}
|
14696
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
14697
|
-
if (f != null) {
|
14698
|
-
writer.writeFloat(
|
14699
|
-
9,
|
14700
|
-
f
|
14701
|
-
);
|
14702
|
-
}
|
14703
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
14704
|
-
if (f != null) {
|
14705
|
-
writer.writeFloat(
|
14706
|
-
10,
|
14707
|
-
f
|
14708
|
-
);
|
14709
|
-
}
|
14710
|
-
f = message.getPaymentProvidersList();
|
14711
|
-
if (f.length > 0) {
|
14712
|
-
writer.writeRepeatedString(
|
14713
|
-
11,
|
14714
|
-
f
|
14715
|
-
);
|
14716
|
-
}
|
14717
|
-
f = message.getPaymentTypesList();
|
14718
|
-
if (f.length > 0) {
|
14719
|
-
writer.writeRepeatedString(
|
14720
|
-
12,
|
14721
|
-
f
|
14722
|
-
);
|
14723
|
-
}
|
14724
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
14725
|
-
if (f != null) {
|
14726
|
-
writer.writeInt32(
|
14727
|
-
13,
|
14728
|
-
f
|
14729
|
-
);
|
14730
|
-
}
|
14731
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
14732
|
-
if (f != null) {
|
14733
|
-
writer.writeString(
|
14734
|
-
14,
|
14735
|
-
f
|
14736
|
-
);
|
14737
|
-
}
|
14738
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
14739
|
-
if (f != null) {
|
14740
|
-
writer.writeInt32(
|
14741
|
-
15,
|
14742
|
-
f
|
14937
|
+
f,
|
14938
|
+
proto.user.SegmentGameRuleItem.serializeBinaryToWriter
|
14743
14939
|
);
|
14744
14940
|
}
|
14745
14941
|
};
|
14746
14942
|
|
14747
14943
|
|
14748
14944
|
/**
|
14749
|
-
* optional
|
14750
|
-
* @return {
|
14945
|
+
* optional SegmentPaymentRuleItem payment_rule = 1;
|
14946
|
+
* @return {?proto.user.SegmentPaymentRuleItem}
|
14751
14947
|
*/
|
14752
|
-
proto.user.
|
14753
|
-
return /** @type
|
14948
|
+
proto.user.SegmentRuleItem.prototype.getPaymentRule = function() {
|
14949
|
+
return /** @type{?proto.user.SegmentPaymentRuleItem} */ (
|
14950
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentPaymentRuleItem, 1));
|
14754
14951
|
};
|
14755
14952
|
|
14756
14953
|
|
14757
14954
|
/**
|
14758
|
-
* @param {
|
14759
|
-
* @return {!proto.user.
|
14760
|
-
|
14761
|
-
proto.user.
|
14762
|
-
return jspb.Message.
|
14955
|
+
* @param {?proto.user.SegmentPaymentRuleItem|undefined} value
|
14956
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
14957
|
+
*/
|
14958
|
+
proto.user.SegmentRuleItem.prototype.setPaymentRule = function(value) {
|
14959
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
14763
14960
|
};
|
14764
14961
|
|
14765
14962
|
|
14766
14963
|
/**
|
14767
|
-
* Clears the field making it undefined.
|
14768
|
-
* @return {!proto.user.
|
14964
|
+
* Clears the message field making it undefined.
|
14965
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
14769
14966
|
*/
|
14770
|
-
proto.user.
|
14771
|
-
return
|
14967
|
+
proto.user.SegmentRuleItem.prototype.clearPaymentRule = function() {
|
14968
|
+
return this.setPaymentRule(undefined);
|
14772
14969
|
};
|
14773
14970
|
|
14774
14971
|
|
@@ -14776,35 +14973,36 @@ proto.user.SegmentPaymentRuleItem.prototype.clearDepositAmountMin = function() {
|
|
14776
14973
|
* Returns whether this field is set.
|
14777
14974
|
* @return {boolean}
|
14778
14975
|
*/
|
14779
|
-
proto.user.
|
14976
|
+
proto.user.SegmentRuleItem.prototype.hasPaymentRule = function() {
|
14780
14977
|
return jspb.Message.getField(this, 1) != null;
|
14781
14978
|
};
|
14782
14979
|
|
14783
14980
|
|
14784
14981
|
/**
|
14785
|
-
* optional
|
14786
|
-
* @return {
|
14982
|
+
* optional SegmentBetRuleItem bet_rule = 2;
|
14983
|
+
* @return {?proto.user.SegmentBetRuleItem}
|
14787
14984
|
*/
|
14788
|
-
proto.user.
|
14789
|
-
return /** @type
|
14985
|
+
proto.user.SegmentRuleItem.prototype.getBetRule = function() {
|
14986
|
+
return /** @type{?proto.user.SegmentBetRuleItem} */ (
|
14987
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentBetRuleItem, 2));
|
14790
14988
|
};
|
14791
14989
|
|
14792
14990
|
|
14793
14991
|
/**
|
14794
|
-
* @param {
|
14795
|
-
* @return {!proto.user.
|
14796
|
-
|
14797
|
-
proto.user.
|
14798
|
-
return jspb.Message.
|
14992
|
+
* @param {?proto.user.SegmentBetRuleItem|undefined} value
|
14993
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
14994
|
+
*/
|
14995
|
+
proto.user.SegmentRuleItem.prototype.setBetRule = function(value) {
|
14996
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
14799
14997
|
};
|
14800
14998
|
|
14801
14999
|
|
14802
15000
|
/**
|
14803
|
-
* Clears the field making it undefined.
|
14804
|
-
* @return {!proto.user.
|
15001
|
+
* Clears the message field making it undefined.
|
15002
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
14805
15003
|
*/
|
14806
|
-
proto.user.
|
14807
|
-
return
|
15004
|
+
proto.user.SegmentRuleItem.prototype.clearBetRule = function() {
|
15005
|
+
return this.setBetRule(undefined);
|
14808
15006
|
};
|
14809
15007
|
|
14810
15008
|
|
@@ -14812,35 +15010,36 @@ proto.user.SegmentPaymentRuleItem.prototype.clearDepositAmountMax = function() {
|
|
14812
15010
|
* Returns whether this field is set.
|
14813
15011
|
* @return {boolean}
|
14814
15012
|
*/
|
14815
|
-
proto.user.
|
15013
|
+
proto.user.SegmentRuleItem.prototype.hasBetRule = function() {
|
14816
15014
|
return jspb.Message.getField(this, 2) != null;
|
14817
15015
|
};
|
14818
15016
|
|
14819
15017
|
|
14820
15018
|
/**
|
14821
|
-
* optional
|
14822
|
-
* @return {
|
15019
|
+
* optional SegmentSessionRuleItem session_rule = 3;
|
15020
|
+
* @return {?proto.user.SegmentSessionRuleItem}
|
14823
15021
|
*/
|
14824
|
-
proto.user.
|
14825
|
-
return /** @type
|
15022
|
+
proto.user.SegmentRuleItem.prototype.getSessionRule = function() {
|
15023
|
+
return /** @type{?proto.user.SegmentSessionRuleItem} */ (
|
15024
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentSessionRuleItem, 3));
|
14826
15025
|
};
|
14827
15026
|
|
14828
15027
|
|
14829
15028
|
/**
|
14830
|
-
* @param {
|
14831
|
-
* @return {!proto.user.
|
14832
|
-
|
14833
|
-
proto.user.
|
14834
|
-
return jspb.Message.
|
15029
|
+
* @param {?proto.user.SegmentSessionRuleItem|undefined} value
|
15030
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
15031
|
+
*/
|
15032
|
+
proto.user.SegmentRuleItem.prototype.setSessionRule = function(value) {
|
15033
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
14835
15034
|
};
|
14836
15035
|
|
14837
15036
|
|
14838
15037
|
/**
|
14839
|
-
* Clears the field making it undefined.
|
14840
|
-
* @return {!proto.user.
|
15038
|
+
* Clears the message field making it undefined.
|
15039
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
14841
15040
|
*/
|
14842
|
-
proto.user.
|
14843
|
-
return
|
15041
|
+
proto.user.SegmentRuleItem.prototype.clearSessionRule = function() {
|
15042
|
+
return this.setSessionRule(undefined);
|
14844
15043
|
};
|
14845
15044
|
|
14846
15045
|
|
@@ -14848,35 +15047,36 @@ proto.user.SegmentPaymentRuleItem.prototype.clearFtdAmountMin = function() {
|
|
14848
15047
|
* Returns whether this field is set.
|
14849
15048
|
* @return {boolean}
|
14850
15049
|
*/
|
14851
|
-
proto.user.
|
15050
|
+
proto.user.SegmentRuleItem.prototype.hasSessionRule = function() {
|
14852
15051
|
return jspb.Message.getField(this, 3) != null;
|
14853
15052
|
};
|
14854
15053
|
|
14855
15054
|
|
14856
15055
|
/**
|
14857
|
-
* optional
|
14858
|
-
* @return {
|
15056
|
+
* optional SegmentGameRuleItem game_rule = 4;
|
15057
|
+
* @return {?proto.user.SegmentGameRuleItem}
|
14859
15058
|
*/
|
14860
|
-
proto.user.
|
14861
|
-
return /** @type
|
15059
|
+
proto.user.SegmentRuleItem.prototype.getGameRule = function() {
|
15060
|
+
return /** @type{?proto.user.SegmentGameRuleItem} */ (
|
15061
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentGameRuleItem, 4));
|
14862
15062
|
};
|
14863
15063
|
|
14864
15064
|
|
14865
15065
|
/**
|
14866
|
-
* @param {
|
14867
|
-
* @return {!proto.user.
|
14868
|
-
|
14869
|
-
proto.user.
|
14870
|
-
return jspb.Message.
|
15066
|
+
* @param {?proto.user.SegmentGameRuleItem|undefined} value
|
15067
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
15068
|
+
*/
|
15069
|
+
proto.user.SegmentRuleItem.prototype.setGameRule = function(value) {
|
15070
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
14871
15071
|
};
|
14872
15072
|
|
14873
15073
|
|
14874
15074
|
/**
|
14875
|
-
* Clears the field making it undefined.
|
14876
|
-
* @return {!proto.user.
|
15075
|
+
* Clears the message field making it undefined.
|
15076
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
14877
15077
|
*/
|
14878
|
-
proto.user.
|
14879
|
-
return
|
15078
|
+
proto.user.SegmentRuleItem.prototype.clearGameRule = function() {
|
15079
|
+
return this.setGameRule(undefined);
|
14880
15080
|
};
|
14881
15081
|
|
14882
15082
|
|
@@ -14884,62 +15084,747 @@ proto.user.SegmentPaymentRuleItem.prototype.clearFtdAmountMax = function() {
|
|
14884
15084
|
* Returns whether this field is set.
|
14885
15085
|
* @return {boolean}
|
14886
15086
|
*/
|
14887
|
-
proto.user.
|
15087
|
+
proto.user.SegmentRuleItem.prototype.hasGameRule = function() {
|
14888
15088
|
return jspb.Message.getField(this, 4) != null;
|
14889
15089
|
};
|
14890
15090
|
|
14891
15091
|
|
14892
|
-
/**
|
14893
|
-
* optional int32 deposit_count_min = 5;
|
14894
|
-
* @return {number}
|
14895
|
-
*/
|
14896
|
-
proto.user.SegmentPaymentRuleItem.prototype.getDepositCountMin = function() {
|
14897
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
14898
|
-
};
|
14899
|
-
|
14900
15092
|
|
14901
15093
|
/**
|
14902
|
-
*
|
14903
|
-
* @
|
15094
|
+
* List of repeated fields within this message type.
|
15095
|
+
* @private {!Array<number>}
|
15096
|
+
* @const
|
14904
15097
|
*/
|
14905
|
-
proto.user.SegmentPaymentRuleItem.
|
14906
|
-
return jspb.Message.setField(this, 5, value);
|
14907
|
-
};
|
14908
|
-
|
15098
|
+
proto.user.SegmentPaymentRuleItem.repeatedFields_ = [11,12];
|
14909
15099
|
|
14910
|
-
/**
|
14911
|
-
* Clears the field making it undefined.
|
14912
|
-
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14913
|
-
*/
|
14914
|
-
proto.user.SegmentPaymentRuleItem.prototype.clearDepositCountMin = function() {
|
14915
|
-
return jspb.Message.setField(this, 5, undefined);
|
14916
|
-
};
|
14917
15100
|
|
14918
15101
|
|
15102
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
14919
15103
|
/**
|
14920
|
-
*
|
14921
|
-
*
|
15104
|
+
* Creates an object representation of this proto.
|
15105
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
15106
|
+
* Optional fields that are not set will be set to undefined.
|
15107
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
15108
|
+
* For the list of reserved names please see:
|
15109
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
15110
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
15111
|
+
* JSPB instance for transitional soy proto support:
|
15112
|
+
* http://goto/soy-param-migration
|
15113
|
+
* @return {!Object}
|
14922
15114
|
*/
|
14923
|
-
proto.user.SegmentPaymentRuleItem.prototype.
|
14924
|
-
return
|
15115
|
+
proto.user.SegmentPaymentRuleItem.prototype.toObject = function(opt_includeInstance) {
|
15116
|
+
return proto.user.SegmentPaymentRuleItem.toObject(opt_includeInstance, this);
|
14925
15117
|
};
|
14926
15118
|
|
14927
15119
|
|
14928
15120
|
/**
|
14929
|
-
*
|
14930
|
-
* @
|
15121
|
+
* Static version of the {@see toObject} method.
|
15122
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
15123
|
+
* the JSPB instance for transitional soy proto support:
|
15124
|
+
* http://goto/soy-param-migration
|
15125
|
+
* @param {!proto.user.SegmentPaymentRuleItem} msg The msg instance to transform.
|
15126
|
+
* @return {!Object}
|
15127
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
14931
15128
|
*/
|
14932
|
-
proto.user.SegmentPaymentRuleItem.
|
14933
|
-
|
14934
|
-
|
15129
|
+
proto.user.SegmentPaymentRuleItem.toObject = function(includeInstance, msg) {
|
15130
|
+
var f, obj = {
|
15131
|
+
depositAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
15132
|
+
depositAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
15133
|
+
ftdAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
15134
|
+
ftdAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
15135
|
+
depositCountMin: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
15136
|
+
depositCountMax: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
15137
|
+
depositSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
15138
|
+
depositSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
15139
|
+
depositAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
15140
|
+
depositAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
15141
|
+
paymentProvidersList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
15142
|
+
paymentTypesList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
|
15143
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
15144
|
+
currency: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
15145
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 15, 0)
|
15146
|
+
};
|
15147
|
+
|
15148
|
+
if (includeInstance) {
|
15149
|
+
obj.$jspbMessageInstance = msg;
|
15150
|
+
}
|
15151
|
+
return obj;
|
15152
|
+
};
|
15153
|
+
}
|
15154
|
+
|
15155
|
+
|
15156
|
+
/**
|
15157
|
+
* Deserializes binary data (in protobuf wire format).
|
15158
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
15159
|
+
* @return {!proto.user.SegmentPaymentRuleItem}
|
15160
|
+
*/
|
15161
|
+
proto.user.SegmentPaymentRuleItem.deserializeBinary = function(bytes) {
|
15162
|
+
var reader = new jspb.BinaryReader(bytes);
|
15163
|
+
var msg = new proto.user.SegmentPaymentRuleItem;
|
15164
|
+
return proto.user.SegmentPaymentRuleItem.deserializeBinaryFromReader(msg, reader);
|
15165
|
+
};
|
15166
|
+
|
15167
|
+
|
15168
|
+
/**
|
15169
|
+
* Deserializes binary data (in protobuf wire format) from the
|
15170
|
+
* given reader into the given message object.
|
15171
|
+
* @param {!proto.user.SegmentPaymentRuleItem} msg The message object to deserialize into.
|
15172
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
15173
|
+
* @return {!proto.user.SegmentPaymentRuleItem}
|
15174
|
+
*/
|
15175
|
+
proto.user.SegmentPaymentRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
15176
|
+
while (reader.nextField()) {
|
15177
|
+
if (reader.isEndGroup()) {
|
15178
|
+
break;
|
15179
|
+
}
|
15180
|
+
var field = reader.getFieldNumber();
|
15181
|
+
switch (field) {
|
15182
|
+
case 1:
|
15183
|
+
var value = /** @type {number} */ (reader.readFloat());
|
15184
|
+
msg.setDepositAmountMin(value);
|
15185
|
+
break;
|
15186
|
+
case 2:
|
15187
|
+
var value = /** @type {number} */ (reader.readFloat());
|
15188
|
+
msg.setDepositAmountMax(value);
|
15189
|
+
break;
|
15190
|
+
case 3:
|
15191
|
+
var value = /** @type {number} */ (reader.readFloat());
|
15192
|
+
msg.setFtdAmountMin(value);
|
15193
|
+
break;
|
15194
|
+
case 4:
|
15195
|
+
var value = /** @type {number} */ (reader.readFloat());
|
15196
|
+
msg.setFtdAmountMax(value);
|
15197
|
+
break;
|
15198
|
+
case 5:
|
15199
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15200
|
+
msg.setDepositCountMin(value);
|
15201
|
+
break;
|
15202
|
+
case 6:
|
15203
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15204
|
+
msg.setDepositCountMax(value);
|
15205
|
+
break;
|
15206
|
+
case 7:
|
15207
|
+
var value = /** @type {number} */ (reader.readFloat());
|
15208
|
+
msg.setDepositSumMin(value);
|
15209
|
+
break;
|
15210
|
+
case 8:
|
15211
|
+
var value = /** @type {number} */ (reader.readFloat());
|
15212
|
+
msg.setDepositSumMax(value);
|
15213
|
+
break;
|
15214
|
+
case 9:
|
15215
|
+
var value = /** @type {number} */ (reader.readFloat());
|
15216
|
+
msg.setDepositAvgMin(value);
|
15217
|
+
break;
|
15218
|
+
case 10:
|
15219
|
+
var value = /** @type {number} */ (reader.readFloat());
|
15220
|
+
msg.setDepositAvgMax(value);
|
15221
|
+
break;
|
15222
|
+
case 11:
|
15223
|
+
var value = /** @type {string} */ (reader.readString());
|
15224
|
+
msg.addPaymentProviders(value);
|
15225
|
+
break;
|
15226
|
+
case 12:
|
15227
|
+
var value = /** @type {string} */ (reader.readString());
|
15228
|
+
msg.addPaymentTypes(value);
|
15229
|
+
break;
|
15230
|
+
case 13:
|
15231
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15232
|
+
msg.setSegmentId(value);
|
15233
|
+
break;
|
15234
|
+
case 14:
|
15235
|
+
var value = /** @type {string} */ (reader.readString());
|
15236
|
+
msg.setCurrency(value);
|
15237
|
+
break;
|
15238
|
+
case 15:
|
15239
|
+
var value = /** @type {number} */ (reader.readInt32());
|
15240
|
+
msg.setIsActive(value);
|
15241
|
+
break;
|
15242
|
+
default:
|
15243
|
+
reader.skipField();
|
15244
|
+
break;
|
15245
|
+
}
|
15246
|
+
}
|
15247
|
+
return msg;
|
15248
|
+
};
|
15249
|
+
|
15250
|
+
|
15251
|
+
/**
|
15252
|
+
* Serializes the message to binary data (in protobuf wire format).
|
15253
|
+
* @return {!Uint8Array}
|
15254
|
+
*/
|
15255
|
+
proto.user.SegmentPaymentRuleItem.prototype.serializeBinary = function() {
|
15256
|
+
var writer = new jspb.BinaryWriter();
|
15257
|
+
proto.user.SegmentPaymentRuleItem.serializeBinaryToWriter(this, writer);
|
15258
|
+
return writer.getResultBuffer();
|
15259
|
+
};
|
15260
|
+
|
15261
|
+
|
15262
|
+
/**
|
15263
|
+
* Serializes the given message to binary data (in protobuf wire
|
15264
|
+
* format), writing to the given BinaryWriter.
|
15265
|
+
* @param {!proto.user.SegmentPaymentRuleItem} message
|
15266
|
+
* @param {!jspb.BinaryWriter} writer
|
15267
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
15268
|
+
*/
|
15269
|
+
proto.user.SegmentPaymentRuleItem.serializeBinaryToWriter = function(message, writer) {
|
15270
|
+
var f = undefined;
|
15271
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
15272
|
+
if (f != null) {
|
15273
|
+
writer.writeFloat(
|
15274
|
+
1,
|
15275
|
+
f
|
15276
|
+
);
|
15277
|
+
}
|
15278
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
15279
|
+
if (f != null) {
|
15280
|
+
writer.writeFloat(
|
15281
|
+
2,
|
15282
|
+
f
|
15283
|
+
);
|
15284
|
+
}
|
15285
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
15286
|
+
if (f != null) {
|
15287
|
+
writer.writeFloat(
|
15288
|
+
3,
|
15289
|
+
f
|
15290
|
+
);
|
15291
|
+
}
|
15292
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
15293
|
+
if (f != null) {
|
15294
|
+
writer.writeFloat(
|
15295
|
+
4,
|
15296
|
+
f
|
15297
|
+
);
|
15298
|
+
}
|
15299
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
15300
|
+
if (f != null) {
|
15301
|
+
writer.writeInt32(
|
15302
|
+
5,
|
15303
|
+
f
|
15304
|
+
);
|
15305
|
+
}
|
15306
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
15307
|
+
if (f != null) {
|
15308
|
+
writer.writeInt32(
|
15309
|
+
6,
|
15310
|
+
f
|
15311
|
+
);
|
15312
|
+
}
|
15313
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
15314
|
+
if (f != null) {
|
15315
|
+
writer.writeFloat(
|
15316
|
+
7,
|
15317
|
+
f
|
15318
|
+
);
|
15319
|
+
}
|
15320
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
15321
|
+
if (f != null) {
|
15322
|
+
writer.writeFloat(
|
15323
|
+
8,
|
15324
|
+
f
|
15325
|
+
);
|
15326
|
+
}
|
15327
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
15328
|
+
if (f != null) {
|
15329
|
+
writer.writeFloat(
|
15330
|
+
9,
|
15331
|
+
f
|
15332
|
+
);
|
15333
|
+
}
|
15334
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
15335
|
+
if (f != null) {
|
15336
|
+
writer.writeFloat(
|
15337
|
+
10,
|
15338
|
+
f
|
15339
|
+
);
|
15340
|
+
}
|
15341
|
+
f = message.getPaymentProvidersList();
|
15342
|
+
if (f.length > 0) {
|
15343
|
+
writer.writeRepeatedString(
|
15344
|
+
11,
|
15345
|
+
f
|
15346
|
+
);
|
15347
|
+
}
|
15348
|
+
f = message.getPaymentTypesList();
|
15349
|
+
if (f.length > 0) {
|
15350
|
+
writer.writeRepeatedString(
|
15351
|
+
12,
|
15352
|
+
f
|
15353
|
+
);
|
15354
|
+
}
|
15355
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
15356
|
+
if (f != null) {
|
15357
|
+
writer.writeInt32(
|
15358
|
+
13,
|
15359
|
+
f
|
15360
|
+
);
|
15361
|
+
}
|
15362
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
15363
|
+
if (f != null) {
|
15364
|
+
writer.writeString(
|
15365
|
+
14,
|
15366
|
+
f
|
15367
|
+
);
|
15368
|
+
}
|
15369
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
15370
|
+
if (f != null) {
|
15371
|
+
writer.writeInt32(
|
15372
|
+
15,
|
15373
|
+
f
|
15374
|
+
);
|
15375
|
+
}
|
15376
|
+
};
|
15377
|
+
|
15378
|
+
|
15379
|
+
/**
|
15380
|
+
* optional float deposit_amount_min = 1;
|
15381
|
+
* @return {number}
|
15382
|
+
*/
|
15383
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositAmountMin = function() {
|
15384
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
15385
|
+
};
|
15386
|
+
|
15387
|
+
|
15388
|
+
/**
|
15389
|
+
* @param {number} value
|
15390
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15391
|
+
*/
|
15392
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositAmountMin = function(value) {
|
15393
|
+
return jspb.Message.setField(this, 1, value);
|
15394
|
+
};
|
15395
|
+
|
15396
|
+
|
15397
|
+
/**
|
15398
|
+
* Clears the field making it undefined.
|
15399
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15400
|
+
*/
|
15401
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositAmountMin = function() {
|
15402
|
+
return jspb.Message.setField(this, 1, undefined);
|
15403
|
+
};
|
15404
|
+
|
15405
|
+
|
15406
|
+
/**
|
15407
|
+
* Returns whether this field is set.
|
15408
|
+
* @return {boolean}
|
15409
|
+
*/
|
15410
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositAmountMin = function() {
|
15411
|
+
return jspb.Message.getField(this, 1) != null;
|
15412
|
+
};
|
15413
|
+
|
15414
|
+
|
15415
|
+
/**
|
15416
|
+
* optional float deposit_amount_max = 2;
|
15417
|
+
* @return {number}
|
15418
|
+
*/
|
15419
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositAmountMax = function() {
|
15420
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
15421
|
+
};
|
15422
|
+
|
15423
|
+
|
15424
|
+
/**
|
15425
|
+
* @param {number} value
|
15426
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15427
|
+
*/
|
15428
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositAmountMax = function(value) {
|
15429
|
+
return jspb.Message.setField(this, 2, value);
|
15430
|
+
};
|
15431
|
+
|
15432
|
+
|
15433
|
+
/**
|
15434
|
+
* Clears the field making it undefined.
|
15435
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15436
|
+
*/
|
15437
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositAmountMax = function() {
|
15438
|
+
return jspb.Message.setField(this, 2, undefined);
|
15439
|
+
};
|
15440
|
+
|
15441
|
+
|
15442
|
+
/**
|
15443
|
+
* Returns whether this field is set.
|
15444
|
+
* @return {boolean}
|
15445
|
+
*/
|
15446
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositAmountMax = function() {
|
15447
|
+
return jspb.Message.getField(this, 2) != null;
|
15448
|
+
};
|
15449
|
+
|
15450
|
+
|
15451
|
+
/**
|
15452
|
+
* optional float ftd_amount_min = 3;
|
15453
|
+
* @return {number}
|
15454
|
+
*/
|
15455
|
+
proto.user.SegmentPaymentRuleItem.prototype.getFtdAmountMin = function() {
|
15456
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
15457
|
+
};
|
15458
|
+
|
15459
|
+
|
15460
|
+
/**
|
15461
|
+
* @param {number} value
|
15462
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15463
|
+
*/
|
15464
|
+
proto.user.SegmentPaymentRuleItem.prototype.setFtdAmountMin = function(value) {
|
15465
|
+
return jspb.Message.setField(this, 3, value);
|
15466
|
+
};
|
15467
|
+
|
15468
|
+
|
15469
|
+
/**
|
15470
|
+
* Clears the field making it undefined.
|
15471
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15472
|
+
*/
|
15473
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearFtdAmountMin = function() {
|
15474
|
+
return jspb.Message.setField(this, 3, undefined);
|
15475
|
+
};
|
15476
|
+
|
15477
|
+
|
15478
|
+
/**
|
15479
|
+
* Returns whether this field is set.
|
15480
|
+
* @return {boolean}
|
15481
|
+
*/
|
15482
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasFtdAmountMin = function() {
|
15483
|
+
return jspb.Message.getField(this, 3) != null;
|
15484
|
+
};
|
15485
|
+
|
15486
|
+
|
15487
|
+
/**
|
15488
|
+
* optional float ftd_amount_max = 4;
|
15489
|
+
* @return {number}
|
15490
|
+
*/
|
15491
|
+
proto.user.SegmentPaymentRuleItem.prototype.getFtdAmountMax = function() {
|
15492
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
15493
|
+
};
|
15494
|
+
|
15495
|
+
|
15496
|
+
/**
|
15497
|
+
* @param {number} value
|
15498
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15499
|
+
*/
|
15500
|
+
proto.user.SegmentPaymentRuleItem.prototype.setFtdAmountMax = function(value) {
|
15501
|
+
return jspb.Message.setField(this, 4, value);
|
15502
|
+
};
|
15503
|
+
|
15504
|
+
|
15505
|
+
/**
|
15506
|
+
* Clears the field making it undefined.
|
15507
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15508
|
+
*/
|
15509
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearFtdAmountMax = function() {
|
15510
|
+
return jspb.Message.setField(this, 4, undefined);
|
15511
|
+
};
|
15512
|
+
|
15513
|
+
|
15514
|
+
/**
|
15515
|
+
* Returns whether this field is set.
|
15516
|
+
* @return {boolean}
|
15517
|
+
*/
|
15518
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasFtdAmountMax = function() {
|
15519
|
+
return jspb.Message.getField(this, 4) != null;
|
15520
|
+
};
|
15521
|
+
|
15522
|
+
|
15523
|
+
/**
|
15524
|
+
* optional int32 deposit_count_min = 5;
|
15525
|
+
* @return {number}
|
15526
|
+
*/
|
15527
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositCountMin = function() {
|
15528
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
15529
|
+
};
|
15530
|
+
|
15531
|
+
|
15532
|
+
/**
|
15533
|
+
* @param {number} value
|
15534
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15535
|
+
*/
|
15536
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositCountMin = function(value) {
|
15537
|
+
return jspb.Message.setField(this, 5, value);
|
15538
|
+
};
|
15539
|
+
|
15540
|
+
|
15541
|
+
/**
|
15542
|
+
* Clears the field making it undefined.
|
15543
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15544
|
+
*/
|
15545
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositCountMin = function() {
|
15546
|
+
return jspb.Message.setField(this, 5, undefined);
|
15547
|
+
};
|
15548
|
+
|
15549
|
+
|
15550
|
+
/**
|
15551
|
+
* Returns whether this field is set.
|
15552
|
+
* @return {boolean}
|
15553
|
+
*/
|
15554
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositCountMin = function() {
|
15555
|
+
return jspb.Message.getField(this, 5) != null;
|
15556
|
+
};
|
15557
|
+
|
15558
|
+
|
15559
|
+
/**
|
15560
|
+
* optional int32 deposit_count_max = 6;
|
15561
|
+
* @return {number}
|
15562
|
+
*/
|
15563
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositCountMax = function() {
|
15564
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
15565
|
+
};
|
15566
|
+
|
15567
|
+
|
15568
|
+
/**
|
15569
|
+
* @param {number} value
|
15570
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15571
|
+
*/
|
15572
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositCountMax = function(value) {
|
15573
|
+
return jspb.Message.setField(this, 6, value);
|
15574
|
+
};
|
15575
|
+
|
15576
|
+
|
15577
|
+
/**
|
15578
|
+
* Clears the field making it undefined.
|
15579
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15580
|
+
*/
|
15581
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositCountMax = function() {
|
15582
|
+
return jspb.Message.setField(this, 6, undefined);
|
15583
|
+
};
|
15584
|
+
|
15585
|
+
|
15586
|
+
/**
|
15587
|
+
* Returns whether this field is set.
|
15588
|
+
* @return {boolean}
|
15589
|
+
*/
|
15590
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositCountMax = function() {
|
15591
|
+
return jspb.Message.getField(this, 6) != null;
|
15592
|
+
};
|
15593
|
+
|
15594
|
+
|
15595
|
+
/**
|
15596
|
+
* optional float deposit_sum_min = 7;
|
15597
|
+
* @return {number}
|
15598
|
+
*/
|
15599
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositSumMin = function() {
|
15600
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
15601
|
+
};
|
15602
|
+
|
15603
|
+
|
15604
|
+
/**
|
15605
|
+
* @param {number} value
|
15606
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15607
|
+
*/
|
15608
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositSumMin = function(value) {
|
15609
|
+
return jspb.Message.setField(this, 7, value);
|
15610
|
+
};
|
15611
|
+
|
15612
|
+
|
15613
|
+
/**
|
15614
|
+
* Clears the field making it undefined.
|
15615
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15616
|
+
*/
|
15617
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositSumMin = function() {
|
15618
|
+
return jspb.Message.setField(this, 7, undefined);
|
15619
|
+
};
|
15620
|
+
|
15621
|
+
|
15622
|
+
/**
|
15623
|
+
* Returns whether this field is set.
|
15624
|
+
* @return {boolean}
|
15625
|
+
*/
|
15626
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositSumMin = function() {
|
15627
|
+
return jspb.Message.getField(this, 7) != null;
|
15628
|
+
};
|
15629
|
+
|
15630
|
+
|
15631
|
+
/**
|
15632
|
+
* optional float deposit_sum_max = 8;
|
15633
|
+
* @return {number}
|
15634
|
+
*/
|
15635
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositSumMax = function() {
|
15636
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
15637
|
+
};
|
15638
|
+
|
15639
|
+
|
15640
|
+
/**
|
15641
|
+
* @param {number} value
|
15642
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15643
|
+
*/
|
15644
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositSumMax = function(value) {
|
15645
|
+
return jspb.Message.setField(this, 8, value);
|
15646
|
+
};
|
15647
|
+
|
15648
|
+
|
15649
|
+
/**
|
15650
|
+
* Clears the field making it undefined.
|
15651
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15652
|
+
*/
|
15653
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositSumMax = function() {
|
15654
|
+
return jspb.Message.setField(this, 8, undefined);
|
15655
|
+
};
|
15656
|
+
|
15657
|
+
|
15658
|
+
/**
|
15659
|
+
* Returns whether this field is set.
|
15660
|
+
* @return {boolean}
|
15661
|
+
*/
|
15662
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositSumMax = function() {
|
15663
|
+
return jspb.Message.getField(this, 8) != null;
|
15664
|
+
};
|
15665
|
+
|
15666
|
+
|
15667
|
+
/**
|
15668
|
+
* optional float deposit_avg_min = 9;
|
15669
|
+
* @return {number}
|
15670
|
+
*/
|
15671
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositAvgMin = function() {
|
15672
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
15673
|
+
};
|
15674
|
+
|
15675
|
+
|
15676
|
+
/**
|
15677
|
+
* @param {number} value
|
15678
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15679
|
+
*/
|
15680
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositAvgMin = function(value) {
|
15681
|
+
return jspb.Message.setField(this, 9, value);
|
15682
|
+
};
|
15683
|
+
|
15684
|
+
|
15685
|
+
/**
|
15686
|
+
* Clears the field making it undefined.
|
15687
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15688
|
+
*/
|
15689
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositAvgMin = function() {
|
15690
|
+
return jspb.Message.setField(this, 9, undefined);
|
15691
|
+
};
|
15692
|
+
|
15693
|
+
|
15694
|
+
/**
|
15695
|
+
* Returns whether this field is set.
|
15696
|
+
* @return {boolean}
|
15697
|
+
*/
|
15698
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositAvgMin = function() {
|
15699
|
+
return jspb.Message.getField(this, 9) != null;
|
15700
|
+
};
|
15701
|
+
|
15702
|
+
|
15703
|
+
/**
|
15704
|
+
* optional float deposit_avg_max = 10;
|
15705
|
+
* @return {number}
|
15706
|
+
*/
|
15707
|
+
proto.user.SegmentPaymentRuleItem.prototype.getDepositAvgMax = function() {
|
15708
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
15709
|
+
};
|
15710
|
+
|
15711
|
+
|
15712
|
+
/**
|
15713
|
+
* @param {number} value
|
15714
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15715
|
+
*/
|
15716
|
+
proto.user.SegmentPaymentRuleItem.prototype.setDepositAvgMax = function(value) {
|
15717
|
+
return jspb.Message.setField(this, 10, value);
|
15718
|
+
};
|
15719
|
+
|
15720
|
+
|
15721
|
+
/**
|
15722
|
+
* Clears the field making it undefined.
|
15723
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15724
|
+
*/
|
15725
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearDepositAvgMax = function() {
|
15726
|
+
return jspb.Message.setField(this, 10, undefined);
|
15727
|
+
};
|
15728
|
+
|
15729
|
+
|
15730
|
+
/**
|
15731
|
+
* Returns whether this field is set.
|
15732
|
+
* @return {boolean}
|
15733
|
+
*/
|
15734
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasDepositAvgMax = function() {
|
15735
|
+
return jspb.Message.getField(this, 10) != null;
|
15736
|
+
};
|
15737
|
+
|
15738
|
+
|
15739
|
+
/**
|
15740
|
+
* repeated string payment_providers = 11;
|
15741
|
+
* @return {!Array<string>}
|
15742
|
+
*/
|
15743
|
+
proto.user.SegmentPaymentRuleItem.prototype.getPaymentProvidersList = function() {
|
15744
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
|
15745
|
+
};
|
15746
|
+
|
15747
|
+
|
15748
|
+
/**
|
15749
|
+
* @param {!Array<string>} value
|
15750
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15751
|
+
*/
|
15752
|
+
proto.user.SegmentPaymentRuleItem.prototype.setPaymentProvidersList = function(value) {
|
15753
|
+
return jspb.Message.setField(this, 11, value || []);
|
15754
|
+
};
|
15755
|
+
|
15756
|
+
|
15757
|
+
/**
|
15758
|
+
* @param {string} value
|
15759
|
+
* @param {number=} opt_index
|
15760
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15761
|
+
*/
|
15762
|
+
proto.user.SegmentPaymentRuleItem.prototype.addPaymentProviders = function(value, opt_index) {
|
15763
|
+
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
15764
|
+
};
|
15765
|
+
|
15766
|
+
|
15767
|
+
/**
|
15768
|
+
* Clears the list making it empty but non-null.
|
15769
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15770
|
+
*/
|
15771
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearPaymentProvidersList = function() {
|
15772
|
+
return this.setPaymentProvidersList([]);
|
15773
|
+
};
|
15774
|
+
|
15775
|
+
|
15776
|
+
/**
|
15777
|
+
* repeated string payment_types = 12;
|
15778
|
+
* @return {!Array<string>}
|
15779
|
+
*/
|
15780
|
+
proto.user.SegmentPaymentRuleItem.prototype.getPaymentTypesList = function() {
|
15781
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 12));
|
15782
|
+
};
|
15783
|
+
|
15784
|
+
|
15785
|
+
/**
|
15786
|
+
* @param {!Array<string>} value
|
15787
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15788
|
+
*/
|
15789
|
+
proto.user.SegmentPaymentRuleItem.prototype.setPaymentTypesList = function(value) {
|
15790
|
+
return jspb.Message.setField(this, 12, value || []);
|
15791
|
+
};
|
15792
|
+
|
15793
|
+
|
15794
|
+
/**
|
15795
|
+
* @param {string} value
|
15796
|
+
* @param {number=} opt_index
|
15797
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15798
|
+
*/
|
15799
|
+
proto.user.SegmentPaymentRuleItem.prototype.addPaymentTypes = function(value, opt_index) {
|
15800
|
+
return jspb.Message.addToRepeatedField(this, 12, value, opt_index);
|
15801
|
+
};
|
15802
|
+
|
15803
|
+
|
15804
|
+
/**
|
15805
|
+
* Clears the list making it empty but non-null.
|
15806
|
+
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15807
|
+
*/
|
15808
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearPaymentTypesList = function() {
|
15809
|
+
return this.setPaymentTypesList([]);
|
15810
|
+
};
|
15811
|
+
|
15812
|
+
|
15813
|
+
/**
|
15814
|
+
* optional int32 segment_id = 13;
|
15815
|
+
* @return {number}
|
15816
|
+
*/
|
15817
|
+
proto.user.SegmentPaymentRuleItem.prototype.getSegmentId = function() {
|
15818
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
15819
|
+
};
|
14935
15820
|
|
14936
15821
|
|
14937
15822
|
/**
|
14938
15823
|
* @param {number} value
|
14939
15824
|
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14940
15825
|
*/
|
14941
|
-
proto.user.SegmentPaymentRuleItem.prototype.
|
14942
|
-
return jspb.Message.setField(this,
|
15826
|
+
proto.user.SegmentPaymentRuleItem.prototype.setSegmentId = function(value) {
|
15827
|
+
return jspb.Message.setField(this, 13, value);
|
14943
15828
|
};
|
14944
15829
|
|
14945
15830
|
|
@@ -14947,8 +15832,8 @@ proto.user.SegmentPaymentRuleItem.prototype.setDepositCountMax = function(value)
|
|
14947
15832
|
* Clears the field making it undefined.
|
14948
15833
|
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14949
15834
|
*/
|
14950
|
-
proto.user.SegmentPaymentRuleItem.prototype.
|
14951
|
-
return jspb.Message.setField(this,
|
15835
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearSegmentId = function() {
|
15836
|
+
return jspb.Message.setField(this, 13, undefined);
|
14952
15837
|
};
|
14953
15838
|
|
14954
15839
|
|
@@ -14956,26 +15841,26 @@ proto.user.SegmentPaymentRuleItem.prototype.clearDepositCountMax = function() {
|
|
14956
15841
|
* Returns whether this field is set.
|
14957
15842
|
* @return {boolean}
|
14958
15843
|
*/
|
14959
|
-
proto.user.SegmentPaymentRuleItem.prototype.
|
14960
|
-
return jspb.Message.getField(this,
|
15844
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasSegmentId = function() {
|
15845
|
+
return jspb.Message.getField(this, 13) != null;
|
14961
15846
|
};
|
14962
15847
|
|
14963
15848
|
|
14964
15849
|
/**
|
14965
|
-
* optional
|
14966
|
-
* @return {
|
15850
|
+
* optional string currency = 14;
|
15851
|
+
* @return {string}
|
14967
15852
|
*/
|
14968
|
-
proto.user.SegmentPaymentRuleItem.prototype.
|
14969
|
-
return /** @type {
|
15853
|
+
proto.user.SegmentPaymentRuleItem.prototype.getCurrency = function() {
|
15854
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
14970
15855
|
};
|
14971
15856
|
|
14972
15857
|
|
14973
15858
|
/**
|
14974
|
-
* @param {
|
15859
|
+
* @param {string} value
|
14975
15860
|
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14976
15861
|
*/
|
14977
|
-
proto.user.SegmentPaymentRuleItem.prototype.
|
14978
|
-
return jspb.Message.setField(this,
|
15862
|
+
proto.user.SegmentPaymentRuleItem.prototype.setCurrency = function(value) {
|
15863
|
+
return jspb.Message.setField(this, 14, value);
|
14979
15864
|
};
|
14980
15865
|
|
14981
15866
|
|
@@ -14983,8 +15868,8 @@ proto.user.SegmentPaymentRuleItem.prototype.setDepositSumMin = function(value) {
|
|
14983
15868
|
* Clears the field making it undefined.
|
14984
15869
|
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
14985
15870
|
*/
|
14986
|
-
proto.user.SegmentPaymentRuleItem.prototype.
|
14987
|
-
return jspb.Message.setField(this,
|
15871
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearCurrency = function() {
|
15872
|
+
return jspb.Message.setField(this, 14, undefined);
|
14988
15873
|
};
|
14989
15874
|
|
14990
15875
|
|
@@ -14992,17 +15877,17 @@ proto.user.SegmentPaymentRuleItem.prototype.clearDepositSumMin = function() {
|
|
14992
15877
|
* Returns whether this field is set.
|
14993
15878
|
* @return {boolean}
|
14994
15879
|
*/
|
14995
|
-
proto.user.SegmentPaymentRuleItem.prototype.
|
14996
|
-
return jspb.Message.getField(this,
|
15880
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasCurrency = function() {
|
15881
|
+
return jspb.Message.getField(this, 14) != null;
|
14997
15882
|
};
|
14998
15883
|
|
14999
15884
|
|
15000
15885
|
/**
|
15001
|
-
* optional
|
15886
|
+
* optional int32 is_active = 15;
|
15002
15887
|
* @return {number}
|
15003
15888
|
*/
|
15004
|
-
proto.user.SegmentPaymentRuleItem.prototype.
|
15005
|
-
return /** @type {number} */ (jspb.Message.
|
15889
|
+
proto.user.SegmentPaymentRuleItem.prototype.getIsActive = function() {
|
15890
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
15006
15891
|
};
|
15007
15892
|
|
15008
15893
|
|
@@ -15010,8 +15895,8 @@ proto.user.SegmentPaymentRuleItem.prototype.getDepositSumMax = function() {
|
|
15010
15895
|
* @param {number} value
|
15011
15896
|
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15012
15897
|
*/
|
15013
|
-
proto.user.SegmentPaymentRuleItem.prototype.
|
15014
|
-
return jspb.Message.setField(this,
|
15898
|
+
proto.user.SegmentPaymentRuleItem.prototype.setIsActive = function(value) {
|
15899
|
+
return jspb.Message.setField(this, 15, value);
|
15015
15900
|
};
|
15016
15901
|
|
15017
15902
|
|
@@ -15019,8 +15904,8 @@ proto.user.SegmentPaymentRuleItem.prototype.setDepositSumMax = function(value) {
|
|
15019
15904
|
* Clears the field making it undefined.
|
15020
15905
|
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15021
15906
|
*/
|
15022
|
-
proto.user.SegmentPaymentRuleItem.prototype.
|
15023
|
-
return jspb.Message.setField(this,
|
15907
|
+
proto.user.SegmentPaymentRuleItem.prototype.clearIsActive = function() {
|
15908
|
+
return jspb.Message.setField(this, 15, undefined);
|
15024
15909
|
};
|
15025
15910
|
|
15026
15911
|
|
@@ -15028,71 +15913,363 @@ proto.user.SegmentPaymentRuleItem.prototype.clearDepositSumMax = function() {
|
|
15028
15913
|
* Returns whether this field is set.
|
15029
15914
|
* @return {boolean}
|
15030
15915
|
*/
|
15031
|
-
proto.user.SegmentPaymentRuleItem.prototype.
|
15032
|
-
return jspb.Message.getField(this,
|
15916
|
+
proto.user.SegmentPaymentRuleItem.prototype.hasIsActive = function() {
|
15917
|
+
return jspb.Message.getField(this, 15) != null;
|
15033
15918
|
};
|
15034
15919
|
|
15035
15920
|
|
15921
|
+
|
15922
|
+
|
15923
|
+
|
15924
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
15036
15925
|
/**
|
15037
|
-
*
|
15038
|
-
*
|
15926
|
+
* Creates an object representation of this proto.
|
15927
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
15928
|
+
* Optional fields that are not set will be set to undefined.
|
15929
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
15930
|
+
* For the list of reserved names please see:
|
15931
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
15932
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
15933
|
+
* JSPB instance for transitional soy proto support:
|
15934
|
+
* http://goto/soy-param-migration
|
15935
|
+
* @return {!Object}
|
15039
15936
|
*/
|
15040
|
-
proto.user.
|
15041
|
-
return
|
15937
|
+
proto.user.SegmentBetRuleItem.prototype.toObject = function(opt_includeInstance) {
|
15938
|
+
return proto.user.SegmentBetRuleItem.toObject(opt_includeInstance, this);
|
15042
15939
|
};
|
15043
15940
|
|
15044
15941
|
|
15045
15942
|
/**
|
15046
|
-
* @
|
15047
|
-
* @
|
15943
|
+
* Static version of the {@see toObject} method.
|
15944
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
15945
|
+
* the JSPB instance for transitional soy proto support:
|
15946
|
+
* http://goto/soy-param-migration
|
15947
|
+
* @param {!proto.user.SegmentBetRuleItem} msg The msg instance to transform.
|
15948
|
+
* @return {!Object}
|
15949
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
15048
15950
|
*/
|
15049
|
-
proto.user.
|
15050
|
-
|
15951
|
+
proto.user.SegmentBetRuleItem.toObject = function(includeInstance, msg) {
|
15952
|
+
var f, obj = {
|
15953
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
15954
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
15955
|
+
betAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
15956
|
+
betAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
15957
|
+
betCountMin: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
15958
|
+
betCountMax: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
15959
|
+
betSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
15960
|
+
betSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
15961
|
+
betAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
15962
|
+
betAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
15963
|
+
winAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
15964
|
+
winAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
15965
|
+
winCountMin: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
15966
|
+
winCountMax: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
15967
|
+
winSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
15968
|
+
winSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
15969
|
+
winAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
|
15970
|
+
winAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
|
15971
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 19, 0)
|
15972
|
+
};
|
15973
|
+
|
15974
|
+
if (includeInstance) {
|
15975
|
+
obj.$jspbMessageInstance = msg;
|
15976
|
+
}
|
15977
|
+
return obj;
|
15978
|
+
};
|
15979
|
+
}
|
15980
|
+
|
15981
|
+
|
15982
|
+
/**
|
15983
|
+
* Deserializes binary data (in protobuf wire format).
|
15984
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
15985
|
+
* @return {!proto.user.SegmentBetRuleItem}
|
15986
|
+
*/
|
15987
|
+
proto.user.SegmentBetRuleItem.deserializeBinary = function(bytes) {
|
15988
|
+
var reader = new jspb.BinaryReader(bytes);
|
15989
|
+
var msg = new proto.user.SegmentBetRuleItem;
|
15990
|
+
return proto.user.SegmentBetRuleItem.deserializeBinaryFromReader(msg, reader);
|
15991
|
+
};
|
15992
|
+
|
15993
|
+
|
15994
|
+
/**
|
15995
|
+
* Deserializes binary data (in protobuf wire format) from the
|
15996
|
+
* given reader into the given message object.
|
15997
|
+
* @param {!proto.user.SegmentBetRuleItem} msg The message object to deserialize into.
|
15998
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
15999
|
+
* @return {!proto.user.SegmentBetRuleItem}
|
16000
|
+
*/
|
16001
|
+
proto.user.SegmentBetRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
16002
|
+
while (reader.nextField()) {
|
16003
|
+
if (reader.isEndGroup()) {
|
16004
|
+
break;
|
16005
|
+
}
|
16006
|
+
var field = reader.getFieldNumber();
|
16007
|
+
switch (field) {
|
16008
|
+
case 1:
|
16009
|
+
var value = /** @type {number} */ (reader.readInt32());
|
16010
|
+
msg.setSegmentId(value);
|
16011
|
+
break;
|
16012
|
+
case 2:
|
16013
|
+
var value = /** @type {string} */ (reader.readString());
|
16014
|
+
msg.setCurrency(value);
|
16015
|
+
break;
|
16016
|
+
case 3:
|
16017
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16018
|
+
msg.setBetAmountMin(value);
|
16019
|
+
break;
|
16020
|
+
case 4:
|
16021
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16022
|
+
msg.setBetAmountMax(value);
|
16023
|
+
break;
|
16024
|
+
case 5:
|
16025
|
+
var value = /** @type {number} */ (reader.readInt32());
|
16026
|
+
msg.setBetCountMin(value);
|
16027
|
+
break;
|
16028
|
+
case 6:
|
16029
|
+
var value = /** @type {number} */ (reader.readInt32());
|
16030
|
+
msg.setBetCountMax(value);
|
16031
|
+
break;
|
16032
|
+
case 7:
|
16033
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16034
|
+
msg.setBetSumMin(value);
|
16035
|
+
break;
|
16036
|
+
case 8:
|
16037
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16038
|
+
msg.setBetSumMax(value);
|
16039
|
+
break;
|
16040
|
+
case 9:
|
16041
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16042
|
+
msg.setBetAvgMin(value);
|
16043
|
+
break;
|
16044
|
+
case 10:
|
16045
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16046
|
+
msg.setBetAvgMax(value);
|
16047
|
+
break;
|
16048
|
+
case 11:
|
16049
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16050
|
+
msg.setWinAmountMin(value);
|
16051
|
+
break;
|
16052
|
+
case 12:
|
16053
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16054
|
+
msg.setWinAmountMax(value);
|
16055
|
+
break;
|
16056
|
+
case 13:
|
16057
|
+
var value = /** @type {number} */ (reader.readInt32());
|
16058
|
+
msg.setWinCountMin(value);
|
16059
|
+
break;
|
16060
|
+
case 14:
|
16061
|
+
var value = /** @type {number} */ (reader.readInt32());
|
16062
|
+
msg.setWinCountMax(value);
|
16063
|
+
break;
|
16064
|
+
case 15:
|
16065
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16066
|
+
msg.setWinSumMin(value);
|
16067
|
+
break;
|
16068
|
+
case 16:
|
16069
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16070
|
+
msg.setWinSumMax(value);
|
16071
|
+
break;
|
16072
|
+
case 17:
|
16073
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16074
|
+
msg.setWinAvgMin(value);
|
16075
|
+
break;
|
16076
|
+
case 18:
|
16077
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16078
|
+
msg.setWinAvgMax(value);
|
16079
|
+
break;
|
16080
|
+
case 19:
|
16081
|
+
var value = /** @type {number} */ (reader.readInt32());
|
16082
|
+
msg.setIsActive(value);
|
16083
|
+
break;
|
16084
|
+
default:
|
16085
|
+
reader.skipField();
|
16086
|
+
break;
|
16087
|
+
}
|
16088
|
+
}
|
16089
|
+
return msg;
|
15051
16090
|
};
|
15052
16091
|
|
15053
16092
|
|
15054
16093
|
/**
|
15055
|
-
*
|
15056
|
-
* @return {!
|
16094
|
+
* Serializes the message to binary data (in protobuf wire format).
|
16095
|
+
* @return {!Uint8Array}
|
15057
16096
|
*/
|
15058
|
-
proto.user.
|
15059
|
-
|
16097
|
+
proto.user.SegmentBetRuleItem.prototype.serializeBinary = function() {
|
16098
|
+
var writer = new jspb.BinaryWriter();
|
16099
|
+
proto.user.SegmentBetRuleItem.serializeBinaryToWriter(this, writer);
|
16100
|
+
return writer.getResultBuffer();
|
15060
16101
|
};
|
15061
16102
|
|
15062
16103
|
|
15063
16104
|
/**
|
15064
|
-
*
|
15065
|
-
*
|
16105
|
+
* Serializes the given message to binary data (in protobuf wire
|
16106
|
+
* format), writing to the given BinaryWriter.
|
16107
|
+
* @param {!proto.user.SegmentBetRuleItem} message
|
16108
|
+
* @param {!jspb.BinaryWriter} writer
|
16109
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
15066
16110
|
*/
|
15067
|
-
proto.user.
|
15068
|
-
|
16111
|
+
proto.user.SegmentBetRuleItem.serializeBinaryToWriter = function(message, writer) {
|
16112
|
+
var f = undefined;
|
16113
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
16114
|
+
if (f != null) {
|
16115
|
+
writer.writeInt32(
|
16116
|
+
1,
|
16117
|
+
f
|
16118
|
+
);
|
16119
|
+
}
|
16120
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
16121
|
+
if (f != null) {
|
16122
|
+
writer.writeString(
|
16123
|
+
2,
|
16124
|
+
f
|
16125
|
+
);
|
16126
|
+
}
|
16127
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
16128
|
+
if (f != null) {
|
16129
|
+
writer.writeFloat(
|
16130
|
+
3,
|
16131
|
+
f
|
16132
|
+
);
|
16133
|
+
}
|
16134
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
16135
|
+
if (f != null) {
|
16136
|
+
writer.writeFloat(
|
16137
|
+
4,
|
16138
|
+
f
|
16139
|
+
);
|
16140
|
+
}
|
16141
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
16142
|
+
if (f != null) {
|
16143
|
+
writer.writeInt32(
|
16144
|
+
5,
|
16145
|
+
f
|
16146
|
+
);
|
16147
|
+
}
|
16148
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
16149
|
+
if (f != null) {
|
16150
|
+
writer.writeInt32(
|
16151
|
+
6,
|
16152
|
+
f
|
16153
|
+
);
|
16154
|
+
}
|
16155
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
16156
|
+
if (f != null) {
|
16157
|
+
writer.writeFloat(
|
16158
|
+
7,
|
16159
|
+
f
|
16160
|
+
);
|
16161
|
+
}
|
16162
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
16163
|
+
if (f != null) {
|
16164
|
+
writer.writeFloat(
|
16165
|
+
8,
|
16166
|
+
f
|
16167
|
+
);
|
16168
|
+
}
|
16169
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
16170
|
+
if (f != null) {
|
16171
|
+
writer.writeFloat(
|
16172
|
+
9,
|
16173
|
+
f
|
16174
|
+
);
|
16175
|
+
}
|
16176
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
16177
|
+
if (f != null) {
|
16178
|
+
writer.writeFloat(
|
16179
|
+
10,
|
16180
|
+
f
|
16181
|
+
);
|
16182
|
+
}
|
16183
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
16184
|
+
if (f != null) {
|
16185
|
+
writer.writeFloat(
|
16186
|
+
11,
|
16187
|
+
f
|
16188
|
+
);
|
16189
|
+
}
|
16190
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
16191
|
+
if (f != null) {
|
16192
|
+
writer.writeFloat(
|
16193
|
+
12,
|
16194
|
+
f
|
16195
|
+
);
|
16196
|
+
}
|
16197
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
16198
|
+
if (f != null) {
|
16199
|
+
writer.writeInt32(
|
16200
|
+
13,
|
16201
|
+
f
|
16202
|
+
);
|
16203
|
+
}
|
16204
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
16205
|
+
if (f != null) {
|
16206
|
+
writer.writeInt32(
|
16207
|
+
14,
|
16208
|
+
f
|
16209
|
+
);
|
16210
|
+
}
|
16211
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
16212
|
+
if (f != null) {
|
16213
|
+
writer.writeFloat(
|
16214
|
+
15,
|
16215
|
+
f
|
16216
|
+
);
|
16217
|
+
}
|
16218
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 16));
|
16219
|
+
if (f != null) {
|
16220
|
+
writer.writeFloat(
|
16221
|
+
16,
|
16222
|
+
f
|
16223
|
+
);
|
16224
|
+
}
|
16225
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 17));
|
16226
|
+
if (f != null) {
|
16227
|
+
writer.writeFloat(
|
16228
|
+
17,
|
16229
|
+
f
|
16230
|
+
);
|
16231
|
+
}
|
16232
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
16233
|
+
if (f != null) {
|
16234
|
+
writer.writeFloat(
|
16235
|
+
18,
|
16236
|
+
f
|
16237
|
+
);
|
16238
|
+
}
|
16239
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 19));
|
16240
|
+
if (f != null) {
|
16241
|
+
writer.writeInt32(
|
16242
|
+
19,
|
16243
|
+
f
|
16244
|
+
);
|
16245
|
+
}
|
15069
16246
|
};
|
15070
16247
|
|
15071
16248
|
|
15072
16249
|
/**
|
15073
|
-
* optional
|
16250
|
+
* optional int32 segment_id = 1;
|
15074
16251
|
* @return {number}
|
15075
16252
|
*/
|
15076
|
-
proto.user.
|
15077
|
-
return /** @type {number} */ (jspb.Message.
|
16253
|
+
proto.user.SegmentBetRuleItem.prototype.getSegmentId = function() {
|
16254
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
15078
16255
|
};
|
15079
16256
|
|
15080
16257
|
|
15081
16258
|
/**
|
15082
16259
|
* @param {number} value
|
15083
|
-
* @return {!proto.user.
|
16260
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15084
16261
|
*/
|
15085
|
-
proto.user.
|
15086
|
-
return jspb.Message.setField(this,
|
16262
|
+
proto.user.SegmentBetRuleItem.prototype.setSegmentId = function(value) {
|
16263
|
+
return jspb.Message.setField(this, 1, value);
|
15087
16264
|
};
|
15088
16265
|
|
15089
16266
|
|
15090
16267
|
/**
|
15091
16268
|
* Clears the field making it undefined.
|
15092
|
-
* @return {!proto.user.
|
16269
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15093
16270
|
*/
|
15094
|
-
proto.user.
|
15095
|
-
return jspb.Message.setField(this,
|
16271
|
+
proto.user.SegmentBetRuleItem.prototype.clearSegmentId = function() {
|
16272
|
+
return jspb.Message.setField(this, 1, undefined);
|
15096
16273
|
};
|
15097
16274
|
|
15098
16275
|
|
@@ -15100,109 +16277,71 @@ proto.user.SegmentPaymentRuleItem.prototype.clearDepositAvgMax = function() {
|
|
15100
16277
|
* Returns whether this field is set.
|
15101
16278
|
* @return {boolean}
|
15102
16279
|
*/
|
15103
|
-
proto.user.
|
15104
|
-
return jspb.Message.getField(this,
|
15105
|
-
};
|
15106
|
-
|
15107
|
-
|
15108
|
-
/**
|
15109
|
-
* repeated string payment_providers = 11;
|
15110
|
-
* @return {!Array<string>}
|
15111
|
-
*/
|
15112
|
-
proto.user.SegmentPaymentRuleItem.prototype.getPaymentProvidersList = function() {
|
15113
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 11));
|
16280
|
+
proto.user.SegmentBetRuleItem.prototype.hasSegmentId = function() {
|
16281
|
+
return jspb.Message.getField(this, 1) != null;
|
15114
16282
|
};
|
15115
16283
|
|
15116
16284
|
|
15117
16285
|
/**
|
15118
|
-
*
|
15119
|
-
* @return {
|
16286
|
+
* optional string currency = 2;
|
16287
|
+
* @return {string}
|
15120
16288
|
*/
|
15121
|
-
proto.user.
|
15122
|
-
return jspb.Message.
|
16289
|
+
proto.user.SegmentBetRuleItem.prototype.getCurrency = function() {
|
16290
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
15123
16291
|
};
|
15124
16292
|
|
15125
16293
|
|
15126
16294
|
/**
|
15127
16295
|
* @param {string} value
|
15128
|
-
* @
|
15129
|
-
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15130
|
-
*/
|
15131
|
-
proto.user.SegmentPaymentRuleItem.prototype.addPaymentProviders = function(value, opt_index) {
|
15132
|
-
return jspb.Message.addToRepeatedField(this, 11, value, opt_index);
|
15133
|
-
};
|
15134
|
-
|
15135
|
-
|
15136
|
-
/**
|
15137
|
-
* Clears the list making it empty but non-null.
|
15138
|
-
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
15139
|
-
*/
|
15140
|
-
proto.user.SegmentPaymentRuleItem.prototype.clearPaymentProvidersList = function() {
|
15141
|
-
return this.setPaymentProvidersList([]);
|
15142
|
-
};
|
15143
|
-
|
15144
|
-
|
15145
|
-
/**
|
15146
|
-
* repeated string payment_types = 12;
|
15147
|
-
* @return {!Array<string>}
|
15148
|
-
*/
|
15149
|
-
proto.user.SegmentPaymentRuleItem.prototype.getPaymentTypesList = function() {
|
15150
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 12));
|
15151
|
-
};
|
15152
|
-
|
15153
|
-
|
15154
|
-
/**
|
15155
|
-
* @param {!Array<string>} value
|
15156
|
-
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
16296
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15157
16297
|
*/
|
15158
|
-
proto.user.
|
15159
|
-
return jspb.Message.setField(this,
|
16298
|
+
proto.user.SegmentBetRuleItem.prototype.setCurrency = function(value) {
|
16299
|
+
return jspb.Message.setField(this, 2, value);
|
15160
16300
|
};
|
15161
16301
|
|
15162
16302
|
|
15163
|
-
/**
|
15164
|
-
*
|
15165
|
-
* @
|
15166
|
-
* @return {!proto.user.SegmentPaymentRuleItem} returns this
|
16303
|
+
/**
|
16304
|
+
* Clears the field making it undefined.
|
16305
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15167
16306
|
*/
|
15168
|
-
proto.user.
|
15169
|
-
return jspb.Message.
|
16307
|
+
proto.user.SegmentBetRuleItem.prototype.clearCurrency = function() {
|
16308
|
+
return jspb.Message.setField(this, 2, undefined);
|
15170
16309
|
};
|
15171
16310
|
|
15172
16311
|
|
15173
16312
|
/**
|
15174
|
-
*
|
15175
|
-
* @return {
|
16313
|
+
* Returns whether this field is set.
|
16314
|
+
* @return {boolean}
|
15176
16315
|
*/
|
15177
|
-
proto.user.
|
15178
|
-
return
|
16316
|
+
proto.user.SegmentBetRuleItem.prototype.hasCurrency = function() {
|
16317
|
+
return jspb.Message.getField(this, 2) != null;
|
15179
16318
|
};
|
15180
16319
|
|
15181
16320
|
|
15182
16321
|
/**
|
15183
|
-
* optional
|
16322
|
+
* optional float bet_amount_min = 3;
|
15184
16323
|
* @return {number}
|
15185
16324
|
*/
|
15186
|
-
proto.user.
|
15187
|
-
return /** @type {number} */ (jspb.Message.
|
16325
|
+
proto.user.SegmentBetRuleItem.prototype.getBetAmountMin = function() {
|
16326
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
15188
16327
|
};
|
15189
16328
|
|
15190
16329
|
|
15191
16330
|
/**
|
15192
16331
|
* @param {number} value
|
15193
|
-
* @return {!proto.user.
|
16332
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15194
16333
|
*/
|
15195
|
-
proto.user.
|
15196
|
-
return jspb.Message.setField(this,
|
16334
|
+
proto.user.SegmentBetRuleItem.prototype.setBetAmountMin = function(value) {
|
16335
|
+
return jspb.Message.setField(this, 3, value);
|
15197
16336
|
};
|
15198
16337
|
|
15199
16338
|
|
15200
16339
|
/**
|
15201
16340
|
* Clears the field making it undefined.
|
15202
|
-
* @return {!proto.user.
|
16341
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15203
16342
|
*/
|
15204
|
-
proto.user.
|
15205
|
-
return jspb.Message.setField(this,
|
16343
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetAmountMin = function() {
|
16344
|
+
return jspb.Message.setField(this, 3, undefined);
|
15206
16345
|
};
|
15207
16346
|
|
15208
16347
|
|
@@ -15210,35 +16349,35 @@ proto.user.SegmentPaymentRuleItem.prototype.clearSegmentId = function() {
|
|
15210
16349
|
* Returns whether this field is set.
|
15211
16350
|
* @return {boolean}
|
15212
16351
|
*/
|
15213
|
-
proto.user.
|
15214
|
-
return jspb.Message.getField(this,
|
16352
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetAmountMin = function() {
|
16353
|
+
return jspb.Message.getField(this, 3) != null;
|
15215
16354
|
};
|
15216
16355
|
|
15217
16356
|
|
15218
16357
|
/**
|
15219
|
-
* optional
|
15220
|
-
* @return {
|
16358
|
+
* optional float bet_amount_max = 4;
|
16359
|
+
* @return {number}
|
15221
16360
|
*/
|
15222
|
-
proto.user.
|
15223
|
-
return /** @type {
|
16361
|
+
proto.user.SegmentBetRuleItem.prototype.getBetAmountMax = function() {
|
16362
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
15224
16363
|
};
|
15225
16364
|
|
15226
16365
|
|
15227
16366
|
/**
|
15228
|
-
* @param {
|
15229
|
-
* @return {!proto.user.
|
16367
|
+
* @param {number} value
|
16368
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15230
16369
|
*/
|
15231
|
-
proto.user.
|
15232
|
-
return jspb.Message.setField(this,
|
16370
|
+
proto.user.SegmentBetRuleItem.prototype.setBetAmountMax = function(value) {
|
16371
|
+
return jspb.Message.setField(this, 4, value);
|
15233
16372
|
};
|
15234
16373
|
|
15235
16374
|
|
15236
16375
|
/**
|
15237
16376
|
* Clears the field making it undefined.
|
15238
|
-
* @return {!proto.user.
|
16377
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15239
16378
|
*/
|
15240
|
-
proto.user.
|
15241
|
-
return jspb.Message.setField(this,
|
16379
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetAmountMax = function() {
|
16380
|
+
return jspb.Message.setField(this, 4, undefined);
|
15242
16381
|
};
|
15243
16382
|
|
15244
16383
|
|
@@ -15246,35 +16385,35 @@ proto.user.SegmentPaymentRuleItem.prototype.clearCurrency = function() {
|
|
15246
16385
|
* Returns whether this field is set.
|
15247
16386
|
* @return {boolean}
|
15248
16387
|
*/
|
15249
|
-
proto.user.
|
15250
|
-
return jspb.Message.getField(this,
|
16388
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetAmountMax = function() {
|
16389
|
+
return jspb.Message.getField(this, 4) != null;
|
15251
16390
|
};
|
15252
16391
|
|
15253
16392
|
|
15254
16393
|
/**
|
15255
|
-
* optional int32
|
16394
|
+
* optional int32 bet_count_min = 5;
|
15256
16395
|
* @return {number}
|
15257
16396
|
*/
|
15258
|
-
proto.user.
|
15259
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
16397
|
+
proto.user.SegmentBetRuleItem.prototype.getBetCountMin = function() {
|
16398
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
15260
16399
|
};
|
15261
16400
|
|
15262
16401
|
|
15263
16402
|
/**
|
15264
16403
|
* @param {number} value
|
15265
|
-
* @return {!proto.user.
|
16404
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15266
16405
|
*/
|
15267
|
-
proto.user.
|
15268
|
-
return jspb.Message.setField(this,
|
16406
|
+
proto.user.SegmentBetRuleItem.prototype.setBetCountMin = function(value) {
|
16407
|
+
return jspb.Message.setField(this, 5, value);
|
15269
16408
|
};
|
15270
16409
|
|
15271
16410
|
|
15272
16411
|
/**
|
15273
16412
|
* Clears the field making it undefined.
|
15274
|
-
* @return {!proto.user.
|
16413
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15275
16414
|
*/
|
15276
|
-
proto.user.
|
15277
|
-
return jspb.Message.setField(this,
|
16415
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetCountMin = function() {
|
16416
|
+
return jspb.Message.setField(this, 5, undefined);
|
15278
16417
|
};
|
15279
16418
|
|
15280
16419
|
|
@@ -15282,345 +16421,89 @@ proto.user.SegmentPaymentRuleItem.prototype.clearIsActive = function() {
|
|
15282
16421
|
* Returns whether this field is set.
|
15283
16422
|
* @return {boolean}
|
15284
16423
|
*/
|
15285
|
-
proto.user.
|
15286
|
-
return jspb.Message.getField(this,
|
16424
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetCountMin = function() {
|
16425
|
+
return jspb.Message.getField(this, 5) != null;
|
15287
16426
|
};
|
15288
16427
|
|
15289
16428
|
|
16429
|
+
/**
|
16430
|
+
* optional int32 bet_count_max = 6;
|
16431
|
+
* @return {number}
|
16432
|
+
*/
|
16433
|
+
proto.user.SegmentBetRuleItem.prototype.getBetCountMax = function() {
|
16434
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
16435
|
+
};
|
15290
16436
|
|
15291
16437
|
|
15292
|
-
|
15293
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
15294
16438
|
/**
|
15295
|
-
*
|
15296
|
-
*
|
15297
|
-
* Optional fields that are not set will be set to undefined.
|
15298
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
15299
|
-
* For the list of reserved names please see:
|
15300
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
15301
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
15302
|
-
* JSPB instance for transitional soy proto support:
|
15303
|
-
* http://goto/soy-param-migration
|
15304
|
-
* @return {!Object}
|
16439
|
+
* @param {number} value
|
16440
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15305
16441
|
*/
|
15306
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15307
|
-
return
|
16442
|
+
proto.user.SegmentBetRuleItem.prototype.setBetCountMax = function(value) {
|
16443
|
+
return jspb.Message.setField(this, 6, value);
|
15308
16444
|
};
|
15309
16445
|
|
15310
16446
|
|
15311
16447
|
/**
|
15312
|
-
*
|
15313
|
-
* @
|
15314
|
-
* the JSPB instance for transitional soy proto support:
|
15315
|
-
* http://goto/soy-param-migration
|
15316
|
-
* @param {!proto.user.SegmentBetRuleItem} msg The msg instance to transform.
|
15317
|
-
* @return {!Object}
|
15318
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
16448
|
+
* Clears the field making it undefined.
|
16449
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15319
16450
|
*/
|
15320
|
-
proto.user.SegmentBetRuleItem.
|
15321
|
-
|
15322
|
-
segmentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
15323
|
-
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
15324
|
-
betAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
15325
|
-
betAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
15326
|
-
betCountMin: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
15327
|
-
betCountMax: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
15328
|
-
betSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
15329
|
-
betSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
15330
|
-
betAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
15331
|
-
betAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
15332
|
-
winAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
15333
|
-
winAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
15334
|
-
winCountMin: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
15335
|
-
winCountMax: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
15336
|
-
winSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
15337
|
-
winSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
15338
|
-
winAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
|
15339
|
-
winAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
|
15340
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 19, 0)
|
15341
|
-
};
|
15342
|
-
|
15343
|
-
if (includeInstance) {
|
15344
|
-
obj.$jspbMessageInstance = msg;
|
15345
|
-
}
|
15346
|
-
return obj;
|
16451
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetCountMax = function() {
|
16452
|
+
return jspb.Message.setField(this, 6, undefined);
|
15347
16453
|
};
|
15348
|
-
}
|
15349
16454
|
|
15350
16455
|
|
15351
16456
|
/**
|
15352
|
-
*
|
15353
|
-
* @
|
15354
|
-
* @return {!proto.user.SegmentBetRuleItem}
|
16457
|
+
* Returns whether this field is set.
|
16458
|
+
* @return {boolean}
|
15355
16459
|
*/
|
15356
|
-
proto.user.SegmentBetRuleItem.
|
15357
|
-
|
15358
|
-
var msg = new proto.user.SegmentBetRuleItem;
|
15359
|
-
return proto.user.SegmentBetRuleItem.deserializeBinaryFromReader(msg, reader);
|
16460
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetCountMax = function() {
|
16461
|
+
return jspb.Message.getField(this, 6) != null;
|
15360
16462
|
};
|
15361
16463
|
|
15362
16464
|
|
15363
16465
|
/**
|
15364
|
-
*
|
15365
|
-
*
|
15366
|
-
|
15367
|
-
|
15368
|
-
|
15369
|
-
*/
|
15370
|
-
proto.user.SegmentBetRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
15371
|
-
while (reader.nextField()) {
|
15372
|
-
if (reader.isEndGroup()) {
|
15373
|
-
break;
|
15374
|
-
}
|
15375
|
-
var field = reader.getFieldNumber();
|
15376
|
-
switch (field) {
|
15377
|
-
case 1:
|
15378
|
-
var value = /** @type {number} */ (reader.readInt32());
|
15379
|
-
msg.setSegmentId(value);
|
15380
|
-
break;
|
15381
|
-
case 2:
|
15382
|
-
var value = /** @type {string} */ (reader.readString());
|
15383
|
-
msg.setCurrency(value);
|
15384
|
-
break;
|
15385
|
-
case 3:
|
15386
|
-
var value = /** @type {number} */ (reader.readFloat());
|
15387
|
-
msg.setBetAmountMin(value);
|
15388
|
-
break;
|
15389
|
-
case 4:
|
15390
|
-
var value = /** @type {number} */ (reader.readFloat());
|
15391
|
-
msg.setBetAmountMax(value);
|
15392
|
-
break;
|
15393
|
-
case 5:
|
15394
|
-
var value = /** @type {number} */ (reader.readInt32());
|
15395
|
-
msg.setBetCountMin(value);
|
15396
|
-
break;
|
15397
|
-
case 6:
|
15398
|
-
var value = /** @type {number} */ (reader.readInt32());
|
15399
|
-
msg.setBetCountMax(value);
|
15400
|
-
break;
|
15401
|
-
case 7:
|
15402
|
-
var value = /** @type {number} */ (reader.readFloat());
|
15403
|
-
msg.setBetSumMin(value);
|
15404
|
-
break;
|
15405
|
-
case 8:
|
15406
|
-
var value = /** @type {number} */ (reader.readFloat());
|
15407
|
-
msg.setBetSumMax(value);
|
15408
|
-
break;
|
15409
|
-
case 9:
|
15410
|
-
var value = /** @type {number} */ (reader.readFloat());
|
15411
|
-
msg.setBetAvgMin(value);
|
15412
|
-
break;
|
15413
|
-
case 10:
|
15414
|
-
var value = /** @type {number} */ (reader.readFloat());
|
15415
|
-
msg.setBetAvgMax(value);
|
15416
|
-
break;
|
15417
|
-
case 11:
|
15418
|
-
var value = /** @type {number} */ (reader.readFloat());
|
15419
|
-
msg.setWinAmountMin(value);
|
15420
|
-
break;
|
15421
|
-
case 12:
|
15422
|
-
var value = /** @type {number} */ (reader.readFloat());
|
15423
|
-
msg.setWinAmountMax(value);
|
15424
|
-
break;
|
15425
|
-
case 13:
|
15426
|
-
var value = /** @type {number} */ (reader.readInt32());
|
15427
|
-
msg.setWinCountMin(value);
|
15428
|
-
break;
|
15429
|
-
case 14:
|
15430
|
-
var value = /** @type {number} */ (reader.readInt32());
|
15431
|
-
msg.setWinCountMax(value);
|
15432
|
-
break;
|
15433
|
-
case 15:
|
15434
|
-
var value = /** @type {number} */ (reader.readFloat());
|
15435
|
-
msg.setWinSumMin(value);
|
15436
|
-
break;
|
15437
|
-
case 16:
|
15438
|
-
var value = /** @type {number} */ (reader.readFloat());
|
15439
|
-
msg.setWinSumMax(value);
|
15440
|
-
break;
|
15441
|
-
case 17:
|
15442
|
-
var value = /** @type {number} */ (reader.readFloat());
|
15443
|
-
msg.setWinAvgMin(value);
|
15444
|
-
break;
|
15445
|
-
case 18:
|
15446
|
-
var value = /** @type {number} */ (reader.readFloat());
|
15447
|
-
msg.setWinAvgMax(value);
|
15448
|
-
break;
|
15449
|
-
case 19:
|
15450
|
-
var value = /** @type {number} */ (reader.readInt32());
|
15451
|
-
msg.setIsActive(value);
|
15452
|
-
break;
|
15453
|
-
default:
|
15454
|
-
reader.skipField();
|
15455
|
-
break;
|
15456
|
-
}
|
15457
|
-
}
|
15458
|
-
return msg;
|
16466
|
+
* optional float bet_sum_min = 7;
|
16467
|
+
* @return {number}
|
16468
|
+
*/
|
16469
|
+
proto.user.SegmentBetRuleItem.prototype.getBetSumMin = function() {
|
16470
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
15459
16471
|
};
|
15460
16472
|
|
15461
16473
|
|
15462
16474
|
/**
|
15463
|
-
*
|
15464
|
-
* @return {!
|
16475
|
+
* @param {number} value
|
16476
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15465
16477
|
*/
|
15466
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15467
|
-
|
15468
|
-
proto.user.SegmentBetRuleItem.serializeBinaryToWriter(this, writer);
|
15469
|
-
return writer.getResultBuffer();
|
16478
|
+
proto.user.SegmentBetRuleItem.prototype.setBetSumMin = function(value) {
|
16479
|
+
return jspb.Message.setField(this, 7, value);
|
15470
16480
|
};
|
15471
16481
|
|
15472
16482
|
|
15473
16483
|
/**
|
15474
|
-
*
|
15475
|
-
*
|
15476
|
-
* @param {!proto.user.SegmentBetRuleItem} message
|
15477
|
-
* @param {!jspb.BinaryWriter} writer
|
15478
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
16484
|
+
* Clears the field making it undefined.
|
16485
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15479
16486
|
*/
|
15480
|
-
proto.user.SegmentBetRuleItem.
|
15481
|
-
|
15482
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
15483
|
-
if (f != null) {
|
15484
|
-
writer.writeInt32(
|
15485
|
-
1,
|
15486
|
-
f
|
15487
|
-
);
|
15488
|
-
}
|
15489
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
15490
|
-
if (f != null) {
|
15491
|
-
writer.writeString(
|
15492
|
-
2,
|
15493
|
-
f
|
15494
|
-
);
|
15495
|
-
}
|
15496
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
15497
|
-
if (f != null) {
|
15498
|
-
writer.writeFloat(
|
15499
|
-
3,
|
15500
|
-
f
|
15501
|
-
);
|
15502
|
-
}
|
15503
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
15504
|
-
if (f != null) {
|
15505
|
-
writer.writeFloat(
|
15506
|
-
4,
|
15507
|
-
f
|
15508
|
-
);
|
15509
|
-
}
|
15510
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
15511
|
-
if (f != null) {
|
15512
|
-
writer.writeInt32(
|
15513
|
-
5,
|
15514
|
-
f
|
15515
|
-
);
|
15516
|
-
}
|
15517
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
15518
|
-
if (f != null) {
|
15519
|
-
writer.writeInt32(
|
15520
|
-
6,
|
15521
|
-
f
|
15522
|
-
);
|
15523
|
-
}
|
15524
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
15525
|
-
if (f != null) {
|
15526
|
-
writer.writeFloat(
|
15527
|
-
7,
|
15528
|
-
f
|
15529
|
-
);
|
15530
|
-
}
|
15531
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
15532
|
-
if (f != null) {
|
15533
|
-
writer.writeFloat(
|
15534
|
-
8,
|
15535
|
-
f
|
15536
|
-
);
|
15537
|
-
}
|
15538
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
15539
|
-
if (f != null) {
|
15540
|
-
writer.writeFloat(
|
15541
|
-
9,
|
15542
|
-
f
|
15543
|
-
);
|
15544
|
-
}
|
15545
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
15546
|
-
if (f != null) {
|
15547
|
-
writer.writeFloat(
|
15548
|
-
10,
|
15549
|
-
f
|
15550
|
-
);
|
15551
|
-
}
|
15552
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
15553
|
-
if (f != null) {
|
15554
|
-
writer.writeFloat(
|
15555
|
-
11,
|
15556
|
-
f
|
15557
|
-
);
|
15558
|
-
}
|
15559
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
15560
|
-
if (f != null) {
|
15561
|
-
writer.writeFloat(
|
15562
|
-
12,
|
15563
|
-
f
|
15564
|
-
);
|
15565
|
-
}
|
15566
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
15567
|
-
if (f != null) {
|
15568
|
-
writer.writeInt32(
|
15569
|
-
13,
|
15570
|
-
f
|
15571
|
-
);
|
15572
|
-
}
|
15573
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
15574
|
-
if (f != null) {
|
15575
|
-
writer.writeInt32(
|
15576
|
-
14,
|
15577
|
-
f
|
15578
|
-
);
|
15579
|
-
}
|
15580
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
15581
|
-
if (f != null) {
|
15582
|
-
writer.writeFloat(
|
15583
|
-
15,
|
15584
|
-
f
|
15585
|
-
);
|
15586
|
-
}
|
15587
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 16));
|
15588
|
-
if (f != null) {
|
15589
|
-
writer.writeFloat(
|
15590
|
-
16,
|
15591
|
-
f
|
15592
|
-
);
|
15593
|
-
}
|
15594
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 17));
|
15595
|
-
if (f != null) {
|
15596
|
-
writer.writeFloat(
|
15597
|
-
17,
|
15598
|
-
f
|
15599
|
-
);
|
15600
|
-
}
|
15601
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
15602
|
-
if (f != null) {
|
15603
|
-
writer.writeFloat(
|
15604
|
-
18,
|
15605
|
-
f
|
15606
|
-
);
|
15607
|
-
}
|
15608
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 19));
|
15609
|
-
if (f != null) {
|
15610
|
-
writer.writeInt32(
|
15611
|
-
19,
|
15612
|
-
f
|
15613
|
-
);
|
15614
|
-
}
|
16487
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetSumMin = function() {
|
16488
|
+
return jspb.Message.setField(this, 7, undefined);
|
15615
16489
|
};
|
15616
16490
|
|
15617
16491
|
|
15618
16492
|
/**
|
15619
|
-
*
|
16493
|
+
* Returns whether this field is set.
|
16494
|
+
* @return {boolean}
|
16495
|
+
*/
|
16496
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetSumMin = function() {
|
16497
|
+
return jspb.Message.getField(this, 7) != null;
|
16498
|
+
};
|
16499
|
+
|
16500
|
+
|
16501
|
+
/**
|
16502
|
+
* optional float bet_sum_max = 8;
|
15620
16503
|
* @return {number}
|
15621
16504
|
*/
|
15622
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15623
|
-
return /** @type {number} */ (jspb.Message.
|
16505
|
+
proto.user.SegmentBetRuleItem.prototype.getBetSumMax = function() {
|
16506
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
15624
16507
|
};
|
15625
16508
|
|
15626
16509
|
|
@@ -15628,8 +16511,8 @@ proto.user.SegmentBetRuleItem.prototype.getSegmentId = function() {
|
|
15628
16511
|
* @param {number} value
|
15629
16512
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15630
16513
|
*/
|
15631
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15632
|
-
return jspb.Message.setField(this,
|
16514
|
+
proto.user.SegmentBetRuleItem.prototype.setBetSumMax = function(value) {
|
16515
|
+
return jspb.Message.setField(this, 8, value);
|
15633
16516
|
};
|
15634
16517
|
|
15635
16518
|
|
@@ -15637,8 +16520,8 @@ proto.user.SegmentBetRuleItem.prototype.setSegmentId = function(value) {
|
|
15637
16520
|
* Clears the field making it undefined.
|
15638
16521
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15639
16522
|
*/
|
15640
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15641
|
-
return jspb.Message.setField(this,
|
16523
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetSumMax = function() {
|
16524
|
+
return jspb.Message.setField(this, 8, undefined);
|
15642
16525
|
};
|
15643
16526
|
|
15644
16527
|
|
@@ -15646,26 +16529,98 @@ proto.user.SegmentBetRuleItem.prototype.clearSegmentId = function() {
|
|
15646
16529
|
* Returns whether this field is set.
|
15647
16530
|
* @return {boolean}
|
15648
16531
|
*/
|
15649
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15650
|
-
return jspb.Message.getField(this,
|
16532
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetSumMax = function() {
|
16533
|
+
return jspb.Message.getField(this, 8) != null;
|
16534
|
+
};
|
16535
|
+
|
16536
|
+
|
16537
|
+
/**
|
16538
|
+
* optional float bet_avg_min = 9;
|
16539
|
+
* @return {number}
|
16540
|
+
*/
|
16541
|
+
proto.user.SegmentBetRuleItem.prototype.getBetAvgMin = function() {
|
16542
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
16543
|
+
};
|
16544
|
+
|
16545
|
+
|
16546
|
+
/**
|
16547
|
+
* @param {number} value
|
16548
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
16549
|
+
*/
|
16550
|
+
proto.user.SegmentBetRuleItem.prototype.setBetAvgMin = function(value) {
|
16551
|
+
return jspb.Message.setField(this, 9, value);
|
16552
|
+
};
|
16553
|
+
|
16554
|
+
|
16555
|
+
/**
|
16556
|
+
* Clears the field making it undefined.
|
16557
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
16558
|
+
*/
|
16559
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetAvgMin = function() {
|
16560
|
+
return jspb.Message.setField(this, 9, undefined);
|
16561
|
+
};
|
16562
|
+
|
16563
|
+
|
16564
|
+
/**
|
16565
|
+
* Returns whether this field is set.
|
16566
|
+
* @return {boolean}
|
16567
|
+
*/
|
16568
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetAvgMin = function() {
|
16569
|
+
return jspb.Message.getField(this, 9) != null;
|
16570
|
+
};
|
16571
|
+
|
16572
|
+
|
16573
|
+
/**
|
16574
|
+
* optional float bet_avg_max = 10;
|
16575
|
+
* @return {number}
|
16576
|
+
*/
|
16577
|
+
proto.user.SegmentBetRuleItem.prototype.getBetAvgMax = function() {
|
16578
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
16579
|
+
};
|
16580
|
+
|
16581
|
+
|
16582
|
+
/**
|
16583
|
+
* @param {number} value
|
16584
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
16585
|
+
*/
|
16586
|
+
proto.user.SegmentBetRuleItem.prototype.setBetAvgMax = function(value) {
|
16587
|
+
return jspb.Message.setField(this, 10, value);
|
16588
|
+
};
|
16589
|
+
|
16590
|
+
|
16591
|
+
/**
|
16592
|
+
* Clears the field making it undefined.
|
16593
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
16594
|
+
*/
|
16595
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetAvgMax = function() {
|
16596
|
+
return jspb.Message.setField(this, 10, undefined);
|
16597
|
+
};
|
16598
|
+
|
16599
|
+
|
16600
|
+
/**
|
16601
|
+
* Returns whether this field is set.
|
16602
|
+
* @return {boolean}
|
16603
|
+
*/
|
16604
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetAvgMax = function() {
|
16605
|
+
return jspb.Message.getField(this, 10) != null;
|
15651
16606
|
};
|
15652
16607
|
|
15653
16608
|
|
15654
16609
|
/**
|
15655
|
-
* optional
|
15656
|
-
* @return {
|
16610
|
+
* optional float win_amount_min = 11;
|
16611
|
+
* @return {number}
|
15657
16612
|
*/
|
15658
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15659
|
-
return /** @type {
|
16613
|
+
proto.user.SegmentBetRuleItem.prototype.getWinAmountMin = function() {
|
16614
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
15660
16615
|
};
|
15661
16616
|
|
15662
16617
|
|
15663
16618
|
/**
|
15664
|
-
* @param {
|
16619
|
+
* @param {number} value
|
15665
16620
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15666
16621
|
*/
|
15667
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15668
|
-
return jspb.Message.setField(this,
|
16622
|
+
proto.user.SegmentBetRuleItem.prototype.setWinAmountMin = function(value) {
|
16623
|
+
return jspb.Message.setField(this, 11, value);
|
15669
16624
|
};
|
15670
16625
|
|
15671
16626
|
|
@@ -15673,8 +16628,8 @@ proto.user.SegmentBetRuleItem.prototype.setCurrency = function(value) {
|
|
15673
16628
|
* Clears the field making it undefined.
|
15674
16629
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15675
16630
|
*/
|
15676
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15677
|
-
return jspb.Message.setField(this,
|
16631
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinAmountMin = function() {
|
16632
|
+
return jspb.Message.setField(this, 11, undefined);
|
15678
16633
|
};
|
15679
16634
|
|
15680
16635
|
|
@@ -15682,17 +16637,17 @@ proto.user.SegmentBetRuleItem.prototype.clearCurrency = function() {
|
|
15682
16637
|
* Returns whether this field is set.
|
15683
16638
|
* @return {boolean}
|
15684
16639
|
*/
|
15685
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15686
|
-
return jspb.Message.getField(this,
|
16640
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinAmountMin = function() {
|
16641
|
+
return jspb.Message.getField(this, 11) != null;
|
15687
16642
|
};
|
15688
16643
|
|
15689
16644
|
|
15690
16645
|
/**
|
15691
|
-
* optional float
|
16646
|
+
* optional float win_amount_max = 12;
|
15692
16647
|
* @return {number}
|
15693
16648
|
*/
|
15694
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15695
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
16649
|
+
proto.user.SegmentBetRuleItem.prototype.getWinAmountMax = function() {
|
16650
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
15696
16651
|
};
|
15697
16652
|
|
15698
16653
|
|
@@ -15700,8 +16655,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetAmountMin = function() {
|
|
15700
16655
|
* @param {number} value
|
15701
16656
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15702
16657
|
*/
|
15703
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15704
|
-
return jspb.Message.setField(this,
|
16658
|
+
proto.user.SegmentBetRuleItem.prototype.setWinAmountMax = function(value) {
|
16659
|
+
return jspb.Message.setField(this, 12, value);
|
15705
16660
|
};
|
15706
16661
|
|
15707
16662
|
|
@@ -15709,8 +16664,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetAmountMin = function(value) {
|
|
15709
16664
|
* Clears the field making it undefined.
|
15710
16665
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15711
16666
|
*/
|
15712
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15713
|
-
return jspb.Message.setField(this,
|
16667
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinAmountMax = function() {
|
16668
|
+
return jspb.Message.setField(this, 12, undefined);
|
15714
16669
|
};
|
15715
16670
|
|
15716
16671
|
|
@@ -15718,17 +16673,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetAmountMin = function() {
|
|
15718
16673
|
* Returns whether this field is set.
|
15719
16674
|
* @return {boolean}
|
15720
16675
|
*/
|
15721
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15722
|
-
return jspb.Message.getField(this,
|
16676
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinAmountMax = function() {
|
16677
|
+
return jspb.Message.getField(this, 12) != null;
|
15723
16678
|
};
|
15724
16679
|
|
15725
16680
|
|
15726
16681
|
/**
|
15727
|
-
* optional
|
16682
|
+
* optional int32 win_count_min = 13;
|
15728
16683
|
* @return {number}
|
15729
16684
|
*/
|
15730
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15731
|
-
return /** @type {number} */ (jspb.Message.
|
16685
|
+
proto.user.SegmentBetRuleItem.prototype.getWinCountMin = function() {
|
16686
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
15732
16687
|
};
|
15733
16688
|
|
15734
16689
|
|
@@ -15736,8 +16691,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetAmountMax = function() {
|
|
15736
16691
|
* @param {number} value
|
15737
16692
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15738
16693
|
*/
|
15739
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15740
|
-
return jspb.Message.setField(this,
|
16694
|
+
proto.user.SegmentBetRuleItem.prototype.setWinCountMin = function(value) {
|
16695
|
+
return jspb.Message.setField(this, 13, value);
|
15741
16696
|
};
|
15742
16697
|
|
15743
16698
|
|
@@ -15745,8 +16700,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetAmountMax = function(value) {
|
|
15745
16700
|
* Clears the field making it undefined.
|
15746
16701
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15747
16702
|
*/
|
15748
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15749
|
-
return jspb.Message.setField(this,
|
16703
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinCountMin = function() {
|
16704
|
+
return jspb.Message.setField(this, 13, undefined);
|
15750
16705
|
};
|
15751
16706
|
|
15752
16707
|
|
@@ -15754,17 +16709,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetAmountMax = function() {
|
|
15754
16709
|
* Returns whether this field is set.
|
15755
16710
|
* @return {boolean}
|
15756
16711
|
*/
|
15757
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15758
|
-
return jspb.Message.getField(this,
|
16712
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinCountMin = function() {
|
16713
|
+
return jspb.Message.getField(this, 13) != null;
|
15759
16714
|
};
|
15760
16715
|
|
15761
16716
|
|
15762
16717
|
/**
|
15763
|
-
* optional int32
|
16718
|
+
* optional int32 win_count_max = 14;
|
15764
16719
|
* @return {number}
|
15765
16720
|
*/
|
15766
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15767
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
16721
|
+
proto.user.SegmentBetRuleItem.prototype.getWinCountMax = function() {
|
16722
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
15768
16723
|
};
|
15769
16724
|
|
15770
16725
|
|
@@ -15772,8 +16727,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetCountMin = function() {
|
|
15772
16727
|
* @param {number} value
|
15773
16728
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15774
16729
|
*/
|
15775
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15776
|
-
return jspb.Message.setField(this,
|
16730
|
+
proto.user.SegmentBetRuleItem.prototype.setWinCountMax = function(value) {
|
16731
|
+
return jspb.Message.setField(this, 14, value);
|
15777
16732
|
};
|
15778
16733
|
|
15779
16734
|
|
@@ -15781,8 +16736,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetCountMin = function(value) {
|
|
15781
16736
|
* Clears the field making it undefined.
|
15782
16737
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15783
16738
|
*/
|
15784
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15785
|
-
return jspb.Message.setField(this,
|
16739
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinCountMax = function() {
|
16740
|
+
return jspb.Message.setField(this, 14, undefined);
|
15786
16741
|
};
|
15787
16742
|
|
15788
16743
|
|
@@ -15790,17 +16745,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetCountMin = function() {
|
|
15790
16745
|
* Returns whether this field is set.
|
15791
16746
|
* @return {boolean}
|
15792
16747
|
*/
|
15793
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15794
|
-
return jspb.Message.getField(this,
|
16748
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinCountMax = function() {
|
16749
|
+
return jspb.Message.getField(this, 14) != null;
|
15795
16750
|
};
|
15796
16751
|
|
15797
16752
|
|
15798
16753
|
/**
|
15799
|
-
* optional
|
16754
|
+
* optional float win_sum_min = 15;
|
15800
16755
|
* @return {number}
|
15801
16756
|
*/
|
15802
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15803
|
-
return /** @type {number} */ (jspb.Message.
|
16757
|
+
proto.user.SegmentBetRuleItem.prototype.getWinSumMin = function() {
|
16758
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
15804
16759
|
};
|
15805
16760
|
|
15806
16761
|
|
@@ -15808,8 +16763,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetCountMax = function() {
|
|
15808
16763
|
* @param {number} value
|
15809
16764
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15810
16765
|
*/
|
15811
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15812
|
-
return jspb.Message.setField(this,
|
16766
|
+
proto.user.SegmentBetRuleItem.prototype.setWinSumMin = function(value) {
|
16767
|
+
return jspb.Message.setField(this, 15, value);
|
15813
16768
|
};
|
15814
16769
|
|
15815
16770
|
|
@@ -15817,8 +16772,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetCountMax = function(value) {
|
|
15817
16772
|
* Clears the field making it undefined.
|
15818
16773
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15819
16774
|
*/
|
15820
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15821
|
-
return jspb.Message.setField(this,
|
16775
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinSumMin = function() {
|
16776
|
+
return jspb.Message.setField(this, 15, undefined);
|
15822
16777
|
};
|
15823
16778
|
|
15824
16779
|
|
@@ -15826,17 +16781,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetCountMax = function() {
|
|
15826
16781
|
* Returns whether this field is set.
|
15827
16782
|
* @return {boolean}
|
15828
16783
|
*/
|
15829
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15830
|
-
return jspb.Message.getField(this,
|
16784
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinSumMin = function() {
|
16785
|
+
return jspb.Message.getField(this, 15) != null;
|
15831
16786
|
};
|
15832
16787
|
|
15833
16788
|
|
15834
16789
|
/**
|
15835
|
-
* optional float
|
16790
|
+
* optional float win_sum_max = 16;
|
15836
16791
|
* @return {number}
|
15837
16792
|
*/
|
15838
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15839
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
16793
|
+
proto.user.SegmentBetRuleItem.prototype.getWinSumMax = function() {
|
16794
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
|
15840
16795
|
};
|
15841
16796
|
|
15842
16797
|
|
@@ -15844,8 +16799,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetSumMin = function() {
|
|
15844
16799
|
* @param {number} value
|
15845
16800
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15846
16801
|
*/
|
15847
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15848
|
-
return jspb.Message.setField(this,
|
16802
|
+
proto.user.SegmentBetRuleItem.prototype.setWinSumMax = function(value) {
|
16803
|
+
return jspb.Message.setField(this, 16, value);
|
15849
16804
|
};
|
15850
16805
|
|
15851
16806
|
|
@@ -15853,8 +16808,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetSumMin = function(value) {
|
|
15853
16808
|
* Clears the field making it undefined.
|
15854
16809
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15855
16810
|
*/
|
15856
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15857
|
-
return jspb.Message.setField(this,
|
16811
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinSumMax = function() {
|
16812
|
+
return jspb.Message.setField(this, 16, undefined);
|
15858
16813
|
};
|
15859
16814
|
|
15860
16815
|
|
@@ -15862,17 +16817,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetSumMin = function() {
|
|
15862
16817
|
* Returns whether this field is set.
|
15863
16818
|
* @return {boolean}
|
15864
16819
|
*/
|
15865
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15866
|
-
return jspb.Message.getField(this,
|
16820
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinSumMax = function() {
|
16821
|
+
return jspb.Message.getField(this, 16) != null;
|
15867
16822
|
};
|
15868
16823
|
|
15869
16824
|
|
15870
16825
|
/**
|
15871
|
-
* optional float
|
16826
|
+
* optional float win_avg_min = 17;
|
15872
16827
|
* @return {number}
|
15873
16828
|
*/
|
15874
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15875
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
16829
|
+
proto.user.SegmentBetRuleItem.prototype.getWinAvgMin = function() {
|
16830
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0));
|
15876
16831
|
};
|
15877
16832
|
|
15878
16833
|
|
@@ -15880,8 +16835,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetSumMax = function() {
|
|
15880
16835
|
* @param {number} value
|
15881
16836
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15882
16837
|
*/
|
15883
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15884
|
-
return jspb.Message.setField(this,
|
16838
|
+
proto.user.SegmentBetRuleItem.prototype.setWinAvgMin = function(value) {
|
16839
|
+
return jspb.Message.setField(this, 17, value);
|
15885
16840
|
};
|
15886
16841
|
|
15887
16842
|
|
@@ -15889,8 +16844,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetSumMax = function(value) {
|
|
15889
16844
|
* Clears the field making it undefined.
|
15890
16845
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15891
16846
|
*/
|
15892
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15893
|
-
return jspb.Message.setField(this,
|
16847
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinAvgMin = function() {
|
16848
|
+
return jspb.Message.setField(this, 17, undefined);
|
15894
16849
|
};
|
15895
16850
|
|
15896
16851
|
|
@@ -15898,17 +16853,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetSumMax = function() {
|
|
15898
16853
|
* Returns whether this field is set.
|
15899
16854
|
* @return {boolean}
|
15900
16855
|
*/
|
15901
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15902
|
-
return jspb.Message.getField(this,
|
16856
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinAvgMin = function() {
|
16857
|
+
return jspb.Message.getField(this, 17) != null;
|
15903
16858
|
};
|
15904
16859
|
|
15905
16860
|
|
15906
16861
|
/**
|
15907
|
-
* optional float
|
16862
|
+
* optional float win_avg_max = 18;
|
15908
16863
|
* @return {number}
|
15909
16864
|
*/
|
15910
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15911
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
16865
|
+
proto.user.SegmentBetRuleItem.prototype.getWinAvgMax = function() {
|
16866
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0));
|
15912
16867
|
};
|
15913
16868
|
|
15914
16869
|
|
@@ -15916,8 +16871,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetAvgMin = function() {
|
|
15916
16871
|
* @param {number} value
|
15917
16872
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15918
16873
|
*/
|
15919
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15920
|
-
return jspb.Message.setField(this,
|
16874
|
+
proto.user.SegmentBetRuleItem.prototype.setWinAvgMax = function(value) {
|
16875
|
+
return jspb.Message.setField(this, 18, value);
|
15921
16876
|
};
|
15922
16877
|
|
15923
16878
|
|
@@ -15925,8 +16880,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetAvgMin = function(value) {
|
|
15925
16880
|
* Clears the field making it undefined.
|
15926
16881
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15927
16882
|
*/
|
15928
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15929
|
-
return jspb.Message.setField(this,
|
16883
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinAvgMax = function() {
|
16884
|
+
return jspb.Message.setField(this, 18, undefined);
|
15930
16885
|
};
|
15931
16886
|
|
15932
16887
|
|
@@ -15934,17 +16889,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetAvgMin = function() {
|
|
15934
16889
|
* Returns whether this field is set.
|
15935
16890
|
* @return {boolean}
|
15936
16891
|
*/
|
15937
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15938
|
-
return jspb.Message.getField(this,
|
16892
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinAvgMax = function() {
|
16893
|
+
return jspb.Message.getField(this, 18) != null;
|
15939
16894
|
};
|
15940
16895
|
|
15941
16896
|
|
15942
16897
|
/**
|
15943
|
-
* optional
|
16898
|
+
* optional int32 is_active = 19;
|
15944
16899
|
* @return {number}
|
15945
16900
|
*/
|
15946
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15947
|
-
return /** @type {number} */ (jspb.Message.
|
16901
|
+
proto.user.SegmentBetRuleItem.prototype.getIsActive = function() {
|
16902
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
15948
16903
|
};
|
15949
16904
|
|
15950
16905
|
|
@@ -15952,8 +16907,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetAvgMax = function() {
|
|
15952
16907
|
* @param {number} value
|
15953
16908
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15954
16909
|
*/
|
15955
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15956
|
-
return jspb.Message.setField(this,
|
16910
|
+
proto.user.SegmentBetRuleItem.prototype.setIsActive = function(value) {
|
16911
|
+
return jspb.Message.setField(this, 19, value);
|
15957
16912
|
};
|
15958
16913
|
|
15959
16914
|
|
@@ -15961,8 +16916,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetAvgMax = function(value) {
|
|
15961
16916
|
* Clears the field making it undefined.
|
15962
16917
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15963
16918
|
*/
|
15964
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15965
|
-
return jspb.Message.setField(this,
|
16919
|
+
proto.user.SegmentBetRuleItem.prototype.clearIsActive = function() {
|
16920
|
+
return jspb.Message.setField(this, 19, undefined);
|
15966
16921
|
};
|
15967
16922
|
|
15968
16923
|
|
@@ -15970,71 +16925,231 @@ proto.user.SegmentBetRuleItem.prototype.clearBetAvgMax = function() {
|
|
15970
16925
|
* Returns whether this field is set.
|
15971
16926
|
* @return {boolean}
|
15972
16927
|
*/
|
15973
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15974
|
-
return jspb.Message.getField(this,
|
16928
|
+
proto.user.SegmentBetRuleItem.prototype.hasIsActive = function() {
|
16929
|
+
return jspb.Message.getField(this, 19) != null;
|
15975
16930
|
};
|
15976
16931
|
|
15977
16932
|
|
16933
|
+
|
16934
|
+
|
16935
|
+
|
16936
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
15978
16937
|
/**
|
15979
|
-
*
|
15980
|
-
*
|
16938
|
+
* Creates an object representation of this proto.
|
16939
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
16940
|
+
* Optional fields that are not set will be set to undefined.
|
16941
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
16942
|
+
* For the list of reserved names please see:
|
16943
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
16944
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
16945
|
+
* JSPB instance for transitional soy proto support:
|
16946
|
+
* http://goto/soy-param-migration
|
16947
|
+
* @return {!Object}
|
15981
16948
|
*/
|
15982
|
-
proto.user.
|
15983
|
-
return
|
16949
|
+
proto.user.SegmentSessionRuleItem.prototype.toObject = function(opt_includeInstance) {
|
16950
|
+
return proto.user.SegmentSessionRuleItem.toObject(opt_includeInstance, this);
|
15984
16951
|
};
|
15985
16952
|
|
15986
16953
|
|
15987
16954
|
/**
|
15988
|
-
* @
|
15989
|
-
* @
|
16955
|
+
* Static version of the {@see toObject} method.
|
16956
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
16957
|
+
* the JSPB instance for transitional soy proto support:
|
16958
|
+
* http://goto/soy-param-migration
|
16959
|
+
* @param {!proto.user.SegmentSessionRuleItem} msg The msg instance to transform.
|
16960
|
+
* @return {!Object}
|
16961
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
15990
16962
|
*/
|
15991
|
-
proto.user.
|
15992
|
-
|
16963
|
+
proto.user.SegmentSessionRuleItem.toObject = function(includeInstance, msg) {
|
16964
|
+
var f, obj = {
|
16965
|
+
sessionMinuteMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
16966
|
+
sessionMinuteMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
16967
|
+
sessionCountMin: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
16968
|
+
sessionCountMax: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
16969
|
+
hoursAfterRegistrationMin: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
16970
|
+
hoursAfterRegistrationMax: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
16971
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
16972
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
16973
|
+
};
|
16974
|
+
|
16975
|
+
if (includeInstance) {
|
16976
|
+
obj.$jspbMessageInstance = msg;
|
16977
|
+
}
|
16978
|
+
return obj;
|
16979
|
+
};
|
16980
|
+
}
|
16981
|
+
|
16982
|
+
|
16983
|
+
/**
|
16984
|
+
* Deserializes binary data (in protobuf wire format).
|
16985
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
16986
|
+
* @return {!proto.user.SegmentSessionRuleItem}
|
16987
|
+
*/
|
16988
|
+
proto.user.SegmentSessionRuleItem.deserializeBinary = function(bytes) {
|
16989
|
+
var reader = new jspb.BinaryReader(bytes);
|
16990
|
+
var msg = new proto.user.SegmentSessionRuleItem;
|
16991
|
+
return proto.user.SegmentSessionRuleItem.deserializeBinaryFromReader(msg, reader);
|
16992
|
+
};
|
16993
|
+
|
16994
|
+
|
16995
|
+
/**
|
16996
|
+
* Deserializes binary data (in protobuf wire format) from the
|
16997
|
+
* given reader into the given message object.
|
16998
|
+
* @param {!proto.user.SegmentSessionRuleItem} msg The message object to deserialize into.
|
16999
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
17000
|
+
* @return {!proto.user.SegmentSessionRuleItem}
|
17001
|
+
*/
|
17002
|
+
proto.user.SegmentSessionRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
17003
|
+
while (reader.nextField()) {
|
17004
|
+
if (reader.isEndGroup()) {
|
17005
|
+
break;
|
17006
|
+
}
|
17007
|
+
var field = reader.getFieldNumber();
|
17008
|
+
switch (field) {
|
17009
|
+
case 1:
|
17010
|
+
var value = /** @type {number} */ (reader.readFloat());
|
17011
|
+
msg.setSessionMinuteMin(value);
|
17012
|
+
break;
|
17013
|
+
case 2:
|
17014
|
+
var value = /** @type {number} */ (reader.readFloat());
|
17015
|
+
msg.setSessionMinuteMax(value);
|
17016
|
+
break;
|
17017
|
+
case 3:
|
17018
|
+
var value = /** @type {number} */ (reader.readInt32());
|
17019
|
+
msg.setSessionCountMin(value);
|
17020
|
+
break;
|
17021
|
+
case 4:
|
17022
|
+
var value = /** @type {number} */ (reader.readInt32());
|
17023
|
+
msg.setSessionCountMax(value);
|
17024
|
+
break;
|
17025
|
+
case 5:
|
17026
|
+
var value = /** @type {number} */ (reader.readInt32());
|
17027
|
+
msg.setHoursAfterRegistrationMin(value);
|
17028
|
+
break;
|
17029
|
+
case 6:
|
17030
|
+
var value = /** @type {number} */ (reader.readInt32());
|
17031
|
+
msg.setHoursAfterRegistrationMax(value);
|
17032
|
+
break;
|
17033
|
+
case 7:
|
17034
|
+
var value = /** @type {number} */ (reader.readInt32());
|
17035
|
+
msg.setIsActive(value);
|
17036
|
+
break;
|
17037
|
+
case 8:
|
17038
|
+
var value = /** @type {number} */ (reader.readInt32());
|
17039
|
+
msg.setSegmentId(value);
|
17040
|
+
break;
|
17041
|
+
default:
|
17042
|
+
reader.skipField();
|
17043
|
+
break;
|
17044
|
+
}
|
17045
|
+
}
|
17046
|
+
return msg;
|
15993
17047
|
};
|
15994
17048
|
|
15995
17049
|
|
15996
17050
|
/**
|
15997
|
-
*
|
15998
|
-
* @return {!
|
17051
|
+
* Serializes the message to binary data (in protobuf wire format).
|
17052
|
+
* @return {!Uint8Array}
|
15999
17053
|
*/
|
16000
|
-
proto.user.
|
16001
|
-
|
17054
|
+
proto.user.SegmentSessionRuleItem.prototype.serializeBinary = function() {
|
17055
|
+
var writer = new jspb.BinaryWriter();
|
17056
|
+
proto.user.SegmentSessionRuleItem.serializeBinaryToWriter(this, writer);
|
17057
|
+
return writer.getResultBuffer();
|
16002
17058
|
};
|
16003
17059
|
|
16004
17060
|
|
16005
17061
|
/**
|
16006
|
-
*
|
16007
|
-
*
|
17062
|
+
* Serializes the given message to binary data (in protobuf wire
|
17063
|
+
* format), writing to the given BinaryWriter.
|
17064
|
+
* @param {!proto.user.SegmentSessionRuleItem} message
|
17065
|
+
* @param {!jspb.BinaryWriter} writer
|
17066
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
16008
17067
|
*/
|
16009
|
-
proto.user.
|
16010
|
-
|
17068
|
+
proto.user.SegmentSessionRuleItem.serializeBinaryToWriter = function(message, writer) {
|
17069
|
+
var f = undefined;
|
17070
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
17071
|
+
if (f != null) {
|
17072
|
+
writer.writeFloat(
|
17073
|
+
1,
|
17074
|
+
f
|
17075
|
+
);
|
17076
|
+
}
|
17077
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
17078
|
+
if (f != null) {
|
17079
|
+
writer.writeFloat(
|
17080
|
+
2,
|
17081
|
+
f
|
17082
|
+
);
|
17083
|
+
}
|
17084
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
17085
|
+
if (f != null) {
|
17086
|
+
writer.writeInt32(
|
17087
|
+
3,
|
17088
|
+
f
|
17089
|
+
);
|
17090
|
+
}
|
17091
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
17092
|
+
if (f != null) {
|
17093
|
+
writer.writeInt32(
|
17094
|
+
4,
|
17095
|
+
f
|
17096
|
+
);
|
17097
|
+
}
|
17098
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
17099
|
+
if (f != null) {
|
17100
|
+
writer.writeInt32(
|
17101
|
+
5,
|
17102
|
+
f
|
17103
|
+
);
|
17104
|
+
}
|
17105
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
17106
|
+
if (f != null) {
|
17107
|
+
writer.writeInt32(
|
17108
|
+
6,
|
17109
|
+
f
|
17110
|
+
);
|
17111
|
+
}
|
17112
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
17113
|
+
if (f != null) {
|
17114
|
+
writer.writeInt32(
|
17115
|
+
7,
|
17116
|
+
f
|
17117
|
+
);
|
17118
|
+
}
|
17119
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
17120
|
+
if (f != null) {
|
17121
|
+
writer.writeInt32(
|
17122
|
+
8,
|
17123
|
+
f
|
17124
|
+
);
|
17125
|
+
}
|
16011
17126
|
};
|
16012
17127
|
|
16013
17128
|
|
16014
17129
|
/**
|
16015
|
-
* optional float
|
17130
|
+
* optional float session_minute_min = 1;
|
16016
17131
|
* @return {number}
|
16017
17132
|
*/
|
16018
|
-
proto.user.
|
16019
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
17133
|
+
proto.user.SegmentSessionRuleItem.prototype.getSessionMinuteMin = function() {
|
17134
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
16020
17135
|
};
|
16021
17136
|
|
16022
17137
|
|
16023
17138
|
/**
|
16024
17139
|
* @param {number} value
|
16025
|
-
* @return {!proto.user.
|
17140
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16026
17141
|
*/
|
16027
|
-
proto.user.
|
16028
|
-
return jspb.Message.setField(this,
|
17142
|
+
proto.user.SegmentSessionRuleItem.prototype.setSessionMinuteMin = function(value) {
|
17143
|
+
return jspb.Message.setField(this, 1, value);
|
16029
17144
|
};
|
16030
17145
|
|
16031
17146
|
|
16032
17147
|
/**
|
16033
17148
|
* Clears the field making it undefined.
|
16034
|
-
* @return {!proto.user.
|
17149
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16035
17150
|
*/
|
16036
|
-
proto.user.
|
16037
|
-
return jspb.Message.setField(this,
|
17151
|
+
proto.user.SegmentSessionRuleItem.prototype.clearSessionMinuteMin = function() {
|
17152
|
+
return jspb.Message.setField(this, 1, undefined);
|
16038
17153
|
};
|
16039
17154
|
|
16040
17155
|
|
@@ -16042,35 +17157,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinAmountMax = function() {
|
|
16042
17157
|
* Returns whether this field is set.
|
16043
17158
|
* @return {boolean}
|
16044
17159
|
*/
|
16045
|
-
proto.user.
|
16046
|
-
return jspb.Message.getField(this,
|
17160
|
+
proto.user.SegmentSessionRuleItem.prototype.hasSessionMinuteMin = function() {
|
17161
|
+
return jspb.Message.getField(this, 1) != null;
|
16047
17162
|
};
|
16048
17163
|
|
16049
17164
|
|
16050
17165
|
/**
|
16051
|
-
* optional
|
17166
|
+
* optional float session_minute_max = 2;
|
16052
17167
|
* @return {number}
|
16053
17168
|
*/
|
16054
|
-
proto.user.
|
16055
|
-
return /** @type {number} */ (jspb.Message.
|
17169
|
+
proto.user.SegmentSessionRuleItem.prototype.getSessionMinuteMax = function() {
|
17170
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
16056
17171
|
};
|
16057
17172
|
|
16058
17173
|
|
16059
17174
|
/**
|
16060
17175
|
* @param {number} value
|
16061
|
-
* @return {!proto.user.
|
17176
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16062
17177
|
*/
|
16063
|
-
proto.user.
|
16064
|
-
return jspb.Message.setField(this,
|
17178
|
+
proto.user.SegmentSessionRuleItem.prototype.setSessionMinuteMax = function(value) {
|
17179
|
+
return jspb.Message.setField(this, 2, value);
|
16065
17180
|
};
|
16066
17181
|
|
16067
17182
|
|
16068
17183
|
/**
|
16069
17184
|
* Clears the field making it undefined.
|
16070
|
-
* @return {!proto.user.
|
17185
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16071
17186
|
*/
|
16072
|
-
proto.user.
|
16073
|
-
return jspb.Message.setField(this,
|
17187
|
+
proto.user.SegmentSessionRuleItem.prototype.clearSessionMinuteMax = function() {
|
17188
|
+
return jspb.Message.setField(this, 2, undefined);
|
16074
17189
|
};
|
16075
17190
|
|
16076
17191
|
|
@@ -16078,35 +17193,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinCountMin = function() {
|
|
16078
17193
|
* Returns whether this field is set.
|
16079
17194
|
* @return {boolean}
|
16080
17195
|
*/
|
16081
|
-
proto.user.
|
16082
|
-
return jspb.Message.getField(this,
|
17196
|
+
proto.user.SegmentSessionRuleItem.prototype.hasSessionMinuteMax = function() {
|
17197
|
+
return jspb.Message.getField(this, 2) != null;
|
16083
17198
|
};
|
16084
17199
|
|
16085
17200
|
|
16086
17201
|
/**
|
16087
|
-
* optional int32
|
17202
|
+
* optional int32 session_count_min = 3;
|
16088
17203
|
* @return {number}
|
16089
17204
|
*/
|
16090
|
-
proto.user.
|
16091
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
17205
|
+
proto.user.SegmentSessionRuleItem.prototype.getSessionCountMin = function() {
|
17206
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
16092
17207
|
};
|
16093
17208
|
|
16094
17209
|
|
16095
17210
|
/**
|
16096
17211
|
* @param {number} value
|
16097
|
-
* @return {!proto.user.
|
17212
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16098
17213
|
*/
|
16099
|
-
proto.user.
|
16100
|
-
return jspb.Message.setField(this,
|
17214
|
+
proto.user.SegmentSessionRuleItem.prototype.setSessionCountMin = function(value) {
|
17215
|
+
return jspb.Message.setField(this, 3, value);
|
16101
17216
|
};
|
16102
17217
|
|
16103
17218
|
|
16104
17219
|
/**
|
16105
17220
|
* Clears the field making it undefined.
|
16106
|
-
* @return {!proto.user.
|
17221
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16107
17222
|
*/
|
16108
|
-
proto.user.
|
16109
|
-
return jspb.Message.setField(this,
|
17223
|
+
proto.user.SegmentSessionRuleItem.prototype.clearSessionCountMin = function() {
|
17224
|
+
return jspb.Message.setField(this, 3, undefined);
|
16110
17225
|
};
|
16111
17226
|
|
16112
17227
|
|
@@ -16114,35 +17229,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinCountMax = function() {
|
|
16114
17229
|
* Returns whether this field is set.
|
16115
17230
|
* @return {boolean}
|
16116
17231
|
*/
|
16117
|
-
proto.user.
|
16118
|
-
return jspb.Message.getField(this,
|
17232
|
+
proto.user.SegmentSessionRuleItem.prototype.hasSessionCountMin = function() {
|
17233
|
+
return jspb.Message.getField(this, 3) != null;
|
16119
17234
|
};
|
16120
17235
|
|
16121
17236
|
|
16122
17237
|
/**
|
16123
|
-
* optional
|
17238
|
+
* optional int32 session_count_max = 4;
|
16124
17239
|
* @return {number}
|
16125
17240
|
*/
|
16126
|
-
proto.user.
|
16127
|
-
return /** @type {number} */ (jspb.Message.
|
17241
|
+
proto.user.SegmentSessionRuleItem.prototype.getSessionCountMax = function() {
|
17242
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
16128
17243
|
};
|
16129
17244
|
|
16130
17245
|
|
16131
17246
|
/**
|
16132
17247
|
* @param {number} value
|
16133
|
-
* @return {!proto.user.
|
17248
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16134
17249
|
*/
|
16135
|
-
proto.user.
|
16136
|
-
return jspb.Message.setField(this,
|
17250
|
+
proto.user.SegmentSessionRuleItem.prototype.setSessionCountMax = function(value) {
|
17251
|
+
return jspb.Message.setField(this, 4, value);
|
16137
17252
|
};
|
16138
17253
|
|
16139
17254
|
|
16140
17255
|
/**
|
16141
17256
|
* Clears the field making it undefined.
|
16142
|
-
* @return {!proto.user.
|
17257
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16143
17258
|
*/
|
16144
|
-
proto.user.
|
16145
|
-
return jspb.Message.setField(this,
|
17259
|
+
proto.user.SegmentSessionRuleItem.prototype.clearSessionCountMax = function() {
|
17260
|
+
return jspb.Message.setField(this, 4, undefined);
|
16146
17261
|
};
|
16147
17262
|
|
16148
17263
|
|
@@ -16150,35 +17265,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinSumMin = function() {
|
|
16150
17265
|
* Returns whether this field is set.
|
16151
17266
|
* @return {boolean}
|
16152
17267
|
*/
|
16153
|
-
proto.user.
|
16154
|
-
return jspb.Message.getField(this,
|
17268
|
+
proto.user.SegmentSessionRuleItem.prototype.hasSessionCountMax = function() {
|
17269
|
+
return jspb.Message.getField(this, 4) != null;
|
16155
17270
|
};
|
16156
17271
|
|
16157
17272
|
|
16158
17273
|
/**
|
16159
|
-
* optional
|
17274
|
+
* optional int32 hours_after_registration_min = 5;
|
16160
17275
|
* @return {number}
|
16161
17276
|
*/
|
16162
|
-
proto.user.
|
16163
|
-
return /** @type {number} */ (jspb.Message.
|
17277
|
+
proto.user.SegmentSessionRuleItem.prototype.getHoursAfterRegistrationMin = function() {
|
17278
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
16164
17279
|
};
|
16165
17280
|
|
16166
17281
|
|
16167
17282
|
/**
|
16168
17283
|
* @param {number} value
|
16169
|
-
* @return {!proto.user.
|
17284
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16170
17285
|
*/
|
16171
|
-
proto.user.
|
16172
|
-
return jspb.Message.setField(this,
|
17286
|
+
proto.user.SegmentSessionRuleItem.prototype.setHoursAfterRegistrationMin = function(value) {
|
17287
|
+
return jspb.Message.setField(this, 5, value);
|
16173
17288
|
};
|
16174
17289
|
|
16175
17290
|
|
16176
17291
|
/**
|
16177
17292
|
* Clears the field making it undefined.
|
16178
|
-
* @return {!proto.user.
|
17293
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16179
17294
|
*/
|
16180
|
-
proto.user.
|
16181
|
-
return jspb.Message.setField(this,
|
17295
|
+
proto.user.SegmentSessionRuleItem.prototype.clearHoursAfterRegistrationMin = function() {
|
17296
|
+
return jspb.Message.setField(this, 5, undefined);
|
16182
17297
|
};
|
16183
17298
|
|
16184
17299
|
|
@@ -16186,35 +17301,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinSumMax = function() {
|
|
16186
17301
|
* Returns whether this field is set.
|
16187
17302
|
* @return {boolean}
|
16188
17303
|
*/
|
16189
|
-
proto.user.
|
16190
|
-
return jspb.Message.getField(this,
|
17304
|
+
proto.user.SegmentSessionRuleItem.prototype.hasHoursAfterRegistrationMin = function() {
|
17305
|
+
return jspb.Message.getField(this, 5) != null;
|
16191
17306
|
};
|
16192
17307
|
|
16193
17308
|
|
16194
17309
|
/**
|
16195
|
-
* optional
|
17310
|
+
* optional int32 hours_after_registration_max = 6;
|
16196
17311
|
* @return {number}
|
16197
17312
|
*/
|
16198
|
-
proto.user.
|
16199
|
-
return /** @type {number} */ (jspb.Message.
|
17313
|
+
proto.user.SegmentSessionRuleItem.prototype.getHoursAfterRegistrationMax = function() {
|
17314
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
16200
17315
|
};
|
16201
17316
|
|
16202
17317
|
|
16203
17318
|
/**
|
16204
17319
|
* @param {number} value
|
16205
|
-
* @return {!proto.user.
|
17320
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16206
17321
|
*/
|
16207
|
-
proto.user.
|
16208
|
-
return jspb.Message.setField(this,
|
17322
|
+
proto.user.SegmentSessionRuleItem.prototype.setHoursAfterRegistrationMax = function(value) {
|
17323
|
+
return jspb.Message.setField(this, 6, value);
|
16209
17324
|
};
|
16210
17325
|
|
16211
17326
|
|
16212
17327
|
/**
|
16213
17328
|
* Clears the field making it undefined.
|
16214
|
-
* @return {!proto.user.
|
17329
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16215
17330
|
*/
|
16216
|
-
proto.user.
|
16217
|
-
return jspb.Message.setField(this,
|
17331
|
+
proto.user.SegmentSessionRuleItem.prototype.clearHoursAfterRegistrationMax = function() {
|
17332
|
+
return jspb.Message.setField(this, 6, undefined);
|
16218
17333
|
};
|
16219
17334
|
|
16220
17335
|
|
@@ -16222,35 +17337,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinAvgMin = function() {
|
|
16222
17337
|
* Returns whether this field is set.
|
16223
17338
|
* @return {boolean}
|
16224
17339
|
*/
|
16225
|
-
proto.user.
|
16226
|
-
return jspb.Message.getField(this,
|
17340
|
+
proto.user.SegmentSessionRuleItem.prototype.hasHoursAfterRegistrationMax = function() {
|
17341
|
+
return jspb.Message.getField(this, 6) != null;
|
16227
17342
|
};
|
16228
17343
|
|
16229
17344
|
|
16230
17345
|
/**
|
16231
|
-
* optional
|
17346
|
+
* optional int32 is_active = 7;
|
16232
17347
|
* @return {number}
|
16233
17348
|
*/
|
16234
|
-
proto.user.
|
16235
|
-
return /** @type {number} */ (jspb.Message.
|
17349
|
+
proto.user.SegmentSessionRuleItem.prototype.getIsActive = function() {
|
17350
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
16236
17351
|
};
|
16237
17352
|
|
16238
17353
|
|
16239
17354
|
/**
|
16240
17355
|
* @param {number} value
|
16241
|
-
* @return {!proto.user.
|
17356
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16242
17357
|
*/
|
16243
|
-
proto.user.
|
16244
|
-
return jspb.Message.setField(this,
|
17358
|
+
proto.user.SegmentSessionRuleItem.prototype.setIsActive = function(value) {
|
17359
|
+
return jspb.Message.setField(this, 7, value);
|
16245
17360
|
};
|
16246
17361
|
|
16247
17362
|
|
16248
17363
|
/**
|
16249
17364
|
* Clears the field making it undefined.
|
16250
|
-
* @return {!proto.user.
|
17365
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16251
17366
|
*/
|
16252
|
-
proto.user.
|
16253
|
-
return jspb.Message.setField(this,
|
17367
|
+
proto.user.SegmentSessionRuleItem.prototype.clearIsActive = function() {
|
17368
|
+
return jspb.Message.setField(this, 7, undefined);
|
16254
17369
|
};
|
16255
17370
|
|
16256
17371
|
|
@@ -16258,35 +17373,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinAvgMax = function() {
|
|
16258
17373
|
* Returns whether this field is set.
|
16259
17374
|
* @return {boolean}
|
16260
17375
|
*/
|
16261
|
-
proto.user.
|
16262
|
-
return jspb.Message.getField(this,
|
17376
|
+
proto.user.SegmentSessionRuleItem.prototype.hasIsActive = function() {
|
17377
|
+
return jspb.Message.getField(this, 7) != null;
|
16263
17378
|
};
|
16264
17379
|
|
16265
17380
|
|
16266
17381
|
/**
|
16267
|
-
* optional int32
|
17382
|
+
* optional int32 segment_id = 8;
|
16268
17383
|
* @return {number}
|
16269
17384
|
*/
|
16270
|
-
proto.user.
|
16271
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
17385
|
+
proto.user.SegmentSessionRuleItem.prototype.getSegmentId = function() {
|
17386
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
16272
17387
|
};
|
16273
17388
|
|
16274
17389
|
|
16275
17390
|
/**
|
16276
17391
|
* @param {number} value
|
16277
|
-
* @return {!proto.user.
|
17392
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16278
17393
|
*/
|
16279
|
-
proto.user.
|
16280
|
-
return jspb.Message.setField(this,
|
17394
|
+
proto.user.SegmentSessionRuleItem.prototype.setSegmentId = function(value) {
|
17395
|
+
return jspb.Message.setField(this, 8, value);
|
16281
17396
|
};
|
16282
17397
|
|
16283
17398
|
|
16284
17399
|
/**
|
16285
17400
|
* Clears the field making it undefined.
|
16286
|
-
* @return {!proto.user.
|
17401
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
16287
17402
|
*/
|
16288
|
-
proto.user.
|
16289
|
-
return jspb.Message.setField(this,
|
17403
|
+
proto.user.SegmentSessionRuleItem.prototype.clearSegmentId = function() {
|
17404
|
+
return jspb.Message.setField(this, 8, undefined);
|
16290
17405
|
};
|
16291
17406
|
|
16292
17407
|
|
@@ -16294,12 +17409,19 @@ proto.user.SegmentBetRuleItem.prototype.clearIsActive = function() {
|
|
16294
17409
|
* Returns whether this field is set.
|
16295
17410
|
* @return {boolean}
|
16296
17411
|
*/
|
16297
|
-
proto.user.
|
16298
|
-
return jspb.Message.getField(this,
|
17412
|
+
proto.user.SegmentSessionRuleItem.prototype.hasSegmentId = function() {
|
17413
|
+
return jspb.Message.getField(this, 8) != null;
|
16299
17414
|
};
|
16300
17415
|
|
16301
17416
|
|
16302
17417
|
|
17418
|
+
/**
|
17419
|
+
* List of repeated fields within this message type.
|
17420
|
+
* @private {!Array<number>}
|
17421
|
+
* @const
|
17422
|
+
*/
|
17423
|
+
proto.user.SegmentGameRuleItem.repeatedFields_ = [2,3,4,5];
|
17424
|
+
|
16303
17425
|
|
16304
17426
|
|
16305
17427
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -16315,8 +17437,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16315
17437
|
* http://goto/soy-param-migration
|
16316
17438
|
* @return {!Object}
|
16317
17439
|
*/
|
16318
|
-
proto.user.
|
16319
|
-
return proto.user.
|
17440
|
+
proto.user.SegmentGameRuleItem.prototype.toObject = function(opt_includeInstance) {
|
17441
|
+
return proto.user.SegmentGameRuleItem.toObject(opt_includeInstance, this);
|
16320
17442
|
};
|
16321
17443
|
|
16322
17444
|
|
@@ -16325,20 +17447,20 @@ proto.user.SegmentSessionRuleItem.prototype.toObject = function(opt_includeInsta
|
|
16325
17447
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
16326
17448
|
* the JSPB instance for transitional soy proto support:
|
16327
17449
|
* http://goto/soy-param-migration
|
16328
|
-
* @param {!proto.user.
|
17450
|
+
* @param {!proto.user.SegmentGameRuleItem} msg The msg instance to transform.
|
16329
17451
|
* @return {!Object}
|
16330
17452
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
16331
17453
|
*/
|
16332
|
-
proto.user.
|
17454
|
+
proto.user.SegmentGameRuleItem.toObject = function(includeInstance, msg) {
|
16333
17455
|
var f, obj = {
|
16334
|
-
|
16335
|
-
|
16336
|
-
|
16337
|
-
|
16338
|
-
|
16339
|
-
|
16340
|
-
|
16341
|
-
|
17456
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
17457
|
+
providerIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
17458
|
+
collectionIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
17459
|
+
tagIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
17460
|
+
gameIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
17461
|
+
rtpMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
17462
|
+
rtpMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
17463
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
16342
17464
|
};
|
16343
17465
|
|
16344
17466
|
if (includeInstance) {
|
@@ -16352,23 +17474,23 @@ proto.user.SegmentSessionRuleItem.toObject = function(includeInstance, msg) {
|
|
16352
17474
|
/**
|
16353
17475
|
* Deserializes binary data (in protobuf wire format).
|
16354
17476
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
16355
|
-
* @return {!proto.user.
|
17477
|
+
* @return {!proto.user.SegmentGameRuleItem}
|
16356
17478
|
*/
|
16357
|
-
proto.user.
|
17479
|
+
proto.user.SegmentGameRuleItem.deserializeBinary = function(bytes) {
|
16358
17480
|
var reader = new jspb.BinaryReader(bytes);
|
16359
|
-
var msg = new proto.user.
|
16360
|
-
return proto.user.
|
17481
|
+
var msg = new proto.user.SegmentGameRuleItem;
|
17482
|
+
return proto.user.SegmentGameRuleItem.deserializeBinaryFromReader(msg, reader);
|
16361
17483
|
};
|
16362
17484
|
|
16363
17485
|
|
16364
17486
|
/**
|
16365
17487
|
* Deserializes binary data (in protobuf wire format) from the
|
16366
17488
|
* given reader into the given message object.
|
16367
|
-
* @param {!proto.user.
|
17489
|
+
* @param {!proto.user.SegmentGameRuleItem} msg The message object to deserialize into.
|
16368
17490
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
16369
|
-
* @return {!proto.user.
|
17491
|
+
* @return {!proto.user.SegmentGameRuleItem}
|
16370
17492
|
*/
|
16371
|
-
proto.user.
|
17493
|
+
proto.user.SegmentGameRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
16372
17494
|
while (reader.nextField()) {
|
16373
17495
|
if (reader.isEndGroup()) {
|
16374
17496
|
break;
|
@@ -16376,36 +17498,44 @@ proto.user.SegmentSessionRuleItem.deserializeBinaryFromReader = function(msg, re
|
|
16376
17498
|
var field = reader.getFieldNumber();
|
16377
17499
|
switch (field) {
|
16378
17500
|
case 1:
|
16379
|
-
var value = /** @type {number} */ (reader.
|
16380
|
-
msg.
|
17501
|
+
var value = /** @type {number} */ (reader.readInt32());
|
17502
|
+
msg.setSegmentId(value);
|
16381
17503
|
break;
|
16382
17504
|
case 2:
|
16383
|
-
var
|
16384
|
-
|
17505
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
17506
|
+
for (var i = 0; i < values.length; i++) {
|
17507
|
+
msg.addProviderIds(values[i]);
|
17508
|
+
}
|
16385
17509
|
break;
|
16386
17510
|
case 3:
|
16387
|
-
var
|
16388
|
-
|
17511
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
17512
|
+
for (var i = 0; i < values.length; i++) {
|
17513
|
+
msg.addCollectionIds(values[i]);
|
17514
|
+
}
|
16389
17515
|
break;
|
16390
17516
|
case 4:
|
16391
|
-
var
|
16392
|
-
|
17517
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
17518
|
+
for (var i = 0; i < values.length; i++) {
|
17519
|
+
msg.addTagIds(values[i]);
|
17520
|
+
}
|
16393
17521
|
break;
|
16394
17522
|
case 5:
|
16395
|
-
var
|
16396
|
-
|
17523
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
17524
|
+
for (var i = 0; i < values.length; i++) {
|
17525
|
+
msg.addGameIds(values[i]);
|
17526
|
+
}
|
16397
17527
|
break;
|
16398
17528
|
case 6:
|
16399
|
-
var value = /** @type {number} */ (reader.
|
16400
|
-
msg.
|
17529
|
+
var value = /** @type {number} */ (reader.readFloat());
|
17530
|
+
msg.setRtpMin(value);
|
16401
17531
|
break;
|
16402
17532
|
case 7:
|
16403
|
-
var value = /** @type {number} */ (reader.
|
16404
|
-
msg.
|
17533
|
+
var value = /** @type {number} */ (reader.readFloat());
|
17534
|
+
msg.setRtpMax(value);
|
16405
17535
|
break;
|
16406
17536
|
case 8:
|
16407
17537
|
var value = /** @type {number} */ (reader.readInt32());
|
16408
|
-
msg.
|
17538
|
+
msg.setIsActive(value);
|
16409
17539
|
break;
|
16410
17540
|
default:
|
16411
17541
|
reader.skipField();
|
@@ -16420,9 +17550,9 @@ proto.user.SegmentSessionRuleItem.deserializeBinaryFromReader = function(msg, re
|
|
16420
17550
|
* Serializes the message to binary data (in protobuf wire format).
|
16421
17551
|
* @return {!Uint8Array}
|
16422
17552
|
*/
|
16423
|
-
proto.user.
|
17553
|
+
proto.user.SegmentGameRuleItem.prototype.serializeBinary = function() {
|
16424
17554
|
var writer = new jspb.BinaryWriter();
|
16425
|
-
proto.user.
|
17555
|
+
proto.user.SegmentGameRuleItem.serializeBinaryToWriter(this, writer);
|
16426
17556
|
return writer.getResultBuffer();
|
16427
17557
|
};
|
16428
17558
|
|
@@ -16430,57 +17560,57 @@ proto.user.SegmentSessionRuleItem.prototype.serializeBinary = function() {
|
|
16430
17560
|
/**
|
16431
17561
|
* Serializes the given message to binary data (in protobuf wire
|
16432
17562
|
* format), writing to the given BinaryWriter.
|
16433
|
-
* @param {!proto.user.
|
17563
|
+
* @param {!proto.user.SegmentGameRuleItem} message
|
16434
17564
|
* @param {!jspb.BinaryWriter} writer
|
16435
17565
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
16436
17566
|
*/
|
16437
|
-
proto.user.
|
17567
|
+
proto.user.SegmentGameRuleItem.serializeBinaryToWriter = function(message, writer) {
|
16438
17568
|
var f = undefined;
|
16439
|
-
f =
|
16440
|
-
if (f
|
16441
|
-
writer.
|
17569
|
+
f = message.getSegmentId();
|
17570
|
+
if (f !== 0) {
|
17571
|
+
writer.writeInt32(
|
16442
17572
|
1,
|
16443
17573
|
f
|
16444
17574
|
);
|
16445
17575
|
}
|
16446
|
-
f =
|
16447
|
-
if (f
|
16448
|
-
writer.
|
17576
|
+
f = message.getProviderIdsList();
|
17577
|
+
if (f.length > 0) {
|
17578
|
+
writer.writePackedInt32(
|
16449
17579
|
2,
|
16450
17580
|
f
|
16451
17581
|
);
|
16452
17582
|
}
|
16453
|
-
f =
|
16454
|
-
if (f
|
16455
|
-
writer.
|
17583
|
+
f = message.getCollectionIdsList();
|
17584
|
+
if (f.length > 0) {
|
17585
|
+
writer.writePackedInt32(
|
16456
17586
|
3,
|
16457
17587
|
f
|
16458
17588
|
);
|
16459
17589
|
}
|
16460
|
-
f =
|
16461
|
-
if (f
|
16462
|
-
writer.
|
17590
|
+
f = message.getTagIdsList();
|
17591
|
+
if (f.length > 0) {
|
17592
|
+
writer.writePackedInt32(
|
16463
17593
|
4,
|
16464
17594
|
f
|
16465
17595
|
);
|
16466
17596
|
}
|
16467
|
-
f =
|
16468
|
-
if (f
|
16469
|
-
writer.
|
17597
|
+
f = message.getGameIdsList();
|
17598
|
+
if (f.length > 0) {
|
17599
|
+
writer.writePackedInt32(
|
16470
17600
|
5,
|
16471
17601
|
f
|
16472
17602
|
);
|
16473
17603
|
}
|
16474
17604
|
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
16475
17605
|
if (f != null) {
|
16476
|
-
writer.
|
17606
|
+
writer.writeFloat(
|
16477
17607
|
6,
|
16478
17608
|
f
|
16479
17609
|
);
|
16480
17610
|
}
|
16481
17611
|
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
16482
17612
|
if (f != null) {
|
16483
|
-
writer.
|
17613
|
+
writer.writeFloat(
|
16484
17614
|
7,
|
16485
17615
|
f
|
16486
17616
|
);
|
@@ -16496,208 +17626,194 @@ proto.user.SegmentSessionRuleItem.serializeBinaryToWriter = function(message, wr
|
|
16496
17626
|
|
16497
17627
|
|
16498
17628
|
/**
|
16499
|
-
* optional
|
17629
|
+
* optional int32 segment_id = 1;
|
16500
17630
|
* @return {number}
|
16501
17631
|
*/
|
16502
|
-
proto.user.
|
16503
|
-
return /** @type {number} */ (jspb.Message.
|
17632
|
+
proto.user.SegmentGameRuleItem.prototype.getSegmentId = function() {
|
17633
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
16504
17634
|
};
|
16505
17635
|
|
16506
17636
|
|
16507
17637
|
/**
|
16508
17638
|
* @param {number} value
|
16509
|
-
* @return {!proto.user.
|
16510
|
-
*/
|
16511
|
-
proto.user.SegmentSessionRuleItem.prototype.setSessionMinuteMin = function(value) {
|
16512
|
-
return jspb.Message.setField(this, 1, value);
|
16513
|
-
};
|
16514
|
-
|
16515
|
-
|
16516
|
-
/**
|
16517
|
-
* Clears the field making it undefined.
|
16518
|
-
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
17639
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16519
17640
|
*/
|
16520
|
-
proto.user.
|
16521
|
-
return jspb.Message.
|
17641
|
+
proto.user.SegmentGameRuleItem.prototype.setSegmentId = function(value) {
|
17642
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
16522
17643
|
};
|
16523
17644
|
|
16524
17645
|
|
16525
17646
|
/**
|
16526
|
-
*
|
16527
|
-
* @return {
|
17647
|
+
* repeated int32 provider_ids = 2;
|
17648
|
+
* @return {!Array<number>}
|
16528
17649
|
*/
|
16529
|
-
proto.user.
|
16530
|
-
return jspb.Message.
|
17650
|
+
proto.user.SegmentGameRuleItem.prototype.getProviderIdsList = function() {
|
17651
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
|
16531
17652
|
};
|
16532
17653
|
|
16533
17654
|
|
16534
17655
|
/**
|
16535
|
-
*
|
16536
|
-
* @return {
|
17656
|
+
* @param {!Array<number>} value
|
17657
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16537
17658
|
*/
|
16538
|
-
proto.user.
|
16539
|
-
return
|
17659
|
+
proto.user.SegmentGameRuleItem.prototype.setProviderIdsList = function(value) {
|
17660
|
+
return jspb.Message.setField(this, 2, value || []);
|
16540
17661
|
};
|
16541
17662
|
|
16542
17663
|
|
16543
17664
|
/**
|
16544
17665
|
* @param {number} value
|
16545
|
-
* @
|
17666
|
+
* @param {number=} opt_index
|
17667
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16546
17668
|
*/
|
16547
|
-
proto.user.
|
16548
|
-
return jspb.Message.
|
17669
|
+
proto.user.SegmentGameRuleItem.prototype.addProviderIds = function(value, opt_index) {
|
17670
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
16549
17671
|
};
|
16550
17672
|
|
16551
17673
|
|
16552
17674
|
/**
|
16553
|
-
* Clears the
|
16554
|
-
* @return {!proto.user.
|
17675
|
+
* Clears the list making it empty but non-null.
|
17676
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16555
17677
|
*/
|
16556
|
-
proto.user.
|
16557
|
-
return
|
17678
|
+
proto.user.SegmentGameRuleItem.prototype.clearProviderIdsList = function() {
|
17679
|
+
return this.setProviderIdsList([]);
|
16558
17680
|
};
|
16559
17681
|
|
16560
17682
|
|
16561
17683
|
/**
|
16562
|
-
*
|
16563
|
-
* @return {
|
17684
|
+
* repeated int32 collection_ids = 3;
|
17685
|
+
* @return {!Array<number>}
|
16564
17686
|
*/
|
16565
|
-
proto.user.
|
16566
|
-
return jspb.Message.
|
17687
|
+
proto.user.SegmentGameRuleItem.prototype.getCollectionIdsList = function() {
|
17688
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
16567
17689
|
};
|
16568
17690
|
|
16569
17691
|
|
16570
17692
|
/**
|
16571
|
-
*
|
16572
|
-
* @return {
|
17693
|
+
* @param {!Array<number>} value
|
17694
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16573
17695
|
*/
|
16574
|
-
proto.user.
|
16575
|
-
return
|
17696
|
+
proto.user.SegmentGameRuleItem.prototype.setCollectionIdsList = function(value) {
|
17697
|
+
return jspb.Message.setField(this, 3, value || []);
|
16576
17698
|
};
|
16577
17699
|
|
16578
17700
|
|
16579
17701
|
/**
|
16580
17702
|
* @param {number} value
|
16581
|
-
* @
|
17703
|
+
* @param {number=} opt_index
|
17704
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16582
17705
|
*/
|
16583
|
-
proto.user.
|
16584
|
-
return jspb.Message.
|
17706
|
+
proto.user.SegmentGameRuleItem.prototype.addCollectionIds = function(value, opt_index) {
|
17707
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
16585
17708
|
};
|
16586
17709
|
|
16587
17710
|
|
16588
17711
|
/**
|
16589
|
-
* Clears the
|
16590
|
-
* @return {!proto.user.
|
17712
|
+
* Clears the list making it empty but non-null.
|
17713
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16591
17714
|
*/
|
16592
|
-
proto.user.
|
16593
|
-
return
|
17715
|
+
proto.user.SegmentGameRuleItem.prototype.clearCollectionIdsList = function() {
|
17716
|
+
return this.setCollectionIdsList([]);
|
16594
17717
|
};
|
16595
17718
|
|
16596
17719
|
|
16597
17720
|
/**
|
16598
|
-
*
|
16599
|
-
* @return {
|
17721
|
+
* repeated int32 tag_ids = 4;
|
17722
|
+
* @return {!Array<number>}
|
16600
17723
|
*/
|
16601
|
-
proto.user.
|
16602
|
-
return jspb.Message.
|
17724
|
+
proto.user.SegmentGameRuleItem.prototype.getTagIdsList = function() {
|
17725
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
|
16603
17726
|
};
|
16604
17727
|
|
16605
17728
|
|
16606
17729
|
/**
|
16607
|
-
*
|
16608
|
-
* @return {
|
17730
|
+
* @param {!Array<number>} value
|
17731
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16609
17732
|
*/
|
16610
|
-
proto.user.
|
16611
|
-
return
|
17733
|
+
proto.user.SegmentGameRuleItem.prototype.setTagIdsList = function(value) {
|
17734
|
+
return jspb.Message.setField(this, 4, value || []);
|
16612
17735
|
};
|
16613
17736
|
|
16614
17737
|
|
16615
17738
|
/**
|
16616
17739
|
* @param {number} value
|
16617
|
-
* @
|
17740
|
+
* @param {number=} opt_index
|
17741
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16618
17742
|
*/
|
16619
|
-
proto.user.
|
16620
|
-
return jspb.Message.
|
17743
|
+
proto.user.SegmentGameRuleItem.prototype.addTagIds = function(value, opt_index) {
|
17744
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
16621
17745
|
};
|
16622
17746
|
|
16623
17747
|
|
16624
17748
|
/**
|
16625
|
-
* Clears the
|
16626
|
-
* @return {!proto.user.
|
17749
|
+
* Clears the list making it empty but non-null.
|
17750
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16627
17751
|
*/
|
16628
|
-
proto.user.
|
16629
|
-
return
|
17752
|
+
proto.user.SegmentGameRuleItem.prototype.clearTagIdsList = function() {
|
17753
|
+
return this.setTagIdsList([]);
|
16630
17754
|
};
|
16631
17755
|
|
16632
17756
|
|
16633
17757
|
/**
|
16634
|
-
*
|
16635
|
-
* @return {
|
17758
|
+
* repeated int32 game_ids = 5;
|
17759
|
+
* @return {!Array<number>}
|
16636
17760
|
*/
|
16637
|
-
proto.user.
|
16638
|
-
return jspb.Message.
|
17761
|
+
proto.user.SegmentGameRuleItem.prototype.getGameIdsList = function() {
|
17762
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
|
16639
17763
|
};
|
16640
17764
|
|
16641
17765
|
|
16642
17766
|
/**
|
16643
|
-
*
|
16644
|
-
* @return {
|
17767
|
+
* @param {!Array<number>} value
|
17768
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16645
17769
|
*/
|
16646
|
-
proto.user.
|
16647
|
-
return
|
17770
|
+
proto.user.SegmentGameRuleItem.prototype.setGameIdsList = function(value) {
|
17771
|
+
return jspb.Message.setField(this, 5, value || []);
|
16648
17772
|
};
|
16649
17773
|
|
16650
17774
|
|
16651
17775
|
/**
|
16652
17776
|
* @param {number} value
|
16653
|
-
* @
|
16654
|
-
|
16655
|
-
proto.user.SegmentSessionRuleItem.prototype.setHoursAfterRegistrationMin = function(value) {
|
16656
|
-
return jspb.Message.setField(this, 5, value);
|
16657
|
-
};
|
16658
|
-
|
16659
|
-
|
16660
|
-
/**
|
16661
|
-
* Clears the field making it undefined.
|
16662
|
-
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
17777
|
+
* @param {number=} opt_index
|
17778
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16663
17779
|
*/
|
16664
|
-
proto.user.
|
16665
|
-
return jspb.Message.
|
17780
|
+
proto.user.SegmentGameRuleItem.prototype.addGameIds = function(value, opt_index) {
|
17781
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
16666
17782
|
};
|
16667
17783
|
|
16668
17784
|
|
16669
17785
|
/**
|
16670
|
-
*
|
16671
|
-
* @return {
|
17786
|
+
* Clears the list making it empty but non-null.
|
17787
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16672
17788
|
*/
|
16673
|
-
proto.user.
|
16674
|
-
return
|
17789
|
+
proto.user.SegmentGameRuleItem.prototype.clearGameIdsList = function() {
|
17790
|
+
return this.setGameIdsList([]);
|
16675
17791
|
};
|
16676
17792
|
|
16677
17793
|
|
16678
17794
|
/**
|
16679
|
-
* optional
|
17795
|
+
* optional float rtp_min = 6;
|
16680
17796
|
* @return {number}
|
16681
17797
|
*/
|
16682
|
-
proto.user.
|
16683
|
-
return /** @type {number} */ (jspb.Message.
|
17798
|
+
proto.user.SegmentGameRuleItem.prototype.getRtpMin = function() {
|
17799
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
16684
17800
|
};
|
16685
17801
|
|
16686
17802
|
|
16687
17803
|
/**
|
16688
17804
|
* @param {number} value
|
16689
|
-
* @return {!proto.user.
|
17805
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16690
17806
|
*/
|
16691
|
-
proto.user.
|
17807
|
+
proto.user.SegmentGameRuleItem.prototype.setRtpMin = function(value) {
|
16692
17808
|
return jspb.Message.setField(this, 6, value);
|
16693
17809
|
};
|
16694
17810
|
|
16695
17811
|
|
16696
17812
|
/**
|
16697
17813
|
* Clears the field making it undefined.
|
16698
|
-
* @return {!proto.user.
|
17814
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16699
17815
|
*/
|
16700
|
-
proto.user.
|
17816
|
+
proto.user.SegmentGameRuleItem.prototype.clearRtpMin = function() {
|
16701
17817
|
return jspb.Message.setField(this, 6, undefined);
|
16702
17818
|
};
|
16703
17819
|
|
@@ -16706,34 +17822,34 @@ proto.user.SegmentSessionRuleItem.prototype.clearHoursAfterRegistrationMax = fun
|
|
16706
17822
|
* Returns whether this field is set.
|
16707
17823
|
* @return {boolean}
|
16708
17824
|
*/
|
16709
|
-
proto.user.
|
17825
|
+
proto.user.SegmentGameRuleItem.prototype.hasRtpMin = function() {
|
16710
17826
|
return jspb.Message.getField(this, 6) != null;
|
16711
17827
|
};
|
16712
17828
|
|
16713
17829
|
|
16714
17830
|
/**
|
16715
|
-
* optional
|
17831
|
+
* optional float rtp_max = 7;
|
16716
17832
|
* @return {number}
|
16717
17833
|
*/
|
16718
|
-
proto.user.
|
16719
|
-
return /** @type {number} */ (jspb.Message.
|
17834
|
+
proto.user.SegmentGameRuleItem.prototype.getRtpMax = function() {
|
17835
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
16720
17836
|
};
|
16721
17837
|
|
16722
17838
|
|
16723
17839
|
/**
|
16724
17840
|
* @param {number} value
|
16725
|
-
* @return {!proto.user.
|
17841
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16726
17842
|
*/
|
16727
|
-
proto.user.
|
17843
|
+
proto.user.SegmentGameRuleItem.prototype.setRtpMax = function(value) {
|
16728
17844
|
return jspb.Message.setField(this, 7, value);
|
16729
17845
|
};
|
16730
17846
|
|
16731
17847
|
|
16732
17848
|
/**
|
16733
17849
|
* Clears the field making it undefined.
|
16734
|
-
* @return {!proto.user.
|
17850
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16735
17851
|
*/
|
16736
|
-
proto.user.
|
17852
|
+
proto.user.SegmentGameRuleItem.prototype.clearRtpMax = function() {
|
16737
17853
|
return jspb.Message.setField(this, 7, undefined);
|
16738
17854
|
};
|
16739
17855
|
|
@@ -16742,34 +17858,34 @@ proto.user.SegmentSessionRuleItem.prototype.clearIsActive = function() {
|
|
16742
17858
|
* Returns whether this field is set.
|
16743
17859
|
* @return {boolean}
|
16744
17860
|
*/
|
16745
|
-
proto.user.
|
17861
|
+
proto.user.SegmentGameRuleItem.prototype.hasRtpMax = function() {
|
16746
17862
|
return jspb.Message.getField(this, 7) != null;
|
16747
17863
|
};
|
16748
17864
|
|
16749
17865
|
|
16750
17866
|
/**
|
16751
|
-
* optional int32
|
17867
|
+
* optional int32 is_active = 8;
|
16752
17868
|
* @return {number}
|
16753
17869
|
*/
|
16754
|
-
proto.user.
|
17870
|
+
proto.user.SegmentGameRuleItem.prototype.getIsActive = function() {
|
16755
17871
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
16756
17872
|
};
|
16757
17873
|
|
16758
17874
|
|
16759
17875
|
/**
|
16760
17876
|
* @param {number} value
|
16761
|
-
* @return {!proto.user.
|
17877
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16762
17878
|
*/
|
16763
|
-
proto.user.
|
17879
|
+
proto.user.SegmentGameRuleItem.prototype.setIsActive = function(value) {
|
16764
17880
|
return jspb.Message.setField(this, 8, value);
|
16765
17881
|
};
|
16766
17882
|
|
16767
17883
|
|
16768
17884
|
/**
|
16769
17885
|
* Clears the field making it undefined.
|
16770
|
-
* @return {!proto.user.
|
17886
|
+
* @return {!proto.user.SegmentGameRuleItem} returns this
|
16771
17887
|
*/
|
16772
|
-
proto.user.
|
17888
|
+
proto.user.SegmentGameRuleItem.prototype.clearIsActive = function() {
|
16773
17889
|
return jspb.Message.setField(this, 8, undefined);
|
16774
17890
|
};
|
16775
17891
|
|
@@ -16778,7 +17894,7 @@ proto.user.SegmentSessionRuleItem.prototype.clearSegmentId = function() {
|
|
16778
17894
|
* Returns whether this field is set.
|
16779
17895
|
* @return {boolean}
|
16780
17896
|
*/
|
16781
|
-
proto.user.
|
17897
|
+
proto.user.SegmentGameRuleItem.prototype.hasIsActive = function() {
|
16782
17898
|
return jspb.Message.getField(this, 8) != null;
|
16783
17899
|
};
|
16784
17900
|
|