protobuf-platform 1.1.82 → 1.1.83
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/bet/bet.proto +25 -0
- package/bet/bet_grpc_pb.js +34 -0
- package/bet/bet_pb.js +1118 -0
- package/package.json +1 -1
package/bet/bet.proto
CHANGED
@@ -8,6 +8,8 @@ service Bet {
|
|
8
8
|
rpc getBetsHistory(PaginationRequest) returns (BetsHistoryResponse);
|
9
9
|
//Dashboard
|
10
10
|
rpc getDashboardInfo(DashboardRequest) returns (DashboardResponse);
|
11
|
+
//Segmentation
|
12
|
+
rpc getSegmentedUsers(SegmentedUserRequest) returns (SegmentedUserResponse);
|
11
13
|
}
|
12
14
|
|
13
15
|
message PingRequest { string ping = 1; }
|
@@ -78,3 +80,26 @@ message BetsHistoryResponse {
|
|
78
80
|
optional int32 total_pages = 2;
|
79
81
|
optional int32 total_items = 3;
|
80
82
|
}
|
83
|
+
//Segmentation
|
84
|
+
message SegmentedUserRequest {
|
85
|
+
optional string currency = 1;
|
86
|
+
optional float bet_amount_min = 2;
|
87
|
+
optional float bet_amount_max = 3;
|
88
|
+
optional float bet_count_min = 4;
|
89
|
+
optional float bet_count_max = 5;
|
90
|
+
optional int32 bet_sum_min = 6;
|
91
|
+
optional int32 bet_sum_max = 7;
|
92
|
+
optional float bet_avg_min = 8;
|
93
|
+
optional float bet_avg_max = 9;
|
94
|
+
optional float win_amount_min = 10;
|
95
|
+
optional float win_amount_max = 11;
|
96
|
+
optional float win_count_min = 12;
|
97
|
+
optional float win_count_max = 13;
|
98
|
+
optional float win_sum_min = 14;
|
99
|
+
optional float win_sum_max = 15;
|
100
|
+
optional float win_avg_min = 16;
|
101
|
+
optional float win_avg_max = 17;
|
102
|
+
}
|
103
|
+
message SegmentedUserResponse {
|
104
|
+
repeated int32 user_ids = 1;
|
105
|
+
}
|
package/bet/bet_grpc_pb.js
CHANGED
@@ -70,6 +70,28 @@ function deserialize_bet_PongResponse(buffer_arg) {
|
|
70
70
|
return bet_pb.PongResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
71
71
|
}
|
72
72
|
|
73
|
+
function serialize_bet_SegmentedUserRequest(arg) {
|
74
|
+
if (!(arg instanceof bet_pb.SegmentedUserRequest)) {
|
75
|
+
throw new Error('Expected argument of type bet.SegmentedUserRequest');
|
76
|
+
}
|
77
|
+
return Buffer.from(arg.serializeBinary());
|
78
|
+
}
|
79
|
+
|
80
|
+
function deserialize_bet_SegmentedUserRequest(buffer_arg) {
|
81
|
+
return bet_pb.SegmentedUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
82
|
+
}
|
83
|
+
|
84
|
+
function serialize_bet_SegmentedUserResponse(arg) {
|
85
|
+
if (!(arg instanceof bet_pb.SegmentedUserResponse)) {
|
86
|
+
throw new Error('Expected argument of type bet.SegmentedUserResponse');
|
87
|
+
}
|
88
|
+
return Buffer.from(arg.serializeBinary());
|
89
|
+
}
|
90
|
+
|
91
|
+
function deserialize_bet_SegmentedUserResponse(buffer_arg) {
|
92
|
+
return bet_pb.SegmentedUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
93
|
+
}
|
94
|
+
|
73
95
|
|
74
96
|
var BetService = exports.BetService = {
|
75
97
|
checkConnection: {
|
@@ -107,6 +129,18 @@ getDashboardInfo: {
|
|
107
129
|
responseSerialize: serialize_bet_DashboardResponse,
|
108
130
|
responseDeserialize: deserialize_bet_DashboardResponse,
|
109
131
|
},
|
132
|
+
// Segmentation
|
133
|
+
getSegmentedUsers: {
|
134
|
+
path: '/bet.Bet/getSegmentedUsers',
|
135
|
+
requestStream: false,
|
136
|
+
responseStream: false,
|
137
|
+
requestType: bet_pb.SegmentedUserRequest,
|
138
|
+
responseType: bet_pb.SegmentedUserResponse,
|
139
|
+
requestSerialize: serialize_bet_SegmentedUserRequest,
|
140
|
+
requestDeserialize: deserialize_bet_SegmentedUserRequest,
|
141
|
+
responseSerialize: serialize_bet_SegmentedUserResponse,
|
142
|
+
responseDeserialize: deserialize_bet_SegmentedUserResponse,
|
143
|
+
},
|
110
144
|
};
|
111
145
|
|
112
146
|
exports.BetClient = grpc.makeGenericClientConstructor(BetService);
|
package/bet/bet_pb.js
CHANGED
@@ -28,6 +28,8 @@ goog.exportSymbol('proto.bet.DashboardResponse', null, global);
|
|
28
28
|
goog.exportSymbol('proto.bet.PaginationRequest', null, global);
|
29
29
|
goog.exportSymbol('proto.bet.PingRequest', null, global);
|
30
30
|
goog.exportSymbol('proto.bet.PongResponse', null, global);
|
31
|
+
goog.exportSymbol('proto.bet.SegmentedUserRequest', null, global);
|
32
|
+
goog.exportSymbol('proto.bet.SegmentedUserResponse', null, global);
|
31
33
|
goog.exportSymbol('proto.bet.UserBetItem', null, global);
|
32
34
|
goog.exportSymbol('proto.bet.UserSearchRequest', null, global);
|
33
35
|
/**
|
@@ -219,6 +221,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
219
221
|
*/
|
220
222
|
proto.bet.BetsHistoryResponse.displayName = 'proto.bet.BetsHistoryResponse';
|
221
223
|
}
|
224
|
+
/**
|
225
|
+
* Generated by JsPbCodeGenerator.
|
226
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
227
|
+
* server response, or constructed directly in Javascript. The array is used
|
228
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
229
|
+
* If no data is provided, the constructed object will be empty, but still
|
230
|
+
* valid.
|
231
|
+
* @extends {jspb.Message}
|
232
|
+
* @constructor
|
233
|
+
*/
|
234
|
+
proto.bet.SegmentedUserRequest = function(opt_data) {
|
235
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
236
|
+
};
|
237
|
+
goog.inherits(proto.bet.SegmentedUserRequest, jspb.Message);
|
238
|
+
if (goog.DEBUG && !COMPILED) {
|
239
|
+
/**
|
240
|
+
* @public
|
241
|
+
* @override
|
242
|
+
*/
|
243
|
+
proto.bet.SegmentedUserRequest.displayName = 'proto.bet.SegmentedUserRequest';
|
244
|
+
}
|
245
|
+
/**
|
246
|
+
* Generated by JsPbCodeGenerator.
|
247
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
248
|
+
* server response, or constructed directly in Javascript. The array is used
|
249
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
250
|
+
* If no data is provided, the constructed object will be empty, but still
|
251
|
+
* valid.
|
252
|
+
* @extends {jspb.Message}
|
253
|
+
* @constructor
|
254
|
+
*/
|
255
|
+
proto.bet.SegmentedUserResponse = function(opt_data) {
|
256
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.SegmentedUserResponse.repeatedFields_, null);
|
257
|
+
};
|
258
|
+
goog.inherits(proto.bet.SegmentedUserResponse, jspb.Message);
|
259
|
+
if (goog.DEBUG && !COMPILED) {
|
260
|
+
/**
|
261
|
+
* @public
|
262
|
+
* @override
|
263
|
+
*/
|
264
|
+
proto.bet.SegmentedUserResponse.displayName = 'proto.bet.SegmentedUserResponse';
|
265
|
+
}
|
222
266
|
|
223
267
|
|
224
268
|
|
@@ -3591,4 +3635,1078 @@ proto.bet.BetsHistoryResponse.prototype.hasTotalItems = function() {
|
|
3591
3635
|
};
|
3592
3636
|
|
3593
3637
|
|
3638
|
+
|
3639
|
+
|
3640
|
+
|
3641
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3642
|
+
/**
|
3643
|
+
* Creates an object representation of this proto.
|
3644
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3645
|
+
* Optional fields that are not set will be set to undefined.
|
3646
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3647
|
+
* For the list of reserved names please see:
|
3648
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3649
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3650
|
+
* JSPB instance for transitional soy proto support:
|
3651
|
+
* http://goto/soy-param-migration
|
3652
|
+
* @return {!Object}
|
3653
|
+
*/
|
3654
|
+
proto.bet.SegmentedUserRequest.prototype.toObject = function(opt_includeInstance) {
|
3655
|
+
return proto.bet.SegmentedUserRequest.toObject(opt_includeInstance, this);
|
3656
|
+
};
|
3657
|
+
|
3658
|
+
|
3659
|
+
/**
|
3660
|
+
* Static version of the {@see toObject} method.
|
3661
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3662
|
+
* the JSPB instance for transitional soy proto support:
|
3663
|
+
* http://goto/soy-param-migration
|
3664
|
+
* @param {!proto.bet.SegmentedUserRequest} msg The msg instance to transform.
|
3665
|
+
* @return {!Object}
|
3666
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3667
|
+
*/
|
3668
|
+
proto.bet.SegmentedUserRequest.toObject = function(includeInstance, msg) {
|
3669
|
+
var f, obj = {
|
3670
|
+
currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
3671
|
+
betAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
3672
|
+
betAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
3673
|
+
betCountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
3674
|
+
betCountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
3675
|
+
betSumMin: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
3676
|
+
betSumMax: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
3677
|
+
betAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
3678
|
+
betAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
3679
|
+
winAmountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
3680
|
+
winAmountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
3681
|
+
winCountMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
3682
|
+
winCountMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
|
3683
|
+
winSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
|
3684
|
+
winSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
3685
|
+
winAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
3686
|
+
winAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0)
|
3687
|
+
};
|
3688
|
+
|
3689
|
+
if (includeInstance) {
|
3690
|
+
obj.$jspbMessageInstance = msg;
|
3691
|
+
}
|
3692
|
+
return obj;
|
3693
|
+
};
|
3694
|
+
}
|
3695
|
+
|
3696
|
+
|
3697
|
+
/**
|
3698
|
+
* Deserializes binary data (in protobuf wire format).
|
3699
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3700
|
+
* @return {!proto.bet.SegmentedUserRequest}
|
3701
|
+
*/
|
3702
|
+
proto.bet.SegmentedUserRequest.deserializeBinary = function(bytes) {
|
3703
|
+
var reader = new jspb.BinaryReader(bytes);
|
3704
|
+
var msg = new proto.bet.SegmentedUserRequest;
|
3705
|
+
return proto.bet.SegmentedUserRequest.deserializeBinaryFromReader(msg, reader);
|
3706
|
+
};
|
3707
|
+
|
3708
|
+
|
3709
|
+
/**
|
3710
|
+
* Deserializes binary data (in protobuf wire format) from the
|
3711
|
+
* given reader into the given message object.
|
3712
|
+
* @param {!proto.bet.SegmentedUserRequest} msg The message object to deserialize into.
|
3713
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3714
|
+
* @return {!proto.bet.SegmentedUserRequest}
|
3715
|
+
*/
|
3716
|
+
proto.bet.SegmentedUserRequest.deserializeBinaryFromReader = function(msg, reader) {
|
3717
|
+
while (reader.nextField()) {
|
3718
|
+
if (reader.isEndGroup()) {
|
3719
|
+
break;
|
3720
|
+
}
|
3721
|
+
var field = reader.getFieldNumber();
|
3722
|
+
switch (field) {
|
3723
|
+
case 1:
|
3724
|
+
var value = /** @type {string} */ (reader.readString());
|
3725
|
+
msg.setCurrency(value);
|
3726
|
+
break;
|
3727
|
+
case 2:
|
3728
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3729
|
+
msg.setBetAmountMin(value);
|
3730
|
+
break;
|
3731
|
+
case 3:
|
3732
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3733
|
+
msg.setBetAmountMax(value);
|
3734
|
+
break;
|
3735
|
+
case 4:
|
3736
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3737
|
+
msg.setBetCountMin(value);
|
3738
|
+
break;
|
3739
|
+
case 5:
|
3740
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3741
|
+
msg.setBetCountMax(value);
|
3742
|
+
break;
|
3743
|
+
case 6:
|
3744
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3745
|
+
msg.setBetSumMin(value);
|
3746
|
+
break;
|
3747
|
+
case 7:
|
3748
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3749
|
+
msg.setBetSumMax(value);
|
3750
|
+
break;
|
3751
|
+
case 8:
|
3752
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3753
|
+
msg.setBetAvgMin(value);
|
3754
|
+
break;
|
3755
|
+
case 9:
|
3756
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3757
|
+
msg.setBetAvgMax(value);
|
3758
|
+
break;
|
3759
|
+
case 10:
|
3760
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3761
|
+
msg.setWinAmountMin(value);
|
3762
|
+
break;
|
3763
|
+
case 11:
|
3764
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3765
|
+
msg.setWinAmountMax(value);
|
3766
|
+
break;
|
3767
|
+
case 12:
|
3768
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3769
|
+
msg.setWinCountMin(value);
|
3770
|
+
break;
|
3771
|
+
case 13:
|
3772
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3773
|
+
msg.setWinCountMax(value);
|
3774
|
+
break;
|
3775
|
+
case 14:
|
3776
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3777
|
+
msg.setWinSumMin(value);
|
3778
|
+
break;
|
3779
|
+
case 15:
|
3780
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3781
|
+
msg.setWinSumMax(value);
|
3782
|
+
break;
|
3783
|
+
case 16:
|
3784
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3785
|
+
msg.setWinAvgMin(value);
|
3786
|
+
break;
|
3787
|
+
case 17:
|
3788
|
+
var value = /** @type {number} */ (reader.readFloat());
|
3789
|
+
msg.setWinAvgMax(value);
|
3790
|
+
break;
|
3791
|
+
default:
|
3792
|
+
reader.skipField();
|
3793
|
+
break;
|
3794
|
+
}
|
3795
|
+
}
|
3796
|
+
return msg;
|
3797
|
+
};
|
3798
|
+
|
3799
|
+
|
3800
|
+
/**
|
3801
|
+
* Serializes the message to binary data (in protobuf wire format).
|
3802
|
+
* @return {!Uint8Array}
|
3803
|
+
*/
|
3804
|
+
proto.bet.SegmentedUserRequest.prototype.serializeBinary = function() {
|
3805
|
+
var writer = new jspb.BinaryWriter();
|
3806
|
+
proto.bet.SegmentedUserRequest.serializeBinaryToWriter(this, writer);
|
3807
|
+
return writer.getResultBuffer();
|
3808
|
+
};
|
3809
|
+
|
3810
|
+
|
3811
|
+
/**
|
3812
|
+
* Serializes the given message to binary data (in protobuf wire
|
3813
|
+
* format), writing to the given BinaryWriter.
|
3814
|
+
* @param {!proto.bet.SegmentedUserRequest} message
|
3815
|
+
* @param {!jspb.BinaryWriter} writer
|
3816
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3817
|
+
*/
|
3818
|
+
proto.bet.SegmentedUserRequest.serializeBinaryToWriter = function(message, writer) {
|
3819
|
+
var f = undefined;
|
3820
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
3821
|
+
if (f != null) {
|
3822
|
+
writer.writeString(
|
3823
|
+
1,
|
3824
|
+
f
|
3825
|
+
);
|
3826
|
+
}
|
3827
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
3828
|
+
if (f != null) {
|
3829
|
+
writer.writeFloat(
|
3830
|
+
2,
|
3831
|
+
f
|
3832
|
+
);
|
3833
|
+
}
|
3834
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
3835
|
+
if (f != null) {
|
3836
|
+
writer.writeFloat(
|
3837
|
+
3,
|
3838
|
+
f
|
3839
|
+
);
|
3840
|
+
}
|
3841
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
3842
|
+
if (f != null) {
|
3843
|
+
writer.writeFloat(
|
3844
|
+
4,
|
3845
|
+
f
|
3846
|
+
);
|
3847
|
+
}
|
3848
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
3849
|
+
if (f != null) {
|
3850
|
+
writer.writeFloat(
|
3851
|
+
5,
|
3852
|
+
f
|
3853
|
+
);
|
3854
|
+
}
|
3855
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
3856
|
+
if (f != null) {
|
3857
|
+
writer.writeInt32(
|
3858
|
+
6,
|
3859
|
+
f
|
3860
|
+
);
|
3861
|
+
}
|
3862
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
3863
|
+
if (f != null) {
|
3864
|
+
writer.writeInt32(
|
3865
|
+
7,
|
3866
|
+
f
|
3867
|
+
);
|
3868
|
+
}
|
3869
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
3870
|
+
if (f != null) {
|
3871
|
+
writer.writeFloat(
|
3872
|
+
8,
|
3873
|
+
f
|
3874
|
+
);
|
3875
|
+
}
|
3876
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
3877
|
+
if (f != null) {
|
3878
|
+
writer.writeFloat(
|
3879
|
+
9,
|
3880
|
+
f
|
3881
|
+
);
|
3882
|
+
}
|
3883
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
3884
|
+
if (f != null) {
|
3885
|
+
writer.writeFloat(
|
3886
|
+
10,
|
3887
|
+
f
|
3888
|
+
);
|
3889
|
+
}
|
3890
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
3891
|
+
if (f != null) {
|
3892
|
+
writer.writeFloat(
|
3893
|
+
11,
|
3894
|
+
f
|
3895
|
+
);
|
3896
|
+
}
|
3897
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
3898
|
+
if (f != null) {
|
3899
|
+
writer.writeFloat(
|
3900
|
+
12,
|
3901
|
+
f
|
3902
|
+
);
|
3903
|
+
}
|
3904
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
3905
|
+
if (f != null) {
|
3906
|
+
writer.writeFloat(
|
3907
|
+
13,
|
3908
|
+
f
|
3909
|
+
);
|
3910
|
+
}
|
3911
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
3912
|
+
if (f != null) {
|
3913
|
+
writer.writeFloat(
|
3914
|
+
14,
|
3915
|
+
f
|
3916
|
+
);
|
3917
|
+
}
|
3918
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 15));
|
3919
|
+
if (f != null) {
|
3920
|
+
writer.writeFloat(
|
3921
|
+
15,
|
3922
|
+
f
|
3923
|
+
);
|
3924
|
+
}
|
3925
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 16));
|
3926
|
+
if (f != null) {
|
3927
|
+
writer.writeFloat(
|
3928
|
+
16,
|
3929
|
+
f
|
3930
|
+
);
|
3931
|
+
}
|
3932
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 17));
|
3933
|
+
if (f != null) {
|
3934
|
+
writer.writeFloat(
|
3935
|
+
17,
|
3936
|
+
f
|
3937
|
+
);
|
3938
|
+
}
|
3939
|
+
};
|
3940
|
+
|
3941
|
+
|
3942
|
+
/**
|
3943
|
+
* optional string currency = 1;
|
3944
|
+
* @return {string}
|
3945
|
+
*/
|
3946
|
+
proto.bet.SegmentedUserRequest.prototype.getCurrency = function() {
|
3947
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3948
|
+
};
|
3949
|
+
|
3950
|
+
|
3951
|
+
/**
|
3952
|
+
* @param {string} value
|
3953
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
3954
|
+
*/
|
3955
|
+
proto.bet.SegmentedUserRequest.prototype.setCurrency = function(value) {
|
3956
|
+
return jspb.Message.setField(this, 1, value);
|
3957
|
+
};
|
3958
|
+
|
3959
|
+
|
3960
|
+
/**
|
3961
|
+
* Clears the field making it undefined.
|
3962
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
3963
|
+
*/
|
3964
|
+
proto.bet.SegmentedUserRequest.prototype.clearCurrency = function() {
|
3965
|
+
return jspb.Message.setField(this, 1, undefined);
|
3966
|
+
};
|
3967
|
+
|
3968
|
+
|
3969
|
+
/**
|
3970
|
+
* Returns whether this field is set.
|
3971
|
+
* @return {boolean}
|
3972
|
+
*/
|
3973
|
+
proto.bet.SegmentedUserRequest.prototype.hasCurrency = function() {
|
3974
|
+
return jspb.Message.getField(this, 1) != null;
|
3975
|
+
};
|
3976
|
+
|
3977
|
+
|
3978
|
+
/**
|
3979
|
+
* optional float bet_amount_min = 2;
|
3980
|
+
* @return {number}
|
3981
|
+
*/
|
3982
|
+
proto.bet.SegmentedUserRequest.prototype.getBetAmountMin = function() {
|
3983
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
3984
|
+
};
|
3985
|
+
|
3986
|
+
|
3987
|
+
/**
|
3988
|
+
* @param {number} value
|
3989
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
3990
|
+
*/
|
3991
|
+
proto.bet.SegmentedUserRequest.prototype.setBetAmountMin = function(value) {
|
3992
|
+
return jspb.Message.setField(this, 2, value);
|
3993
|
+
};
|
3994
|
+
|
3995
|
+
|
3996
|
+
/**
|
3997
|
+
* Clears the field making it undefined.
|
3998
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
3999
|
+
*/
|
4000
|
+
proto.bet.SegmentedUserRequest.prototype.clearBetAmountMin = function() {
|
4001
|
+
return jspb.Message.setField(this, 2, undefined);
|
4002
|
+
};
|
4003
|
+
|
4004
|
+
|
4005
|
+
/**
|
4006
|
+
* Returns whether this field is set.
|
4007
|
+
* @return {boolean}
|
4008
|
+
*/
|
4009
|
+
proto.bet.SegmentedUserRequest.prototype.hasBetAmountMin = function() {
|
4010
|
+
return jspb.Message.getField(this, 2) != null;
|
4011
|
+
};
|
4012
|
+
|
4013
|
+
|
4014
|
+
/**
|
4015
|
+
* optional float bet_amount_max = 3;
|
4016
|
+
* @return {number}
|
4017
|
+
*/
|
4018
|
+
proto.bet.SegmentedUserRequest.prototype.getBetAmountMax = function() {
|
4019
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
4020
|
+
};
|
4021
|
+
|
4022
|
+
|
4023
|
+
/**
|
4024
|
+
* @param {number} value
|
4025
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4026
|
+
*/
|
4027
|
+
proto.bet.SegmentedUserRequest.prototype.setBetAmountMax = function(value) {
|
4028
|
+
return jspb.Message.setField(this, 3, value);
|
4029
|
+
};
|
4030
|
+
|
4031
|
+
|
4032
|
+
/**
|
4033
|
+
* Clears the field making it undefined.
|
4034
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4035
|
+
*/
|
4036
|
+
proto.bet.SegmentedUserRequest.prototype.clearBetAmountMax = function() {
|
4037
|
+
return jspb.Message.setField(this, 3, undefined);
|
4038
|
+
};
|
4039
|
+
|
4040
|
+
|
4041
|
+
/**
|
4042
|
+
* Returns whether this field is set.
|
4043
|
+
* @return {boolean}
|
4044
|
+
*/
|
4045
|
+
proto.bet.SegmentedUserRequest.prototype.hasBetAmountMax = function() {
|
4046
|
+
return jspb.Message.getField(this, 3) != null;
|
4047
|
+
};
|
4048
|
+
|
4049
|
+
|
4050
|
+
/**
|
4051
|
+
* optional float bet_count_min = 4;
|
4052
|
+
* @return {number}
|
4053
|
+
*/
|
4054
|
+
proto.bet.SegmentedUserRequest.prototype.getBetCountMin = function() {
|
4055
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
4056
|
+
};
|
4057
|
+
|
4058
|
+
|
4059
|
+
/**
|
4060
|
+
* @param {number} value
|
4061
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4062
|
+
*/
|
4063
|
+
proto.bet.SegmentedUserRequest.prototype.setBetCountMin = function(value) {
|
4064
|
+
return jspb.Message.setField(this, 4, value);
|
4065
|
+
};
|
4066
|
+
|
4067
|
+
|
4068
|
+
/**
|
4069
|
+
* Clears the field making it undefined.
|
4070
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4071
|
+
*/
|
4072
|
+
proto.bet.SegmentedUserRequest.prototype.clearBetCountMin = function() {
|
4073
|
+
return jspb.Message.setField(this, 4, undefined);
|
4074
|
+
};
|
4075
|
+
|
4076
|
+
|
4077
|
+
/**
|
4078
|
+
* Returns whether this field is set.
|
4079
|
+
* @return {boolean}
|
4080
|
+
*/
|
4081
|
+
proto.bet.SegmentedUserRequest.prototype.hasBetCountMin = function() {
|
4082
|
+
return jspb.Message.getField(this, 4) != null;
|
4083
|
+
};
|
4084
|
+
|
4085
|
+
|
4086
|
+
/**
|
4087
|
+
* optional float bet_count_max = 5;
|
4088
|
+
* @return {number}
|
4089
|
+
*/
|
4090
|
+
proto.bet.SegmentedUserRequest.prototype.getBetCountMax = function() {
|
4091
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
4092
|
+
};
|
4093
|
+
|
4094
|
+
|
4095
|
+
/**
|
4096
|
+
* @param {number} value
|
4097
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4098
|
+
*/
|
4099
|
+
proto.bet.SegmentedUserRequest.prototype.setBetCountMax = function(value) {
|
4100
|
+
return jspb.Message.setField(this, 5, value);
|
4101
|
+
};
|
4102
|
+
|
4103
|
+
|
4104
|
+
/**
|
4105
|
+
* Clears the field making it undefined.
|
4106
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4107
|
+
*/
|
4108
|
+
proto.bet.SegmentedUserRequest.prototype.clearBetCountMax = function() {
|
4109
|
+
return jspb.Message.setField(this, 5, undefined);
|
4110
|
+
};
|
4111
|
+
|
4112
|
+
|
4113
|
+
/**
|
4114
|
+
* Returns whether this field is set.
|
4115
|
+
* @return {boolean}
|
4116
|
+
*/
|
4117
|
+
proto.bet.SegmentedUserRequest.prototype.hasBetCountMax = function() {
|
4118
|
+
return jspb.Message.getField(this, 5) != null;
|
4119
|
+
};
|
4120
|
+
|
4121
|
+
|
4122
|
+
/**
|
4123
|
+
* optional int32 bet_sum_min = 6;
|
4124
|
+
* @return {number}
|
4125
|
+
*/
|
4126
|
+
proto.bet.SegmentedUserRequest.prototype.getBetSumMin = function() {
|
4127
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
4128
|
+
};
|
4129
|
+
|
4130
|
+
|
4131
|
+
/**
|
4132
|
+
* @param {number} value
|
4133
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4134
|
+
*/
|
4135
|
+
proto.bet.SegmentedUserRequest.prototype.setBetSumMin = function(value) {
|
4136
|
+
return jspb.Message.setField(this, 6, value);
|
4137
|
+
};
|
4138
|
+
|
4139
|
+
|
4140
|
+
/**
|
4141
|
+
* Clears the field making it undefined.
|
4142
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4143
|
+
*/
|
4144
|
+
proto.bet.SegmentedUserRequest.prototype.clearBetSumMin = function() {
|
4145
|
+
return jspb.Message.setField(this, 6, undefined);
|
4146
|
+
};
|
4147
|
+
|
4148
|
+
|
4149
|
+
/**
|
4150
|
+
* Returns whether this field is set.
|
4151
|
+
* @return {boolean}
|
4152
|
+
*/
|
4153
|
+
proto.bet.SegmentedUserRequest.prototype.hasBetSumMin = function() {
|
4154
|
+
return jspb.Message.getField(this, 6) != null;
|
4155
|
+
};
|
4156
|
+
|
4157
|
+
|
4158
|
+
/**
|
4159
|
+
* optional int32 bet_sum_max = 7;
|
4160
|
+
* @return {number}
|
4161
|
+
*/
|
4162
|
+
proto.bet.SegmentedUserRequest.prototype.getBetSumMax = function() {
|
4163
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
4164
|
+
};
|
4165
|
+
|
4166
|
+
|
4167
|
+
/**
|
4168
|
+
* @param {number} value
|
4169
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4170
|
+
*/
|
4171
|
+
proto.bet.SegmentedUserRequest.prototype.setBetSumMax = function(value) {
|
4172
|
+
return jspb.Message.setField(this, 7, value);
|
4173
|
+
};
|
4174
|
+
|
4175
|
+
|
4176
|
+
/**
|
4177
|
+
* Clears the field making it undefined.
|
4178
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4179
|
+
*/
|
4180
|
+
proto.bet.SegmentedUserRequest.prototype.clearBetSumMax = function() {
|
4181
|
+
return jspb.Message.setField(this, 7, undefined);
|
4182
|
+
};
|
4183
|
+
|
4184
|
+
|
4185
|
+
/**
|
4186
|
+
* Returns whether this field is set.
|
4187
|
+
* @return {boolean}
|
4188
|
+
*/
|
4189
|
+
proto.bet.SegmentedUserRequest.prototype.hasBetSumMax = function() {
|
4190
|
+
return jspb.Message.getField(this, 7) != null;
|
4191
|
+
};
|
4192
|
+
|
4193
|
+
|
4194
|
+
/**
|
4195
|
+
* optional float bet_avg_min = 8;
|
4196
|
+
* @return {number}
|
4197
|
+
*/
|
4198
|
+
proto.bet.SegmentedUserRequest.prototype.getBetAvgMin = function() {
|
4199
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
4200
|
+
};
|
4201
|
+
|
4202
|
+
|
4203
|
+
/**
|
4204
|
+
* @param {number} value
|
4205
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4206
|
+
*/
|
4207
|
+
proto.bet.SegmentedUserRequest.prototype.setBetAvgMin = function(value) {
|
4208
|
+
return jspb.Message.setField(this, 8, value);
|
4209
|
+
};
|
4210
|
+
|
4211
|
+
|
4212
|
+
/**
|
4213
|
+
* Clears the field making it undefined.
|
4214
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4215
|
+
*/
|
4216
|
+
proto.bet.SegmentedUserRequest.prototype.clearBetAvgMin = function() {
|
4217
|
+
return jspb.Message.setField(this, 8, undefined);
|
4218
|
+
};
|
4219
|
+
|
4220
|
+
|
4221
|
+
/**
|
4222
|
+
* Returns whether this field is set.
|
4223
|
+
* @return {boolean}
|
4224
|
+
*/
|
4225
|
+
proto.bet.SegmentedUserRequest.prototype.hasBetAvgMin = function() {
|
4226
|
+
return jspb.Message.getField(this, 8) != null;
|
4227
|
+
};
|
4228
|
+
|
4229
|
+
|
4230
|
+
/**
|
4231
|
+
* optional float bet_avg_max = 9;
|
4232
|
+
* @return {number}
|
4233
|
+
*/
|
4234
|
+
proto.bet.SegmentedUserRequest.prototype.getBetAvgMax = function() {
|
4235
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
4236
|
+
};
|
4237
|
+
|
4238
|
+
|
4239
|
+
/**
|
4240
|
+
* @param {number} value
|
4241
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4242
|
+
*/
|
4243
|
+
proto.bet.SegmentedUserRequest.prototype.setBetAvgMax = function(value) {
|
4244
|
+
return jspb.Message.setField(this, 9, value);
|
4245
|
+
};
|
4246
|
+
|
4247
|
+
|
4248
|
+
/**
|
4249
|
+
* Clears the field making it undefined.
|
4250
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4251
|
+
*/
|
4252
|
+
proto.bet.SegmentedUserRequest.prototype.clearBetAvgMax = function() {
|
4253
|
+
return jspb.Message.setField(this, 9, undefined);
|
4254
|
+
};
|
4255
|
+
|
4256
|
+
|
4257
|
+
/**
|
4258
|
+
* Returns whether this field is set.
|
4259
|
+
* @return {boolean}
|
4260
|
+
*/
|
4261
|
+
proto.bet.SegmentedUserRequest.prototype.hasBetAvgMax = function() {
|
4262
|
+
return jspb.Message.getField(this, 9) != null;
|
4263
|
+
};
|
4264
|
+
|
4265
|
+
|
4266
|
+
/**
|
4267
|
+
* optional float win_amount_min = 10;
|
4268
|
+
* @return {number}
|
4269
|
+
*/
|
4270
|
+
proto.bet.SegmentedUserRequest.prototype.getWinAmountMin = function() {
|
4271
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
4272
|
+
};
|
4273
|
+
|
4274
|
+
|
4275
|
+
/**
|
4276
|
+
* @param {number} value
|
4277
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4278
|
+
*/
|
4279
|
+
proto.bet.SegmentedUserRequest.prototype.setWinAmountMin = function(value) {
|
4280
|
+
return jspb.Message.setField(this, 10, value);
|
4281
|
+
};
|
4282
|
+
|
4283
|
+
|
4284
|
+
/**
|
4285
|
+
* Clears the field making it undefined.
|
4286
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4287
|
+
*/
|
4288
|
+
proto.bet.SegmentedUserRequest.prototype.clearWinAmountMin = function() {
|
4289
|
+
return jspb.Message.setField(this, 10, undefined);
|
4290
|
+
};
|
4291
|
+
|
4292
|
+
|
4293
|
+
/**
|
4294
|
+
* Returns whether this field is set.
|
4295
|
+
* @return {boolean}
|
4296
|
+
*/
|
4297
|
+
proto.bet.SegmentedUserRequest.prototype.hasWinAmountMin = function() {
|
4298
|
+
return jspb.Message.getField(this, 10) != null;
|
4299
|
+
};
|
4300
|
+
|
4301
|
+
|
4302
|
+
/**
|
4303
|
+
* optional float win_amount_max = 11;
|
4304
|
+
* @return {number}
|
4305
|
+
*/
|
4306
|
+
proto.bet.SegmentedUserRequest.prototype.getWinAmountMax = function() {
|
4307
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
4308
|
+
};
|
4309
|
+
|
4310
|
+
|
4311
|
+
/**
|
4312
|
+
* @param {number} value
|
4313
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4314
|
+
*/
|
4315
|
+
proto.bet.SegmentedUserRequest.prototype.setWinAmountMax = function(value) {
|
4316
|
+
return jspb.Message.setField(this, 11, value);
|
4317
|
+
};
|
4318
|
+
|
4319
|
+
|
4320
|
+
/**
|
4321
|
+
* Clears the field making it undefined.
|
4322
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4323
|
+
*/
|
4324
|
+
proto.bet.SegmentedUserRequest.prototype.clearWinAmountMax = function() {
|
4325
|
+
return jspb.Message.setField(this, 11, undefined);
|
4326
|
+
};
|
4327
|
+
|
4328
|
+
|
4329
|
+
/**
|
4330
|
+
* Returns whether this field is set.
|
4331
|
+
* @return {boolean}
|
4332
|
+
*/
|
4333
|
+
proto.bet.SegmentedUserRequest.prototype.hasWinAmountMax = function() {
|
4334
|
+
return jspb.Message.getField(this, 11) != null;
|
4335
|
+
};
|
4336
|
+
|
4337
|
+
|
4338
|
+
/**
|
4339
|
+
* optional float win_count_min = 12;
|
4340
|
+
* @return {number}
|
4341
|
+
*/
|
4342
|
+
proto.bet.SegmentedUserRequest.prototype.getWinCountMin = function() {
|
4343
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
4344
|
+
};
|
4345
|
+
|
4346
|
+
|
4347
|
+
/**
|
4348
|
+
* @param {number} value
|
4349
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4350
|
+
*/
|
4351
|
+
proto.bet.SegmentedUserRequest.prototype.setWinCountMin = function(value) {
|
4352
|
+
return jspb.Message.setField(this, 12, value);
|
4353
|
+
};
|
4354
|
+
|
4355
|
+
|
4356
|
+
/**
|
4357
|
+
* Clears the field making it undefined.
|
4358
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4359
|
+
*/
|
4360
|
+
proto.bet.SegmentedUserRequest.prototype.clearWinCountMin = function() {
|
4361
|
+
return jspb.Message.setField(this, 12, undefined);
|
4362
|
+
};
|
4363
|
+
|
4364
|
+
|
4365
|
+
/**
|
4366
|
+
* Returns whether this field is set.
|
4367
|
+
* @return {boolean}
|
4368
|
+
*/
|
4369
|
+
proto.bet.SegmentedUserRequest.prototype.hasWinCountMin = function() {
|
4370
|
+
return jspb.Message.getField(this, 12) != null;
|
4371
|
+
};
|
4372
|
+
|
4373
|
+
|
4374
|
+
/**
|
4375
|
+
* optional float win_count_max = 13;
|
4376
|
+
* @return {number}
|
4377
|
+
*/
|
4378
|
+
proto.bet.SegmentedUserRequest.prototype.getWinCountMax = function() {
|
4379
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
|
4380
|
+
};
|
4381
|
+
|
4382
|
+
|
4383
|
+
/**
|
4384
|
+
* @param {number} value
|
4385
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4386
|
+
*/
|
4387
|
+
proto.bet.SegmentedUserRequest.prototype.setWinCountMax = function(value) {
|
4388
|
+
return jspb.Message.setField(this, 13, value);
|
4389
|
+
};
|
4390
|
+
|
4391
|
+
|
4392
|
+
/**
|
4393
|
+
* Clears the field making it undefined.
|
4394
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4395
|
+
*/
|
4396
|
+
proto.bet.SegmentedUserRequest.prototype.clearWinCountMax = function() {
|
4397
|
+
return jspb.Message.setField(this, 13, undefined);
|
4398
|
+
};
|
4399
|
+
|
4400
|
+
|
4401
|
+
/**
|
4402
|
+
* Returns whether this field is set.
|
4403
|
+
* @return {boolean}
|
4404
|
+
*/
|
4405
|
+
proto.bet.SegmentedUserRequest.prototype.hasWinCountMax = function() {
|
4406
|
+
return jspb.Message.getField(this, 13) != null;
|
4407
|
+
};
|
4408
|
+
|
4409
|
+
|
4410
|
+
/**
|
4411
|
+
* optional float win_sum_min = 14;
|
4412
|
+
* @return {number}
|
4413
|
+
*/
|
4414
|
+
proto.bet.SegmentedUserRequest.prototype.getWinSumMin = function() {
|
4415
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
|
4416
|
+
};
|
4417
|
+
|
4418
|
+
|
4419
|
+
/**
|
4420
|
+
* @param {number} value
|
4421
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4422
|
+
*/
|
4423
|
+
proto.bet.SegmentedUserRequest.prototype.setWinSumMin = function(value) {
|
4424
|
+
return jspb.Message.setField(this, 14, value);
|
4425
|
+
};
|
4426
|
+
|
4427
|
+
|
4428
|
+
/**
|
4429
|
+
* Clears the field making it undefined.
|
4430
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4431
|
+
*/
|
4432
|
+
proto.bet.SegmentedUserRequest.prototype.clearWinSumMin = function() {
|
4433
|
+
return jspb.Message.setField(this, 14, undefined);
|
4434
|
+
};
|
4435
|
+
|
4436
|
+
|
4437
|
+
/**
|
4438
|
+
* Returns whether this field is set.
|
4439
|
+
* @return {boolean}
|
4440
|
+
*/
|
4441
|
+
proto.bet.SegmentedUserRequest.prototype.hasWinSumMin = function() {
|
4442
|
+
return jspb.Message.getField(this, 14) != null;
|
4443
|
+
};
|
4444
|
+
|
4445
|
+
|
4446
|
+
/**
|
4447
|
+
* optional float win_sum_max = 15;
|
4448
|
+
* @return {number}
|
4449
|
+
*/
|
4450
|
+
proto.bet.SegmentedUserRequest.prototype.getWinSumMax = function() {
|
4451
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
|
4452
|
+
};
|
4453
|
+
|
4454
|
+
|
4455
|
+
/**
|
4456
|
+
* @param {number} value
|
4457
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4458
|
+
*/
|
4459
|
+
proto.bet.SegmentedUserRequest.prototype.setWinSumMax = function(value) {
|
4460
|
+
return jspb.Message.setField(this, 15, value);
|
4461
|
+
};
|
4462
|
+
|
4463
|
+
|
4464
|
+
/**
|
4465
|
+
* Clears the field making it undefined.
|
4466
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4467
|
+
*/
|
4468
|
+
proto.bet.SegmentedUserRequest.prototype.clearWinSumMax = function() {
|
4469
|
+
return jspb.Message.setField(this, 15, undefined);
|
4470
|
+
};
|
4471
|
+
|
4472
|
+
|
4473
|
+
/**
|
4474
|
+
* Returns whether this field is set.
|
4475
|
+
* @return {boolean}
|
4476
|
+
*/
|
4477
|
+
proto.bet.SegmentedUserRequest.prototype.hasWinSumMax = function() {
|
4478
|
+
return jspb.Message.getField(this, 15) != null;
|
4479
|
+
};
|
4480
|
+
|
4481
|
+
|
4482
|
+
/**
|
4483
|
+
* optional float win_avg_min = 16;
|
4484
|
+
* @return {number}
|
4485
|
+
*/
|
4486
|
+
proto.bet.SegmentedUserRequest.prototype.getWinAvgMin = function() {
|
4487
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
|
4488
|
+
};
|
4489
|
+
|
4490
|
+
|
4491
|
+
/**
|
4492
|
+
* @param {number} value
|
4493
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4494
|
+
*/
|
4495
|
+
proto.bet.SegmentedUserRequest.prototype.setWinAvgMin = function(value) {
|
4496
|
+
return jspb.Message.setField(this, 16, value);
|
4497
|
+
};
|
4498
|
+
|
4499
|
+
|
4500
|
+
/**
|
4501
|
+
* Clears the field making it undefined.
|
4502
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4503
|
+
*/
|
4504
|
+
proto.bet.SegmentedUserRequest.prototype.clearWinAvgMin = function() {
|
4505
|
+
return jspb.Message.setField(this, 16, undefined);
|
4506
|
+
};
|
4507
|
+
|
4508
|
+
|
4509
|
+
/**
|
4510
|
+
* Returns whether this field is set.
|
4511
|
+
* @return {boolean}
|
4512
|
+
*/
|
4513
|
+
proto.bet.SegmentedUserRequest.prototype.hasWinAvgMin = function() {
|
4514
|
+
return jspb.Message.getField(this, 16) != null;
|
4515
|
+
};
|
4516
|
+
|
4517
|
+
|
4518
|
+
/**
|
4519
|
+
* optional float win_avg_max = 17;
|
4520
|
+
* @return {number}
|
4521
|
+
*/
|
4522
|
+
proto.bet.SegmentedUserRequest.prototype.getWinAvgMax = function() {
|
4523
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0));
|
4524
|
+
};
|
4525
|
+
|
4526
|
+
|
4527
|
+
/**
|
4528
|
+
* @param {number} value
|
4529
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4530
|
+
*/
|
4531
|
+
proto.bet.SegmentedUserRequest.prototype.setWinAvgMax = function(value) {
|
4532
|
+
return jspb.Message.setField(this, 17, value);
|
4533
|
+
};
|
4534
|
+
|
4535
|
+
|
4536
|
+
/**
|
4537
|
+
* Clears the field making it undefined.
|
4538
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
4539
|
+
*/
|
4540
|
+
proto.bet.SegmentedUserRequest.prototype.clearWinAvgMax = function() {
|
4541
|
+
return jspb.Message.setField(this, 17, undefined);
|
4542
|
+
};
|
4543
|
+
|
4544
|
+
|
4545
|
+
/**
|
4546
|
+
* Returns whether this field is set.
|
4547
|
+
* @return {boolean}
|
4548
|
+
*/
|
4549
|
+
proto.bet.SegmentedUserRequest.prototype.hasWinAvgMax = function() {
|
4550
|
+
return jspb.Message.getField(this, 17) != null;
|
4551
|
+
};
|
4552
|
+
|
4553
|
+
|
4554
|
+
|
4555
|
+
/**
|
4556
|
+
* List of repeated fields within this message type.
|
4557
|
+
* @private {!Array<number>}
|
4558
|
+
* @const
|
4559
|
+
*/
|
4560
|
+
proto.bet.SegmentedUserResponse.repeatedFields_ = [1];
|
4561
|
+
|
4562
|
+
|
4563
|
+
|
4564
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
4565
|
+
/**
|
4566
|
+
* Creates an object representation of this proto.
|
4567
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
4568
|
+
* Optional fields that are not set will be set to undefined.
|
4569
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
4570
|
+
* For the list of reserved names please see:
|
4571
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
4572
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
4573
|
+
* JSPB instance for transitional soy proto support:
|
4574
|
+
* http://goto/soy-param-migration
|
4575
|
+
* @return {!Object}
|
4576
|
+
*/
|
4577
|
+
proto.bet.SegmentedUserResponse.prototype.toObject = function(opt_includeInstance) {
|
4578
|
+
return proto.bet.SegmentedUserResponse.toObject(opt_includeInstance, this);
|
4579
|
+
};
|
4580
|
+
|
4581
|
+
|
4582
|
+
/**
|
4583
|
+
* Static version of the {@see toObject} method.
|
4584
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
4585
|
+
* the JSPB instance for transitional soy proto support:
|
4586
|
+
* http://goto/soy-param-migration
|
4587
|
+
* @param {!proto.bet.SegmentedUserResponse} msg The msg instance to transform.
|
4588
|
+
* @return {!Object}
|
4589
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4590
|
+
*/
|
4591
|
+
proto.bet.SegmentedUserResponse.toObject = function(includeInstance, msg) {
|
4592
|
+
var f, obj = {
|
4593
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
4594
|
+
};
|
4595
|
+
|
4596
|
+
if (includeInstance) {
|
4597
|
+
obj.$jspbMessageInstance = msg;
|
4598
|
+
}
|
4599
|
+
return obj;
|
4600
|
+
};
|
4601
|
+
}
|
4602
|
+
|
4603
|
+
|
4604
|
+
/**
|
4605
|
+
* Deserializes binary data (in protobuf wire format).
|
4606
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
4607
|
+
* @return {!proto.bet.SegmentedUserResponse}
|
4608
|
+
*/
|
4609
|
+
proto.bet.SegmentedUserResponse.deserializeBinary = function(bytes) {
|
4610
|
+
var reader = new jspb.BinaryReader(bytes);
|
4611
|
+
var msg = new proto.bet.SegmentedUserResponse;
|
4612
|
+
return proto.bet.SegmentedUserResponse.deserializeBinaryFromReader(msg, reader);
|
4613
|
+
};
|
4614
|
+
|
4615
|
+
|
4616
|
+
/**
|
4617
|
+
* Deserializes binary data (in protobuf wire format) from the
|
4618
|
+
* given reader into the given message object.
|
4619
|
+
* @param {!proto.bet.SegmentedUserResponse} msg The message object to deserialize into.
|
4620
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
4621
|
+
* @return {!proto.bet.SegmentedUserResponse}
|
4622
|
+
*/
|
4623
|
+
proto.bet.SegmentedUserResponse.deserializeBinaryFromReader = function(msg, reader) {
|
4624
|
+
while (reader.nextField()) {
|
4625
|
+
if (reader.isEndGroup()) {
|
4626
|
+
break;
|
4627
|
+
}
|
4628
|
+
var field = reader.getFieldNumber();
|
4629
|
+
switch (field) {
|
4630
|
+
case 1:
|
4631
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
4632
|
+
for (var i = 0; i < values.length; i++) {
|
4633
|
+
msg.addUserIds(values[i]);
|
4634
|
+
}
|
4635
|
+
break;
|
4636
|
+
default:
|
4637
|
+
reader.skipField();
|
4638
|
+
break;
|
4639
|
+
}
|
4640
|
+
}
|
4641
|
+
return msg;
|
4642
|
+
};
|
4643
|
+
|
4644
|
+
|
4645
|
+
/**
|
4646
|
+
* Serializes the message to binary data (in protobuf wire format).
|
4647
|
+
* @return {!Uint8Array}
|
4648
|
+
*/
|
4649
|
+
proto.bet.SegmentedUserResponse.prototype.serializeBinary = function() {
|
4650
|
+
var writer = new jspb.BinaryWriter();
|
4651
|
+
proto.bet.SegmentedUserResponse.serializeBinaryToWriter(this, writer);
|
4652
|
+
return writer.getResultBuffer();
|
4653
|
+
};
|
4654
|
+
|
4655
|
+
|
4656
|
+
/**
|
4657
|
+
* Serializes the given message to binary data (in protobuf wire
|
4658
|
+
* format), writing to the given BinaryWriter.
|
4659
|
+
* @param {!proto.bet.SegmentedUserResponse} message
|
4660
|
+
* @param {!jspb.BinaryWriter} writer
|
4661
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4662
|
+
*/
|
4663
|
+
proto.bet.SegmentedUserResponse.serializeBinaryToWriter = function(message, writer) {
|
4664
|
+
var f = undefined;
|
4665
|
+
f = message.getUserIdsList();
|
4666
|
+
if (f.length > 0) {
|
4667
|
+
writer.writePackedInt32(
|
4668
|
+
1,
|
4669
|
+
f
|
4670
|
+
);
|
4671
|
+
}
|
4672
|
+
};
|
4673
|
+
|
4674
|
+
|
4675
|
+
/**
|
4676
|
+
* repeated int32 user_ids = 1;
|
4677
|
+
* @return {!Array<number>}
|
4678
|
+
*/
|
4679
|
+
proto.bet.SegmentedUserResponse.prototype.getUserIdsList = function() {
|
4680
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
4681
|
+
};
|
4682
|
+
|
4683
|
+
|
4684
|
+
/**
|
4685
|
+
* @param {!Array<number>} value
|
4686
|
+
* @return {!proto.bet.SegmentedUserResponse} returns this
|
4687
|
+
*/
|
4688
|
+
proto.bet.SegmentedUserResponse.prototype.setUserIdsList = function(value) {
|
4689
|
+
return jspb.Message.setField(this, 1, value || []);
|
4690
|
+
};
|
4691
|
+
|
4692
|
+
|
4693
|
+
/**
|
4694
|
+
* @param {number} value
|
4695
|
+
* @param {number=} opt_index
|
4696
|
+
* @return {!proto.bet.SegmentedUserResponse} returns this
|
4697
|
+
*/
|
4698
|
+
proto.bet.SegmentedUserResponse.prototype.addUserIds = function(value, opt_index) {
|
4699
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
4700
|
+
};
|
4701
|
+
|
4702
|
+
|
4703
|
+
/**
|
4704
|
+
* Clears the list making it empty but non-null.
|
4705
|
+
* @return {!proto.bet.SegmentedUserResponse} returns this
|
4706
|
+
*/
|
4707
|
+
proto.bet.SegmentedUserResponse.prototype.clearUserIdsList = function() {
|
4708
|
+
return this.setUserIdsList([]);
|
4709
|
+
};
|
4710
|
+
|
4711
|
+
|
3594
4712
|
goog.object.extend(exports, proto.bet);
|