protobuf-platform 1.0.211 → 1.0.213
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 +31 -0
- package/bet/bet_grpc_pb.js +34 -0
- package/bet/bet_pb.js +1425 -0
- package/package.json +1 -1
- package/user/user.proto +11 -0
- package/user/user_grpc_pb.js +34 -0
- package/user/user_pb.js +400 -0
package/bet/bet_pb.js
CHANGED
@@ -22,6 +22,9 @@ var global = (function() {
|
|
22
22
|
}.call(null));
|
23
23
|
|
24
24
|
goog.exportSymbol('proto.bet.BetsHistoryResponse', null, global);
|
25
|
+
goog.exportSymbol('proto.bet.DashboardGameInfo', null, global);
|
26
|
+
goog.exportSymbol('proto.bet.DashboardRequest', null, global);
|
27
|
+
goog.exportSymbol('proto.bet.DashboardResponse', null, global);
|
25
28
|
goog.exportSymbol('proto.bet.PaginationRequest', null, global);
|
26
29
|
goog.exportSymbol('proto.bet.PingRequest', null, global);
|
27
30
|
goog.exportSymbol('proto.bet.PongResponse', null, global);
|
@@ -111,6 +114,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
111
114
|
*/
|
112
115
|
proto.bet.UserSearchRequest.displayName = 'proto.bet.UserSearchRequest';
|
113
116
|
}
|
117
|
+
/**
|
118
|
+
* Generated by JsPbCodeGenerator.
|
119
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
120
|
+
* server response, or constructed directly in Javascript. The array is used
|
121
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
122
|
+
* If no data is provided, the constructed object will be empty, but still
|
123
|
+
* valid.
|
124
|
+
* @extends {jspb.Message}
|
125
|
+
* @constructor
|
126
|
+
*/
|
127
|
+
proto.bet.DashboardRequest = function(opt_data) {
|
128
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
129
|
+
};
|
130
|
+
goog.inherits(proto.bet.DashboardRequest, jspb.Message);
|
131
|
+
if (goog.DEBUG && !COMPILED) {
|
132
|
+
/**
|
133
|
+
* @public
|
134
|
+
* @override
|
135
|
+
*/
|
136
|
+
proto.bet.DashboardRequest.displayName = 'proto.bet.DashboardRequest';
|
137
|
+
}
|
138
|
+
/**
|
139
|
+
* Generated by JsPbCodeGenerator.
|
140
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
141
|
+
* server response, or constructed directly in Javascript. The array is used
|
142
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
143
|
+
* If no data is provided, the constructed object will be empty, but still
|
144
|
+
* valid.
|
145
|
+
* @extends {jspb.Message}
|
146
|
+
* @constructor
|
147
|
+
*/
|
148
|
+
proto.bet.DashboardGameInfo = function(opt_data) {
|
149
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
150
|
+
};
|
151
|
+
goog.inherits(proto.bet.DashboardGameInfo, jspb.Message);
|
152
|
+
if (goog.DEBUG && !COMPILED) {
|
153
|
+
/**
|
154
|
+
* @public
|
155
|
+
* @override
|
156
|
+
*/
|
157
|
+
proto.bet.DashboardGameInfo.displayName = 'proto.bet.DashboardGameInfo';
|
158
|
+
}
|
159
|
+
/**
|
160
|
+
* Generated by JsPbCodeGenerator.
|
161
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
162
|
+
* server response, or constructed directly in Javascript. The array is used
|
163
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
164
|
+
* If no data is provided, the constructed object will be empty, but still
|
165
|
+
* valid.
|
166
|
+
* @extends {jspb.Message}
|
167
|
+
* @constructor
|
168
|
+
*/
|
169
|
+
proto.bet.DashboardResponse = function(opt_data) {
|
170
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.DashboardResponse.repeatedFields_, null);
|
171
|
+
};
|
172
|
+
goog.inherits(proto.bet.DashboardResponse, jspb.Message);
|
173
|
+
if (goog.DEBUG && !COMPILED) {
|
174
|
+
/**
|
175
|
+
* @public
|
176
|
+
* @override
|
177
|
+
*/
|
178
|
+
proto.bet.DashboardResponse.displayName = 'proto.bet.DashboardResponse';
|
179
|
+
}
|
114
180
|
/**
|
115
181
|
* Generated by JsPbCodeGenerator.
|
116
182
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -871,6 +937,1365 @@ proto.bet.UserSearchRequest.prototype.hasCurrency = function() {
|
|
871
937
|
|
872
938
|
|
873
939
|
|
940
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
941
|
+
/**
|
942
|
+
* Creates an object representation of this proto.
|
943
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
944
|
+
* Optional fields that are not set will be set to undefined.
|
945
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
946
|
+
* For the list of reserved names please see:
|
947
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
948
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
949
|
+
* JSPB instance for transitional soy proto support:
|
950
|
+
* http://goto/soy-param-migration
|
951
|
+
* @return {!Object}
|
952
|
+
*/
|
953
|
+
proto.bet.DashboardRequest.prototype.toObject = function(opt_includeInstance) {
|
954
|
+
return proto.bet.DashboardRequest.toObject(opt_includeInstance, this);
|
955
|
+
};
|
956
|
+
|
957
|
+
|
958
|
+
/**
|
959
|
+
* Static version of the {@see toObject} method.
|
960
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
961
|
+
* the JSPB instance for transitional soy proto support:
|
962
|
+
* http://goto/soy-param-migration
|
963
|
+
* @param {!proto.bet.DashboardRequest} msg The msg instance to transform.
|
964
|
+
* @return {!Object}
|
965
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
966
|
+
*/
|
967
|
+
proto.bet.DashboardRequest.toObject = function(includeInstance, msg) {
|
968
|
+
var f, obj = {
|
969
|
+
startDate: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
970
|
+
endDate: jspb.Message.getFieldWithDefault(msg, 2, "")
|
971
|
+
};
|
972
|
+
|
973
|
+
if (includeInstance) {
|
974
|
+
obj.$jspbMessageInstance = msg;
|
975
|
+
}
|
976
|
+
return obj;
|
977
|
+
};
|
978
|
+
}
|
979
|
+
|
980
|
+
|
981
|
+
/**
|
982
|
+
* Deserializes binary data (in protobuf wire format).
|
983
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
984
|
+
* @return {!proto.bet.DashboardRequest}
|
985
|
+
*/
|
986
|
+
proto.bet.DashboardRequest.deserializeBinary = function(bytes) {
|
987
|
+
var reader = new jspb.BinaryReader(bytes);
|
988
|
+
var msg = new proto.bet.DashboardRequest;
|
989
|
+
return proto.bet.DashboardRequest.deserializeBinaryFromReader(msg, reader);
|
990
|
+
};
|
991
|
+
|
992
|
+
|
993
|
+
/**
|
994
|
+
* Deserializes binary data (in protobuf wire format) from the
|
995
|
+
* given reader into the given message object.
|
996
|
+
* @param {!proto.bet.DashboardRequest} msg The message object to deserialize into.
|
997
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
998
|
+
* @return {!proto.bet.DashboardRequest}
|
999
|
+
*/
|
1000
|
+
proto.bet.DashboardRequest.deserializeBinaryFromReader = function(msg, reader) {
|
1001
|
+
while (reader.nextField()) {
|
1002
|
+
if (reader.isEndGroup()) {
|
1003
|
+
break;
|
1004
|
+
}
|
1005
|
+
var field = reader.getFieldNumber();
|
1006
|
+
switch (field) {
|
1007
|
+
case 1:
|
1008
|
+
var value = /** @type {string} */ (reader.readString());
|
1009
|
+
msg.setStartDate(value);
|
1010
|
+
break;
|
1011
|
+
case 2:
|
1012
|
+
var value = /** @type {string} */ (reader.readString());
|
1013
|
+
msg.setEndDate(value);
|
1014
|
+
break;
|
1015
|
+
default:
|
1016
|
+
reader.skipField();
|
1017
|
+
break;
|
1018
|
+
}
|
1019
|
+
}
|
1020
|
+
return msg;
|
1021
|
+
};
|
1022
|
+
|
1023
|
+
|
1024
|
+
/**
|
1025
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1026
|
+
* @return {!Uint8Array}
|
1027
|
+
*/
|
1028
|
+
proto.bet.DashboardRequest.prototype.serializeBinary = function() {
|
1029
|
+
var writer = new jspb.BinaryWriter();
|
1030
|
+
proto.bet.DashboardRequest.serializeBinaryToWriter(this, writer);
|
1031
|
+
return writer.getResultBuffer();
|
1032
|
+
};
|
1033
|
+
|
1034
|
+
|
1035
|
+
/**
|
1036
|
+
* Serializes the given message to binary data (in protobuf wire
|
1037
|
+
* format), writing to the given BinaryWriter.
|
1038
|
+
* @param {!proto.bet.DashboardRequest} message
|
1039
|
+
* @param {!jspb.BinaryWriter} writer
|
1040
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1041
|
+
*/
|
1042
|
+
proto.bet.DashboardRequest.serializeBinaryToWriter = function(message, writer) {
|
1043
|
+
var f = undefined;
|
1044
|
+
f = message.getStartDate();
|
1045
|
+
if (f.length > 0) {
|
1046
|
+
writer.writeString(
|
1047
|
+
1,
|
1048
|
+
f
|
1049
|
+
);
|
1050
|
+
}
|
1051
|
+
f = message.getEndDate();
|
1052
|
+
if (f.length > 0) {
|
1053
|
+
writer.writeString(
|
1054
|
+
2,
|
1055
|
+
f
|
1056
|
+
);
|
1057
|
+
}
|
1058
|
+
};
|
1059
|
+
|
1060
|
+
|
1061
|
+
/**
|
1062
|
+
* optional string start_date = 1;
|
1063
|
+
* @return {string}
|
1064
|
+
*/
|
1065
|
+
proto.bet.DashboardRequest.prototype.getStartDate = function() {
|
1066
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1067
|
+
};
|
1068
|
+
|
1069
|
+
|
1070
|
+
/**
|
1071
|
+
* @param {string} value
|
1072
|
+
* @return {!proto.bet.DashboardRequest} returns this
|
1073
|
+
*/
|
1074
|
+
proto.bet.DashboardRequest.prototype.setStartDate = function(value) {
|
1075
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
1076
|
+
};
|
1077
|
+
|
1078
|
+
|
1079
|
+
/**
|
1080
|
+
* optional string end_date = 2;
|
1081
|
+
* @return {string}
|
1082
|
+
*/
|
1083
|
+
proto.bet.DashboardRequest.prototype.getEndDate = function() {
|
1084
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1085
|
+
};
|
1086
|
+
|
1087
|
+
|
1088
|
+
/**
|
1089
|
+
* @param {string} value
|
1090
|
+
* @return {!proto.bet.DashboardRequest} returns this
|
1091
|
+
*/
|
1092
|
+
proto.bet.DashboardRequest.prototype.setEndDate = function(value) {
|
1093
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
1094
|
+
};
|
1095
|
+
|
1096
|
+
|
1097
|
+
|
1098
|
+
|
1099
|
+
|
1100
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1101
|
+
/**
|
1102
|
+
* Creates an object representation of this proto.
|
1103
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1104
|
+
* Optional fields that are not set will be set to undefined.
|
1105
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1106
|
+
* For the list of reserved names please see:
|
1107
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1108
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1109
|
+
* JSPB instance for transitional soy proto support:
|
1110
|
+
* http://goto/soy-param-migration
|
1111
|
+
* @return {!Object}
|
1112
|
+
*/
|
1113
|
+
proto.bet.DashboardGameInfo.prototype.toObject = function(opt_includeInstance) {
|
1114
|
+
return proto.bet.DashboardGameInfo.toObject(opt_includeInstance, this);
|
1115
|
+
};
|
1116
|
+
|
1117
|
+
|
1118
|
+
/**
|
1119
|
+
* Static version of the {@see toObject} method.
|
1120
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1121
|
+
* the JSPB instance for transitional soy proto support:
|
1122
|
+
* http://goto/soy-param-migration
|
1123
|
+
* @param {!proto.bet.DashboardGameInfo} msg The msg instance to transform.
|
1124
|
+
* @return {!Object}
|
1125
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1126
|
+
*/
|
1127
|
+
proto.bet.DashboardGameInfo.toObject = function(includeInstance, msg) {
|
1128
|
+
var f, obj = {
|
1129
|
+
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1130
|
+
calculatedValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
1131
|
+
slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1132
|
+
image: jspb.Message.getFieldWithDefault(msg, 4, "")
|
1133
|
+
};
|
1134
|
+
|
1135
|
+
if (includeInstance) {
|
1136
|
+
obj.$jspbMessageInstance = msg;
|
1137
|
+
}
|
1138
|
+
return obj;
|
1139
|
+
};
|
1140
|
+
}
|
1141
|
+
|
1142
|
+
|
1143
|
+
/**
|
1144
|
+
* Deserializes binary data (in protobuf wire format).
|
1145
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1146
|
+
* @return {!proto.bet.DashboardGameInfo}
|
1147
|
+
*/
|
1148
|
+
proto.bet.DashboardGameInfo.deserializeBinary = function(bytes) {
|
1149
|
+
var reader = new jspb.BinaryReader(bytes);
|
1150
|
+
var msg = new proto.bet.DashboardGameInfo;
|
1151
|
+
return proto.bet.DashboardGameInfo.deserializeBinaryFromReader(msg, reader);
|
1152
|
+
};
|
1153
|
+
|
1154
|
+
|
1155
|
+
/**
|
1156
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1157
|
+
* given reader into the given message object.
|
1158
|
+
* @param {!proto.bet.DashboardGameInfo} msg The message object to deserialize into.
|
1159
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1160
|
+
* @return {!proto.bet.DashboardGameInfo}
|
1161
|
+
*/
|
1162
|
+
proto.bet.DashboardGameInfo.deserializeBinaryFromReader = function(msg, reader) {
|
1163
|
+
while (reader.nextField()) {
|
1164
|
+
if (reader.isEndGroup()) {
|
1165
|
+
break;
|
1166
|
+
}
|
1167
|
+
var field = reader.getFieldNumber();
|
1168
|
+
switch (field) {
|
1169
|
+
case 1:
|
1170
|
+
var value = /** @type {string} */ (reader.readString());
|
1171
|
+
msg.setTitle(value);
|
1172
|
+
break;
|
1173
|
+
case 2:
|
1174
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1175
|
+
msg.setCalculatedValue(value);
|
1176
|
+
break;
|
1177
|
+
case 3:
|
1178
|
+
var value = /** @type {string} */ (reader.readString());
|
1179
|
+
msg.setSlug(value);
|
1180
|
+
break;
|
1181
|
+
case 4:
|
1182
|
+
var value = /** @type {string} */ (reader.readString());
|
1183
|
+
msg.setImage(value);
|
1184
|
+
break;
|
1185
|
+
default:
|
1186
|
+
reader.skipField();
|
1187
|
+
break;
|
1188
|
+
}
|
1189
|
+
}
|
1190
|
+
return msg;
|
1191
|
+
};
|
1192
|
+
|
1193
|
+
|
1194
|
+
/**
|
1195
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1196
|
+
* @return {!Uint8Array}
|
1197
|
+
*/
|
1198
|
+
proto.bet.DashboardGameInfo.prototype.serializeBinary = function() {
|
1199
|
+
var writer = new jspb.BinaryWriter();
|
1200
|
+
proto.bet.DashboardGameInfo.serializeBinaryToWriter(this, writer);
|
1201
|
+
return writer.getResultBuffer();
|
1202
|
+
};
|
1203
|
+
|
1204
|
+
|
1205
|
+
/**
|
1206
|
+
* Serializes the given message to binary data (in protobuf wire
|
1207
|
+
* format), writing to the given BinaryWriter.
|
1208
|
+
* @param {!proto.bet.DashboardGameInfo} message
|
1209
|
+
* @param {!jspb.BinaryWriter} writer
|
1210
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1211
|
+
*/
|
1212
|
+
proto.bet.DashboardGameInfo.serializeBinaryToWriter = function(message, writer) {
|
1213
|
+
var f = undefined;
|
1214
|
+
f = message.getTitle();
|
1215
|
+
if (f.length > 0) {
|
1216
|
+
writer.writeString(
|
1217
|
+
1,
|
1218
|
+
f
|
1219
|
+
);
|
1220
|
+
}
|
1221
|
+
f = message.getCalculatedValue();
|
1222
|
+
if (f !== 0.0) {
|
1223
|
+
writer.writeFloat(
|
1224
|
+
2,
|
1225
|
+
f
|
1226
|
+
);
|
1227
|
+
}
|
1228
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
1229
|
+
if (f != null) {
|
1230
|
+
writer.writeString(
|
1231
|
+
3,
|
1232
|
+
f
|
1233
|
+
);
|
1234
|
+
}
|
1235
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
1236
|
+
if (f != null) {
|
1237
|
+
writer.writeString(
|
1238
|
+
4,
|
1239
|
+
f
|
1240
|
+
);
|
1241
|
+
}
|
1242
|
+
};
|
1243
|
+
|
1244
|
+
|
1245
|
+
/**
|
1246
|
+
* optional string title = 1;
|
1247
|
+
* @return {string}
|
1248
|
+
*/
|
1249
|
+
proto.bet.DashboardGameInfo.prototype.getTitle = function() {
|
1250
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1251
|
+
};
|
1252
|
+
|
1253
|
+
|
1254
|
+
/**
|
1255
|
+
* @param {string} value
|
1256
|
+
* @return {!proto.bet.DashboardGameInfo} returns this
|
1257
|
+
*/
|
1258
|
+
proto.bet.DashboardGameInfo.prototype.setTitle = function(value) {
|
1259
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
1260
|
+
};
|
1261
|
+
|
1262
|
+
|
1263
|
+
/**
|
1264
|
+
* optional float calculated_value = 2;
|
1265
|
+
* @return {number}
|
1266
|
+
*/
|
1267
|
+
proto.bet.DashboardGameInfo.prototype.getCalculatedValue = function() {
|
1268
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
1269
|
+
};
|
1270
|
+
|
1271
|
+
|
1272
|
+
/**
|
1273
|
+
* @param {number} value
|
1274
|
+
* @return {!proto.bet.DashboardGameInfo} returns this
|
1275
|
+
*/
|
1276
|
+
proto.bet.DashboardGameInfo.prototype.setCalculatedValue = function(value) {
|
1277
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
1278
|
+
};
|
1279
|
+
|
1280
|
+
|
1281
|
+
/**
|
1282
|
+
* optional string slug = 3;
|
1283
|
+
* @return {string}
|
1284
|
+
*/
|
1285
|
+
proto.bet.DashboardGameInfo.prototype.getSlug = function() {
|
1286
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1287
|
+
};
|
1288
|
+
|
1289
|
+
|
1290
|
+
/**
|
1291
|
+
* @param {string} value
|
1292
|
+
* @return {!proto.bet.DashboardGameInfo} returns this
|
1293
|
+
*/
|
1294
|
+
proto.bet.DashboardGameInfo.prototype.setSlug = function(value) {
|
1295
|
+
return jspb.Message.setField(this, 3, value);
|
1296
|
+
};
|
1297
|
+
|
1298
|
+
|
1299
|
+
/**
|
1300
|
+
* Clears the field making it undefined.
|
1301
|
+
* @return {!proto.bet.DashboardGameInfo} returns this
|
1302
|
+
*/
|
1303
|
+
proto.bet.DashboardGameInfo.prototype.clearSlug = function() {
|
1304
|
+
return jspb.Message.setField(this, 3, undefined);
|
1305
|
+
};
|
1306
|
+
|
1307
|
+
|
1308
|
+
/**
|
1309
|
+
* Returns whether this field is set.
|
1310
|
+
* @return {boolean}
|
1311
|
+
*/
|
1312
|
+
proto.bet.DashboardGameInfo.prototype.hasSlug = function() {
|
1313
|
+
return jspb.Message.getField(this, 3) != null;
|
1314
|
+
};
|
1315
|
+
|
1316
|
+
|
1317
|
+
/**
|
1318
|
+
* optional string image = 4;
|
1319
|
+
* @return {string}
|
1320
|
+
*/
|
1321
|
+
proto.bet.DashboardGameInfo.prototype.getImage = function() {
|
1322
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
1323
|
+
};
|
1324
|
+
|
1325
|
+
|
1326
|
+
/**
|
1327
|
+
* @param {string} value
|
1328
|
+
* @return {!proto.bet.DashboardGameInfo} returns this
|
1329
|
+
*/
|
1330
|
+
proto.bet.DashboardGameInfo.prototype.setImage = function(value) {
|
1331
|
+
return jspb.Message.setField(this, 4, value);
|
1332
|
+
};
|
1333
|
+
|
1334
|
+
|
1335
|
+
/**
|
1336
|
+
* Clears the field making it undefined.
|
1337
|
+
* @return {!proto.bet.DashboardGameInfo} returns this
|
1338
|
+
*/
|
1339
|
+
proto.bet.DashboardGameInfo.prototype.clearImage = function() {
|
1340
|
+
return jspb.Message.setField(this, 4, undefined);
|
1341
|
+
};
|
1342
|
+
|
1343
|
+
|
1344
|
+
/**
|
1345
|
+
* Returns whether this field is set.
|
1346
|
+
* @return {boolean}
|
1347
|
+
*/
|
1348
|
+
proto.bet.DashboardGameInfo.prototype.hasImage = function() {
|
1349
|
+
return jspb.Message.getField(this, 4) != null;
|
1350
|
+
};
|
1351
|
+
|
1352
|
+
|
1353
|
+
|
1354
|
+
/**
|
1355
|
+
* List of repeated fields within this message type.
|
1356
|
+
* @private {!Array<number>}
|
1357
|
+
* @const
|
1358
|
+
*/
|
1359
|
+
proto.bet.DashboardResponse.repeatedFields_ = [14,15,16,17];
|
1360
|
+
|
1361
|
+
|
1362
|
+
|
1363
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1364
|
+
/**
|
1365
|
+
* Creates an object representation of this proto.
|
1366
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1367
|
+
* Optional fields that are not set will be set to undefined.
|
1368
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1369
|
+
* For the list of reserved names please see:
|
1370
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1371
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1372
|
+
* JSPB instance for transitional soy proto support:
|
1373
|
+
* http://goto/soy-param-migration
|
1374
|
+
* @return {!Object}
|
1375
|
+
*/
|
1376
|
+
proto.bet.DashboardResponse.prototype.toObject = function(opt_includeInstance) {
|
1377
|
+
return proto.bet.DashboardResponse.toObject(opt_includeInstance, this);
|
1378
|
+
};
|
1379
|
+
|
1380
|
+
|
1381
|
+
/**
|
1382
|
+
* Static version of the {@see toObject} method.
|
1383
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1384
|
+
* the JSPB instance for transitional soy proto support:
|
1385
|
+
* http://goto/soy-param-migration
|
1386
|
+
* @param {!proto.bet.DashboardResponse} msg The msg instance to transform.
|
1387
|
+
* @return {!Object}
|
1388
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1389
|
+
*/
|
1390
|
+
proto.bet.DashboardResponse.toObject = function(includeInstance, msg) {
|
1391
|
+
var f, obj = {
|
1392
|
+
minBetReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
1393
|
+
minBetBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
1394
|
+
averageBetReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
1395
|
+
averageBetBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
1396
|
+
maxWinReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
1397
|
+
maxWinBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
1398
|
+
averageWinReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
1399
|
+
averageWinBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
1400
|
+
turnoverReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
1401
|
+
turnoverBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
1402
|
+
ggrTotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
1403
|
+
ggrReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
1404
|
+
ggrBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
|
1405
|
+
topGamesCountBetRealList: jspb.Message.toObjectList(msg.getTopGamesCountBetRealList(),
|
1406
|
+
proto.bet.DashboardGameInfo.toObject, includeInstance),
|
1407
|
+
topGamesCountBetBonusList: jspb.Message.toObjectList(msg.getTopGamesCountBetBonusList(),
|
1408
|
+
proto.bet.DashboardGameInfo.toObject, includeInstance),
|
1409
|
+
topGamesSumBetRealList: jspb.Message.toObjectList(msg.getTopGamesSumBetRealList(),
|
1410
|
+
proto.bet.DashboardGameInfo.toObject, includeInstance),
|
1411
|
+
topGamesSumBetBonusList: jspb.Message.toObjectList(msg.getTopGamesSumBetBonusList(),
|
1412
|
+
proto.bet.DashboardGameInfo.toObject, includeInstance)
|
1413
|
+
};
|
1414
|
+
|
1415
|
+
if (includeInstance) {
|
1416
|
+
obj.$jspbMessageInstance = msg;
|
1417
|
+
}
|
1418
|
+
return obj;
|
1419
|
+
};
|
1420
|
+
}
|
1421
|
+
|
1422
|
+
|
1423
|
+
/**
|
1424
|
+
* Deserializes binary data (in protobuf wire format).
|
1425
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1426
|
+
* @return {!proto.bet.DashboardResponse}
|
1427
|
+
*/
|
1428
|
+
proto.bet.DashboardResponse.deserializeBinary = function(bytes) {
|
1429
|
+
var reader = new jspb.BinaryReader(bytes);
|
1430
|
+
var msg = new proto.bet.DashboardResponse;
|
1431
|
+
return proto.bet.DashboardResponse.deserializeBinaryFromReader(msg, reader);
|
1432
|
+
};
|
1433
|
+
|
1434
|
+
|
1435
|
+
/**
|
1436
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1437
|
+
* given reader into the given message object.
|
1438
|
+
* @param {!proto.bet.DashboardResponse} msg The message object to deserialize into.
|
1439
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1440
|
+
* @return {!proto.bet.DashboardResponse}
|
1441
|
+
*/
|
1442
|
+
proto.bet.DashboardResponse.deserializeBinaryFromReader = function(msg, reader) {
|
1443
|
+
while (reader.nextField()) {
|
1444
|
+
if (reader.isEndGroup()) {
|
1445
|
+
break;
|
1446
|
+
}
|
1447
|
+
var field = reader.getFieldNumber();
|
1448
|
+
switch (field) {
|
1449
|
+
case 1:
|
1450
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1451
|
+
msg.setMinBetReal(value);
|
1452
|
+
break;
|
1453
|
+
case 2:
|
1454
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1455
|
+
msg.setMinBetBonus(value);
|
1456
|
+
break;
|
1457
|
+
case 3:
|
1458
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1459
|
+
msg.setAverageBetReal(value);
|
1460
|
+
break;
|
1461
|
+
case 4:
|
1462
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1463
|
+
msg.setAverageBetBonus(value);
|
1464
|
+
break;
|
1465
|
+
case 5:
|
1466
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1467
|
+
msg.setMaxWinReal(value);
|
1468
|
+
break;
|
1469
|
+
case 6:
|
1470
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1471
|
+
msg.setMaxWinBonus(value);
|
1472
|
+
break;
|
1473
|
+
case 7:
|
1474
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1475
|
+
msg.setAverageWinReal(value);
|
1476
|
+
break;
|
1477
|
+
case 8:
|
1478
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1479
|
+
msg.setAverageWinBonus(value);
|
1480
|
+
break;
|
1481
|
+
case 9:
|
1482
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1483
|
+
msg.setTurnoverReal(value);
|
1484
|
+
break;
|
1485
|
+
case 10:
|
1486
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1487
|
+
msg.setTurnoverBonus(value);
|
1488
|
+
break;
|
1489
|
+
case 11:
|
1490
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1491
|
+
msg.setGgrTotal(value);
|
1492
|
+
break;
|
1493
|
+
case 12:
|
1494
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1495
|
+
msg.setGgrReal(value);
|
1496
|
+
break;
|
1497
|
+
case 13:
|
1498
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1499
|
+
msg.setGgrBonus(value);
|
1500
|
+
break;
|
1501
|
+
case 14:
|
1502
|
+
var value = new proto.bet.DashboardGameInfo;
|
1503
|
+
reader.readMessage(value,proto.bet.DashboardGameInfo.deserializeBinaryFromReader);
|
1504
|
+
msg.addTopGamesCountBetReal(value);
|
1505
|
+
break;
|
1506
|
+
case 15:
|
1507
|
+
var value = new proto.bet.DashboardGameInfo;
|
1508
|
+
reader.readMessage(value,proto.bet.DashboardGameInfo.deserializeBinaryFromReader);
|
1509
|
+
msg.addTopGamesCountBetBonus(value);
|
1510
|
+
break;
|
1511
|
+
case 16:
|
1512
|
+
var value = new proto.bet.DashboardGameInfo;
|
1513
|
+
reader.readMessage(value,proto.bet.DashboardGameInfo.deserializeBinaryFromReader);
|
1514
|
+
msg.addTopGamesSumBetReal(value);
|
1515
|
+
break;
|
1516
|
+
case 17:
|
1517
|
+
var value = new proto.bet.DashboardGameInfo;
|
1518
|
+
reader.readMessage(value,proto.bet.DashboardGameInfo.deserializeBinaryFromReader);
|
1519
|
+
msg.addTopGamesSumBetBonus(value);
|
1520
|
+
break;
|
1521
|
+
default:
|
1522
|
+
reader.skipField();
|
1523
|
+
break;
|
1524
|
+
}
|
1525
|
+
}
|
1526
|
+
return msg;
|
1527
|
+
};
|
1528
|
+
|
1529
|
+
|
1530
|
+
/**
|
1531
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1532
|
+
* @return {!Uint8Array}
|
1533
|
+
*/
|
1534
|
+
proto.bet.DashboardResponse.prototype.serializeBinary = function() {
|
1535
|
+
var writer = new jspb.BinaryWriter();
|
1536
|
+
proto.bet.DashboardResponse.serializeBinaryToWriter(this, writer);
|
1537
|
+
return writer.getResultBuffer();
|
1538
|
+
};
|
1539
|
+
|
1540
|
+
|
1541
|
+
/**
|
1542
|
+
* Serializes the given message to binary data (in protobuf wire
|
1543
|
+
* format), writing to the given BinaryWriter.
|
1544
|
+
* @param {!proto.bet.DashboardResponse} message
|
1545
|
+
* @param {!jspb.BinaryWriter} writer
|
1546
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1547
|
+
*/
|
1548
|
+
proto.bet.DashboardResponse.serializeBinaryToWriter = function(message, writer) {
|
1549
|
+
var f = undefined;
|
1550
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
1551
|
+
if (f != null) {
|
1552
|
+
writer.writeFloat(
|
1553
|
+
1,
|
1554
|
+
f
|
1555
|
+
);
|
1556
|
+
}
|
1557
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
1558
|
+
if (f != null) {
|
1559
|
+
writer.writeFloat(
|
1560
|
+
2,
|
1561
|
+
f
|
1562
|
+
);
|
1563
|
+
}
|
1564
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
1565
|
+
if (f != null) {
|
1566
|
+
writer.writeFloat(
|
1567
|
+
3,
|
1568
|
+
f
|
1569
|
+
);
|
1570
|
+
}
|
1571
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
1572
|
+
if (f != null) {
|
1573
|
+
writer.writeFloat(
|
1574
|
+
4,
|
1575
|
+
f
|
1576
|
+
);
|
1577
|
+
}
|
1578
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
1579
|
+
if (f != null) {
|
1580
|
+
writer.writeFloat(
|
1581
|
+
5,
|
1582
|
+
f
|
1583
|
+
);
|
1584
|
+
}
|
1585
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
1586
|
+
if (f != null) {
|
1587
|
+
writer.writeFloat(
|
1588
|
+
6,
|
1589
|
+
f
|
1590
|
+
);
|
1591
|
+
}
|
1592
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
1593
|
+
if (f != null) {
|
1594
|
+
writer.writeFloat(
|
1595
|
+
7,
|
1596
|
+
f
|
1597
|
+
);
|
1598
|
+
}
|
1599
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
1600
|
+
if (f != null) {
|
1601
|
+
writer.writeFloat(
|
1602
|
+
8,
|
1603
|
+
f
|
1604
|
+
);
|
1605
|
+
}
|
1606
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
1607
|
+
if (f != null) {
|
1608
|
+
writer.writeFloat(
|
1609
|
+
9,
|
1610
|
+
f
|
1611
|
+
);
|
1612
|
+
}
|
1613
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
1614
|
+
if (f != null) {
|
1615
|
+
writer.writeFloat(
|
1616
|
+
10,
|
1617
|
+
f
|
1618
|
+
);
|
1619
|
+
}
|
1620
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
1621
|
+
if (f != null) {
|
1622
|
+
writer.writeFloat(
|
1623
|
+
11,
|
1624
|
+
f
|
1625
|
+
);
|
1626
|
+
}
|
1627
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
1628
|
+
if (f != null) {
|
1629
|
+
writer.writeFloat(
|
1630
|
+
12,
|
1631
|
+
f
|
1632
|
+
);
|
1633
|
+
}
|
1634
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 13));
|
1635
|
+
if (f != null) {
|
1636
|
+
writer.writeFloat(
|
1637
|
+
13,
|
1638
|
+
f
|
1639
|
+
);
|
1640
|
+
}
|
1641
|
+
f = message.getTopGamesCountBetRealList();
|
1642
|
+
if (f.length > 0) {
|
1643
|
+
writer.writeRepeatedMessage(
|
1644
|
+
14,
|
1645
|
+
f,
|
1646
|
+
proto.bet.DashboardGameInfo.serializeBinaryToWriter
|
1647
|
+
);
|
1648
|
+
}
|
1649
|
+
f = message.getTopGamesCountBetBonusList();
|
1650
|
+
if (f.length > 0) {
|
1651
|
+
writer.writeRepeatedMessage(
|
1652
|
+
15,
|
1653
|
+
f,
|
1654
|
+
proto.bet.DashboardGameInfo.serializeBinaryToWriter
|
1655
|
+
);
|
1656
|
+
}
|
1657
|
+
f = message.getTopGamesSumBetRealList();
|
1658
|
+
if (f.length > 0) {
|
1659
|
+
writer.writeRepeatedMessage(
|
1660
|
+
16,
|
1661
|
+
f,
|
1662
|
+
proto.bet.DashboardGameInfo.serializeBinaryToWriter
|
1663
|
+
);
|
1664
|
+
}
|
1665
|
+
f = message.getTopGamesSumBetBonusList();
|
1666
|
+
if (f.length > 0) {
|
1667
|
+
writer.writeRepeatedMessage(
|
1668
|
+
17,
|
1669
|
+
f,
|
1670
|
+
proto.bet.DashboardGameInfo.serializeBinaryToWriter
|
1671
|
+
);
|
1672
|
+
}
|
1673
|
+
};
|
1674
|
+
|
1675
|
+
|
1676
|
+
/**
|
1677
|
+
* optional float min_bet_real = 1;
|
1678
|
+
* @return {number}
|
1679
|
+
*/
|
1680
|
+
proto.bet.DashboardResponse.prototype.getMinBetReal = function() {
|
1681
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
1682
|
+
};
|
1683
|
+
|
1684
|
+
|
1685
|
+
/**
|
1686
|
+
* @param {number} value
|
1687
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1688
|
+
*/
|
1689
|
+
proto.bet.DashboardResponse.prototype.setMinBetReal = function(value) {
|
1690
|
+
return jspb.Message.setField(this, 1, value);
|
1691
|
+
};
|
1692
|
+
|
1693
|
+
|
1694
|
+
/**
|
1695
|
+
* Clears the field making it undefined.
|
1696
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1697
|
+
*/
|
1698
|
+
proto.bet.DashboardResponse.prototype.clearMinBetReal = function() {
|
1699
|
+
return jspb.Message.setField(this, 1, undefined);
|
1700
|
+
};
|
1701
|
+
|
1702
|
+
|
1703
|
+
/**
|
1704
|
+
* Returns whether this field is set.
|
1705
|
+
* @return {boolean}
|
1706
|
+
*/
|
1707
|
+
proto.bet.DashboardResponse.prototype.hasMinBetReal = function() {
|
1708
|
+
return jspb.Message.getField(this, 1) != null;
|
1709
|
+
};
|
1710
|
+
|
1711
|
+
|
1712
|
+
/**
|
1713
|
+
* optional float min_bet_bonus = 2;
|
1714
|
+
* @return {number}
|
1715
|
+
*/
|
1716
|
+
proto.bet.DashboardResponse.prototype.getMinBetBonus = function() {
|
1717
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
1718
|
+
};
|
1719
|
+
|
1720
|
+
|
1721
|
+
/**
|
1722
|
+
* @param {number} value
|
1723
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1724
|
+
*/
|
1725
|
+
proto.bet.DashboardResponse.prototype.setMinBetBonus = function(value) {
|
1726
|
+
return jspb.Message.setField(this, 2, value);
|
1727
|
+
};
|
1728
|
+
|
1729
|
+
|
1730
|
+
/**
|
1731
|
+
* Clears the field making it undefined.
|
1732
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1733
|
+
*/
|
1734
|
+
proto.bet.DashboardResponse.prototype.clearMinBetBonus = function() {
|
1735
|
+
return jspb.Message.setField(this, 2, undefined);
|
1736
|
+
};
|
1737
|
+
|
1738
|
+
|
1739
|
+
/**
|
1740
|
+
* Returns whether this field is set.
|
1741
|
+
* @return {boolean}
|
1742
|
+
*/
|
1743
|
+
proto.bet.DashboardResponse.prototype.hasMinBetBonus = function() {
|
1744
|
+
return jspb.Message.getField(this, 2) != null;
|
1745
|
+
};
|
1746
|
+
|
1747
|
+
|
1748
|
+
/**
|
1749
|
+
* optional float average_bet_real = 3;
|
1750
|
+
* @return {number}
|
1751
|
+
*/
|
1752
|
+
proto.bet.DashboardResponse.prototype.getAverageBetReal = function() {
|
1753
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
1754
|
+
};
|
1755
|
+
|
1756
|
+
|
1757
|
+
/**
|
1758
|
+
* @param {number} value
|
1759
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1760
|
+
*/
|
1761
|
+
proto.bet.DashboardResponse.prototype.setAverageBetReal = function(value) {
|
1762
|
+
return jspb.Message.setField(this, 3, value);
|
1763
|
+
};
|
1764
|
+
|
1765
|
+
|
1766
|
+
/**
|
1767
|
+
* Clears the field making it undefined.
|
1768
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1769
|
+
*/
|
1770
|
+
proto.bet.DashboardResponse.prototype.clearAverageBetReal = function() {
|
1771
|
+
return jspb.Message.setField(this, 3, undefined);
|
1772
|
+
};
|
1773
|
+
|
1774
|
+
|
1775
|
+
/**
|
1776
|
+
* Returns whether this field is set.
|
1777
|
+
* @return {boolean}
|
1778
|
+
*/
|
1779
|
+
proto.bet.DashboardResponse.prototype.hasAverageBetReal = function() {
|
1780
|
+
return jspb.Message.getField(this, 3) != null;
|
1781
|
+
};
|
1782
|
+
|
1783
|
+
|
1784
|
+
/**
|
1785
|
+
* optional float average_bet_bonus = 4;
|
1786
|
+
* @return {number}
|
1787
|
+
*/
|
1788
|
+
proto.bet.DashboardResponse.prototype.getAverageBetBonus = function() {
|
1789
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
1790
|
+
};
|
1791
|
+
|
1792
|
+
|
1793
|
+
/**
|
1794
|
+
* @param {number} value
|
1795
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1796
|
+
*/
|
1797
|
+
proto.bet.DashboardResponse.prototype.setAverageBetBonus = function(value) {
|
1798
|
+
return jspb.Message.setField(this, 4, value);
|
1799
|
+
};
|
1800
|
+
|
1801
|
+
|
1802
|
+
/**
|
1803
|
+
* Clears the field making it undefined.
|
1804
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1805
|
+
*/
|
1806
|
+
proto.bet.DashboardResponse.prototype.clearAverageBetBonus = function() {
|
1807
|
+
return jspb.Message.setField(this, 4, undefined);
|
1808
|
+
};
|
1809
|
+
|
1810
|
+
|
1811
|
+
/**
|
1812
|
+
* Returns whether this field is set.
|
1813
|
+
* @return {boolean}
|
1814
|
+
*/
|
1815
|
+
proto.bet.DashboardResponse.prototype.hasAverageBetBonus = function() {
|
1816
|
+
return jspb.Message.getField(this, 4) != null;
|
1817
|
+
};
|
1818
|
+
|
1819
|
+
|
1820
|
+
/**
|
1821
|
+
* optional float max_win_real = 5;
|
1822
|
+
* @return {number}
|
1823
|
+
*/
|
1824
|
+
proto.bet.DashboardResponse.prototype.getMaxWinReal = function() {
|
1825
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
1826
|
+
};
|
1827
|
+
|
1828
|
+
|
1829
|
+
/**
|
1830
|
+
* @param {number} value
|
1831
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1832
|
+
*/
|
1833
|
+
proto.bet.DashboardResponse.prototype.setMaxWinReal = function(value) {
|
1834
|
+
return jspb.Message.setField(this, 5, value);
|
1835
|
+
};
|
1836
|
+
|
1837
|
+
|
1838
|
+
/**
|
1839
|
+
* Clears the field making it undefined.
|
1840
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1841
|
+
*/
|
1842
|
+
proto.bet.DashboardResponse.prototype.clearMaxWinReal = function() {
|
1843
|
+
return jspb.Message.setField(this, 5, undefined);
|
1844
|
+
};
|
1845
|
+
|
1846
|
+
|
1847
|
+
/**
|
1848
|
+
* Returns whether this field is set.
|
1849
|
+
* @return {boolean}
|
1850
|
+
*/
|
1851
|
+
proto.bet.DashboardResponse.prototype.hasMaxWinReal = function() {
|
1852
|
+
return jspb.Message.getField(this, 5) != null;
|
1853
|
+
};
|
1854
|
+
|
1855
|
+
|
1856
|
+
/**
|
1857
|
+
* optional float max_win_bonus = 6;
|
1858
|
+
* @return {number}
|
1859
|
+
*/
|
1860
|
+
proto.bet.DashboardResponse.prototype.getMaxWinBonus = function() {
|
1861
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
1862
|
+
};
|
1863
|
+
|
1864
|
+
|
1865
|
+
/**
|
1866
|
+
* @param {number} value
|
1867
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1868
|
+
*/
|
1869
|
+
proto.bet.DashboardResponse.prototype.setMaxWinBonus = function(value) {
|
1870
|
+
return jspb.Message.setField(this, 6, value);
|
1871
|
+
};
|
1872
|
+
|
1873
|
+
|
1874
|
+
/**
|
1875
|
+
* Clears the field making it undefined.
|
1876
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1877
|
+
*/
|
1878
|
+
proto.bet.DashboardResponse.prototype.clearMaxWinBonus = function() {
|
1879
|
+
return jspb.Message.setField(this, 6, undefined);
|
1880
|
+
};
|
1881
|
+
|
1882
|
+
|
1883
|
+
/**
|
1884
|
+
* Returns whether this field is set.
|
1885
|
+
* @return {boolean}
|
1886
|
+
*/
|
1887
|
+
proto.bet.DashboardResponse.prototype.hasMaxWinBonus = function() {
|
1888
|
+
return jspb.Message.getField(this, 6) != null;
|
1889
|
+
};
|
1890
|
+
|
1891
|
+
|
1892
|
+
/**
|
1893
|
+
* optional float average_win_real = 7;
|
1894
|
+
* @return {number}
|
1895
|
+
*/
|
1896
|
+
proto.bet.DashboardResponse.prototype.getAverageWinReal = function() {
|
1897
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
1898
|
+
};
|
1899
|
+
|
1900
|
+
|
1901
|
+
/**
|
1902
|
+
* @param {number} value
|
1903
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1904
|
+
*/
|
1905
|
+
proto.bet.DashboardResponse.prototype.setAverageWinReal = function(value) {
|
1906
|
+
return jspb.Message.setField(this, 7, value);
|
1907
|
+
};
|
1908
|
+
|
1909
|
+
|
1910
|
+
/**
|
1911
|
+
* Clears the field making it undefined.
|
1912
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1913
|
+
*/
|
1914
|
+
proto.bet.DashboardResponse.prototype.clearAverageWinReal = function() {
|
1915
|
+
return jspb.Message.setField(this, 7, undefined);
|
1916
|
+
};
|
1917
|
+
|
1918
|
+
|
1919
|
+
/**
|
1920
|
+
* Returns whether this field is set.
|
1921
|
+
* @return {boolean}
|
1922
|
+
*/
|
1923
|
+
proto.bet.DashboardResponse.prototype.hasAverageWinReal = function() {
|
1924
|
+
return jspb.Message.getField(this, 7) != null;
|
1925
|
+
};
|
1926
|
+
|
1927
|
+
|
1928
|
+
/**
|
1929
|
+
* optional float average_win_bonus = 8;
|
1930
|
+
* @return {number}
|
1931
|
+
*/
|
1932
|
+
proto.bet.DashboardResponse.prototype.getAverageWinBonus = function() {
|
1933
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
1934
|
+
};
|
1935
|
+
|
1936
|
+
|
1937
|
+
/**
|
1938
|
+
* @param {number} value
|
1939
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1940
|
+
*/
|
1941
|
+
proto.bet.DashboardResponse.prototype.setAverageWinBonus = function(value) {
|
1942
|
+
return jspb.Message.setField(this, 8, value);
|
1943
|
+
};
|
1944
|
+
|
1945
|
+
|
1946
|
+
/**
|
1947
|
+
* Clears the field making it undefined.
|
1948
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1949
|
+
*/
|
1950
|
+
proto.bet.DashboardResponse.prototype.clearAverageWinBonus = function() {
|
1951
|
+
return jspb.Message.setField(this, 8, undefined);
|
1952
|
+
};
|
1953
|
+
|
1954
|
+
|
1955
|
+
/**
|
1956
|
+
* Returns whether this field is set.
|
1957
|
+
* @return {boolean}
|
1958
|
+
*/
|
1959
|
+
proto.bet.DashboardResponse.prototype.hasAverageWinBonus = function() {
|
1960
|
+
return jspb.Message.getField(this, 8) != null;
|
1961
|
+
};
|
1962
|
+
|
1963
|
+
|
1964
|
+
/**
|
1965
|
+
* optional float turnover_real = 9;
|
1966
|
+
* @return {number}
|
1967
|
+
*/
|
1968
|
+
proto.bet.DashboardResponse.prototype.getTurnoverReal = function() {
|
1969
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
1970
|
+
};
|
1971
|
+
|
1972
|
+
|
1973
|
+
/**
|
1974
|
+
* @param {number} value
|
1975
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1976
|
+
*/
|
1977
|
+
proto.bet.DashboardResponse.prototype.setTurnoverReal = function(value) {
|
1978
|
+
return jspb.Message.setField(this, 9, value);
|
1979
|
+
};
|
1980
|
+
|
1981
|
+
|
1982
|
+
/**
|
1983
|
+
* Clears the field making it undefined.
|
1984
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
1985
|
+
*/
|
1986
|
+
proto.bet.DashboardResponse.prototype.clearTurnoverReal = function() {
|
1987
|
+
return jspb.Message.setField(this, 9, undefined);
|
1988
|
+
};
|
1989
|
+
|
1990
|
+
|
1991
|
+
/**
|
1992
|
+
* Returns whether this field is set.
|
1993
|
+
* @return {boolean}
|
1994
|
+
*/
|
1995
|
+
proto.bet.DashboardResponse.prototype.hasTurnoverReal = function() {
|
1996
|
+
return jspb.Message.getField(this, 9) != null;
|
1997
|
+
};
|
1998
|
+
|
1999
|
+
|
2000
|
+
/**
|
2001
|
+
* optional float turnover_bonus = 10;
|
2002
|
+
* @return {number}
|
2003
|
+
*/
|
2004
|
+
proto.bet.DashboardResponse.prototype.getTurnoverBonus = function() {
|
2005
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
|
2006
|
+
};
|
2007
|
+
|
2008
|
+
|
2009
|
+
/**
|
2010
|
+
* @param {number} value
|
2011
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2012
|
+
*/
|
2013
|
+
proto.bet.DashboardResponse.prototype.setTurnoverBonus = function(value) {
|
2014
|
+
return jspb.Message.setField(this, 10, value);
|
2015
|
+
};
|
2016
|
+
|
2017
|
+
|
2018
|
+
/**
|
2019
|
+
* Clears the field making it undefined.
|
2020
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2021
|
+
*/
|
2022
|
+
proto.bet.DashboardResponse.prototype.clearTurnoverBonus = function() {
|
2023
|
+
return jspb.Message.setField(this, 10, undefined);
|
2024
|
+
};
|
2025
|
+
|
2026
|
+
|
2027
|
+
/**
|
2028
|
+
* Returns whether this field is set.
|
2029
|
+
* @return {boolean}
|
2030
|
+
*/
|
2031
|
+
proto.bet.DashboardResponse.prototype.hasTurnoverBonus = function() {
|
2032
|
+
return jspb.Message.getField(this, 10) != null;
|
2033
|
+
};
|
2034
|
+
|
2035
|
+
|
2036
|
+
/**
|
2037
|
+
* optional float ggr_total = 11;
|
2038
|
+
* @return {number}
|
2039
|
+
*/
|
2040
|
+
proto.bet.DashboardResponse.prototype.getGgrTotal = function() {
|
2041
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
2042
|
+
};
|
2043
|
+
|
2044
|
+
|
2045
|
+
/**
|
2046
|
+
* @param {number} value
|
2047
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2048
|
+
*/
|
2049
|
+
proto.bet.DashboardResponse.prototype.setGgrTotal = function(value) {
|
2050
|
+
return jspb.Message.setField(this, 11, value);
|
2051
|
+
};
|
2052
|
+
|
2053
|
+
|
2054
|
+
/**
|
2055
|
+
* Clears the field making it undefined.
|
2056
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2057
|
+
*/
|
2058
|
+
proto.bet.DashboardResponse.prototype.clearGgrTotal = function() {
|
2059
|
+
return jspb.Message.setField(this, 11, undefined);
|
2060
|
+
};
|
2061
|
+
|
2062
|
+
|
2063
|
+
/**
|
2064
|
+
* Returns whether this field is set.
|
2065
|
+
* @return {boolean}
|
2066
|
+
*/
|
2067
|
+
proto.bet.DashboardResponse.prototype.hasGgrTotal = function() {
|
2068
|
+
return jspb.Message.getField(this, 11) != null;
|
2069
|
+
};
|
2070
|
+
|
2071
|
+
|
2072
|
+
/**
|
2073
|
+
* optional float ggr_real = 12;
|
2074
|
+
* @return {number}
|
2075
|
+
*/
|
2076
|
+
proto.bet.DashboardResponse.prototype.getGgrReal = function() {
|
2077
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
2078
|
+
};
|
2079
|
+
|
2080
|
+
|
2081
|
+
/**
|
2082
|
+
* @param {number} value
|
2083
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2084
|
+
*/
|
2085
|
+
proto.bet.DashboardResponse.prototype.setGgrReal = function(value) {
|
2086
|
+
return jspb.Message.setField(this, 12, value);
|
2087
|
+
};
|
2088
|
+
|
2089
|
+
|
2090
|
+
/**
|
2091
|
+
* Clears the field making it undefined.
|
2092
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2093
|
+
*/
|
2094
|
+
proto.bet.DashboardResponse.prototype.clearGgrReal = function() {
|
2095
|
+
return jspb.Message.setField(this, 12, undefined);
|
2096
|
+
};
|
2097
|
+
|
2098
|
+
|
2099
|
+
/**
|
2100
|
+
* Returns whether this field is set.
|
2101
|
+
* @return {boolean}
|
2102
|
+
*/
|
2103
|
+
proto.bet.DashboardResponse.prototype.hasGgrReal = function() {
|
2104
|
+
return jspb.Message.getField(this, 12) != null;
|
2105
|
+
};
|
2106
|
+
|
2107
|
+
|
2108
|
+
/**
|
2109
|
+
* optional float ggr_bonus = 13;
|
2110
|
+
* @return {number}
|
2111
|
+
*/
|
2112
|
+
proto.bet.DashboardResponse.prototype.getGgrBonus = function() {
|
2113
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
|
2114
|
+
};
|
2115
|
+
|
2116
|
+
|
2117
|
+
/**
|
2118
|
+
* @param {number} value
|
2119
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2120
|
+
*/
|
2121
|
+
proto.bet.DashboardResponse.prototype.setGgrBonus = function(value) {
|
2122
|
+
return jspb.Message.setField(this, 13, value);
|
2123
|
+
};
|
2124
|
+
|
2125
|
+
|
2126
|
+
/**
|
2127
|
+
* Clears the field making it undefined.
|
2128
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2129
|
+
*/
|
2130
|
+
proto.bet.DashboardResponse.prototype.clearGgrBonus = function() {
|
2131
|
+
return jspb.Message.setField(this, 13, undefined);
|
2132
|
+
};
|
2133
|
+
|
2134
|
+
|
2135
|
+
/**
|
2136
|
+
* Returns whether this field is set.
|
2137
|
+
* @return {boolean}
|
2138
|
+
*/
|
2139
|
+
proto.bet.DashboardResponse.prototype.hasGgrBonus = function() {
|
2140
|
+
return jspb.Message.getField(this, 13) != null;
|
2141
|
+
};
|
2142
|
+
|
2143
|
+
|
2144
|
+
/**
|
2145
|
+
* repeated DashboardGameInfo top_games_count_bet_real = 14;
|
2146
|
+
* @return {!Array<!proto.bet.DashboardGameInfo>}
|
2147
|
+
*/
|
2148
|
+
proto.bet.DashboardResponse.prototype.getTopGamesCountBetRealList = function() {
|
2149
|
+
return /** @type{!Array<!proto.bet.DashboardGameInfo>} */ (
|
2150
|
+
jspb.Message.getRepeatedWrapperField(this, proto.bet.DashboardGameInfo, 14));
|
2151
|
+
};
|
2152
|
+
|
2153
|
+
|
2154
|
+
/**
|
2155
|
+
* @param {!Array<!proto.bet.DashboardGameInfo>} value
|
2156
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2157
|
+
*/
|
2158
|
+
proto.bet.DashboardResponse.prototype.setTopGamesCountBetRealList = function(value) {
|
2159
|
+
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
2160
|
+
};
|
2161
|
+
|
2162
|
+
|
2163
|
+
/**
|
2164
|
+
* @param {!proto.bet.DashboardGameInfo=} opt_value
|
2165
|
+
* @param {number=} opt_index
|
2166
|
+
* @return {!proto.bet.DashboardGameInfo}
|
2167
|
+
*/
|
2168
|
+
proto.bet.DashboardResponse.prototype.addTopGamesCountBetReal = function(opt_value, opt_index) {
|
2169
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.bet.DashboardGameInfo, opt_index);
|
2170
|
+
};
|
2171
|
+
|
2172
|
+
|
2173
|
+
/**
|
2174
|
+
* Clears the list making it empty but non-null.
|
2175
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2176
|
+
*/
|
2177
|
+
proto.bet.DashboardResponse.prototype.clearTopGamesCountBetRealList = function() {
|
2178
|
+
return this.setTopGamesCountBetRealList([]);
|
2179
|
+
};
|
2180
|
+
|
2181
|
+
|
2182
|
+
/**
|
2183
|
+
* repeated DashboardGameInfo top_games_count_bet_bonus = 15;
|
2184
|
+
* @return {!Array<!proto.bet.DashboardGameInfo>}
|
2185
|
+
*/
|
2186
|
+
proto.bet.DashboardResponse.prototype.getTopGamesCountBetBonusList = function() {
|
2187
|
+
return /** @type{!Array<!proto.bet.DashboardGameInfo>} */ (
|
2188
|
+
jspb.Message.getRepeatedWrapperField(this, proto.bet.DashboardGameInfo, 15));
|
2189
|
+
};
|
2190
|
+
|
2191
|
+
|
2192
|
+
/**
|
2193
|
+
* @param {!Array<!proto.bet.DashboardGameInfo>} value
|
2194
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2195
|
+
*/
|
2196
|
+
proto.bet.DashboardResponse.prototype.setTopGamesCountBetBonusList = function(value) {
|
2197
|
+
return jspb.Message.setRepeatedWrapperField(this, 15, value);
|
2198
|
+
};
|
2199
|
+
|
2200
|
+
|
2201
|
+
/**
|
2202
|
+
* @param {!proto.bet.DashboardGameInfo=} opt_value
|
2203
|
+
* @param {number=} opt_index
|
2204
|
+
* @return {!proto.bet.DashboardGameInfo}
|
2205
|
+
*/
|
2206
|
+
proto.bet.DashboardResponse.prototype.addTopGamesCountBetBonus = function(opt_value, opt_index) {
|
2207
|
+
return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.bet.DashboardGameInfo, opt_index);
|
2208
|
+
};
|
2209
|
+
|
2210
|
+
|
2211
|
+
/**
|
2212
|
+
* Clears the list making it empty but non-null.
|
2213
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2214
|
+
*/
|
2215
|
+
proto.bet.DashboardResponse.prototype.clearTopGamesCountBetBonusList = function() {
|
2216
|
+
return this.setTopGamesCountBetBonusList([]);
|
2217
|
+
};
|
2218
|
+
|
2219
|
+
|
2220
|
+
/**
|
2221
|
+
* repeated DashboardGameInfo top_games_sum_bet_real = 16;
|
2222
|
+
* @return {!Array<!proto.bet.DashboardGameInfo>}
|
2223
|
+
*/
|
2224
|
+
proto.bet.DashboardResponse.prototype.getTopGamesSumBetRealList = function() {
|
2225
|
+
return /** @type{!Array<!proto.bet.DashboardGameInfo>} */ (
|
2226
|
+
jspb.Message.getRepeatedWrapperField(this, proto.bet.DashboardGameInfo, 16));
|
2227
|
+
};
|
2228
|
+
|
2229
|
+
|
2230
|
+
/**
|
2231
|
+
* @param {!Array<!proto.bet.DashboardGameInfo>} value
|
2232
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2233
|
+
*/
|
2234
|
+
proto.bet.DashboardResponse.prototype.setTopGamesSumBetRealList = function(value) {
|
2235
|
+
return jspb.Message.setRepeatedWrapperField(this, 16, value);
|
2236
|
+
};
|
2237
|
+
|
2238
|
+
|
2239
|
+
/**
|
2240
|
+
* @param {!proto.bet.DashboardGameInfo=} opt_value
|
2241
|
+
* @param {number=} opt_index
|
2242
|
+
* @return {!proto.bet.DashboardGameInfo}
|
2243
|
+
*/
|
2244
|
+
proto.bet.DashboardResponse.prototype.addTopGamesSumBetReal = function(opt_value, opt_index) {
|
2245
|
+
return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.bet.DashboardGameInfo, opt_index);
|
2246
|
+
};
|
2247
|
+
|
2248
|
+
|
2249
|
+
/**
|
2250
|
+
* Clears the list making it empty but non-null.
|
2251
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2252
|
+
*/
|
2253
|
+
proto.bet.DashboardResponse.prototype.clearTopGamesSumBetRealList = function() {
|
2254
|
+
return this.setTopGamesSumBetRealList([]);
|
2255
|
+
};
|
2256
|
+
|
2257
|
+
|
2258
|
+
/**
|
2259
|
+
* repeated DashboardGameInfo top_games_sum_bet_bonus = 17;
|
2260
|
+
* @return {!Array<!proto.bet.DashboardGameInfo>}
|
2261
|
+
*/
|
2262
|
+
proto.bet.DashboardResponse.prototype.getTopGamesSumBetBonusList = function() {
|
2263
|
+
return /** @type{!Array<!proto.bet.DashboardGameInfo>} */ (
|
2264
|
+
jspb.Message.getRepeatedWrapperField(this, proto.bet.DashboardGameInfo, 17));
|
2265
|
+
};
|
2266
|
+
|
2267
|
+
|
2268
|
+
/**
|
2269
|
+
* @param {!Array<!proto.bet.DashboardGameInfo>} value
|
2270
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2271
|
+
*/
|
2272
|
+
proto.bet.DashboardResponse.prototype.setTopGamesSumBetBonusList = function(value) {
|
2273
|
+
return jspb.Message.setRepeatedWrapperField(this, 17, value);
|
2274
|
+
};
|
2275
|
+
|
2276
|
+
|
2277
|
+
/**
|
2278
|
+
* @param {!proto.bet.DashboardGameInfo=} opt_value
|
2279
|
+
* @param {number=} opt_index
|
2280
|
+
* @return {!proto.bet.DashboardGameInfo}
|
2281
|
+
*/
|
2282
|
+
proto.bet.DashboardResponse.prototype.addTopGamesSumBetBonus = function(opt_value, opt_index) {
|
2283
|
+
return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.bet.DashboardGameInfo, opt_index);
|
2284
|
+
};
|
2285
|
+
|
2286
|
+
|
2287
|
+
/**
|
2288
|
+
* Clears the list making it empty but non-null.
|
2289
|
+
* @return {!proto.bet.DashboardResponse} returns this
|
2290
|
+
*/
|
2291
|
+
proto.bet.DashboardResponse.prototype.clearTopGamesSumBetBonusList = function() {
|
2292
|
+
return this.setTopGamesSumBetBonusList([]);
|
2293
|
+
};
|
2294
|
+
|
2295
|
+
|
2296
|
+
|
2297
|
+
|
2298
|
+
|
874
2299
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
875
2300
|
/**
|
876
2301
|
* Creates an object representation of this proto.
|