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