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