protobuf-platform 1.1.87 → 1.1.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/user/user.proto +22 -0
- package/user/user_pb.js +1369 -268
package/user/user_pb.js
CHANGED
@@ -63,6 +63,8 @@ goog.exportSymbol('proto.user.SegmentResponse', null, global);
|
|
63
63
|
goog.exportSymbol('proto.user.SegmentRuleItem', null, global);
|
64
64
|
goog.exportSymbol('proto.user.SegmentRuleRequest', null, global);
|
65
65
|
goog.exportSymbol('proto.user.SegmentSearchParams', null, global);
|
66
|
+
goog.exportSymbol('proto.user.SegmentSessionRuleItem', null, global);
|
67
|
+
goog.exportSymbol('proto.user.SegmentSessionRuleRequest', null, global);
|
66
68
|
goog.exportSymbol('proto.user.SegmentStatusResponse', null, global);
|
67
69
|
goog.exportSymbol('proto.user.SumSubApplicantRequest', null, global);
|
68
70
|
goog.exportSymbol('proto.user.SumSubDocumentItemRequest', null, global);
|
@@ -689,6 +691,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
689
691
|
*/
|
690
692
|
proto.user.SegmentBetRuleRequest.displayName = 'proto.user.SegmentBetRuleRequest';
|
691
693
|
}
|
694
|
+
/**
|
695
|
+
* Generated by JsPbCodeGenerator.
|
696
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
697
|
+
* server response, or constructed directly in Javascript. The array is used
|
698
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
699
|
+
* If no data is provided, the constructed object will be empty, but still
|
700
|
+
* valid.
|
701
|
+
* @extends {jspb.Message}
|
702
|
+
* @constructor
|
703
|
+
*/
|
704
|
+
proto.user.SegmentSessionRuleRequest = function(opt_data) {
|
705
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
706
|
+
};
|
707
|
+
goog.inherits(proto.user.SegmentSessionRuleRequest, jspb.Message);
|
708
|
+
if (goog.DEBUG && !COMPILED) {
|
709
|
+
/**
|
710
|
+
* @public
|
711
|
+
* @override
|
712
|
+
*/
|
713
|
+
proto.user.SegmentSessionRuleRequest.displayName = 'proto.user.SegmentSessionRuleRequest';
|
714
|
+
}
|
692
715
|
/**
|
693
716
|
* Generated by JsPbCodeGenerator.
|
694
717
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -752,6 +775,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
752
775
|
*/
|
753
776
|
proto.user.SegmentBetRuleItem.displayName = 'proto.user.SegmentBetRuleItem';
|
754
777
|
}
|
778
|
+
/**
|
779
|
+
* Generated by JsPbCodeGenerator.
|
780
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
781
|
+
* server response, or constructed directly in Javascript. The array is used
|
782
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
783
|
+
* If no data is provided, the constructed object will be empty, but still
|
784
|
+
* valid.
|
785
|
+
* @extends {jspb.Message}
|
786
|
+
* @constructor
|
787
|
+
*/
|
788
|
+
proto.user.SegmentSessionRuleItem = function(opt_data) {
|
789
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
790
|
+
};
|
791
|
+
goog.inherits(proto.user.SegmentSessionRuleItem, jspb.Message);
|
792
|
+
if (goog.DEBUG && !COMPILED) {
|
793
|
+
/**
|
794
|
+
* @public
|
795
|
+
* @override
|
796
|
+
*/
|
797
|
+
proto.user.SegmentSessionRuleItem.displayName = 'proto.user.SegmentSessionRuleItem';
|
798
|
+
}
|
755
799
|
/**
|
756
800
|
* Generated by JsPbCodeGenerator.
|
757
801
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -10529,7 +10573,7 @@ proto.user.GetSegmentRequest.prototype.hasGeo = function() {
|
|
10529
10573
|
* @private {!Array<number>}
|
10530
10574
|
* @const
|
10531
10575
|
*/
|
10532
|
-
proto.user.SegmentResponse.repeatedFields_ = [7,8];
|
10576
|
+
proto.user.SegmentResponse.repeatedFields_ = [7,8,9];
|
10533
10577
|
|
10534
10578
|
|
10535
10579
|
|
@@ -10571,7 +10615,9 @@ proto.user.SegmentResponse.toObject = function(includeInstance, msg) {
|
|
10571
10615
|
paymentRulesList: jspb.Message.toObjectList(msg.getPaymentRulesList(),
|
10572
10616
|
proto.user.SegmentPaymentRuleItem.toObject, includeInstance),
|
10573
10617
|
betRulesList: jspb.Message.toObjectList(msg.getBetRulesList(),
|
10574
|
-
proto.user.SegmentBetRuleItem.toObject, includeInstance)
|
10618
|
+
proto.user.SegmentBetRuleItem.toObject, includeInstance),
|
10619
|
+
sessionRulesList: jspb.Message.toObjectList(msg.getSessionRulesList(),
|
10620
|
+
proto.user.SegmentSessionRuleItem.toObject, includeInstance)
|
10575
10621
|
};
|
10576
10622
|
|
10577
10623
|
if (includeInstance) {
|
@@ -10642,6 +10688,11 @@ proto.user.SegmentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10642
10688
|
reader.readMessage(value,proto.user.SegmentBetRuleItem.deserializeBinaryFromReader);
|
10643
10689
|
msg.addBetRules(value);
|
10644
10690
|
break;
|
10691
|
+
case 9:
|
10692
|
+
var value = new proto.user.SegmentSessionRuleItem;
|
10693
|
+
reader.readMessage(value,proto.user.SegmentSessionRuleItem.deserializeBinaryFromReader);
|
10694
|
+
msg.addSessionRules(value);
|
10695
|
+
break;
|
10645
10696
|
default:
|
10646
10697
|
reader.skipField();
|
10647
10698
|
break;
|
@@ -10729,6 +10780,14 @@ proto.user.SegmentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10729
10780
|
proto.user.SegmentBetRuleItem.serializeBinaryToWriter
|
10730
10781
|
);
|
10731
10782
|
}
|
10783
|
+
f = message.getSessionRulesList();
|
10784
|
+
if (f.length > 0) {
|
10785
|
+
writer.writeRepeatedMessage(
|
10786
|
+
9,
|
10787
|
+
f,
|
10788
|
+
proto.user.SegmentSessionRuleItem.serializeBinaryToWriter
|
10789
|
+
);
|
10790
|
+
}
|
10732
10791
|
};
|
10733
10792
|
|
10734
10793
|
|
@@ -11024,6 +11083,44 @@ proto.user.SegmentResponse.prototype.clearBetRulesList = function() {
|
|
11024
11083
|
};
|
11025
11084
|
|
11026
11085
|
|
11086
|
+
/**
|
11087
|
+
* repeated SegmentSessionRuleItem session_rules = 9;
|
11088
|
+
* @return {!Array<!proto.user.SegmentSessionRuleItem>}
|
11089
|
+
*/
|
11090
|
+
proto.user.SegmentResponse.prototype.getSessionRulesList = function() {
|
11091
|
+
return /** @type{!Array<!proto.user.SegmentSessionRuleItem>} */ (
|
11092
|
+
jspb.Message.getRepeatedWrapperField(this, proto.user.SegmentSessionRuleItem, 9));
|
11093
|
+
};
|
11094
|
+
|
11095
|
+
|
11096
|
+
/**
|
11097
|
+
* @param {!Array<!proto.user.SegmentSessionRuleItem>} value
|
11098
|
+
* @return {!proto.user.SegmentResponse} returns this
|
11099
|
+
*/
|
11100
|
+
proto.user.SegmentResponse.prototype.setSessionRulesList = function(value) {
|
11101
|
+
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
11102
|
+
};
|
11103
|
+
|
11104
|
+
|
11105
|
+
/**
|
11106
|
+
* @param {!proto.user.SegmentSessionRuleItem=} opt_value
|
11107
|
+
* @param {number=} opt_index
|
11108
|
+
* @return {!proto.user.SegmentSessionRuleItem}
|
11109
|
+
*/
|
11110
|
+
proto.user.SegmentResponse.prototype.addSessionRules = function(opt_value, opt_index) {
|
11111
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.user.SegmentSessionRuleItem, opt_index);
|
11112
|
+
};
|
11113
|
+
|
11114
|
+
|
11115
|
+
/**
|
11116
|
+
* Clears the list making it empty but non-null.
|
11117
|
+
* @return {!proto.user.SegmentResponse} returns this
|
11118
|
+
*/
|
11119
|
+
proto.user.SegmentResponse.prototype.clearSessionRulesList = function() {
|
11120
|
+
return this.setSessionRulesList([]);
|
11121
|
+
};
|
11122
|
+
|
11123
|
+
|
11027
11124
|
|
11028
11125
|
|
11029
11126
|
|
@@ -11443,7 +11540,8 @@ proto.user.SegmentRuleRequest.prototype.toObject = function(opt_includeInstance)
|
|
11443
11540
|
proto.user.SegmentRuleRequest.toObject = function(includeInstance, msg) {
|
11444
11541
|
var f, obj = {
|
11445
11542
|
paymentRule: (f = msg.getPaymentRule()) && proto.user.SegmentPaymentRuleRequest.toObject(includeInstance, f),
|
11446
|
-
betRule: (f = msg.getBetRule()) && proto.user.SegmentBetRuleRequest.toObject(includeInstance, f)
|
11543
|
+
betRule: (f = msg.getBetRule()) && proto.user.SegmentBetRuleRequest.toObject(includeInstance, f),
|
11544
|
+
sessionRule: (f = msg.getSessionRule()) && proto.user.SegmentSessionRuleRequest.toObject(includeInstance, f)
|
11447
11545
|
};
|
11448
11546
|
|
11449
11547
|
if (includeInstance) {
|
@@ -11490,6 +11588,11 @@ proto.user.SegmentRuleRequest.deserializeBinaryFromReader = function(msg, reader
|
|
11490
11588
|
reader.readMessage(value,proto.user.SegmentBetRuleRequest.deserializeBinaryFromReader);
|
11491
11589
|
msg.setBetRule(value);
|
11492
11590
|
break;
|
11591
|
+
case 3:
|
11592
|
+
var value = new proto.user.SegmentSessionRuleRequest;
|
11593
|
+
reader.readMessage(value,proto.user.SegmentSessionRuleRequest.deserializeBinaryFromReader);
|
11594
|
+
msg.setSessionRule(value);
|
11595
|
+
break;
|
11493
11596
|
default:
|
11494
11597
|
reader.skipField();
|
11495
11598
|
break;
|
@@ -11535,6 +11638,14 @@ proto.user.SegmentRuleRequest.serializeBinaryToWriter = function(message, writer
|
|
11535
11638
|
proto.user.SegmentBetRuleRequest.serializeBinaryToWriter
|
11536
11639
|
);
|
11537
11640
|
}
|
11641
|
+
f = message.getSessionRule();
|
11642
|
+
if (f != null) {
|
11643
|
+
writer.writeMessage(
|
11644
|
+
3,
|
11645
|
+
f,
|
11646
|
+
proto.user.SegmentSessionRuleRequest.serializeBinaryToWriter
|
11647
|
+
);
|
11648
|
+
}
|
11538
11649
|
};
|
11539
11650
|
|
11540
11651
|
|
@@ -11612,6 +11723,43 @@ proto.user.SegmentRuleRequest.prototype.hasBetRule = function() {
|
|
11612
11723
|
};
|
11613
11724
|
|
11614
11725
|
|
11726
|
+
/**
|
11727
|
+
* optional SegmentSessionRuleRequest session_rule = 3;
|
11728
|
+
* @return {?proto.user.SegmentSessionRuleRequest}
|
11729
|
+
*/
|
11730
|
+
proto.user.SegmentRuleRequest.prototype.getSessionRule = function() {
|
11731
|
+
return /** @type{?proto.user.SegmentSessionRuleRequest} */ (
|
11732
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentSessionRuleRequest, 3));
|
11733
|
+
};
|
11734
|
+
|
11735
|
+
|
11736
|
+
/**
|
11737
|
+
* @param {?proto.user.SegmentSessionRuleRequest|undefined} value
|
11738
|
+
* @return {!proto.user.SegmentRuleRequest} returns this
|
11739
|
+
*/
|
11740
|
+
proto.user.SegmentRuleRequest.prototype.setSessionRule = function(value) {
|
11741
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
11742
|
+
};
|
11743
|
+
|
11744
|
+
|
11745
|
+
/**
|
11746
|
+
* Clears the message field making it undefined.
|
11747
|
+
* @return {!proto.user.SegmentRuleRequest} returns this
|
11748
|
+
*/
|
11749
|
+
proto.user.SegmentRuleRequest.prototype.clearSessionRule = function() {
|
11750
|
+
return this.setSessionRule(undefined);
|
11751
|
+
};
|
11752
|
+
|
11753
|
+
|
11754
|
+
/**
|
11755
|
+
* Returns whether this field is set.
|
11756
|
+
* @return {boolean}
|
11757
|
+
*/
|
11758
|
+
proto.user.SegmentRuleRequest.prototype.hasSessionRule = function() {
|
11759
|
+
return jspb.Message.getField(this, 3) != null;
|
11760
|
+
};
|
11761
|
+
|
11762
|
+
|
11615
11763
|
|
11616
11764
|
|
11617
11765
|
|
@@ -13607,8 +13755,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13607
13755
|
* http://goto/soy-param-migration
|
13608
13756
|
* @return {!Object}
|
13609
13757
|
*/
|
13610
|
-
proto.user.
|
13611
|
-
return proto.user.
|
13758
|
+
proto.user.SegmentSessionRuleRequest.prototype.toObject = function(opt_includeInstance) {
|
13759
|
+
return proto.user.SegmentSessionRuleRequest.toObject(opt_includeInstance, this);
|
13612
13760
|
};
|
13613
13761
|
|
13614
13762
|
|
@@ -13617,14 +13765,20 @@ proto.user.SegmentRuleItem.prototype.toObject = function(opt_includeInstance) {
|
|
13617
13765
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
13618
13766
|
* the JSPB instance for transitional soy proto support:
|
13619
13767
|
* http://goto/soy-param-migration
|
13620
|
-
* @param {!proto.user.
|
13768
|
+
* @param {!proto.user.SegmentSessionRuleRequest} msg The msg instance to transform.
|
13621
13769
|
* @return {!Object}
|
13622
13770
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
13623
13771
|
*/
|
13624
|
-
proto.user.
|
13772
|
+
proto.user.SegmentSessionRuleRequest.toObject = function(includeInstance, msg) {
|
13625
13773
|
var f, obj = {
|
13626
|
-
|
13627
|
-
|
13774
|
+
segmentId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
13775
|
+
sessionMinuteMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
13776
|
+
sessionMinuteMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
13777
|
+
sessionCountMin: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
13778
|
+
sessionCountMax: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
13779
|
+
hoursAfterRegistrationMin: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
13780
|
+
hoursAfterRegistrationMax: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
13781
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
13628
13782
|
};
|
13629
13783
|
|
13630
13784
|
if (includeInstance) {
|
@@ -13638,23 +13792,23 @@ proto.user.SegmentRuleItem.toObject = function(includeInstance, msg) {
|
|
13638
13792
|
/**
|
13639
13793
|
* Deserializes binary data (in protobuf wire format).
|
13640
13794
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
13641
|
-
* @return {!proto.user.
|
13795
|
+
* @return {!proto.user.SegmentSessionRuleRequest}
|
13642
13796
|
*/
|
13643
|
-
proto.user.
|
13797
|
+
proto.user.SegmentSessionRuleRequest.deserializeBinary = function(bytes) {
|
13644
13798
|
var reader = new jspb.BinaryReader(bytes);
|
13645
|
-
var msg = new proto.user.
|
13646
|
-
return proto.user.
|
13799
|
+
var msg = new proto.user.SegmentSessionRuleRequest;
|
13800
|
+
return proto.user.SegmentSessionRuleRequest.deserializeBinaryFromReader(msg, reader);
|
13647
13801
|
};
|
13648
13802
|
|
13649
13803
|
|
13650
13804
|
/**
|
13651
13805
|
* Deserializes binary data (in protobuf wire format) from the
|
13652
13806
|
* given reader into the given message object.
|
13653
|
-
* @param {!proto.user.
|
13807
|
+
* @param {!proto.user.SegmentSessionRuleRequest} msg The message object to deserialize into.
|
13654
13808
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
13655
|
-
* @return {!proto.user.
|
13809
|
+
* @return {!proto.user.SegmentSessionRuleRequest}
|
13656
13810
|
*/
|
13657
|
-
proto.user.
|
13811
|
+
proto.user.SegmentSessionRuleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
13658
13812
|
while (reader.nextField()) {
|
13659
13813
|
if (reader.isEndGroup()) {
|
13660
13814
|
break;
|
@@ -13662,14 +13816,36 @@ proto.user.SegmentRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
13662
13816
|
var field = reader.getFieldNumber();
|
13663
13817
|
switch (field) {
|
13664
13818
|
case 1:
|
13665
|
-
var value =
|
13666
|
-
|
13667
|
-
msg.setPaymentRule(value);
|
13819
|
+
var value = /** @type {number} */ (reader.readInt32());
|
13820
|
+
msg.setSegmentId(value);
|
13668
13821
|
break;
|
13669
13822
|
case 2:
|
13670
|
-
var value =
|
13671
|
-
|
13672
|
-
|
13823
|
+
var value = /** @type {number} */ (reader.readFloat());
|
13824
|
+
msg.setSessionMinuteMin(value);
|
13825
|
+
break;
|
13826
|
+
case 3:
|
13827
|
+
var value = /** @type {number} */ (reader.readFloat());
|
13828
|
+
msg.setSessionMinuteMax(value);
|
13829
|
+
break;
|
13830
|
+
case 4:
|
13831
|
+
var value = /** @type {number} */ (reader.readInt32());
|
13832
|
+
msg.setSessionCountMin(value);
|
13833
|
+
break;
|
13834
|
+
case 5:
|
13835
|
+
var value = /** @type {number} */ (reader.readInt32());
|
13836
|
+
msg.setSessionCountMax(value);
|
13837
|
+
break;
|
13838
|
+
case 6:
|
13839
|
+
var value = /** @type {number} */ (reader.readInt32());
|
13840
|
+
msg.setHoursAfterRegistrationMin(value);
|
13841
|
+
break;
|
13842
|
+
case 7:
|
13843
|
+
var value = /** @type {number} */ (reader.readInt32());
|
13844
|
+
msg.setHoursAfterRegistrationMax(value);
|
13845
|
+
break;
|
13846
|
+
case 8:
|
13847
|
+
var value = /** @type {number} */ (reader.readInt32());
|
13848
|
+
msg.setIsActive(value);
|
13673
13849
|
break;
|
13674
13850
|
default:
|
13675
13851
|
reader.skipField();
|
@@ -13684,9 +13860,9 @@ proto.user.SegmentRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
13684
13860
|
* Serializes the message to binary data (in protobuf wire format).
|
13685
13861
|
* @return {!Uint8Array}
|
13686
13862
|
*/
|
13687
|
-
proto.user.
|
13863
|
+
proto.user.SegmentSessionRuleRequest.prototype.serializeBinary = function() {
|
13688
13864
|
var writer = new jspb.BinaryWriter();
|
13689
|
-
proto.user.
|
13865
|
+
proto.user.SegmentSessionRuleRequest.serializeBinaryToWriter(this, writer);
|
13690
13866
|
return writer.getResultBuffer();
|
13691
13867
|
};
|
13692
13868
|
|
@@ -13694,102 +13870,591 @@ proto.user.SegmentRuleItem.prototype.serializeBinary = function() {
|
|
13694
13870
|
/**
|
13695
13871
|
* Serializes the given message to binary data (in protobuf wire
|
13696
13872
|
* format), writing to the given BinaryWriter.
|
13697
|
-
* @param {!proto.user.
|
13873
|
+
* @param {!proto.user.SegmentSessionRuleRequest} message
|
13698
13874
|
* @param {!jspb.BinaryWriter} writer
|
13699
13875
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
13700
13876
|
*/
|
13701
|
-
proto.user.
|
13877
|
+
proto.user.SegmentSessionRuleRequest.serializeBinaryToWriter = function(message, writer) {
|
13702
13878
|
var f = undefined;
|
13703
|
-
f = message.
|
13704
|
-
if (f
|
13705
|
-
writer.
|
13879
|
+
f = message.getSegmentId();
|
13880
|
+
if (f !== 0) {
|
13881
|
+
writer.writeInt32(
|
13706
13882
|
1,
|
13707
|
-
f
|
13708
|
-
proto.user.SegmentPaymentRuleItem.serializeBinaryToWriter
|
13883
|
+
f
|
13709
13884
|
);
|
13710
13885
|
}
|
13711
|
-
f =
|
13886
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
13712
13887
|
if (f != null) {
|
13713
|
-
writer.
|
13888
|
+
writer.writeFloat(
|
13714
13889
|
2,
|
13715
|
-
f
|
13716
|
-
|
13890
|
+
f
|
13891
|
+
);
|
13892
|
+
}
|
13893
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
13894
|
+
if (f != null) {
|
13895
|
+
writer.writeFloat(
|
13896
|
+
3,
|
13897
|
+
f
|
13898
|
+
);
|
13899
|
+
}
|
13900
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
13901
|
+
if (f != null) {
|
13902
|
+
writer.writeInt32(
|
13903
|
+
4,
|
13904
|
+
f
|
13905
|
+
);
|
13906
|
+
}
|
13907
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
13908
|
+
if (f != null) {
|
13909
|
+
writer.writeInt32(
|
13910
|
+
5,
|
13911
|
+
f
|
13912
|
+
);
|
13913
|
+
}
|
13914
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
13915
|
+
if (f != null) {
|
13916
|
+
writer.writeInt32(
|
13917
|
+
6,
|
13918
|
+
f
|
13919
|
+
);
|
13920
|
+
}
|
13921
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
13922
|
+
if (f != null) {
|
13923
|
+
writer.writeInt32(
|
13924
|
+
7,
|
13925
|
+
f
|
13926
|
+
);
|
13927
|
+
}
|
13928
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
13929
|
+
if (f != null) {
|
13930
|
+
writer.writeInt32(
|
13931
|
+
8,
|
13932
|
+
f
|
13717
13933
|
);
|
13718
13934
|
}
|
13719
13935
|
};
|
13720
13936
|
|
13721
13937
|
|
13722
13938
|
/**
|
13723
|
-
* optional
|
13724
|
-
* @return {
|
13939
|
+
* optional int32 segment_id = 1;
|
13940
|
+
* @return {number}
|
13725
13941
|
*/
|
13726
|
-
proto.user.
|
13727
|
-
return /** @type{
|
13728
|
-
jspb.Message.getWrapperField(this, proto.user.SegmentPaymentRuleItem, 1));
|
13942
|
+
proto.user.SegmentSessionRuleRequest.prototype.getSegmentId = function() {
|
13943
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
13729
13944
|
};
|
13730
13945
|
|
13731
13946
|
|
13732
13947
|
/**
|
13733
|
-
* @param {
|
13734
|
-
* @return {!proto.user.
|
13735
|
-
*/
|
13736
|
-
proto.user.
|
13737
|
-
return jspb.Message.
|
13948
|
+
* @param {number} value
|
13949
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
13950
|
+
*/
|
13951
|
+
proto.user.SegmentSessionRuleRequest.prototype.setSegmentId = function(value) {
|
13952
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
13738
13953
|
};
|
13739
13954
|
|
13740
13955
|
|
13741
13956
|
/**
|
13742
|
-
*
|
13743
|
-
* @return {
|
13957
|
+
* optional float session_minute_min = 2;
|
13958
|
+
* @return {number}
|
13744
13959
|
*/
|
13745
|
-
proto.user.
|
13746
|
-
return this.
|
13960
|
+
proto.user.SegmentSessionRuleRequest.prototype.getSessionMinuteMin = function() {
|
13961
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
13747
13962
|
};
|
13748
13963
|
|
13749
13964
|
|
13750
13965
|
/**
|
13751
|
-
*
|
13752
|
-
* @return {
|
13966
|
+
* @param {number} value
|
13967
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
13753
13968
|
*/
|
13754
|
-
proto.user.
|
13755
|
-
return jspb.Message.
|
13969
|
+
proto.user.SegmentSessionRuleRequest.prototype.setSessionMinuteMin = function(value) {
|
13970
|
+
return jspb.Message.setField(this, 2, value);
|
13756
13971
|
};
|
13757
13972
|
|
13758
13973
|
|
13759
13974
|
/**
|
13760
|
-
*
|
13761
|
-
* @return {
|
13975
|
+
* Clears the field making it undefined.
|
13976
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
13762
13977
|
*/
|
13763
|
-
proto.user.
|
13764
|
-
return
|
13765
|
-
jspb.Message.getWrapperField(this, proto.user.SegmentBetRuleItem, 2));
|
13978
|
+
proto.user.SegmentSessionRuleRequest.prototype.clearSessionMinuteMin = function() {
|
13979
|
+
return jspb.Message.setField(this, 2, undefined);
|
13766
13980
|
};
|
13767
13981
|
|
13768
13982
|
|
13769
13983
|
/**
|
13770
|
-
*
|
13771
|
-
* @return {
|
13772
|
-
*/
|
13773
|
-
proto.user.
|
13774
|
-
return jspb.Message.
|
13984
|
+
* Returns whether this field is set.
|
13985
|
+
* @return {boolean}
|
13986
|
+
*/
|
13987
|
+
proto.user.SegmentSessionRuleRequest.prototype.hasSessionMinuteMin = function() {
|
13988
|
+
return jspb.Message.getField(this, 2) != null;
|
13775
13989
|
};
|
13776
13990
|
|
13777
13991
|
|
13778
13992
|
/**
|
13779
|
-
*
|
13780
|
-
* @return {
|
13993
|
+
* optional float session_minute_max = 3;
|
13994
|
+
* @return {number}
|
13781
13995
|
*/
|
13782
|
-
proto.user.
|
13783
|
-
return this.
|
13996
|
+
proto.user.SegmentSessionRuleRequest.prototype.getSessionMinuteMax = function() {
|
13997
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
13784
13998
|
};
|
13785
13999
|
|
13786
14000
|
|
13787
14001
|
/**
|
13788
|
-
*
|
14002
|
+
* @param {number} value
|
14003
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
14004
|
+
*/
|
14005
|
+
proto.user.SegmentSessionRuleRequest.prototype.setSessionMinuteMax = function(value) {
|
14006
|
+
return jspb.Message.setField(this, 3, value);
|
14007
|
+
};
|
14008
|
+
|
14009
|
+
|
14010
|
+
/**
|
14011
|
+
* Clears the field making it undefined.
|
14012
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
14013
|
+
*/
|
14014
|
+
proto.user.SegmentSessionRuleRequest.prototype.clearSessionMinuteMax = function() {
|
14015
|
+
return jspb.Message.setField(this, 3, undefined);
|
14016
|
+
};
|
14017
|
+
|
14018
|
+
|
14019
|
+
/**
|
14020
|
+
* Returns whether this field is set.
|
14021
|
+
* @return {boolean}
|
14022
|
+
*/
|
14023
|
+
proto.user.SegmentSessionRuleRequest.prototype.hasSessionMinuteMax = function() {
|
14024
|
+
return jspb.Message.getField(this, 3) != null;
|
14025
|
+
};
|
14026
|
+
|
14027
|
+
|
14028
|
+
/**
|
14029
|
+
* optional int32 session_count_min = 4;
|
14030
|
+
* @return {number}
|
14031
|
+
*/
|
14032
|
+
proto.user.SegmentSessionRuleRequest.prototype.getSessionCountMin = function() {
|
14033
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
14034
|
+
};
|
14035
|
+
|
14036
|
+
|
14037
|
+
/**
|
14038
|
+
* @param {number} value
|
14039
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
14040
|
+
*/
|
14041
|
+
proto.user.SegmentSessionRuleRequest.prototype.setSessionCountMin = function(value) {
|
14042
|
+
return jspb.Message.setField(this, 4, value);
|
14043
|
+
};
|
14044
|
+
|
14045
|
+
|
14046
|
+
/**
|
14047
|
+
* Clears the field making it undefined.
|
14048
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
14049
|
+
*/
|
14050
|
+
proto.user.SegmentSessionRuleRequest.prototype.clearSessionCountMin = function() {
|
14051
|
+
return jspb.Message.setField(this, 4, undefined);
|
14052
|
+
};
|
14053
|
+
|
14054
|
+
|
14055
|
+
/**
|
14056
|
+
* Returns whether this field is set.
|
14057
|
+
* @return {boolean}
|
14058
|
+
*/
|
14059
|
+
proto.user.SegmentSessionRuleRequest.prototype.hasSessionCountMin = function() {
|
14060
|
+
return jspb.Message.getField(this, 4) != null;
|
14061
|
+
};
|
14062
|
+
|
14063
|
+
|
14064
|
+
/**
|
14065
|
+
* optional int32 session_count_max = 5;
|
14066
|
+
* @return {number}
|
14067
|
+
*/
|
14068
|
+
proto.user.SegmentSessionRuleRequest.prototype.getSessionCountMax = function() {
|
14069
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
14070
|
+
};
|
14071
|
+
|
14072
|
+
|
14073
|
+
/**
|
14074
|
+
* @param {number} value
|
14075
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
14076
|
+
*/
|
14077
|
+
proto.user.SegmentSessionRuleRequest.prototype.setSessionCountMax = function(value) {
|
14078
|
+
return jspb.Message.setField(this, 5, value);
|
14079
|
+
};
|
14080
|
+
|
14081
|
+
|
14082
|
+
/**
|
14083
|
+
* Clears the field making it undefined.
|
14084
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
14085
|
+
*/
|
14086
|
+
proto.user.SegmentSessionRuleRequest.prototype.clearSessionCountMax = function() {
|
14087
|
+
return jspb.Message.setField(this, 5, undefined);
|
14088
|
+
};
|
14089
|
+
|
14090
|
+
|
14091
|
+
/**
|
14092
|
+
* Returns whether this field is set.
|
14093
|
+
* @return {boolean}
|
14094
|
+
*/
|
14095
|
+
proto.user.SegmentSessionRuleRequest.prototype.hasSessionCountMax = function() {
|
14096
|
+
return jspb.Message.getField(this, 5) != null;
|
14097
|
+
};
|
14098
|
+
|
14099
|
+
|
14100
|
+
/**
|
14101
|
+
* optional int32 hours_after_registration_min = 6;
|
14102
|
+
* @return {number}
|
14103
|
+
*/
|
14104
|
+
proto.user.SegmentSessionRuleRequest.prototype.getHoursAfterRegistrationMin = function() {
|
14105
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
14106
|
+
};
|
14107
|
+
|
14108
|
+
|
14109
|
+
/**
|
14110
|
+
* @param {number} value
|
14111
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
14112
|
+
*/
|
14113
|
+
proto.user.SegmentSessionRuleRequest.prototype.setHoursAfterRegistrationMin = function(value) {
|
14114
|
+
return jspb.Message.setField(this, 6, value);
|
14115
|
+
};
|
14116
|
+
|
14117
|
+
|
14118
|
+
/**
|
14119
|
+
* Clears the field making it undefined.
|
14120
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
14121
|
+
*/
|
14122
|
+
proto.user.SegmentSessionRuleRequest.prototype.clearHoursAfterRegistrationMin = function() {
|
14123
|
+
return jspb.Message.setField(this, 6, undefined);
|
14124
|
+
};
|
14125
|
+
|
14126
|
+
|
14127
|
+
/**
|
14128
|
+
* Returns whether this field is set.
|
14129
|
+
* @return {boolean}
|
14130
|
+
*/
|
14131
|
+
proto.user.SegmentSessionRuleRequest.prototype.hasHoursAfterRegistrationMin = function() {
|
14132
|
+
return jspb.Message.getField(this, 6) != null;
|
14133
|
+
};
|
14134
|
+
|
14135
|
+
|
14136
|
+
/**
|
14137
|
+
* optional int32 hours_after_registration_max = 7;
|
14138
|
+
* @return {number}
|
14139
|
+
*/
|
14140
|
+
proto.user.SegmentSessionRuleRequest.prototype.getHoursAfterRegistrationMax = function() {
|
14141
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
14142
|
+
};
|
14143
|
+
|
14144
|
+
|
14145
|
+
/**
|
14146
|
+
* @param {number} value
|
14147
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
14148
|
+
*/
|
14149
|
+
proto.user.SegmentSessionRuleRequest.prototype.setHoursAfterRegistrationMax = function(value) {
|
14150
|
+
return jspb.Message.setField(this, 7, value);
|
14151
|
+
};
|
14152
|
+
|
14153
|
+
|
14154
|
+
/**
|
14155
|
+
* Clears the field making it undefined.
|
14156
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
14157
|
+
*/
|
14158
|
+
proto.user.SegmentSessionRuleRequest.prototype.clearHoursAfterRegistrationMax = function() {
|
14159
|
+
return jspb.Message.setField(this, 7, undefined);
|
14160
|
+
};
|
14161
|
+
|
14162
|
+
|
14163
|
+
/**
|
14164
|
+
* Returns whether this field is set.
|
14165
|
+
* @return {boolean}
|
14166
|
+
*/
|
14167
|
+
proto.user.SegmentSessionRuleRequest.prototype.hasHoursAfterRegistrationMax = function() {
|
14168
|
+
return jspb.Message.getField(this, 7) != null;
|
14169
|
+
};
|
14170
|
+
|
14171
|
+
|
14172
|
+
/**
|
14173
|
+
* optional int32 is_active = 8;
|
14174
|
+
* @return {number}
|
14175
|
+
*/
|
14176
|
+
proto.user.SegmentSessionRuleRequest.prototype.getIsActive = function() {
|
14177
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
14178
|
+
};
|
14179
|
+
|
14180
|
+
|
14181
|
+
/**
|
14182
|
+
* @param {number} value
|
14183
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
14184
|
+
*/
|
14185
|
+
proto.user.SegmentSessionRuleRequest.prototype.setIsActive = function(value) {
|
14186
|
+
return jspb.Message.setField(this, 8, value);
|
14187
|
+
};
|
14188
|
+
|
14189
|
+
|
14190
|
+
/**
|
14191
|
+
* Clears the field making it undefined.
|
14192
|
+
* @return {!proto.user.SegmentSessionRuleRequest} returns this
|
14193
|
+
*/
|
14194
|
+
proto.user.SegmentSessionRuleRequest.prototype.clearIsActive = function() {
|
14195
|
+
return jspb.Message.setField(this, 8, undefined);
|
14196
|
+
};
|
14197
|
+
|
14198
|
+
|
14199
|
+
/**
|
14200
|
+
* Returns whether this field is set.
|
14201
|
+
* @return {boolean}
|
14202
|
+
*/
|
14203
|
+
proto.user.SegmentSessionRuleRequest.prototype.hasIsActive = function() {
|
14204
|
+
return jspb.Message.getField(this, 8) != null;
|
14205
|
+
};
|
14206
|
+
|
14207
|
+
|
14208
|
+
|
14209
|
+
|
14210
|
+
|
14211
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
14212
|
+
/**
|
14213
|
+
* Creates an object representation of this proto.
|
14214
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
14215
|
+
* Optional fields that are not set will be set to undefined.
|
14216
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
14217
|
+
* For the list of reserved names please see:
|
14218
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
14219
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
14220
|
+
* JSPB instance for transitional soy proto support:
|
14221
|
+
* http://goto/soy-param-migration
|
14222
|
+
* @return {!Object}
|
14223
|
+
*/
|
14224
|
+
proto.user.SegmentRuleItem.prototype.toObject = function(opt_includeInstance) {
|
14225
|
+
return proto.user.SegmentRuleItem.toObject(opt_includeInstance, this);
|
14226
|
+
};
|
14227
|
+
|
14228
|
+
|
14229
|
+
/**
|
14230
|
+
* Static version of the {@see toObject} method.
|
14231
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
14232
|
+
* the JSPB instance for transitional soy proto support:
|
14233
|
+
* http://goto/soy-param-migration
|
14234
|
+
* @param {!proto.user.SegmentRuleItem} msg The msg instance to transform.
|
14235
|
+
* @return {!Object}
|
14236
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
14237
|
+
*/
|
14238
|
+
proto.user.SegmentRuleItem.toObject = function(includeInstance, msg) {
|
14239
|
+
var f, obj = {
|
14240
|
+
paymentRule: (f = msg.getPaymentRule()) && proto.user.SegmentPaymentRuleItem.toObject(includeInstance, f),
|
14241
|
+
betRule: (f = msg.getBetRule()) && proto.user.SegmentBetRuleItem.toObject(includeInstance, f),
|
14242
|
+
sessionRule: (f = msg.getSessionRule()) && proto.user.SegmentSessionRuleItem.toObject(includeInstance, f)
|
14243
|
+
};
|
14244
|
+
|
14245
|
+
if (includeInstance) {
|
14246
|
+
obj.$jspbMessageInstance = msg;
|
14247
|
+
}
|
14248
|
+
return obj;
|
14249
|
+
};
|
14250
|
+
}
|
14251
|
+
|
14252
|
+
|
14253
|
+
/**
|
14254
|
+
* Deserializes binary data (in protobuf wire format).
|
14255
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
14256
|
+
* @return {!proto.user.SegmentRuleItem}
|
14257
|
+
*/
|
14258
|
+
proto.user.SegmentRuleItem.deserializeBinary = function(bytes) {
|
14259
|
+
var reader = new jspb.BinaryReader(bytes);
|
14260
|
+
var msg = new proto.user.SegmentRuleItem;
|
14261
|
+
return proto.user.SegmentRuleItem.deserializeBinaryFromReader(msg, reader);
|
14262
|
+
};
|
14263
|
+
|
14264
|
+
|
14265
|
+
/**
|
14266
|
+
* Deserializes binary data (in protobuf wire format) from the
|
14267
|
+
* given reader into the given message object.
|
14268
|
+
* @param {!proto.user.SegmentRuleItem} msg The message object to deserialize into.
|
14269
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
14270
|
+
* @return {!proto.user.SegmentRuleItem}
|
14271
|
+
*/
|
14272
|
+
proto.user.SegmentRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
14273
|
+
while (reader.nextField()) {
|
14274
|
+
if (reader.isEndGroup()) {
|
14275
|
+
break;
|
14276
|
+
}
|
14277
|
+
var field = reader.getFieldNumber();
|
14278
|
+
switch (field) {
|
14279
|
+
case 1:
|
14280
|
+
var value = new proto.user.SegmentPaymentRuleItem;
|
14281
|
+
reader.readMessage(value,proto.user.SegmentPaymentRuleItem.deserializeBinaryFromReader);
|
14282
|
+
msg.setPaymentRule(value);
|
14283
|
+
break;
|
14284
|
+
case 2:
|
14285
|
+
var value = new proto.user.SegmentBetRuleItem;
|
14286
|
+
reader.readMessage(value,proto.user.SegmentBetRuleItem.deserializeBinaryFromReader);
|
14287
|
+
msg.setBetRule(value);
|
14288
|
+
break;
|
14289
|
+
case 3:
|
14290
|
+
var value = new proto.user.SegmentSessionRuleItem;
|
14291
|
+
reader.readMessage(value,proto.user.SegmentSessionRuleItem.deserializeBinaryFromReader);
|
14292
|
+
msg.setSessionRule(value);
|
14293
|
+
break;
|
14294
|
+
default:
|
14295
|
+
reader.skipField();
|
14296
|
+
break;
|
14297
|
+
}
|
14298
|
+
}
|
14299
|
+
return msg;
|
14300
|
+
};
|
14301
|
+
|
14302
|
+
|
14303
|
+
/**
|
14304
|
+
* Serializes the message to binary data (in protobuf wire format).
|
14305
|
+
* @return {!Uint8Array}
|
14306
|
+
*/
|
14307
|
+
proto.user.SegmentRuleItem.prototype.serializeBinary = function() {
|
14308
|
+
var writer = new jspb.BinaryWriter();
|
14309
|
+
proto.user.SegmentRuleItem.serializeBinaryToWriter(this, writer);
|
14310
|
+
return writer.getResultBuffer();
|
14311
|
+
};
|
14312
|
+
|
14313
|
+
|
14314
|
+
/**
|
14315
|
+
* Serializes the given message to binary data (in protobuf wire
|
14316
|
+
* format), writing to the given BinaryWriter.
|
14317
|
+
* @param {!proto.user.SegmentRuleItem} message
|
14318
|
+
* @param {!jspb.BinaryWriter} writer
|
14319
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
14320
|
+
*/
|
14321
|
+
proto.user.SegmentRuleItem.serializeBinaryToWriter = function(message, writer) {
|
14322
|
+
var f = undefined;
|
14323
|
+
f = message.getPaymentRule();
|
14324
|
+
if (f != null) {
|
14325
|
+
writer.writeMessage(
|
14326
|
+
1,
|
14327
|
+
f,
|
14328
|
+
proto.user.SegmentPaymentRuleItem.serializeBinaryToWriter
|
14329
|
+
);
|
14330
|
+
}
|
14331
|
+
f = message.getBetRule();
|
14332
|
+
if (f != null) {
|
14333
|
+
writer.writeMessage(
|
14334
|
+
2,
|
14335
|
+
f,
|
14336
|
+
proto.user.SegmentBetRuleItem.serializeBinaryToWriter
|
14337
|
+
);
|
14338
|
+
}
|
14339
|
+
f = message.getSessionRule();
|
14340
|
+
if (f != null) {
|
14341
|
+
writer.writeMessage(
|
14342
|
+
3,
|
14343
|
+
f,
|
14344
|
+
proto.user.SegmentSessionRuleItem.serializeBinaryToWriter
|
14345
|
+
);
|
14346
|
+
}
|
14347
|
+
};
|
14348
|
+
|
14349
|
+
|
14350
|
+
/**
|
14351
|
+
* optional SegmentPaymentRuleItem payment_rule = 1;
|
14352
|
+
* @return {?proto.user.SegmentPaymentRuleItem}
|
14353
|
+
*/
|
14354
|
+
proto.user.SegmentRuleItem.prototype.getPaymentRule = function() {
|
14355
|
+
return /** @type{?proto.user.SegmentPaymentRuleItem} */ (
|
14356
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentPaymentRuleItem, 1));
|
14357
|
+
};
|
14358
|
+
|
14359
|
+
|
14360
|
+
/**
|
14361
|
+
* @param {?proto.user.SegmentPaymentRuleItem|undefined} value
|
14362
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
14363
|
+
*/
|
14364
|
+
proto.user.SegmentRuleItem.prototype.setPaymentRule = function(value) {
|
14365
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
14366
|
+
};
|
14367
|
+
|
14368
|
+
|
14369
|
+
/**
|
14370
|
+
* Clears the message field making it undefined.
|
14371
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
14372
|
+
*/
|
14373
|
+
proto.user.SegmentRuleItem.prototype.clearPaymentRule = function() {
|
14374
|
+
return this.setPaymentRule(undefined);
|
14375
|
+
};
|
14376
|
+
|
14377
|
+
|
14378
|
+
/**
|
14379
|
+
* Returns whether this field is set.
|
14380
|
+
* @return {boolean}
|
14381
|
+
*/
|
14382
|
+
proto.user.SegmentRuleItem.prototype.hasPaymentRule = function() {
|
14383
|
+
return jspb.Message.getField(this, 1) != null;
|
14384
|
+
};
|
14385
|
+
|
14386
|
+
|
14387
|
+
/**
|
14388
|
+
* optional SegmentBetRuleItem bet_rule = 2;
|
14389
|
+
* @return {?proto.user.SegmentBetRuleItem}
|
14390
|
+
*/
|
14391
|
+
proto.user.SegmentRuleItem.prototype.getBetRule = function() {
|
14392
|
+
return /** @type{?proto.user.SegmentBetRuleItem} */ (
|
14393
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentBetRuleItem, 2));
|
14394
|
+
};
|
14395
|
+
|
14396
|
+
|
14397
|
+
/**
|
14398
|
+
* @param {?proto.user.SegmentBetRuleItem|undefined} value
|
14399
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
14400
|
+
*/
|
14401
|
+
proto.user.SegmentRuleItem.prototype.setBetRule = function(value) {
|
14402
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
14403
|
+
};
|
14404
|
+
|
14405
|
+
|
14406
|
+
/**
|
14407
|
+
* Clears the message field making it undefined.
|
14408
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
14409
|
+
*/
|
14410
|
+
proto.user.SegmentRuleItem.prototype.clearBetRule = function() {
|
14411
|
+
return this.setBetRule(undefined);
|
14412
|
+
};
|
14413
|
+
|
14414
|
+
|
14415
|
+
/**
|
14416
|
+
* Returns whether this field is set.
|
14417
|
+
* @return {boolean}
|
14418
|
+
*/
|
14419
|
+
proto.user.SegmentRuleItem.prototype.hasBetRule = function() {
|
14420
|
+
return jspb.Message.getField(this, 2) != null;
|
14421
|
+
};
|
14422
|
+
|
14423
|
+
|
14424
|
+
/**
|
14425
|
+
* optional SegmentSessionRuleItem session_rule = 3;
|
14426
|
+
* @return {?proto.user.SegmentSessionRuleItem}
|
14427
|
+
*/
|
14428
|
+
proto.user.SegmentRuleItem.prototype.getSessionRule = function() {
|
14429
|
+
return /** @type{?proto.user.SegmentSessionRuleItem} */ (
|
14430
|
+
jspb.Message.getWrapperField(this, proto.user.SegmentSessionRuleItem, 3));
|
14431
|
+
};
|
14432
|
+
|
14433
|
+
|
14434
|
+
/**
|
14435
|
+
* @param {?proto.user.SegmentSessionRuleItem|undefined} value
|
14436
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
14437
|
+
*/
|
14438
|
+
proto.user.SegmentRuleItem.prototype.setSessionRule = function(value) {
|
14439
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
14440
|
+
};
|
14441
|
+
|
14442
|
+
|
14443
|
+
/**
|
14444
|
+
* Clears the message field making it undefined.
|
14445
|
+
* @return {!proto.user.SegmentRuleItem} returns this
|
14446
|
+
*/
|
14447
|
+
proto.user.SegmentRuleItem.prototype.clearSessionRule = function() {
|
14448
|
+
return this.setSessionRule(undefined);
|
14449
|
+
};
|
14450
|
+
|
14451
|
+
|
14452
|
+
/**
|
14453
|
+
* Returns whether this field is set.
|
13789
14454
|
* @return {boolean}
|
13790
14455
|
*/
|
13791
|
-
proto.user.SegmentRuleItem.prototype.
|
13792
|
-
return jspb.Message.getField(this,
|
14456
|
+
proto.user.SegmentRuleItem.prototype.hasSessionRule = function() {
|
14457
|
+
return jspb.Message.getField(this, 3) != null;
|
13793
14458
|
};
|
13794
14459
|
|
13795
14460
|
|
@@ -14951,11 +15616,263 @@ proto.user.SegmentBetRuleItem.serializeBinaryToWriter = function(message, writer
|
|
14951
15616
|
|
14952
15617
|
|
14953
15618
|
/**
|
14954
|
-
* optional int32 segment_id = 1;
|
15619
|
+
* optional int32 segment_id = 1;
|
15620
|
+
* @return {number}
|
15621
|
+
*/
|
15622
|
+
proto.user.SegmentBetRuleItem.prototype.getSegmentId = function() {
|
15623
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
15624
|
+
};
|
15625
|
+
|
15626
|
+
|
15627
|
+
/**
|
15628
|
+
* @param {number} value
|
15629
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15630
|
+
*/
|
15631
|
+
proto.user.SegmentBetRuleItem.prototype.setSegmentId = function(value) {
|
15632
|
+
return jspb.Message.setField(this, 1, value);
|
15633
|
+
};
|
15634
|
+
|
15635
|
+
|
15636
|
+
/**
|
15637
|
+
* Clears the field making it undefined.
|
15638
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15639
|
+
*/
|
15640
|
+
proto.user.SegmentBetRuleItem.prototype.clearSegmentId = function() {
|
15641
|
+
return jspb.Message.setField(this, 1, undefined);
|
15642
|
+
};
|
15643
|
+
|
15644
|
+
|
15645
|
+
/**
|
15646
|
+
* Returns whether this field is set.
|
15647
|
+
* @return {boolean}
|
15648
|
+
*/
|
15649
|
+
proto.user.SegmentBetRuleItem.prototype.hasSegmentId = function() {
|
15650
|
+
return jspb.Message.getField(this, 1) != null;
|
15651
|
+
};
|
15652
|
+
|
15653
|
+
|
15654
|
+
/**
|
15655
|
+
* optional string currency = 2;
|
15656
|
+
* @return {string}
|
15657
|
+
*/
|
15658
|
+
proto.user.SegmentBetRuleItem.prototype.getCurrency = function() {
|
15659
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
15660
|
+
};
|
15661
|
+
|
15662
|
+
|
15663
|
+
/**
|
15664
|
+
* @param {string} value
|
15665
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15666
|
+
*/
|
15667
|
+
proto.user.SegmentBetRuleItem.prototype.setCurrency = function(value) {
|
15668
|
+
return jspb.Message.setField(this, 2, value);
|
15669
|
+
};
|
15670
|
+
|
15671
|
+
|
15672
|
+
/**
|
15673
|
+
* Clears the field making it undefined.
|
15674
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15675
|
+
*/
|
15676
|
+
proto.user.SegmentBetRuleItem.prototype.clearCurrency = function() {
|
15677
|
+
return jspb.Message.setField(this, 2, undefined);
|
15678
|
+
};
|
15679
|
+
|
15680
|
+
|
15681
|
+
/**
|
15682
|
+
* Returns whether this field is set.
|
15683
|
+
* @return {boolean}
|
15684
|
+
*/
|
15685
|
+
proto.user.SegmentBetRuleItem.prototype.hasCurrency = function() {
|
15686
|
+
return jspb.Message.getField(this, 2) != null;
|
15687
|
+
};
|
15688
|
+
|
15689
|
+
|
15690
|
+
/**
|
15691
|
+
* optional float bet_amount_min = 3;
|
15692
|
+
* @return {number}
|
15693
|
+
*/
|
15694
|
+
proto.user.SegmentBetRuleItem.prototype.getBetAmountMin = function() {
|
15695
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
15696
|
+
};
|
15697
|
+
|
15698
|
+
|
15699
|
+
/**
|
15700
|
+
* @param {number} value
|
15701
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15702
|
+
*/
|
15703
|
+
proto.user.SegmentBetRuleItem.prototype.setBetAmountMin = function(value) {
|
15704
|
+
return jspb.Message.setField(this, 3, value);
|
15705
|
+
};
|
15706
|
+
|
15707
|
+
|
15708
|
+
/**
|
15709
|
+
* Clears the field making it undefined.
|
15710
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15711
|
+
*/
|
15712
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetAmountMin = function() {
|
15713
|
+
return jspb.Message.setField(this, 3, undefined);
|
15714
|
+
};
|
15715
|
+
|
15716
|
+
|
15717
|
+
/**
|
15718
|
+
* Returns whether this field is set.
|
15719
|
+
* @return {boolean}
|
15720
|
+
*/
|
15721
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetAmountMin = function() {
|
15722
|
+
return jspb.Message.getField(this, 3) != null;
|
15723
|
+
};
|
15724
|
+
|
15725
|
+
|
15726
|
+
/**
|
15727
|
+
* optional float bet_amount_max = 4;
|
15728
|
+
* @return {number}
|
15729
|
+
*/
|
15730
|
+
proto.user.SegmentBetRuleItem.prototype.getBetAmountMax = function() {
|
15731
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
15732
|
+
};
|
15733
|
+
|
15734
|
+
|
15735
|
+
/**
|
15736
|
+
* @param {number} value
|
15737
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15738
|
+
*/
|
15739
|
+
proto.user.SegmentBetRuleItem.prototype.setBetAmountMax = function(value) {
|
15740
|
+
return jspb.Message.setField(this, 4, value);
|
15741
|
+
};
|
15742
|
+
|
15743
|
+
|
15744
|
+
/**
|
15745
|
+
* Clears the field making it undefined.
|
15746
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15747
|
+
*/
|
15748
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetAmountMax = function() {
|
15749
|
+
return jspb.Message.setField(this, 4, undefined);
|
15750
|
+
};
|
15751
|
+
|
15752
|
+
|
15753
|
+
/**
|
15754
|
+
* Returns whether this field is set.
|
15755
|
+
* @return {boolean}
|
15756
|
+
*/
|
15757
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetAmountMax = function() {
|
15758
|
+
return jspb.Message.getField(this, 4) != null;
|
15759
|
+
};
|
15760
|
+
|
15761
|
+
|
15762
|
+
/**
|
15763
|
+
* optional int32 bet_count_min = 5;
|
15764
|
+
* @return {number}
|
15765
|
+
*/
|
15766
|
+
proto.user.SegmentBetRuleItem.prototype.getBetCountMin = function() {
|
15767
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
15768
|
+
};
|
15769
|
+
|
15770
|
+
|
15771
|
+
/**
|
15772
|
+
* @param {number} value
|
15773
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15774
|
+
*/
|
15775
|
+
proto.user.SegmentBetRuleItem.prototype.setBetCountMin = function(value) {
|
15776
|
+
return jspb.Message.setField(this, 5, value);
|
15777
|
+
};
|
15778
|
+
|
15779
|
+
|
15780
|
+
/**
|
15781
|
+
* Clears the field making it undefined.
|
15782
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15783
|
+
*/
|
15784
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetCountMin = function() {
|
15785
|
+
return jspb.Message.setField(this, 5, undefined);
|
15786
|
+
};
|
15787
|
+
|
15788
|
+
|
15789
|
+
/**
|
15790
|
+
* Returns whether this field is set.
|
15791
|
+
* @return {boolean}
|
15792
|
+
*/
|
15793
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetCountMin = function() {
|
15794
|
+
return jspb.Message.getField(this, 5) != null;
|
15795
|
+
};
|
15796
|
+
|
15797
|
+
|
15798
|
+
/**
|
15799
|
+
* optional int32 bet_count_max = 6;
|
15800
|
+
* @return {number}
|
15801
|
+
*/
|
15802
|
+
proto.user.SegmentBetRuleItem.prototype.getBetCountMax = function() {
|
15803
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
15804
|
+
};
|
15805
|
+
|
15806
|
+
|
15807
|
+
/**
|
15808
|
+
* @param {number} value
|
15809
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15810
|
+
*/
|
15811
|
+
proto.user.SegmentBetRuleItem.prototype.setBetCountMax = function(value) {
|
15812
|
+
return jspb.Message.setField(this, 6, value);
|
15813
|
+
};
|
15814
|
+
|
15815
|
+
|
15816
|
+
/**
|
15817
|
+
* Clears the field making it undefined.
|
15818
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15819
|
+
*/
|
15820
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetCountMax = function() {
|
15821
|
+
return jspb.Message.setField(this, 6, undefined);
|
15822
|
+
};
|
15823
|
+
|
15824
|
+
|
15825
|
+
/**
|
15826
|
+
* Returns whether this field is set.
|
15827
|
+
* @return {boolean}
|
15828
|
+
*/
|
15829
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetCountMax = function() {
|
15830
|
+
return jspb.Message.getField(this, 6) != null;
|
15831
|
+
};
|
15832
|
+
|
15833
|
+
|
15834
|
+
/**
|
15835
|
+
* optional float bet_sum_min = 7;
|
15836
|
+
* @return {number}
|
15837
|
+
*/
|
15838
|
+
proto.user.SegmentBetRuleItem.prototype.getBetSumMin = function() {
|
15839
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
15840
|
+
};
|
15841
|
+
|
15842
|
+
|
15843
|
+
/**
|
15844
|
+
* @param {number} value
|
15845
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15846
|
+
*/
|
15847
|
+
proto.user.SegmentBetRuleItem.prototype.setBetSumMin = function(value) {
|
15848
|
+
return jspb.Message.setField(this, 7, value);
|
15849
|
+
};
|
15850
|
+
|
15851
|
+
|
15852
|
+
/**
|
15853
|
+
* Clears the field making it undefined.
|
15854
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15855
|
+
*/
|
15856
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetSumMin = function() {
|
15857
|
+
return jspb.Message.setField(this, 7, undefined);
|
15858
|
+
};
|
15859
|
+
|
15860
|
+
|
15861
|
+
/**
|
15862
|
+
* Returns whether this field is set.
|
15863
|
+
* @return {boolean}
|
15864
|
+
*/
|
15865
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetSumMin = function() {
|
15866
|
+
return jspb.Message.getField(this, 7) != null;
|
15867
|
+
};
|
15868
|
+
|
15869
|
+
|
15870
|
+
/**
|
15871
|
+
* optional float bet_sum_max = 8;
|
14955
15872
|
* @return {number}
|
14956
15873
|
*/
|
14957
|
-
proto.user.SegmentBetRuleItem.prototype.
|
14958
|
-
return /** @type {number} */ (jspb.Message.
|
15874
|
+
proto.user.SegmentBetRuleItem.prototype.getBetSumMax = function() {
|
15875
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
14959
15876
|
};
|
14960
15877
|
|
14961
15878
|
|
@@ -14963,8 +15880,8 @@ proto.user.SegmentBetRuleItem.prototype.getSegmentId = function() {
|
|
14963
15880
|
* @param {number} value
|
14964
15881
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14965
15882
|
*/
|
14966
|
-
proto.user.SegmentBetRuleItem.prototype.
|
14967
|
-
return jspb.Message.setField(this,
|
15883
|
+
proto.user.SegmentBetRuleItem.prototype.setBetSumMax = function(value) {
|
15884
|
+
return jspb.Message.setField(this, 8, value);
|
14968
15885
|
};
|
14969
15886
|
|
14970
15887
|
|
@@ -14972,8 +15889,8 @@ proto.user.SegmentBetRuleItem.prototype.setSegmentId = function(value) {
|
|
14972
15889
|
* Clears the field making it undefined.
|
14973
15890
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
14974
15891
|
*/
|
14975
|
-
proto.user.SegmentBetRuleItem.prototype.
|
14976
|
-
return jspb.Message.setField(this,
|
15892
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetSumMax = function() {
|
15893
|
+
return jspb.Message.setField(this, 8, undefined);
|
14977
15894
|
};
|
14978
15895
|
|
14979
15896
|
|
@@ -14981,26 +15898,26 @@ proto.user.SegmentBetRuleItem.prototype.clearSegmentId = function() {
|
|
14981
15898
|
* Returns whether this field is set.
|
14982
15899
|
* @return {boolean}
|
14983
15900
|
*/
|
14984
|
-
proto.user.SegmentBetRuleItem.prototype.
|
14985
|
-
return jspb.Message.getField(this,
|
15901
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetSumMax = function() {
|
15902
|
+
return jspb.Message.getField(this, 8) != null;
|
14986
15903
|
};
|
14987
15904
|
|
14988
15905
|
|
14989
15906
|
/**
|
14990
|
-
* optional
|
14991
|
-
* @return {
|
15907
|
+
* optional float bet_avg_min = 9;
|
15908
|
+
* @return {number}
|
14992
15909
|
*/
|
14993
|
-
proto.user.SegmentBetRuleItem.prototype.
|
14994
|
-
return /** @type {
|
15910
|
+
proto.user.SegmentBetRuleItem.prototype.getBetAvgMin = function() {
|
15911
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
14995
15912
|
};
|
14996
15913
|
|
14997
15914
|
|
14998
15915
|
/**
|
14999
|
-
* @param {
|
15916
|
+
* @param {number} value
|
15000
15917
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15001
15918
|
*/
|
15002
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15003
|
-
return jspb.Message.setField(this,
|
15919
|
+
proto.user.SegmentBetRuleItem.prototype.setBetAvgMin = function(value) {
|
15920
|
+
return jspb.Message.setField(this, 9, value);
|
15004
15921
|
};
|
15005
15922
|
|
15006
15923
|
|
@@ -15008,8 +15925,8 @@ proto.user.SegmentBetRuleItem.prototype.setCurrency = function(value) {
|
|
15008
15925
|
* Clears the field making it undefined.
|
15009
15926
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15010
15927
|
*/
|
15011
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15012
|
-
return jspb.Message.setField(this,
|
15928
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetAvgMin = function() {
|
15929
|
+
return jspb.Message.setField(this, 9, undefined);
|
15013
15930
|
};
|
15014
15931
|
|
15015
15932
|
|
@@ -15017,17 +15934,17 @@ proto.user.SegmentBetRuleItem.prototype.clearCurrency = function() {
|
|
15017
15934
|
* Returns whether this field is set.
|
15018
15935
|
* @return {boolean}
|
15019
15936
|
*/
|
15020
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15021
|
-
return jspb.Message.getField(this,
|
15937
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetAvgMin = function() {
|
15938
|
+
return jspb.Message.getField(this, 9) != null;
|
15022
15939
|
};
|
15023
15940
|
|
15024
15941
|
|
15025
15942
|
/**
|
15026
|
-
* optional float
|
15943
|
+
* optional float bet_avg_max = 10;
|
15027
15944
|
* @return {number}
|
15028
15945
|
*/
|
15029
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15030
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
15946
|
+
proto.user.SegmentBetRuleItem.prototype.getBetAvgMax = function() {
|
15947
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
15031
15948
|
};
|
15032
15949
|
|
15033
15950
|
|
@@ -15035,8 +15952,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetAmountMin = function() {
|
|
15035
15952
|
* @param {number} value
|
15036
15953
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15037
15954
|
*/
|
15038
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15039
|
-
return jspb.Message.setField(this,
|
15955
|
+
proto.user.SegmentBetRuleItem.prototype.setBetAvgMax = function(value) {
|
15956
|
+
return jspb.Message.setField(this, 10, value);
|
15040
15957
|
};
|
15041
15958
|
|
15042
15959
|
|
@@ -15044,8 +15961,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetAmountMin = function(value) {
|
|
15044
15961
|
* Clears the field making it undefined.
|
15045
15962
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15046
15963
|
*/
|
15047
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15048
|
-
return jspb.Message.setField(this,
|
15964
|
+
proto.user.SegmentBetRuleItem.prototype.clearBetAvgMax = function() {
|
15965
|
+
return jspb.Message.setField(this, 10, undefined);
|
15049
15966
|
};
|
15050
15967
|
|
15051
15968
|
|
@@ -15053,17 +15970,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetAmountMin = function() {
|
|
15053
15970
|
* Returns whether this field is set.
|
15054
15971
|
* @return {boolean}
|
15055
15972
|
*/
|
15056
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15057
|
-
return jspb.Message.getField(this,
|
15973
|
+
proto.user.SegmentBetRuleItem.prototype.hasBetAvgMax = function() {
|
15974
|
+
return jspb.Message.getField(this, 10) != null;
|
15058
15975
|
};
|
15059
15976
|
|
15060
15977
|
|
15061
15978
|
/**
|
15062
|
-
* optional float
|
15979
|
+
* optional float win_amount_min = 11;
|
15063
15980
|
* @return {number}
|
15064
15981
|
*/
|
15065
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15066
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
15982
|
+
proto.user.SegmentBetRuleItem.prototype.getWinAmountMin = function() {
|
15983
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
15067
15984
|
};
|
15068
15985
|
|
15069
15986
|
|
@@ -15071,8 +15988,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetAmountMax = function() {
|
|
15071
15988
|
* @param {number} value
|
15072
15989
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15073
15990
|
*/
|
15074
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15075
|
-
return jspb.Message.setField(this,
|
15991
|
+
proto.user.SegmentBetRuleItem.prototype.setWinAmountMin = function(value) {
|
15992
|
+
return jspb.Message.setField(this, 11, value);
|
15076
15993
|
};
|
15077
15994
|
|
15078
15995
|
|
@@ -15080,8 +15997,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetAmountMax = function(value) {
|
|
15080
15997
|
* Clears the field making it undefined.
|
15081
15998
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15082
15999
|
*/
|
15083
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15084
|
-
return jspb.Message.setField(this,
|
16000
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinAmountMin = function() {
|
16001
|
+
return jspb.Message.setField(this, 11, undefined);
|
15085
16002
|
};
|
15086
16003
|
|
15087
16004
|
|
@@ -15089,17 +16006,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetAmountMax = function() {
|
|
15089
16006
|
* Returns whether this field is set.
|
15090
16007
|
* @return {boolean}
|
15091
16008
|
*/
|
15092
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15093
|
-
return jspb.Message.getField(this,
|
16009
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinAmountMin = function() {
|
16010
|
+
return jspb.Message.getField(this, 11) != null;
|
15094
16011
|
};
|
15095
16012
|
|
15096
16013
|
|
15097
16014
|
/**
|
15098
|
-
* optional
|
16015
|
+
* optional float win_amount_max = 12;
|
15099
16016
|
* @return {number}
|
15100
16017
|
*/
|
15101
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15102
|
-
return /** @type {number} */ (jspb.Message.
|
16018
|
+
proto.user.SegmentBetRuleItem.prototype.getWinAmountMax = function() {
|
16019
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
15103
16020
|
};
|
15104
16021
|
|
15105
16022
|
|
@@ -15107,8 +16024,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetCountMin = function() {
|
|
15107
16024
|
* @param {number} value
|
15108
16025
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15109
16026
|
*/
|
15110
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15111
|
-
return jspb.Message.setField(this,
|
16027
|
+
proto.user.SegmentBetRuleItem.prototype.setWinAmountMax = function(value) {
|
16028
|
+
return jspb.Message.setField(this, 12, value);
|
15112
16029
|
};
|
15113
16030
|
|
15114
16031
|
|
@@ -15116,8 +16033,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetCountMin = function(value) {
|
|
15116
16033
|
* Clears the field making it undefined.
|
15117
16034
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15118
16035
|
*/
|
15119
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15120
|
-
return jspb.Message.setField(this,
|
16036
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinAmountMax = function() {
|
16037
|
+
return jspb.Message.setField(this, 12, undefined);
|
15121
16038
|
};
|
15122
16039
|
|
15123
16040
|
|
@@ -15125,17 +16042,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetCountMin = function() {
|
|
15125
16042
|
* Returns whether this field is set.
|
15126
16043
|
* @return {boolean}
|
15127
16044
|
*/
|
15128
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15129
|
-
return jspb.Message.getField(this,
|
16045
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinAmountMax = function() {
|
16046
|
+
return jspb.Message.getField(this, 12) != null;
|
15130
16047
|
};
|
15131
16048
|
|
15132
16049
|
|
15133
16050
|
/**
|
15134
|
-
* optional int32
|
16051
|
+
* optional int32 win_count_min = 13;
|
15135
16052
|
* @return {number}
|
15136
16053
|
*/
|
15137
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15138
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
16054
|
+
proto.user.SegmentBetRuleItem.prototype.getWinCountMin = function() {
|
16055
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
15139
16056
|
};
|
15140
16057
|
|
15141
16058
|
|
@@ -15143,8 +16060,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetCountMax = function() {
|
|
15143
16060
|
* @param {number} value
|
15144
16061
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15145
16062
|
*/
|
15146
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15147
|
-
return jspb.Message.setField(this,
|
16063
|
+
proto.user.SegmentBetRuleItem.prototype.setWinCountMin = function(value) {
|
16064
|
+
return jspb.Message.setField(this, 13, value);
|
15148
16065
|
};
|
15149
16066
|
|
15150
16067
|
|
@@ -15152,8 +16069,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetCountMax = function(value) {
|
|
15152
16069
|
* Clears the field making it undefined.
|
15153
16070
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15154
16071
|
*/
|
15155
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15156
|
-
return jspb.Message.setField(this,
|
16072
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinCountMin = function() {
|
16073
|
+
return jspb.Message.setField(this, 13, undefined);
|
15157
16074
|
};
|
15158
16075
|
|
15159
16076
|
|
@@ -15161,17 +16078,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetCountMax = function() {
|
|
15161
16078
|
* Returns whether this field is set.
|
15162
16079
|
* @return {boolean}
|
15163
16080
|
*/
|
15164
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15165
|
-
return jspb.Message.getField(this,
|
16081
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinCountMin = function() {
|
16082
|
+
return jspb.Message.getField(this, 13) != null;
|
15166
16083
|
};
|
15167
16084
|
|
15168
16085
|
|
15169
16086
|
/**
|
15170
|
-
* optional
|
16087
|
+
* optional int32 win_count_max = 14;
|
15171
16088
|
* @return {number}
|
15172
16089
|
*/
|
15173
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15174
|
-
return /** @type {number} */ (jspb.Message.
|
16090
|
+
proto.user.SegmentBetRuleItem.prototype.getWinCountMax = function() {
|
16091
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
15175
16092
|
};
|
15176
16093
|
|
15177
16094
|
|
@@ -15179,8 +16096,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetSumMin = function() {
|
|
15179
16096
|
* @param {number} value
|
15180
16097
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15181
16098
|
*/
|
15182
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15183
|
-
return jspb.Message.setField(this,
|
16099
|
+
proto.user.SegmentBetRuleItem.prototype.setWinCountMax = function(value) {
|
16100
|
+
return jspb.Message.setField(this, 14, value);
|
15184
16101
|
};
|
15185
16102
|
|
15186
16103
|
|
@@ -15188,8 +16105,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetSumMin = function(value) {
|
|
15188
16105
|
* Clears the field making it undefined.
|
15189
16106
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15190
16107
|
*/
|
15191
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15192
|
-
return jspb.Message.setField(this,
|
16108
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinCountMax = function() {
|
16109
|
+
return jspb.Message.setField(this, 14, undefined);
|
15193
16110
|
};
|
15194
16111
|
|
15195
16112
|
|
@@ -15197,17 +16114,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetSumMin = function() {
|
|
15197
16114
|
* Returns whether this field is set.
|
15198
16115
|
* @return {boolean}
|
15199
16116
|
*/
|
15200
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15201
|
-
return jspb.Message.getField(this,
|
16117
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinCountMax = function() {
|
16118
|
+
return jspb.Message.getField(this, 14) != null;
|
15202
16119
|
};
|
15203
16120
|
|
15204
16121
|
|
15205
16122
|
/**
|
15206
|
-
* optional float
|
16123
|
+
* optional float win_sum_min = 15;
|
15207
16124
|
* @return {number}
|
15208
16125
|
*/
|
15209
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15210
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
16126
|
+
proto.user.SegmentBetRuleItem.prototype.getWinSumMin = function() {
|
16127
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
15211
16128
|
};
|
15212
16129
|
|
15213
16130
|
|
@@ -15215,8 +16132,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetSumMax = function() {
|
|
15215
16132
|
* @param {number} value
|
15216
16133
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15217
16134
|
*/
|
15218
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15219
|
-
return jspb.Message.setField(this,
|
16135
|
+
proto.user.SegmentBetRuleItem.prototype.setWinSumMin = function(value) {
|
16136
|
+
return jspb.Message.setField(this, 15, value);
|
15220
16137
|
};
|
15221
16138
|
|
15222
16139
|
|
@@ -15224,8 +16141,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetSumMax = function(value) {
|
|
15224
16141
|
* Clears the field making it undefined.
|
15225
16142
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15226
16143
|
*/
|
15227
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15228
|
-
return jspb.Message.setField(this,
|
16144
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinSumMin = function() {
|
16145
|
+
return jspb.Message.setField(this, 15, undefined);
|
15229
16146
|
};
|
15230
16147
|
|
15231
16148
|
|
@@ -15233,17 +16150,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetSumMax = function() {
|
|
15233
16150
|
* Returns whether this field is set.
|
15234
16151
|
* @return {boolean}
|
15235
16152
|
*/
|
15236
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15237
|
-
return jspb.Message.getField(this,
|
16153
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinSumMin = function() {
|
16154
|
+
return jspb.Message.getField(this, 15) != null;
|
15238
16155
|
};
|
15239
16156
|
|
15240
16157
|
|
15241
16158
|
/**
|
15242
|
-
* optional float
|
16159
|
+
* optional float win_sum_max = 16;
|
15243
16160
|
* @return {number}
|
15244
16161
|
*/
|
15245
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15246
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
16162
|
+
proto.user.SegmentBetRuleItem.prototype.getWinSumMax = function() {
|
16163
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
|
15247
16164
|
};
|
15248
16165
|
|
15249
16166
|
|
@@ -15251,8 +16168,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetAvgMin = function() {
|
|
15251
16168
|
* @param {number} value
|
15252
16169
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15253
16170
|
*/
|
15254
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15255
|
-
return jspb.Message.setField(this,
|
16171
|
+
proto.user.SegmentBetRuleItem.prototype.setWinSumMax = function(value) {
|
16172
|
+
return jspb.Message.setField(this, 16, value);
|
15256
16173
|
};
|
15257
16174
|
|
15258
16175
|
|
@@ -15260,8 +16177,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetAvgMin = function(value) {
|
|
15260
16177
|
* Clears the field making it undefined.
|
15261
16178
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15262
16179
|
*/
|
15263
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15264
|
-
return jspb.Message.setField(this,
|
16180
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinSumMax = function() {
|
16181
|
+
return jspb.Message.setField(this, 16, undefined);
|
15265
16182
|
};
|
15266
16183
|
|
15267
16184
|
|
@@ -15269,17 +16186,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetAvgMin = function() {
|
|
15269
16186
|
* Returns whether this field is set.
|
15270
16187
|
* @return {boolean}
|
15271
16188
|
*/
|
15272
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15273
|
-
return jspb.Message.getField(this,
|
16189
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinSumMax = function() {
|
16190
|
+
return jspb.Message.getField(this, 16) != null;
|
15274
16191
|
};
|
15275
16192
|
|
15276
16193
|
|
15277
16194
|
/**
|
15278
|
-
* optional float
|
16195
|
+
* optional float win_avg_min = 17;
|
15279
16196
|
* @return {number}
|
15280
16197
|
*/
|
15281
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15282
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
16198
|
+
proto.user.SegmentBetRuleItem.prototype.getWinAvgMin = function() {
|
16199
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0));
|
15283
16200
|
};
|
15284
16201
|
|
15285
16202
|
|
@@ -15287,8 +16204,8 @@ proto.user.SegmentBetRuleItem.prototype.getBetAvgMax = function() {
|
|
15287
16204
|
* @param {number} value
|
15288
16205
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15289
16206
|
*/
|
15290
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15291
|
-
return jspb.Message.setField(this,
|
16207
|
+
proto.user.SegmentBetRuleItem.prototype.setWinAvgMin = function(value) {
|
16208
|
+
return jspb.Message.setField(this, 17, value);
|
15292
16209
|
};
|
15293
16210
|
|
15294
16211
|
|
@@ -15296,8 +16213,8 @@ proto.user.SegmentBetRuleItem.prototype.setBetAvgMax = function(value) {
|
|
15296
16213
|
* Clears the field making it undefined.
|
15297
16214
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15298
16215
|
*/
|
15299
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15300
|
-
return jspb.Message.setField(this,
|
16216
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinAvgMin = function() {
|
16217
|
+
return jspb.Message.setField(this, 17, undefined);
|
15301
16218
|
};
|
15302
16219
|
|
15303
16220
|
|
@@ -15305,17 +16222,17 @@ proto.user.SegmentBetRuleItem.prototype.clearBetAvgMax = function() {
|
|
15305
16222
|
* Returns whether this field is set.
|
15306
16223
|
* @return {boolean}
|
15307
16224
|
*/
|
15308
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15309
|
-
return jspb.Message.getField(this,
|
16225
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinAvgMin = function() {
|
16226
|
+
return jspb.Message.getField(this, 17) != null;
|
15310
16227
|
};
|
15311
16228
|
|
15312
16229
|
|
15313
16230
|
/**
|
15314
|
-
* optional float
|
16231
|
+
* optional float win_avg_max = 18;
|
15315
16232
|
* @return {number}
|
15316
16233
|
*/
|
15317
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15318
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
16234
|
+
proto.user.SegmentBetRuleItem.prototype.getWinAvgMax = function() {
|
16235
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0));
|
15319
16236
|
};
|
15320
16237
|
|
15321
16238
|
|
@@ -15323,89 +16240,273 @@ proto.user.SegmentBetRuleItem.prototype.getWinAmountMin = function() {
|
|
15323
16240
|
* @param {number} value
|
15324
16241
|
* @return {!proto.user.SegmentBetRuleItem} returns this
|
15325
16242
|
*/
|
15326
|
-
proto.user.SegmentBetRuleItem.prototype.
|
15327
|
-
return jspb.Message.setField(this,
|
16243
|
+
proto.user.SegmentBetRuleItem.prototype.setWinAvgMax = function(value) {
|
16244
|
+
return jspb.Message.setField(this, 18, value);
|
16245
|
+
};
|
16246
|
+
|
16247
|
+
|
16248
|
+
/**
|
16249
|
+
* Clears the field making it undefined.
|
16250
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
16251
|
+
*/
|
16252
|
+
proto.user.SegmentBetRuleItem.prototype.clearWinAvgMax = function() {
|
16253
|
+
return jspb.Message.setField(this, 18, undefined);
|
16254
|
+
};
|
16255
|
+
|
16256
|
+
|
16257
|
+
/**
|
16258
|
+
* Returns whether this field is set.
|
16259
|
+
* @return {boolean}
|
16260
|
+
*/
|
16261
|
+
proto.user.SegmentBetRuleItem.prototype.hasWinAvgMax = function() {
|
16262
|
+
return jspb.Message.getField(this, 18) != null;
|
16263
|
+
};
|
16264
|
+
|
16265
|
+
|
16266
|
+
/**
|
16267
|
+
* optional int32 is_active = 19;
|
16268
|
+
* @return {number}
|
16269
|
+
*/
|
16270
|
+
proto.user.SegmentBetRuleItem.prototype.getIsActive = function() {
|
16271
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
16272
|
+
};
|
16273
|
+
|
16274
|
+
|
16275
|
+
/**
|
16276
|
+
* @param {number} value
|
16277
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
16278
|
+
*/
|
16279
|
+
proto.user.SegmentBetRuleItem.prototype.setIsActive = function(value) {
|
16280
|
+
return jspb.Message.setField(this, 19, value);
|
16281
|
+
};
|
16282
|
+
|
16283
|
+
|
16284
|
+
/**
|
16285
|
+
* Clears the field making it undefined.
|
16286
|
+
* @return {!proto.user.SegmentBetRuleItem} returns this
|
16287
|
+
*/
|
16288
|
+
proto.user.SegmentBetRuleItem.prototype.clearIsActive = function() {
|
16289
|
+
return jspb.Message.setField(this, 19, undefined);
|
16290
|
+
};
|
16291
|
+
|
16292
|
+
|
16293
|
+
/**
|
16294
|
+
* Returns whether this field is set.
|
16295
|
+
* @return {boolean}
|
16296
|
+
*/
|
16297
|
+
proto.user.SegmentBetRuleItem.prototype.hasIsActive = function() {
|
16298
|
+
return jspb.Message.getField(this, 19) != null;
|
15328
16299
|
};
|
15329
16300
|
|
15330
16301
|
|
16302
|
+
|
16303
|
+
|
16304
|
+
|
16305
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
15331
16306
|
/**
|
15332
|
-
*
|
15333
|
-
*
|
16307
|
+
* Creates an object representation of this proto.
|
16308
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
16309
|
+
* Optional fields that are not set will be set to undefined.
|
16310
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
16311
|
+
* For the list of reserved names please see:
|
16312
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
16313
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
16314
|
+
* JSPB instance for transitional soy proto support:
|
16315
|
+
* http://goto/soy-param-migration
|
16316
|
+
* @return {!Object}
|
15334
16317
|
*/
|
15335
|
-
proto.user.
|
15336
|
-
return
|
16318
|
+
proto.user.SegmentSessionRuleItem.prototype.toObject = function(opt_includeInstance) {
|
16319
|
+
return proto.user.SegmentSessionRuleItem.toObject(opt_includeInstance, this);
|
15337
16320
|
};
|
15338
16321
|
|
15339
16322
|
|
15340
16323
|
/**
|
15341
|
-
*
|
15342
|
-
* @
|
16324
|
+
* Static version of the {@see toObject} method.
|
16325
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
16326
|
+
* the JSPB instance for transitional soy proto support:
|
16327
|
+
* http://goto/soy-param-migration
|
16328
|
+
* @param {!proto.user.SegmentSessionRuleItem} msg The msg instance to transform.
|
16329
|
+
* @return {!Object}
|
16330
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
15343
16331
|
*/
|
15344
|
-
proto.user.
|
15345
|
-
|
16332
|
+
proto.user.SegmentSessionRuleItem.toObject = function(includeInstance, msg) {
|
16333
|
+
var f, obj = {
|
16334
|
+
sessionMinuteMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
16335
|
+
sessionMinuteMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
16336
|
+
sessionCountMin: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
16337
|
+
sessionCountMax: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
16338
|
+
hoursAfterRegistrationMin: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
16339
|
+
hoursAfterRegistrationMax: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
16340
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
16341
|
+
};
|
16342
|
+
|
16343
|
+
if (includeInstance) {
|
16344
|
+
obj.$jspbMessageInstance = msg;
|
16345
|
+
}
|
16346
|
+
return obj;
|
15346
16347
|
};
|
16348
|
+
}
|
15347
16349
|
|
15348
16350
|
|
15349
16351
|
/**
|
15350
|
-
*
|
15351
|
-
* @
|
16352
|
+
* Deserializes binary data (in protobuf wire format).
|
16353
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
16354
|
+
* @return {!proto.user.SegmentSessionRuleItem}
|
15352
16355
|
*/
|
15353
|
-
proto.user.
|
15354
|
-
|
16356
|
+
proto.user.SegmentSessionRuleItem.deserializeBinary = function(bytes) {
|
16357
|
+
var reader = new jspb.BinaryReader(bytes);
|
16358
|
+
var msg = new proto.user.SegmentSessionRuleItem;
|
16359
|
+
return proto.user.SegmentSessionRuleItem.deserializeBinaryFromReader(msg, reader);
|
15355
16360
|
};
|
15356
16361
|
|
15357
16362
|
|
15358
16363
|
/**
|
15359
|
-
*
|
15360
|
-
*
|
16364
|
+
* Deserializes binary data (in protobuf wire format) from the
|
16365
|
+
* given reader into the given message object.
|
16366
|
+
* @param {!proto.user.SegmentSessionRuleItem} msg The message object to deserialize into.
|
16367
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
16368
|
+
* @return {!proto.user.SegmentSessionRuleItem}
|
15361
16369
|
*/
|
15362
|
-
proto.user.
|
15363
|
-
|
16370
|
+
proto.user.SegmentSessionRuleItem.deserializeBinaryFromReader = function(msg, reader) {
|
16371
|
+
while (reader.nextField()) {
|
16372
|
+
if (reader.isEndGroup()) {
|
16373
|
+
break;
|
16374
|
+
}
|
16375
|
+
var field = reader.getFieldNumber();
|
16376
|
+
switch (field) {
|
16377
|
+
case 1:
|
16378
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16379
|
+
msg.setSessionMinuteMin(value);
|
16380
|
+
break;
|
16381
|
+
case 2:
|
16382
|
+
var value = /** @type {number} */ (reader.readFloat());
|
16383
|
+
msg.setSessionMinuteMax(value);
|
16384
|
+
break;
|
16385
|
+
case 3:
|
16386
|
+
var value = /** @type {number} */ (reader.readInt32());
|
16387
|
+
msg.setSessionCountMin(value);
|
16388
|
+
break;
|
16389
|
+
case 4:
|
16390
|
+
var value = /** @type {number} */ (reader.readInt32());
|
16391
|
+
msg.setSessionCountMax(value);
|
16392
|
+
break;
|
16393
|
+
case 5:
|
16394
|
+
var value = /** @type {number} */ (reader.readInt32());
|
16395
|
+
msg.setHoursAfterRegistrationMin(value);
|
16396
|
+
break;
|
16397
|
+
case 6:
|
16398
|
+
var value = /** @type {number} */ (reader.readInt32());
|
16399
|
+
msg.setHoursAfterRegistrationMax(value);
|
16400
|
+
break;
|
16401
|
+
case 7:
|
16402
|
+
var value = /** @type {number} */ (reader.readInt32());
|
16403
|
+
msg.setIsActive(value);
|
16404
|
+
break;
|
16405
|
+
default:
|
16406
|
+
reader.skipField();
|
16407
|
+
break;
|
16408
|
+
}
|
16409
|
+
}
|
16410
|
+
return msg;
|
15364
16411
|
};
|
15365
16412
|
|
15366
16413
|
|
15367
16414
|
/**
|
15368
|
-
*
|
15369
|
-
* @return {!
|
16415
|
+
* Serializes the message to binary data (in protobuf wire format).
|
16416
|
+
* @return {!Uint8Array}
|
15370
16417
|
*/
|
15371
|
-
proto.user.
|
15372
|
-
|
16418
|
+
proto.user.SegmentSessionRuleItem.prototype.serializeBinary = function() {
|
16419
|
+
var writer = new jspb.BinaryWriter();
|
16420
|
+
proto.user.SegmentSessionRuleItem.serializeBinaryToWriter(this, writer);
|
16421
|
+
return writer.getResultBuffer();
|
15373
16422
|
};
|
15374
16423
|
|
15375
16424
|
|
15376
16425
|
/**
|
15377
|
-
*
|
15378
|
-
*
|
16426
|
+
* Serializes the given message to binary data (in protobuf wire
|
16427
|
+
* format), writing to the given BinaryWriter.
|
16428
|
+
* @param {!proto.user.SegmentSessionRuleItem} message
|
16429
|
+
* @param {!jspb.BinaryWriter} writer
|
16430
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
15379
16431
|
*/
|
15380
|
-
proto.user.
|
15381
|
-
|
16432
|
+
proto.user.SegmentSessionRuleItem.serializeBinaryToWriter = function(message, writer) {
|
16433
|
+
var f = undefined;
|
16434
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
16435
|
+
if (f != null) {
|
16436
|
+
writer.writeFloat(
|
16437
|
+
1,
|
16438
|
+
f
|
16439
|
+
);
|
16440
|
+
}
|
16441
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
16442
|
+
if (f != null) {
|
16443
|
+
writer.writeFloat(
|
16444
|
+
2,
|
16445
|
+
f
|
16446
|
+
);
|
16447
|
+
}
|
16448
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
16449
|
+
if (f != null) {
|
16450
|
+
writer.writeInt32(
|
16451
|
+
3,
|
16452
|
+
f
|
16453
|
+
);
|
16454
|
+
}
|
16455
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
16456
|
+
if (f != null) {
|
16457
|
+
writer.writeInt32(
|
16458
|
+
4,
|
16459
|
+
f
|
16460
|
+
);
|
16461
|
+
}
|
16462
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
16463
|
+
if (f != null) {
|
16464
|
+
writer.writeInt32(
|
16465
|
+
5,
|
16466
|
+
f
|
16467
|
+
);
|
16468
|
+
}
|
16469
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
16470
|
+
if (f != null) {
|
16471
|
+
writer.writeInt32(
|
16472
|
+
6,
|
16473
|
+
f
|
16474
|
+
);
|
16475
|
+
}
|
16476
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
16477
|
+
if (f != null) {
|
16478
|
+
writer.writeInt32(
|
16479
|
+
7,
|
16480
|
+
f
|
16481
|
+
);
|
16482
|
+
}
|
15382
16483
|
};
|
15383
16484
|
|
15384
16485
|
|
15385
16486
|
/**
|
15386
|
-
* optional
|
16487
|
+
* optional float session_minute_min = 1;
|
15387
16488
|
* @return {number}
|
15388
16489
|
*/
|
15389
|
-
proto.user.
|
15390
|
-
return /** @type {number} */ (jspb.Message.
|
16490
|
+
proto.user.SegmentSessionRuleItem.prototype.getSessionMinuteMin = function() {
|
16491
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
15391
16492
|
};
|
15392
16493
|
|
15393
16494
|
|
15394
16495
|
/**
|
15395
16496
|
* @param {number} value
|
15396
|
-
* @return {!proto.user.
|
16497
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15397
16498
|
*/
|
15398
|
-
proto.user.
|
15399
|
-
return jspb.Message.setField(this,
|
16499
|
+
proto.user.SegmentSessionRuleItem.prototype.setSessionMinuteMin = function(value) {
|
16500
|
+
return jspb.Message.setField(this, 1, value);
|
15400
16501
|
};
|
15401
16502
|
|
15402
16503
|
|
15403
16504
|
/**
|
15404
16505
|
* Clears the field making it undefined.
|
15405
|
-
* @return {!proto.user.
|
16506
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15406
16507
|
*/
|
15407
|
-
proto.user.
|
15408
|
-
return jspb.Message.setField(this,
|
16508
|
+
proto.user.SegmentSessionRuleItem.prototype.clearSessionMinuteMin = function() {
|
16509
|
+
return jspb.Message.setField(this, 1, undefined);
|
15409
16510
|
};
|
15410
16511
|
|
15411
16512
|
|
@@ -15413,35 +16514,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinCountMin = function() {
|
|
15413
16514
|
* Returns whether this field is set.
|
15414
16515
|
* @return {boolean}
|
15415
16516
|
*/
|
15416
|
-
proto.user.
|
15417
|
-
return jspb.Message.getField(this,
|
16517
|
+
proto.user.SegmentSessionRuleItem.prototype.hasSessionMinuteMin = function() {
|
16518
|
+
return jspb.Message.getField(this, 1) != null;
|
15418
16519
|
};
|
15419
16520
|
|
15420
16521
|
|
15421
16522
|
/**
|
15422
|
-
* optional
|
16523
|
+
* optional float session_minute_max = 2;
|
15423
16524
|
* @return {number}
|
15424
16525
|
*/
|
15425
|
-
proto.user.
|
15426
|
-
return /** @type {number} */ (jspb.Message.
|
16526
|
+
proto.user.SegmentSessionRuleItem.prototype.getSessionMinuteMax = function() {
|
16527
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
15427
16528
|
};
|
15428
16529
|
|
15429
16530
|
|
15430
16531
|
/**
|
15431
16532
|
* @param {number} value
|
15432
|
-
* @return {!proto.user.
|
16533
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15433
16534
|
*/
|
15434
|
-
proto.user.
|
15435
|
-
return jspb.Message.setField(this,
|
16535
|
+
proto.user.SegmentSessionRuleItem.prototype.setSessionMinuteMax = function(value) {
|
16536
|
+
return jspb.Message.setField(this, 2, value);
|
15436
16537
|
};
|
15437
16538
|
|
15438
16539
|
|
15439
16540
|
/**
|
15440
16541
|
* Clears the field making it undefined.
|
15441
|
-
* @return {!proto.user.
|
16542
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15442
16543
|
*/
|
15443
|
-
proto.user.
|
15444
|
-
return jspb.Message.setField(this,
|
16544
|
+
proto.user.SegmentSessionRuleItem.prototype.clearSessionMinuteMax = function() {
|
16545
|
+
return jspb.Message.setField(this, 2, undefined);
|
15445
16546
|
};
|
15446
16547
|
|
15447
16548
|
|
@@ -15449,35 +16550,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinCountMax = function() {
|
|
15449
16550
|
* Returns whether this field is set.
|
15450
16551
|
* @return {boolean}
|
15451
16552
|
*/
|
15452
|
-
proto.user.
|
15453
|
-
return jspb.Message.getField(this,
|
16553
|
+
proto.user.SegmentSessionRuleItem.prototype.hasSessionMinuteMax = function() {
|
16554
|
+
return jspb.Message.getField(this, 2) != null;
|
15454
16555
|
};
|
15455
16556
|
|
15456
16557
|
|
15457
16558
|
/**
|
15458
|
-
* optional
|
16559
|
+
* optional int32 session_count_min = 3;
|
15459
16560
|
* @return {number}
|
15460
16561
|
*/
|
15461
|
-
proto.user.
|
15462
|
-
return /** @type {number} */ (jspb.Message.
|
16562
|
+
proto.user.SegmentSessionRuleItem.prototype.getSessionCountMin = function() {
|
16563
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
15463
16564
|
};
|
15464
16565
|
|
15465
16566
|
|
15466
16567
|
/**
|
15467
16568
|
* @param {number} value
|
15468
|
-
* @return {!proto.user.
|
16569
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15469
16570
|
*/
|
15470
|
-
proto.user.
|
15471
|
-
return jspb.Message.setField(this,
|
16571
|
+
proto.user.SegmentSessionRuleItem.prototype.setSessionCountMin = function(value) {
|
16572
|
+
return jspb.Message.setField(this, 3, value);
|
15472
16573
|
};
|
15473
16574
|
|
15474
16575
|
|
15475
16576
|
/**
|
15476
16577
|
* Clears the field making it undefined.
|
15477
|
-
* @return {!proto.user.
|
16578
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15478
16579
|
*/
|
15479
|
-
proto.user.
|
15480
|
-
return jspb.Message.setField(this,
|
16580
|
+
proto.user.SegmentSessionRuleItem.prototype.clearSessionCountMin = function() {
|
16581
|
+
return jspb.Message.setField(this, 3, undefined);
|
15481
16582
|
};
|
15482
16583
|
|
15483
16584
|
|
@@ -15485,35 +16586,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinSumMin = function() {
|
|
15485
16586
|
* Returns whether this field is set.
|
15486
16587
|
* @return {boolean}
|
15487
16588
|
*/
|
15488
|
-
proto.user.
|
15489
|
-
return jspb.Message.getField(this,
|
16589
|
+
proto.user.SegmentSessionRuleItem.prototype.hasSessionCountMin = function() {
|
16590
|
+
return jspb.Message.getField(this, 3) != null;
|
15490
16591
|
};
|
15491
16592
|
|
15492
16593
|
|
15493
16594
|
/**
|
15494
|
-
* optional
|
16595
|
+
* optional int32 session_count_max = 4;
|
15495
16596
|
* @return {number}
|
15496
16597
|
*/
|
15497
|
-
proto.user.
|
15498
|
-
return /** @type {number} */ (jspb.Message.
|
16598
|
+
proto.user.SegmentSessionRuleItem.prototype.getSessionCountMax = function() {
|
16599
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
15499
16600
|
};
|
15500
16601
|
|
15501
16602
|
|
15502
16603
|
/**
|
15503
16604
|
* @param {number} value
|
15504
|
-
* @return {!proto.user.
|
16605
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15505
16606
|
*/
|
15506
|
-
proto.user.
|
15507
|
-
return jspb.Message.setField(this,
|
16607
|
+
proto.user.SegmentSessionRuleItem.prototype.setSessionCountMax = function(value) {
|
16608
|
+
return jspb.Message.setField(this, 4, value);
|
15508
16609
|
};
|
15509
16610
|
|
15510
16611
|
|
15511
16612
|
/**
|
15512
16613
|
* Clears the field making it undefined.
|
15513
|
-
* @return {!proto.user.
|
16614
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15514
16615
|
*/
|
15515
|
-
proto.user.
|
15516
|
-
return jspb.Message.setField(this,
|
16616
|
+
proto.user.SegmentSessionRuleItem.prototype.clearSessionCountMax = function() {
|
16617
|
+
return jspb.Message.setField(this, 4, undefined);
|
15517
16618
|
};
|
15518
16619
|
|
15519
16620
|
|
@@ -15521,35 +16622,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinSumMax = function() {
|
|
15521
16622
|
* Returns whether this field is set.
|
15522
16623
|
* @return {boolean}
|
15523
16624
|
*/
|
15524
|
-
proto.user.
|
15525
|
-
return jspb.Message.getField(this,
|
16625
|
+
proto.user.SegmentSessionRuleItem.prototype.hasSessionCountMax = function() {
|
16626
|
+
return jspb.Message.getField(this, 4) != null;
|
15526
16627
|
};
|
15527
16628
|
|
15528
16629
|
|
15529
16630
|
/**
|
15530
|
-
* optional
|
16631
|
+
* optional int32 hours_after_registration_min = 5;
|
15531
16632
|
* @return {number}
|
15532
16633
|
*/
|
15533
|
-
proto.user.
|
15534
|
-
return /** @type {number} */ (jspb.Message.
|
16634
|
+
proto.user.SegmentSessionRuleItem.prototype.getHoursAfterRegistrationMin = function() {
|
16635
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
15535
16636
|
};
|
15536
16637
|
|
15537
16638
|
|
15538
16639
|
/**
|
15539
16640
|
* @param {number} value
|
15540
|
-
* @return {!proto.user.
|
16641
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15541
16642
|
*/
|
15542
|
-
proto.user.
|
15543
|
-
return jspb.Message.setField(this,
|
16643
|
+
proto.user.SegmentSessionRuleItem.prototype.setHoursAfterRegistrationMin = function(value) {
|
16644
|
+
return jspb.Message.setField(this, 5, value);
|
15544
16645
|
};
|
15545
16646
|
|
15546
16647
|
|
15547
16648
|
/**
|
15548
16649
|
* Clears the field making it undefined.
|
15549
|
-
* @return {!proto.user.
|
16650
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15550
16651
|
*/
|
15551
|
-
proto.user.
|
15552
|
-
return jspb.Message.setField(this,
|
16652
|
+
proto.user.SegmentSessionRuleItem.prototype.clearHoursAfterRegistrationMin = function() {
|
16653
|
+
return jspb.Message.setField(this, 5, undefined);
|
15553
16654
|
};
|
15554
16655
|
|
15555
16656
|
|
@@ -15557,35 +16658,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinAvgMin = function() {
|
|
15557
16658
|
* Returns whether this field is set.
|
15558
16659
|
* @return {boolean}
|
15559
16660
|
*/
|
15560
|
-
proto.user.
|
15561
|
-
return jspb.Message.getField(this,
|
16661
|
+
proto.user.SegmentSessionRuleItem.prototype.hasHoursAfterRegistrationMin = function() {
|
16662
|
+
return jspb.Message.getField(this, 5) != null;
|
15562
16663
|
};
|
15563
16664
|
|
15564
16665
|
|
15565
16666
|
/**
|
15566
|
-
* optional
|
16667
|
+
* optional int32 hours_after_registration_max = 6;
|
15567
16668
|
* @return {number}
|
15568
16669
|
*/
|
15569
|
-
proto.user.
|
15570
|
-
return /** @type {number} */ (jspb.Message.
|
16670
|
+
proto.user.SegmentSessionRuleItem.prototype.getHoursAfterRegistrationMax = function() {
|
16671
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
15571
16672
|
};
|
15572
16673
|
|
15573
16674
|
|
15574
16675
|
/**
|
15575
16676
|
* @param {number} value
|
15576
|
-
* @return {!proto.user.
|
16677
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15577
16678
|
*/
|
15578
|
-
proto.user.
|
15579
|
-
return jspb.Message.setField(this,
|
16679
|
+
proto.user.SegmentSessionRuleItem.prototype.setHoursAfterRegistrationMax = function(value) {
|
16680
|
+
return jspb.Message.setField(this, 6, value);
|
15580
16681
|
};
|
15581
16682
|
|
15582
16683
|
|
15583
16684
|
/**
|
15584
16685
|
* Clears the field making it undefined.
|
15585
|
-
* @return {!proto.user.
|
16686
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15586
16687
|
*/
|
15587
|
-
proto.user.
|
15588
|
-
return jspb.Message.setField(this,
|
16688
|
+
proto.user.SegmentSessionRuleItem.prototype.clearHoursAfterRegistrationMax = function() {
|
16689
|
+
return jspb.Message.setField(this, 6, undefined);
|
15589
16690
|
};
|
15590
16691
|
|
15591
16692
|
|
@@ -15593,35 +16694,35 @@ proto.user.SegmentBetRuleItem.prototype.clearWinAvgMax = function() {
|
|
15593
16694
|
* Returns whether this field is set.
|
15594
16695
|
* @return {boolean}
|
15595
16696
|
*/
|
15596
|
-
proto.user.
|
15597
|
-
return jspb.Message.getField(this,
|
16697
|
+
proto.user.SegmentSessionRuleItem.prototype.hasHoursAfterRegistrationMax = function() {
|
16698
|
+
return jspb.Message.getField(this, 6) != null;
|
15598
16699
|
};
|
15599
16700
|
|
15600
16701
|
|
15601
16702
|
/**
|
15602
|
-
* optional int32 is_active =
|
16703
|
+
* optional int32 is_active = 7;
|
15603
16704
|
* @return {number}
|
15604
16705
|
*/
|
15605
|
-
proto.user.
|
15606
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
16706
|
+
proto.user.SegmentSessionRuleItem.prototype.getIsActive = function() {
|
16707
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
15607
16708
|
};
|
15608
16709
|
|
15609
16710
|
|
15610
16711
|
/**
|
15611
16712
|
* @param {number} value
|
15612
|
-
* @return {!proto.user.
|
16713
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15613
16714
|
*/
|
15614
|
-
proto.user.
|
15615
|
-
return jspb.Message.setField(this,
|
16715
|
+
proto.user.SegmentSessionRuleItem.prototype.setIsActive = function(value) {
|
16716
|
+
return jspb.Message.setField(this, 7, value);
|
15616
16717
|
};
|
15617
16718
|
|
15618
16719
|
|
15619
16720
|
/**
|
15620
16721
|
* Clears the field making it undefined.
|
15621
|
-
* @return {!proto.user.
|
16722
|
+
* @return {!proto.user.SegmentSessionRuleItem} returns this
|
15622
16723
|
*/
|
15623
|
-
proto.user.
|
15624
|
-
return jspb.Message.setField(this,
|
16724
|
+
proto.user.SegmentSessionRuleItem.prototype.clearIsActive = function() {
|
16725
|
+
return jspb.Message.setField(this, 7, undefined);
|
15625
16726
|
};
|
15626
16727
|
|
15627
16728
|
|
@@ -15629,8 +16730,8 @@ proto.user.SegmentBetRuleItem.prototype.clearIsActive = function() {
|
|
15629
16730
|
* Returns whether this field is set.
|
15630
16731
|
* @return {boolean}
|
15631
16732
|
*/
|
15632
|
-
proto.user.
|
15633
|
-
return jspb.Message.getField(this,
|
16733
|
+
proto.user.SegmentSessionRuleItem.prototype.hasIsActive = function() {
|
16734
|
+
return jspb.Message.getField(this, 7) != null;
|
15634
16735
|
};
|
15635
16736
|
|
15636
16737
|
|