protobuf-platform 1.0.210 → 1.0.212

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_pb.js CHANGED
@@ -22,6 +22,8 @@ var global = (function() {
22
22
  }.call(null));
23
23
 
24
24
  goog.exportSymbol('proto.bet.BetsHistoryResponse', null, global);
25
+ goog.exportSymbol('proto.bet.DashboardRequest', null, global);
26
+ goog.exportSymbol('proto.bet.DashboardResponse', null, global);
25
27
  goog.exportSymbol('proto.bet.PaginationRequest', null, global);
26
28
  goog.exportSymbol('proto.bet.PingRequest', null, global);
27
29
  goog.exportSymbol('proto.bet.PongResponse', null, global);
@@ -111,6 +113,48 @@ if (goog.DEBUG && !COMPILED) {
111
113
  */
112
114
  proto.bet.UserSearchRequest.displayName = 'proto.bet.UserSearchRequest';
113
115
  }
116
+ /**
117
+ * Generated by JsPbCodeGenerator.
118
+ * @param {Array=} opt_data Optional initial data array, typically from a
119
+ * server response, or constructed directly in Javascript. The array is used
120
+ * in place and becomes part of the constructed object. It is not cloned.
121
+ * If no data is provided, the constructed object will be empty, but still
122
+ * valid.
123
+ * @extends {jspb.Message}
124
+ * @constructor
125
+ */
126
+ proto.bet.DashboardRequest = function(opt_data) {
127
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
128
+ };
129
+ goog.inherits(proto.bet.DashboardRequest, jspb.Message);
130
+ if (goog.DEBUG && !COMPILED) {
131
+ /**
132
+ * @public
133
+ * @override
134
+ */
135
+ proto.bet.DashboardRequest.displayName = 'proto.bet.DashboardRequest';
136
+ }
137
+ /**
138
+ * Generated by JsPbCodeGenerator.
139
+ * @param {Array=} opt_data Optional initial data array, typically from a
140
+ * server response, or constructed directly in Javascript. The array is used
141
+ * in place and becomes part of the constructed object. It is not cloned.
142
+ * If no data is provided, the constructed object will be empty, but still
143
+ * valid.
144
+ * @extends {jspb.Message}
145
+ * @constructor
146
+ */
147
+ proto.bet.DashboardResponse = function(opt_data) {
148
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.DashboardResponse.repeatedFields_, null);
149
+ };
150
+ goog.inherits(proto.bet.DashboardResponse, jspb.Message);
151
+ if (goog.DEBUG && !COMPILED) {
152
+ /**
153
+ * @public
154
+ * @override
155
+ */
156
+ proto.bet.DashboardResponse.displayName = 'proto.bet.DashboardResponse';
157
+ }
114
158
  /**
115
159
  * Generated by JsPbCodeGenerator.
116
160
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -871,6 +915,1093 @@ proto.bet.UserSearchRequest.prototype.hasCurrency = function() {
871
915
 
872
916
 
873
917
 
918
+ if (jspb.Message.GENERATE_TO_OBJECT) {
919
+ /**
920
+ * Creates an object representation of this proto.
921
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
922
+ * Optional fields that are not set will be set to undefined.
923
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
924
+ * For the list of reserved names please see:
925
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
926
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
927
+ * JSPB instance for transitional soy proto support:
928
+ * http://goto/soy-param-migration
929
+ * @return {!Object}
930
+ */
931
+ proto.bet.DashboardRequest.prototype.toObject = function(opt_includeInstance) {
932
+ return proto.bet.DashboardRequest.toObject(opt_includeInstance, this);
933
+ };
934
+
935
+
936
+ /**
937
+ * Static version of the {@see toObject} method.
938
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
939
+ * the JSPB instance for transitional soy proto support:
940
+ * http://goto/soy-param-migration
941
+ * @param {!proto.bet.DashboardRequest} msg The msg instance to transform.
942
+ * @return {!Object}
943
+ * @suppress {unusedLocalVariables} f is only used for nested messages
944
+ */
945
+ proto.bet.DashboardRequest.toObject = function(includeInstance, msg) {
946
+ var f, obj = {
947
+ startDate: jspb.Message.getFieldWithDefault(msg, 1, ""),
948
+ endDate: jspb.Message.getFieldWithDefault(msg, 2, "")
949
+ };
950
+
951
+ if (includeInstance) {
952
+ obj.$jspbMessageInstance = msg;
953
+ }
954
+ return obj;
955
+ };
956
+ }
957
+
958
+
959
+ /**
960
+ * Deserializes binary data (in protobuf wire format).
961
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
962
+ * @return {!proto.bet.DashboardRequest}
963
+ */
964
+ proto.bet.DashboardRequest.deserializeBinary = function(bytes) {
965
+ var reader = new jspb.BinaryReader(bytes);
966
+ var msg = new proto.bet.DashboardRequest;
967
+ return proto.bet.DashboardRequest.deserializeBinaryFromReader(msg, reader);
968
+ };
969
+
970
+
971
+ /**
972
+ * Deserializes binary data (in protobuf wire format) from the
973
+ * given reader into the given message object.
974
+ * @param {!proto.bet.DashboardRequest} msg The message object to deserialize into.
975
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
976
+ * @return {!proto.bet.DashboardRequest}
977
+ */
978
+ proto.bet.DashboardRequest.deserializeBinaryFromReader = function(msg, reader) {
979
+ while (reader.nextField()) {
980
+ if (reader.isEndGroup()) {
981
+ break;
982
+ }
983
+ var field = reader.getFieldNumber();
984
+ switch (field) {
985
+ case 1:
986
+ var value = /** @type {string} */ (reader.readString());
987
+ msg.setStartDate(value);
988
+ break;
989
+ case 2:
990
+ var value = /** @type {string} */ (reader.readString());
991
+ msg.setEndDate(value);
992
+ break;
993
+ default:
994
+ reader.skipField();
995
+ break;
996
+ }
997
+ }
998
+ return msg;
999
+ };
1000
+
1001
+
1002
+ /**
1003
+ * Serializes the message to binary data (in protobuf wire format).
1004
+ * @return {!Uint8Array}
1005
+ */
1006
+ proto.bet.DashboardRequest.prototype.serializeBinary = function() {
1007
+ var writer = new jspb.BinaryWriter();
1008
+ proto.bet.DashboardRequest.serializeBinaryToWriter(this, writer);
1009
+ return writer.getResultBuffer();
1010
+ };
1011
+
1012
+
1013
+ /**
1014
+ * Serializes the given message to binary data (in protobuf wire
1015
+ * format), writing to the given BinaryWriter.
1016
+ * @param {!proto.bet.DashboardRequest} message
1017
+ * @param {!jspb.BinaryWriter} writer
1018
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1019
+ */
1020
+ proto.bet.DashboardRequest.serializeBinaryToWriter = function(message, writer) {
1021
+ var f = undefined;
1022
+ f = message.getStartDate();
1023
+ if (f.length > 0) {
1024
+ writer.writeString(
1025
+ 1,
1026
+ f
1027
+ );
1028
+ }
1029
+ f = message.getEndDate();
1030
+ if (f.length > 0) {
1031
+ writer.writeString(
1032
+ 2,
1033
+ f
1034
+ );
1035
+ }
1036
+ };
1037
+
1038
+
1039
+ /**
1040
+ * optional string start_date = 1;
1041
+ * @return {string}
1042
+ */
1043
+ proto.bet.DashboardRequest.prototype.getStartDate = function() {
1044
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1045
+ };
1046
+
1047
+
1048
+ /**
1049
+ * @param {string} value
1050
+ * @return {!proto.bet.DashboardRequest} returns this
1051
+ */
1052
+ proto.bet.DashboardRequest.prototype.setStartDate = function(value) {
1053
+ return jspb.Message.setProto3StringField(this, 1, value);
1054
+ };
1055
+
1056
+
1057
+ /**
1058
+ * optional string end_date = 2;
1059
+ * @return {string}
1060
+ */
1061
+ proto.bet.DashboardRequest.prototype.getEndDate = function() {
1062
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1063
+ };
1064
+
1065
+
1066
+ /**
1067
+ * @param {string} value
1068
+ * @return {!proto.bet.DashboardRequest} returns this
1069
+ */
1070
+ proto.bet.DashboardRequest.prototype.setEndDate = function(value) {
1071
+ return jspb.Message.setProto3StringField(this, 2, value);
1072
+ };
1073
+
1074
+
1075
+
1076
+ /**
1077
+ * List of repeated fields within this message type.
1078
+ * @private {!Array<number>}
1079
+ * @const
1080
+ */
1081
+ proto.bet.DashboardResponse.repeatedFields_ = [14,15,16,17];
1082
+
1083
+
1084
+
1085
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1086
+ /**
1087
+ * Creates an object representation of this proto.
1088
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1089
+ * Optional fields that are not set will be set to undefined.
1090
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1091
+ * For the list of reserved names please see:
1092
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1093
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1094
+ * JSPB instance for transitional soy proto support:
1095
+ * http://goto/soy-param-migration
1096
+ * @return {!Object}
1097
+ */
1098
+ proto.bet.DashboardResponse.prototype.toObject = function(opt_includeInstance) {
1099
+ return proto.bet.DashboardResponse.toObject(opt_includeInstance, this);
1100
+ };
1101
+
1102
+
1103
+ /**
1104
+ * Static version of the {@see toObject} method.
1105
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1106
+ * the JSPB instance for transitional soy proto support:
1107
+ * http://goto/soy-param-migration
1108
+ * @param {!proto.bet.DashboardResponse} msg The msg instance to transform.
1109
+ * @return {!Object}
1110
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1111
+ */
1112
+ proto.bet.DashboardResponse.toObject = function(includeInstance, msg) {
1113
+ var f, obj = {
1114
+ minBetReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
1115
+ minBetBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
1116
+ averageBetReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
1117
+ averageBetBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
1118
+ maxWinReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
1119
+ maxWinBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
1120
+ averageWinReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
1121
+ averageWinBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
1122
+ turnoverReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
1123
+ turnoverBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
1124
+ ggrTotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
1125
+ ggrReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
1126
+ ggrBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
1127
+ topGamesUuidCountBetRealList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
1128
+ topGamesUuidCountBetBonusList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
1129
+ topGamesUuidSumBetRealList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f,
1130
+ topGamesUuidSumBetBonusList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f
1131
+ };
1132
+
1133
+ if (includeInstance) {
1134
+ obj.$jspbMessageInstance = msg;
1135
+ }
1136
+ return obj;
1137
+ };
1138
+ }
1139
+
1140
+
1141
+ /**
1142
+ * Deserializes binary data (in protobuf wire format).
1143
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1144
+ * @return {!proto.bet.DashboardResponse}
1145
+ */
1146
+ proto.bet.DashboardResponse.deserializeBinary = function(bytes) {
1147
+ var reader = new jspb.BinaryReader(bytes);
1148
+ var msg = new proto.bet.DashboardResponse;
1149
+ return proto.bet.DashboardResponse.deserializeBinaryFromReader(msg, reader);
1150
+ };
1151
+
1152
+
1153
+ /**
1154
+ * Deserializes binary data (in protobuf wire format) from the
1155
+ * given reader into the given message object.
1156
+ * @param {!proto.bet.DashboardResponse} msg The message object to deserialize into.
1157
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1158
+ * @return {!proto.bet.DashboardResponse}
1159
+ */
1160
+ proto.bet.DashboardResponse.deserializeBinaryFromReader = function(msg, reader) {
1161
+ while (reader.nextField()) {
1162
+ if (reader.isEndGroup()) {
1163
+ break;
1164
+ }
1165
+ var field = reader.getFieldNumber();
1166
+ switch (field) {
1167
+ case 1:
1168
+ var value = /** @type {number} */ (reader.readFloat());
1169
+ msg.setMinBetReal(value);
1170
+ break;
1171
+ case 2:
1172
+ var value = /** @type {number} */ (reader.readFloat());
1173
+ msg.setMinBetBonus(value);
1174
+ break;
1175
+ case 3:
1176
+ var value = /** @type {number} */ (reader.readFloat());
1177
+ msg.setAverageBetReal(value);
1178
+ break;
1179
+ case 4:
1180
+ var value = /** @type {number} */ (reader.readFloat());
1181
+ msg.setAverageBetBonus(value);
1182
+ break;
1183
+ case 5:
1184
+ var value = /** @type {number} */ (reader.readFloat());
1185
+ msg.setMaxWinReal(value);
1186
+ break;
1187
+ case 6:
1188
+ var value = /** @type {number} */ (reader.readFloat());
1189
+ msg.setMaxWinBonus(value);
1190
+ break;
1191
+ case 7:
1192
+ var value = /** @type {number} */ (reader.readFloat());
1193
+ msg.setAverageWinReal(value);
1194
+ break;
1195
+ case 8:
1196
+ var value = /** @type {number} */ (reader.readFloat());
1197
+ msg.setAverageWinBonus(value);
1198
+ break;
1199
+ case 9:
1200
+ var value = /** @type {number} */ (reader.readFloat());
1201
+ msg.setTurnoverReal(value);
1202
+ break;
1203
+ case 10:
1204
+ var value = /** @type {number} */ (reader.readFloat());
1205
+ msg.setTurnoverBonus(value);
1206
+ break;
1207
+ case 11:
1208
+ var value = /** @type {number} */ (reader.readFloat());
1209
+ msg.setGgrTotal(value);
1210
+ break;
1211
+ case 12:
1212
+ var value = /** @type {number} */ (reader.readFloat());
1213
+ msg.setGgrReal(value);
1214
+ break;
1215
+ case 13:
1216
+ var value = /** @type {number} */ (reader.readFloat());
1217
+ msg.setGgrBonus(value);
1218
+ break;
1219
+ case 14:
1220
+ var value = /** @type {string} */ (reader.readString());
1221
+ msg.addTopGamesUuidCountBetReal(value);
1222
+ break;
1223
+ case 15:
1224
+ var value = /** @type {string} */ (reader.readString());
1225
+ msg.addTopGamesUuidCountBetBonus(value);
1226
+ break;
1227
+ case 16:
1228
+ var value = /** @type {string} */ (reader.readString());
1229
+ msg.addTopGamesUuidSumBetReal(value);
1230
+ break;
1231
+ case 17:
1232
+ var value = /** @type {string} */ (reader.readString());
1233
+ msg.addTopGamesUuidSumBetBonus(value);
1234
+ break;
1235
+ default:
1236
+ reader.skipField();
1237
+ break;
1238
+ }
1239
+ }
1240
+ return msg;
1241
+ };
1242
+
1243
+
1244
+ /**
1245
+ * Serializes the message to binary data (in protobuf wire format).
1246
+ * @return {!Uint8Array}
1247
+ */
1248
+ proto.bet.DashboardResponse.prototype.serializeBinary = function() {
1249
+ var writer = new jspb.BinaryWriter();
1250
+ proto.bet.DashboardResponse.serializeBinaryToWriter(this, writer);
1251
+ return writer.getResultBuffer();
1252
+ };
1253
+
1254
+
1255
+ /**
1256
+ * Serializes the given message to binary data (in protobuf wire
1257
+ * format), writing to the given BinaryWriter.
1258
+ * @param {!proto.bet.DashboardResponse} message
1259
+ * @param {!jspb.BinaryWriter} writer
1260
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1261
+ */
1262
+ proto.bet.DashboardResponse.serializeBinaryToWriter = function(message, writer) {
1263
+ var f = undefined;
1264
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
1265
+ if (f != null) {
1266
+ writer.writeFloat(
1267
+ 1,
1268
+ f
1269
+ );
1270
+ }
1271
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
1272
+ if (f != null) {
1273
+ writer.writeFloat(
1274
+ 2,
1275
+ f
1276
+ );
1277
+ }
1278
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
1279
+ if (f != null) {
1280
+ writer.writeFloat(
1281
+ 3,
1282
+ f
1283
+ );
1284
+ }
1285
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
1286
+ if (f != null) {
1287
+ writer.writeFloat(
1288
+ 4,
1289
+ f
1290
+ );
1291
+ }
1292
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
1293
+ if (f != null) {
1294
+ writer.writeFloat(
1295
+ 5,
1296
+ f
1297
+ );
1298
+ }
1299
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
1300
+ if (f != null) {
1301
+ writer.writeFloat(
1302
+ 6,
1303
+ f
1304
+ );
1305
+ }
1306
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
1307
+ if (f != null) {
1308
+ writer.writeFloat(
1309
+ 7,
1310
+ f
1311
+ );
1312
+ }
1313
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
1314
+ if (f != null) {
1315
+ writer.writeFloat(
1316
+ 8,
1317
+ f
1318
+ );
1319
+ }
1320
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
1321
+ if (f != null) {
1322
+ writer.writeFloat(
1323
+ 9,
1324
+ f
1325
+ );
1326
+ }
1327
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
1328
+ if (f != null) {
1329
+ writer.writeFloat(
1330
+ 10,
1331
+ f
1332
+ );
1333
+ }
1334
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
1335
+ if (f != null) {
1336
+ writer.writeFloat(
1337
+ 11,
1338
+ f
1339
+ );
1340
+ }
1341
+ f = /** @type {number} */ (jspb.Message.getField(message, 12));
1342
+ if (f != null) {
1343
+ writer.writeFloat(
1344
+ 12,
1345
+ f
1346
+ );
1347
+ }
1348
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
1349
+ if (f != null) {
1350
+ writer.writeFloat(
1351
+ 13,
1352
+ f
1353
+ );
1354
+ }
1355
+ f = message.getTopGamesUuidCountBetRealList();
1356
+ if (f.length > 0) {
1357
+ writer.writeRepeatedString(
1358
+ 14,
1359
+ f
1360
+ );
1361
+ }
1362
+ f = message.getTopGamesUuidCountBetBonusList();
1363
+ if (f.length > 0) {
1364
+ writer.writeRepeatedString(
1365
+ 15,
1366
+ f
1367
+ );
1368
+ }
1369
+ f = message.getTopGamesUuidSumBetRealList();
1370
+ if (f.length > 0) {
1371
+ writer.writeRepeatedString(
1372
+ 16,
1373
+ f
1374
+ );
1375
+ }
1376
+ f = message.getTopGamesUuidSumBetBonusList();
1377
+ if (f.length > 0) {
1378
+ writer.writeRepeatedString(
1379
+ 17,
1380
+ f
1381
+ );
1382
+ }
1383
+ };
1384
+
1385
+
1386
+ /**
1387
+ * optional float min_bet_real = 1;
1388
+ * @return {number}
1389
+ */
1390
+ proto.bet.DashboardResponse.prototype.getMinBetReal = function() {
1391
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
1392
+ };
1393
+
1394
+
1395
+ /**
1396
+ * @param {number} value
1397
+ * @return {!proto.bet.DashboardResponse} returns this
1398
+ */
1399
+ proto.bet.DashboardResponse.prototype.setMinBetReal = function(value) {
1400
+ return jspb.Message.setField(this, 1, value);
1401
+ };
1402
+
1403
+
1404
+ /**
1405
+ * Clears the field making it undefined.
1406
+ * @return {!proto.bet.DashboardResponse} returns this
1407
+ */
1408
+ proto.bet.DashboardResponse.prototype.clearMinBetReal = function() {
1409
+ return jspb.Message.setField(this, 1, undefined);
1410
+ };
1411
+
1412
+
1413
+ /**
1414
+ * Returns whether this field is set.
1415
+ * @return {boolean}
1416
+ */
1417
+ proto.bet.DashboardResponse.prototype.hasMinBetReal = function() {
1418
+ return jspb.Message.getField(this, 1) != null;
1419
+ };
1420
+
1421
+
1422
+ /**
1423
+ * optional float min_bet_bonus = 2;
1424
+ * @return {number}
1425
+ */
1426
+ proto.bet.DashboardResponse.prototype.getMinBetBonus = function() {
1427
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
1428
+ };
1429
+
1430
+
1431
+ /**
1432
+ * @param {number} value
1433
+ * @return {!proto.bet.DashboardResponse} returns this
1434
+ */
1435
+ proto.bet.DashboardResponse.prototype.setMinBetBonus = function(value) {
1436
+ return jspb.Message.setField(this, 2, value);
1437
+ };
1438
+
1439
+
1440
+ /**
1441
+ * Clears the field making it undefined.
1442
+ * @return {!proto.bet.DashboardResponse} returns this
1443
+ */
1444
+ proto.bet.DashboardResponse.prototype.clearMinBetBonus = function() {
1445
+ return jspb.Message.setField(this, 2, undefined);
1446
+ };
1447
+
1448
+
1449
+ /**
1450
+ * Returns whether this field is set.
1451
+ * @return {boolean}
1452
+ */
1453
+ proto.bet.DashboardResponse.prototype.hasMinBetBonus = function() {
1454
+ return jspb.Message.getField(this, 2) != null;
1455
+ };
1456
+
1457
+
1458
+ /**
1459
+ * optional float average_bet_real = 3;
1460
+ * @return {number}
1461
+ */
1462
+ proto.bet.DashboardResponse.prototype.getAverageBetReal = function() {
1463
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
1464
+ };
1465
+
1466
+
1467
+ /**
1468
+ * @param {number} value
1469
+ * @return {!proto.bet.DashboardResponse} returns this
1470
+ */
1471
+ proto.bet.DashboardResponse.prototype.setAverageBetReal = function(value) {
1472
+ return jspb.Message.setField(this, 3, value);
1473
+ };
1474
+
1475
+
1476
+ /**
1477
+ * Clears the field making it undefined.
1478
+ * @return {!proto.bet.DashboardResponse} returns this
1479
+ */
1480
+ proto.bet.DashboardResponse.prototype.clearAverageBetReal = function() {
1481
+ return jspb.Message.setField(this, 3, undefined);
1482
+ };
1483
+
1484
+
1485
+ /**
1486
+ * Returns whether this field is set.
1487
+ * @return {boolean}
1488
+ */
1489
+ proto.bet.DashboardResponse.prototype.hasAverageBetReal = function() {
1490
+ return jspb.Message.getField(this, 3) != null;
1491
+ };
1492
+
1493
+
1494
+ /**
1495
+ * optional float average_bet_bonus = 4;
1496
+ * @return {number}
1497
+ */
1498
+ proto.bet.DashboardResponse.prototype.getAverageBetBonus = function() {
1499
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
1500
+ };
1501
+
1502
+
1503
+ /**
1504
+ * @param {number} value
1505
+ * @return {!proto.bet.DashboardResponse} returns this
1506
+ */
1507
+ proto.bet.DashboardResponse.prototype.setAverageBetBonus = function(value) {
1508
+ return jspb.Message.setField(this, 4, value);
1509
+ };
1510
+
1511
+
1512
+ /**
1513
+ * Clears the field making it undefined.
1514
+ * @return {!proto.bet.DashboardResponse} returns this
1515
+ */
1516
+ proto.bet.DashboardResponse.prototype.clearAverageBetBonus = function() {
1517
+ return jspb.Message.setField(this, 4, undefined);
1518
+ };
1519
+
1520
+
1521
+ /**
1522
+ * Returns whether this field is set.
1523
+ * @return {boolean}
1524
+ */
1525
+ proto.bet.DashboardResponse.prototype.hasAverageBetBonus = function() {
1526
+ return jspb.Message.getField(this, 4) != null;
1527
+ };
1528
+
1529
+
1530
+ /**
1531
+ * optional float max_win_real = 5;
1532
+ * @return {number}
1533
+ */
1534
+ proto.bet.DashboardResponse.prototype.getMaxWinReal = function() {
1535
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
1536
+ };
1537
+
1538
+
1539
+ /**
1540
+ * @param {number} value
1541
+ * @return {!proto.bet.DashboardResponse} returns this
1542
+ */
1543
+ proto.bet.DashboardResponse.prototype.setMaxWinReal = function(value) {
1544
+ return jspb.Message.setField(this, 5, value);
1545
+ };
1546
+
1547
+
1548
+ /**
1549
+ * Clears the field making it undefined.
1550
+ * @return {!proto.bet.DashboardResponse} returns this
1551
+ */
1552
+ proto.bet.DashboardResponse.prototype.clearMaxWinReal = function() {
1553
+ return jspb.Message.setField(this, 5, undefined);
1554
+ };
1555
+
1556
+
1557
+ /**
1558
+ * Returns whether this field is set.
1559
+ * @return {boolean}
1560
+ */
1561
+ proto.bet.DashboardResponse.prototype.hasMaxWinReal = function() {
1562
+ return jspb.Message.getField(this, 5) != null;
1563
+ };
1564
+
1565
+
1566
+ /**
1567
+ * optional float max_win_bonus = 6;
1568
+ * @return {number}
1569
+ */
1570
+ proto.bet.DashboardResponse.prototype.getMaxWinBonus = function() {
1571
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
1572
+ };
1573
+
1574
+
1575
+ /**
1576
+ * @param {number} value
1577
+ * @return {!proto.bet.DashboardResponse} returns this
1578
+ */
1579
+ proto.bet.DashboardResponse.prototype.setMaxWinBonus = function(value) {
1580
+ return jspb.Message.setField(this, 6, value);
1581
+ };
1582
+
1583
+
1584
+ /**
1585
+ * Clears the field making it undefined.
1586
+ * @return {!proto.bet.DashboardResponse} returns this
1587
+ */
1588
+ proto.bet.DashboardResponse.prototype.clearMaxWinBonus = function() {
1589
+ return jspb.Message.setField(this, 6, undefined);
1590
+ };
1591
+
1592
+
1593
+ /**
1594
+ * Returns whether this field is set.
1595
+ * @return {boolean}
1596
+ */
1597
+ proto.bet.DashboardResponse.prototype.hasMaxWinBonus = function() {
1598
+ return jspb.Message.getField(this, 6) != null;
1599
+ };
1600
+
1601
+
1602
+ /**
1603
+ * optional float average_win_real = 7;
1604
+ * @return {number}
1605
+ */
1606
+ proto.bet.DashboardResponse.prototype.getAverageWinReal = function() {
1607
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
1608
+ };
1609
+
1610
+
1611
+ /**
1612
+ * @param {number} value
1613
+ * @return {!proto.bet.DashboardResponse} returns this
1614
+ */
1615
+ proto.bet.DashboardResponse.prototype.setAverageWinReal = function(value) {
1616
+ return jspb.Message.setField(this, 7, value);
1617
+ };
1618
+
1619
+
1620
+ /**
1621
+ * Clears the field making it undefined.
1622
+ * @return {!proto.bet.DashboardResponse} returns this
1623
+ */
1624
+ proto.bet.DashboardResponse.prototype.clearAverageWinReal = function() {
1625
+ return jspb.Message.setField(this, 7, undefined);
1626
+ };
1627
+
1628
+
1629
+ /**
1630
+ * Returns whether this field is set.
1631
+ * @return {boolean}
1632
+ */
1633
+ proto.bet.DashboardResponse.prototype.hasAverageWinReal = function() {
1634
+ return jspb.Message.getField(this, 7) != null;
1635
+ };
1636
+
1637
+
1638
+ /**
1639
+ * optional float average_win_bonus = 8;
1640
+ * @return {number}
1641
+ */
1642
+ proto.bet.DashboardResponse.prototype.getAverageWinBonus = function() {
1643
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
1644
+ };
1645
+
1646
+
1647
+ /**
1648
+ * @param {number} value
1649
+ * @return {!proto.bet.DashboardResponse} returns this
1650
+ */
1651
+ proto.bet.DashboardResponse.prototype.setAverageWinBonus = function(value) {
1652
+ return jspb.Message.setField(this, 8, value);
1653
+ };
1654
+
1655
+
1656
+ /**
1657
+ * Clears the field making it undefined.
1658
+ * @return {!proto.bet.DashboardResponse} returns this
1659
+ */
1660
+ proto.bet.DashboardResponse.prototype.clearAverageWinBonus = function() {
1661
+ return jspb.Message.setField(this, 8, undefined);
1662
+ };
1663
+
1664
+
1665
+ /**
1666
+ * Returns whether this field is set.
1667
+ * @return {boolean}
1668
+ */
1669
+ proto.bet.DashboardResponse.prototype.hasAverageWinBonus = function() {
1670
+ return jspb.Message.getField(this, 8) != null;
1671
+ };
1672
+
1673
+
1674
+ /**
1675
+ * optional float turnover_real = 9;
1676
+ * @return {number}
1677
+ */
1678
+ proto.bet.DashboardResponse.prototype.getTurnoverReal = function() {
1679
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
1680
+ };
1681
+
1682
+
1683
+ /**
1684
+ * @param {number} value
1685
+ * @return {!proto.bet.DashboardResponse} returns this
1686
+ */
1687
+ proto.bet.DashboardResponse.prototype.setTurnoverReal = function(value) {
1688
+ return jspb.Message.setField(this, 9, value);
1689
+ };
1690
+
1691
+
1692
+ /**
1693
+ * Clears the field making it undefined.
1694
+ * @return {!proto.bet.DashboardResponse} returns this
1695
+ */
1696
+ proto.bet.DashboardResponse.prototype.clearTurnoverReal = function() {
1697
+ return jspb.Message.setField(this, 9, undefined);
1698
+ };
1699
+
1700
+
1701
+ /**
1702
+ * Returns whether this field is set.
1703
+ * @return {boolean}
1704
+ */
1705
+ proto.bet.DashboardResponse.prototype.hasTurnoverReal = function() {
1706
+ return jspb.Message.getField(this, 9) != null;
1707
+ };
1708
+
1709
+
1710
+ /**
1711
+ * optional float turnover_bonus = 10;
1712
+ * @return {number}
1713
+ */
1714
+ proto.bet.DashboardResponse.prototype.getTurnoverBonus = function() {
1715
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
1716
+ };
1717
+
1718
+
1719
+ /**
1720
+ * @param {number} value
1721
+ * @return {!proto.bet.DashboardResponse} returns this
1722
+ */
1723
+ proto.bet.DashboardResponse.prototype.setTurnoverBonus = function(value) {
1724
+ return jspb.Message.setField(this, 10, value);
1725
+ };
1726
+
1727
+
1728
+ /**
1729
+ * Clears the field making it undefined.
1730
+ * @return {!proto.bet.DashboardResponse} returns this
1731
+ */
1732
+ proto.bet.DashboardResponse.prototype.clearTurnoverBonus = function() {
1733
+ return jspb.Message.setField(this, 10, undefined);
1734
+ };
1735
+
1736
+
1737
+ /**
1738
+ * Returns whether this field is set.
1739
+ * @return {boolean}
1740
+ */
1741
+ proto.bet.DashboardResponse.prototype.hasTurnoverBonus = function() {
1742
+ return jspb.Message.getField(this, 10) != null;
1743
+ };
1744
+
1745
+
1746
+ /**
1747
+ * optional float ggr_total = 11;
1748
+ * @return {number}
1749
+ */
1750
+ proto.bet.DashboardResponse.prototype.getGgrTotal = function() {
1751
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
1752
+ };
1753
+
1754
+
1755
+ /**
1756
+ * @param {number} value
1757
+ * @return {!proto.bet.DashboardResponse} returns this
1758
+ */
1759
+ proto.bet.DashboardResponse.prototype.setGgrTotal = function(value) {
1760
+ return jspb.Message.setField(this, 11, value);
1761
+ };
1762
+
1763
+
1764
+ /**
1765
+ * Clears the field making it undefined.
1766
+ * @return {!proto.bet.DashboardResponse} returns this
1767
+ */
1768
+ proto.bet.DashboardResponse.prototype.clearGgrTotal = function() {
1769
+ return jspb.Message.setField(this, 11, undefined);
1770
+ };
1771
+
1772
+
1773
+ /**
1774
+ * Returns whether this field is set.
1775
+ * @return {boolean}
1776
+ */
1777
+ proto.bet.DashboardResponse.prototype.hasGgrTotal = function() {
1778
+ return jspb.Message.getField(this, 11) != null;
1779
+ };
1780
+
1781
+
1782
+ /**
1783
+ * optional float ggr_real = 12;
1784
+ * @return {number}
1785
+ */
1786
+ proto.bet.DashboardResponse.prototype.getGgrReal = function() {
1787
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
1788
+ };
1789
+
1790
+
1791
+ /**
1792
+ * @param {number} value
1793
+ * @return {!proto.bet.DashboardResponse} returns this
1794
+ */
1795
+ proto.bet.DashboardResponse.prototype.setGgrReal = function(value) {
1796
+ return jspb.Message.setField(this, 12, value);
1797
+ };
1798
+
1799
+
1800
+ /**
1801
+ * Clears the field making it undefined.
1802
+ * @return {!proto.bet.DashboardResponse} returns this
1803
+ */
1804
+ proto.bet.DashboardResponse.prototype.clearGgrReal = function() {
1805
+ return jspb.Message.setField(this, 12, undefined);
1806
+ };
1807
+
1808
+
1809
+ /**
1810
+ * Returns whether this field is set.
1811
+ * @return {boolean}
1812
+ */
1813
+ proto.bet.DashboardResponse.prototype.hasGgrReal = function() {
1814
+ return jspb.Message.getField(this, 12) != null;
1815
+ };
1816
+
1817
+
1818
+ /**
1819
+ * optional float ggr_bonus = 13;
1820
+ * @return {number}
1821
+ */
1822
+ proto.bet.DashboardResponse.prototype.getGgrBonus = function() {
1823
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
1824
+ };
1825
+
1826
+
1827
+ /**
1828
+ * @param {number} value
1829
+ * @return {!proto.bet.DashboardResponse} returns this
1830
+ */
1831
+ proto.bet.DashboardResponse.prototype.setGgrBonus = function(value) {
1832
+ return jspb.Message.setField(this, 13, value);
1833
+ };
1834
+
1835
+
1836
+ /**
1837
+ * Clears the field making it undefined.
1838
+ * @return {!proto.bet.DashboardResponse} returns this
1839
+ */
1840
+ proto.bet.DashboardResponse.prototype.clearGgrBonus = function() {
1841
+ return jspb.Message.setField(this, 13, undefined);
1842
+ };
1843
+
1844
+
1845
+ /**
1846
+ * Returns whether this field is set.
1847
+ * @return {boolean}
1848
+ */
1849
+ proto.bet.DashboardResponse.prototype.hasGgrBonus = function() {
1850
+ return jspb.Message.getField(this, 13) != null;
1851
+ };
1852
+
1853
+
1854
+ /**
1855
+ * repeated string top_games_uuid_count_bet_real = 14;
1856
+ * @return {!Array<string>}
1857
+ */
1858
+ proto.bet.DashboardResponse.prototype.getTopGamesUuidCountBetRealList = function() {
1859
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 14));
1860
+ };
1861
+
1862
+
1863
+ /**
1864
+ * @param {!Array<string>} value
1865
+ * @return {!proto.bet.DashboardResponse} returns this
1866
+ */
1867
+ proto.bet.DashboardResponse.prototype.setTopGamesUuidCountBetRealList = function(value) {
1868
+ return jspb.Message.setField(this, 14, value || []);
1869
+ };
1870
+
1871
+
1872
+ /**
1873
+ * @param {string} value
1874
+ * @param {number=} opt_index
1875
+ * @return {!proto.bet.DashboardResponse} returns this
1876
+ */
1877
+ proto.bet.DashboardResponse.prototype.addTopGamesUuidCountBetReal = function(value, opt_index) {
1878
+ return jspb.Message.addToRepeatedField(this, 14, value, opt_index);
1879
+ };
1880
+
1881
+
1882
+ /**
1883
+ * Clears the list making it empty but non-null.
1884
+ * @return {!proto.bet.DashboardResponse} returns this
1885
+ */
1886
+ proto.bet.DashboardResponse.prototype.clearTopGamesUuidCountBetRealList = function() {
1887
+ return this.setTopGamesUuidCountBetRealList([]);
1888
+ };
1889
+
1890
+
1891
+ /**
1892
+ * repeated string top_games_uuid_count_bet_bonus = 15;
1893
+ * @return {!Array<string>}
1894
+ */
1895
+ proto.bet.DashboardResponse.prototype.getTopGamesUuidCountBetBonusList = function() {
1896
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 15));
1897
+ };
1898
+
1899
+
1900
+ /**
1901
+ * @param {!Array<string>} value
1902
+ * @return {!proto.bet.DashboardResponse} returns this
1903
+ */
1904
+ proto.bet.DashboardResponse.prototype.setTopGamesUuidCountBetBonusList = function(value) {
1905
+ return jspb.Message.setField(this, 15, value || []);
1906
+ };
1907
+
1908
+
1909
+ /**
1910
+ * @param {string} value
1911
+ * @param {number=} opt_index
1912
+ * @return {!proto.bet.DashboardResponse} returns this
1913
+ */
1914
+ proto.bet.DashboardResponse.prototype.addTopGamesUuidCountBetBonus = function(value, opt_index) {
1915
+ return jspb.Message.addToRepeatedField(this, 15, value, opt_index);
1916
+ };
1917
+
1918
+
1919
+ /**
1920
+ * Clears the list making it empty but non-null.
1921
+ * @return {!proto.bet.DashboardResponse} returns this
1922
+ */
1923
+ proto.bet.DashboardResponse.prototype.clearTopGamesUuidCountBetBonusList = function() {
1924
+ return this.setTopGamesUuidCountBetBonusList([]);
1925
+ };
1926
+
1927
+
1928
+ /**
1929
+ * repeated string top_games_uuid_sum_bet_real = 16;
1930
+ * @return {!Array<string>}
1931
+ */
1932
+ proto.bet.DashboardResponse.prototype.getTopGamesUuidSumBetRealList = function() {
1933
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 16));
1934
+ };
1935
+
1936
+
1937
+ /**
1938
+ * @param {!Array<string>} value
1939
+ * @return {!proto.bet.DashboardResponse} returns this
1940
+ */
1941
+ proto.bet.DashboardResponse.prototype.setTopGamesUuidSumBetRealList = function(value) {
1942
+ return jspb.Message.setField(this, 16, value || []);
1943
+ };
1944
+
1945
+
1946
+ /**
1947
+ * @param {string} value
1948
+ * @param {number=} opt_index
1949
+ * @return {!proto.bet.DashboardResponse} returns this
1950
+ */
1951
+ proto.bet.DashboardResponse.prototype.addTopGamesUuidSumBetReal = function(value, opt_index) {
1952
+ return jspb.Message.addToRepeatedField(this, 16, value, opt_index);
1953
+ };
1954
+
1955
+
1956
+ /**
1957
+ * Clears the list making it empty but non-null.
1958
+ * @return {!proto.bet.DashboardResponse} returns this
1959
+ */
1960
+ proto.bet.DashboardResponse.prototype.clearTopGamesUuidSumBetRealList = function() {
1961
+ return this.setTopGamesUuidSumBetRealList([]);
1962
+ };
1963
+
1964
+
1965
+ /**
1966
+ * repeated string top_games_uuid_sum_bet_bonus = 17;
1967
+ * @return {!Array<string>}
1968
+ */
1969
+ proto.bet.DashboardResponse.prototype.getTopGamesUuidSumBetBonusList = function() {
1970
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 17));
1971
+ };
1972
+
1973
+
1974
+ /**
1975
+ * @param {!Array<string>} value
1976
+ * @return {!proto.bet.DashboardResponse} returns this
1977
+ */
1978
+ proto.bet.DashboardResponse.prototype.setTopGamesUuidSumBetBonusList = function(value) {
1979
+ return jspb.Message.setField(this, 17, value || []);
1980
+ };
1981
+
1982
+
1983
+ /**
1984
+ * @param {string} value
1985
+ * @param {number=} opt_index
1986
+ * @return {!proto.bet.DashboardResponse} returns this
1987
+ */
1988
+ proto.bet.DashboardResponse.prototype.addTopGamesUuidSumBetBonus = function(value, opt_index) {
1989
+ return jspb.Message.addToRepeatedField(this, 17, value, opt_index);
1990
+ };
1991
+
1992
+
1993
+ /**
1994
+ * Clears the list making it empty but non-null.
1995
+ * @return {!proto.bet.DashboardResponse} returns this
1996
+ */
1997
+ proto.bet.DashboardResponse.prototype.clearTopGamesUuidSumBetBonusList = function() {
1998
+ return this.setTopGamesUuidSumBetBonusList([]);
1999
+ };
2000
+
2001
+
2002
+
2003
+
2004
+
874
2005
  if (jspb.Message.GENERATE_TO_OBJECT) {
875
2006
  /**
876
2007
  * Creates an object representation of this proto.