protobuf-platform 1.1.33 → 1.1.35
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/bonus/bonus.proto +29 -3
- package/bonus/bonus_grpc_pb.js +66 -0
- package/bonus/bonus_pb.js +1266 -214
- package/package.json +1 -1
package/bonus/bonus_pb.js
CHANGED
@@ -23,6 +23,8 @@ var global = (function() {
|
|
23
23
|
|
24
24
|
goog.exportSymbol('proto.bonus.ActivationRule', null, global);
|
25
25
|
goog.exportSymbol('proto.bonus.BetsRange', null, global);
|
26
|
+
goog.exportSymbol('proto.bonus.BonusActivationRulesRequest', null, global);
|
27
|
+
goog.exportSymbol('proto.bonus.BonusBetRangesRequest', null, global);
|
26
28
|
goog.exportSymbol('proto.bonus.BonusItem', null, global);
|
27
29
|
goog.exportSymbol('proto.bonus.BonusItemRequest', null, global);
|
28
30
|
goog.exportSymbol('proto.bonus.BonusItemsResponse', null, global);
|
@@ -30,6 +32,7 @@ goog.exportSymbol('proto.bonus.BonusRequest', null, global);
|
|
30
32
|
goog.exportSymbol('proto.bonus.BonusRequest.RequestCase', null, global);
|
31
33
|
goog.exportSymbol('proto.bonus.BonusResponse', null, global);
|
32
34
|
goog.exportSymbol('proto.bonus.BonusReward', null, global);
|
35
|
+
goog.exportSymbol('proto.bonus.BonusRewardsRequest', null, global);
|
33
36
|
goog.exportSymbol('proto.bonus.BonusStatus', null, global);
|
34
37
|
goog.exportSymbol('proto.bonus.BonusStatusResponse', null, global);
|
35
38
|
goog.exportSymbol('proto.bonus.BonusStatusesResponse', null, global);
|
@@ -173,6 +176,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
173
176
|
*/
|
174
177
|
proto.bonus.BonusRequest.displayName = 'proto.bonus.BonusRequest';
|
175
178
|
}
|
179
|
+
/**
|
180
|
+
* Generated by JsPbCodeGenerator.
|
181
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
182
|
+
* server response, or constructed directly in Javascript. The array is used
|
183
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
184
|
+
* If no data is provided, the constructed object will be empty, but still
|
185
|
+
* valid.
|
186
|
+
* @extends {jspb.Message}
|
187
|
+
* @constructor
|
188
|
+
*/
|
189
|
+
proto.bonus.BonusActivationRulesRequest = function(opt_data) {
|
190
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
191
|
+
};
|
192
|
+
goog.inherits(proto.bonus.BonusActivationRulesRequest, jspb.Message);
|
193
|
+
if (goog.DEBUG && !COMPILED) {
|
194
|
+
/**
|
195
|
+
* @public
|
196
|
+
* @override
|
197
|
+
*/
|
198
|
+
proto.bonus.BonusActivationRulesRequest.displayName = 'proto.bonus.BonusActivationRulesRequest';
|
199
|
+
}
|
200
|
+
/**
|
201
|
+
* Generated by JsPbCodeGenerator.
|
202
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
203
|
+
* server response, or constructed directly in Javascript. The array is used
|
204
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
205
|
+
* If no data is provided, the constructed object will be empty, but still
|
206
|
+
* valid.
|
207
|
+
* @extends {jspb.Message}
|
208
|
+
* @constructor
|
209
|
+
*/
|
210
|
+
proto.bonus.BonusRewardsRequest = function(opt_data) {
|
211
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
212
|
+
};
|
213
|
+
goog.inherits(proto.bonus.BonusRewardsRequest, jspb.Message);
|
214
|
+
if (goog.DEBUG && !COMPILED) {
|
215
|
+
/**
|
216
|
+
* @public
|
217
|
+
* @override
|
218
|
+
*/
|
219
|
+
proto.bonus.BonusRewardsRequest.displayName = 'proto.bonus.BonusRewardsRequest';
|
220
|
+
}
|
221
|
+
/**
|
222
|
+
* Generated by JsPbCodeGenerator.
|
223
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
224
|
+
* server response, or constructed directly in Javascript. The array is used
|
225
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
226
|
+
* If no data is provided, the constructed object will be empty, but still
|
227
|
+
* valid.
|
228
|
+
* @extends {jspb.Message}
|
229
|
+
* @constructor
|
230
|
+
*/
|
231
|
+
proto.bonus.BonusBetRangesRequest = function(opt_data) {
|
232
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
233
|
+
};
|
234
|
+
goog.inherits(proto.bonus.BonusBetRangesRequest, jspb.Message);
|
235
|
+
if (goog.DEBUG && !COMPILED) {
|
236
|
+
/**
|
237
|
+
* @public
|
238
|
+
* @override
|
239
|
+
*/
|
240
|
+
proto.bonus.BonusBetRangesRequest.displayName = 'proto.bonus.BonusBetRangesRequest';
|
241
|
+
}
|
176
242
|
/**
|
177
243
|
* Generated by JsPbCodeGenerator.
|
178
244
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -247,7 +313,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
247
313
|
* @constructor
|
248
314
|
*/
|
249
315
|
proto.bonus.BonusItemRequest = function(opt_data) {
|
250
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
316
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
251
317
|
};
|
252
318
|
goog.inherits(proto.bonus.BonusItemRequest, jspb.Message);
|
253
319
|
if (goog.DEBUG && !COMPILED) {
|
@@ -1476,9 +1542,1115 @@ proto.bonus.BonusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1476
1542
|
* Serializes the message to binary data (in protobuf wire format).
|
1477
1543
|
* @return {!Uint8Array}
|
1478
1544
|
*/
|
1479
|
-
proto.bonus.BonusRequest.prototype.serializeBinary = function() {
|
1545
|
+
proto.bonus.BonusRequest.prototype.serializeBinary = function() {
|
1546
|
+
var writer = new jspb.BinaryWriter();
|
1547
|
+
proto.bonus.BonusRequest.serializeBinaryToWriter(this, writer);
|
1548
|
+
return writer.getResultBuffer();
|
1549
|
+
};
|
1550
|
+
|
1551
|
+
|
1552
|
+
/**
|
1553
|
+
* Serializes the given message to binary data (in protobuf wire
|
1554
|
+
* format), writing to the given BinaryWriter.
|
1555
|
+
* @param {!proto.bonus.BonusRequest} message
|
1556
|
+
* @param {!jspb.BinaryWriter} writer
|
1557
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1558
|
+
*/
|
1559
|
+
proto.bonus.BonusRequest.serializeBinaryToWriter = function(message, writer) {
|
1560
|
+
var f = undefined;
|
1561
|
+
f = message.getBonusData();
|
1562
|
+
if (f != null) {
|
1563
|
+
writer.writeMessage(
|
1564
|
+
1,
|
1565
|
+
f,
|
1566
|
+
proto.bonus.BonusItemRequest.serializeBinaryToWriter
|
1567
|
+
);
|
1568
|
+
}
|
1569
|
+
f = message.getFile();
|
1570
|
+
if (f != null) {
|
1571
|
+
writer.writeMessage(
|
1572
|
+
2,
|
1573
|
+
f,
|
1574
|
+
proto.bonus.File.serializeBinaryToWriter
|
1575
|
+
);
|
1576
|
+
}
|
1577
|
+
};
|
1578
|
+
|
1579
|
+
|
1580
|
+
/**
|
1581
|
+
* optional BonusItemRequest bonus_data = 1;
|
1582
|
+
* @return {?proto.bonus.BonusItemRequest}
|
1583
|
+
*/
|
1584
|
+
proto.bonus.BonusRequest.prototype.getBonusData = function() {
|
1585
|
+
return /** @type{?proto.bonus.BonusItemRequest} */ (
|
1586
|
+
jspb.Message.getWrapperField(this, proto.bonus.BonusItemRequest, 1));
|
1587
|
+
};
|
1588
|
+
|
1589
|
+
|
1590
|
+
/**
|
1591
|
+
* @param {?proto.bonus.BonusItemRequest|undefined} value
|
1592
|
+
* @return {!proto.bonus.BonusRequest} returns this
|
1593
|
+
*/
|
1594
|
+
proto.bonus.BonusRequest.prototype.setBonusData = function(value) {
|
1595
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.bonus.BonusRequest.oneofGroups_[0], value);
|
1596
|
+
};
|
1597
|
+
|
1598
|
+
|
1599
|
+
/**
|
1600
|
+
* Clears the message field making it undefined.
|
1601
|
+
* @return {!proto.bonus.BonusRequest} returns this
|
1602
|
+
*/
|
1603
|
+
proto.bonus.BonusRequest.prototype.clearBonusData = function() {
|
1604
|
+
return this.setBonusData(undefined);
|
1605
|
+
};
|
1606
|
+
|
1607
|
+
|
1608
|
+
/**
|
1609
|
+
* Returns whether this field is set.
|
1610
|
+
* @return {boolean}
|
1611
|
+
*/
|
1612
|
+
proto.bonus.BonusRequest.prototype.hasBonusData = function() {
|
1613
|
+
return jspb.Message.getField(this, 1) != null;
|
1614
|
+
};
|
1615
|
+
|
1616
|
+
|
1617
|
+
/**
|
1618
|
+
* optional File file = 2;
|
1619
|
+
* @return {?proto.bonus.File}
|
1620
|
+
*/
|
1621
|
+
proto.bonus.BonusRequest.prototype.getFile = function() {
|
1622
|
+
return /** @type{?proto.bonus.File} */ (
|
1623
|
+
jspb.Message.getWrapperField(this, proto.bonus.File, 2));
|
1624
|
+
};
|
1625
|
+
|
1626
|
+
|
1627
|
+
/**
|
1628
|
+
* @param {?proto.bonus.File|undefined} value
|
1629
|
+
* @return {!proto.bonus.BonusRequest} returns this
|
1630
|
+
*/
|
1631
|
+
proto.bonus.BonusRequest.prototype.setFile = function(value) {
|
1632
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.bonus.BonusRequest.oneofGroups_[0], value);
|
1633
|
+
};
|
1634
|
+
|
1635
|
+
|
1636
|
+
/**
|
1637
|
+
* Clears the message field making it undefined.
|
1638
|
+
* @return {!proto.bonus.BonusRequest} returns this
|
1639
|
+
*/
|
1640
|
+
proto.bonus.BonusRequest.prototype.clearFile = function() {
|
1641
|
+
return this.setFile(undefined);
|
1642
|
+
};
|
1643
|
+
|
1644
|
+
|
1645
|
+
/**
|
1646
|
+
* Returns whether this field is set.
|
1647
|
+
* @return {boolean}
|
1648
|
+
*/
|
1649
|
+
proto.bonus.BonusRequest.prototype.hasFile = function() {
|
1650
|
+
return jspb.Message.getField(this, 2) != null;
|
1651
|
+
};
|
1652
|
+
|
1653
|
+
|
1654
|
+
|
1655
|
+
|
1656
|
+
|
1657
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1658
|
+
/**
|
1659
|
+
* Creates an object representation of this proto.
|
1660
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1661
|
+
* Optional fields that are not set will be set to undefined.
|
1662
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1663
|
+
* For the list of reserved names please see:
|
1664
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1665
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1666
|
+
* JSPB instance for transitional soy proto support:
|
1667
|
+
* http://goto/soy-param-migration
|
1668
|
+
* @return {!Object}
|
1669
|
+
*/
|
1670
|
+
proto.bonus.BonusActivationRulesRequest.prototype.toObject = function(opt_includeInstance) {
|
1671
|
+
return proto.bonus.BonusActivationRulesRequest.toObject(opt_includeInstance, this);
|
1672
|
+
};
|
1673
|
+
|
1674
|
+
|
1675
|
+
/**
|
1676
|
+
* Static version of the {@see toObject} method.
|
1677
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1678
|
+
* the JSPB instance for transitional soy proto support:
|
1679
|
+
* http://goto/soy-param-migration
|
1680
|
+
* @param {!proto.bonus.BonusActivationRulesRequest} msg The msg instance to transform.
|
1681
|
+
* @return {!Object}
|
1682
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1683
|
+
*/
|
1684
|
+
proto.bonus.BonusActivationRulesRequest.toObject = function(includeInstance, msg) {
|
1685
|
+
var f, obj = {
|
1686
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
1687
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1688
|
+
depositRequired: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
1689
|
+
depositMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
1690
|
+
depositMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
1691
|
+
depositNumber: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
1692
|
+
cancellationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
1693
|
+
promoCode: jspb.Message.getFieldWithDefault(msg, 8, "")
|
1694
|
+
};
|
1695
|
+
|
1696
|
+
if (includeInstance) {
|
1697
|
+
obj.$jspbMessageInstance = msg;
|
1698
|
+
}
|
1699
|
+
return obj;
|
1700
|
+
};
|
1701
|
+
}
|
1702
|
+
|
1703
|
+
|
1704
|
+
/**
|
1705
|
+
* Deserializes binary data (in protobuf wire format).
|
1706
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1707
|
+
* @return {!proto.bonus.BonusActivationRulesRequest}
|
1708
|
+
*/
|
1709
|
+
proto.bonus.BonusActivationRulesRequest.deserializeBinary = function(bytes) {
|
1710
|
+
var reader = new jspb.BinaryReader(bytes);
|
1711
|
+
var msg = new proto.bonus.BonusActivationRulesRequest;
|
1712
|
+
return proto.bonus.BonusActivationRulesRequest.deserializeBinaryFromReader(msg, reader);
|
1713
|
+
};
|
1714
|
+
|
1715
|
+
|
1716
|
+
/**
|
1717
|
+
* Deserializes binary data (in protobuf wire format) from the
|
1718
|
+
* given reader into the given message object.
|
1719
|
+
* @param {!proto.bonus.BonusActivationRulesRequest} msg The message object to deserialize into.
|
1720
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1721
|
+
* @return {!proto.bonus.BonusActivationRulesRequest}
|
1722
|
+
*/
|
1723
|
+
proto.bonus.BonusActivationRulesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
1724
|
+
while (reader.nextField()) {
|
1725
|
+
if (reader.isEndGroup()) {
|
1726
|
+
break;
|
1727
|
+
}
|
1728
|
+
var field = reader.getFieldNumber();
|
1729
|
+
switch (field) {
|
1730
|
+
case 1:
|
1731
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1732
|
+
msg.setBonusId(value);
|
1733
|
+
break;
|
1734
|
+
case 2:
|
1735
|
+
var value = /** @type {string} */ (reader.readString());
|
1736
|
+
msg.setCurrency(value);
|
1737
|
+
break;
|
1738
|
+
case 3:
|
1739
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1740
|
+
msg.setDepositRequired(value);
|
1741
|
+
break;
|
1742
|
+
case 4:
|
1743
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1744
|
+
msg.setDepositMin(value);
|
1745
|
+
break;
|
1746
|
+
case 5:
|
1747
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1748
|
+
msg.setDepositMax(value);
|
1749
|
+
break;
|
1750
|
+
case 6:
|
1751
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1752
|
+
msg.setDepositNumber(value);
|
1753
|
+
break;
|
1754
|
+
case 7:
|
1755
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1756
|
+
msg.setCancellationAmount(value);
|
1757
|
+
break;
|
1758
|
+
case 8:
|
1759
|
+
var value = /** @type {string} */ (reader.readString());
|
1760
|
+
msg.setPromoCode(value);
|
1761
|
+
break;
|
1762
|
+
default:
|
1763
|
+
reader.skipField();
|
1764
|
+
break;
|
1765
|
+
}
|
1766
|
+
}
|
1767
|
+
return msg;
|
1768
|
+
};
|
1769
|
+
|
1770
|
+
|
1771
|
+
/**
|
1772
|
+
* Serializes the message to binary data (in protobuf wire format).
|
1773
|
+
* @return {!Uint8Array}
|
1774
|
+
*/
|
1775
|
+
proto.bonus.BonusActivationRulesRequest.prototype.serializeBinary = function() {
|
1776
|
+
var writer = new jspb.BinaryWriter();
|
1777
|
+
proto.bonus.BonusActivationRulesRequest.serializeBinaryToWriter(this, writer);
|
1778
|
+
return writer.getResultBuffer();
|
1779
|
+
};
|
1780
|
+
|
1781
|
+
|
1782
|
+
/**
|
1783
|
+
* Serializes the given message to binary data (in protobuf wire
|
1784
|
+
* format), writing to the given BinaryWriter.
|
1785
|
+
* @param {!proto.bonus.BonusActivationRulesRequest} message
|
1786
|
+
* @param {!jspb.BinaryWriter} writer
|
1787
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1788
|
+
*/
|
1789
|
+
proto.bonus.BonusActivationRulesRequest.serializeBinaryToWriter = function(message, writer) {
|
1790
|
+
var f = undefined;
|
1791
|
+
f = message.getBonusId();
|
1792
|
+
if (f !== 0) {
|
1793
|
+
writer.writeInt32(
|
1794
|
+
1,
|
1795
|
+
f
|
1796
|
+
);
|
1797
|
+
}
|
1798
|
+
f = message.getCurrency();
|
1799
|
+
if (f.length > 0) {
|
1800
|
+
writer.writeString(
|
1801
|
+
2,
|
1802
|
+
f
|
1803
|
+
);
|
1804
|
+
}
|
1805
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
1806
|
+
if (f != null) {
|
1807
|
+
writer.writeInt32(
|
1808
|
+
3,
|
1809
|
+
f
|
1810
|
+
);
|
1811
|
+
}
|
1812
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
1813
|
+
if (f != null) {
|
1814
|
+
writer.writeFloat(
|
1815
|
+
4,
|
1816
|
+
f
|
1817
|
+
);
|
1818
|
+
}
|
1819
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
1820
|
+
if (f != null) {
|
1821
|
+
writer.writeFloat(
|
1822
|
+
5,
|
1823
|
+
f
|
1824
|
+
);
|
1825
|
+
}
|
1826
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
1827
|
+
if (f != null) {
|
1828
|
+
writer.writeInt32(
|
1829
|
+
6,
|
1830
|
+
f
|
1831
|
+
);
|
1832
|
+
}
|
1833
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
1834
|
+
if (f != null) {
|
1835
|
+
writer.writeFloat(
|
1836
|
+
7,
|
1837
|
+
f
|
1838
|
+
);
|
1839
|
+
}
|
1840
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
1841
|
+
if (f != null) {
|
1842
|
+
writer.writeString(
|
1843
|
+
8,
|
1844
|
+
f
|
1845
|
+
);
|
1846
|
+
}
|
1847
|
+
};
|
1848
|
+
|
1849
|
+
|
1850
|
+
/**
|
1851
|
+
* optional int32 bonus_id = 1;
|
1852
|
+
* @return {number}
|
1853
|
+
*/
|
1854
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getBonusId = function() {
|
1855
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
1856
|
+
};
|
1857
|
+
|
1858
|
+
|
1859
|
+
/**
|
1860
|
+
* @param {number} value
|
1861
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1862
|
+
*/
|
1863
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setBonusId = function(value) {
|
1864
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
1865
|
+
};
|
1866
|
+
|
1867
|
+
|
1868
|
+
/**
|
1869
|
+
* optional string currency = 2;
|
1870
|
+
* @return {string}
|
1871
|
+
*/
|
1872
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getCurrency = function() {
|
1873
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1874
|
+
};
|
1875
|
+
|
1876
|
+
|
1877
|
+
/**
|
1878
|
+
* @param {string} value
|
1879
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1880
|
+
*/
|
1881
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setCurrency = function(value) {
|
1882
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
1883
|
+
};
|
1884
|
+
|
1885
|
+
|
1886
|
+
/**
|
1887
|
+
* optional int32 deposit_required = 3;
|
1888
|
+
* @return {number}
|
1889
|
+
*/
|
1890
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getDepositRequired = function() {
|
1891
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
1892
|
+
};
|
1893
|
+
|
1894
|
+
|
1895
|
+
/**
|
1896
|
+
* @param {number} value
|
1897
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1898
|
+
*/
|
1899
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setDepositRequired = function(value) {
|
1900
|
+
return jspb.Message.setField(this, 3, value);
|
1901
|
+
};
|
1902
|
+
|
1903
|
+
|
1904
|
+
/**
|
1905
|
+
* Clears the field making it undefined.
|
1906
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1907
|
+
*/
|
1908
|
+
proto.bonus.BonusActivationRulesRequest.prototype.clearDepositRequired = function() {
|
1909
|
+
return jspb.Message.setField(this, 3, undefined);
|
1910
|
+
};
|
1911
|
+
|
1912
|
+
|
1913
|
+
/**
|
1914
|
+
* Returns whether this field is set.
|
1915
|
+
* @return {boolean}
|
1916
|
+
*/
|
1917
|
+
proto.bonus.BonusActivationRulesRequest.prototype.hasDepositRequired = function() {
|
1918
|
+
return jspb.Message.getField(this, 3) != null;
|
1919
|
+
};
|
1920
|
+
|
1921
|
+
|
1922
|
+
/**
|
1923
|
+
* optional float deposit_min = 4;
|
1924
|
+
* @return {number}
|
1925
|
+
*/
|
1926
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getDepositMin = function() {
|
1927
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
1928
|
+
};
|
1929
|
+
|
1930
|
+
|
1931
|
+
/**
|
1932
|
+
* @param {number} value
|
1933
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1934
|
+
*/
|
1935
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setDepositMin = function(value) {
|
1936
|
+
return jspb.Message.setField(this, 4, value);
|
1937
|
+
};
|
1938
|
+
|
1939
|
+
|
1940
|
+
/**
|
1941
|
+
* Clears the field making it undefined.
|
1942
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1943
|
+
*/
|
1944
|
+
proto.bonus.BonusActivationRulesRequest.prototype.clearDepositMin = function() {
|
1945
|
+
return jspb.Message.setField(this, 4, undefined);
|
1946
|
+
};
|
1947
|
+
|
1948
|
+
|
1949
|
+
/**
|
1950
|
+
* Returns whether this field is set.
|
1951
|
+
* @return {boolean}
|
1952
|
+
*/
|
1953
|
+
proto.bonus.BonusActivationRulesRequest.prototype.hasDepositMin = function() {
|
1954
|
+
return jspb.Message.getField(this, 4) != null;
|
1955
|
+
};
|
1956
|
+
|
1957
|
+
|
1958
|
+
/**
|
1959
|
+
* optional float deposit_max = 5;
|
1960
|
+
* @return {number}
|
1961
|
+
*/
|
1962
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getDepositMax = function() {
|
1963
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
1964
|
+
};
|
1965
|
+
|
1966
|
+
|
1967
|
+
/**
|
1968
|
+
* @param {number} value
|
1969
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1970
|
+
*/
|
1971
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setDepositMax = function(value) {
|
1972
|
+
return jspb.Message.setField(this, 5, value);
|
1973
|
+
};
|
1974
|
+
|
1975
|
+
|
1976
|
+
/**
|
1977
|
+
* Clears the field making it undefined.
|
1978
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1979
|
+
*/
|
1980
|
+
proto.bonus.BonusActivationRulesRequest.prototype.clearDepositMax = function() {
|
1981
|
+
return jspb.Message.setField(this, 5, undefined);
|
1982
|
+
};
|
1983
|
+
|
1984
|
+
|
1985
|
+
/**
|
1986
|
+
* Returns whether this field is set.
|
1987
|
+
* @return {boolean}
|
1988
|
+
*/
|
1989
|
+
proto.bonus.BonusActivationRulesRequest.prototype.hasDepositMax = function() {
|
1990
|
+
return jspb.Message.getField(this, 5) != null;
|
1991
|
+
};
|
1992
|
+
|
1993
|
+
|
1994
|
+
/**
|
1995
|
+
* optional int32 deposit_number = 6;
|
1996
|
+
* @return {number}
|
1997
|
+
*/
|
1998
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getDepositNumber = function() {
|
1999
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
2000
|
+
};
|
2001
|
+
|
2002
|
+
|
2003
|
+
/**
|
2004
|
+
* @param {number} value
|
2005
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
2006
|
+
*/
|
2007
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setDepositNumber = function(value) {
|
2008
|
+
return jspb.Message.setField(this, 6, value);
|
2009
|
+
};
|
2010
|
+
|
2011
|
+
|
2012
|
+
/**
|
2013
|
+
* Clears the field making it undefined.
|
2014
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
2015
|
+
*/
|
2016
|
+
proto.bonus.BonusActivationRulesRequest.prototype.clearDepositNumber = function() {
|
2017
|
+
return jspb.Message.setField(this, 6, undefined);
|
2018
|
+
};
|
2019
|
+
|
2020
|
+
|
2021
|
+
/**
|
2022
|
+
* Returns whether this field is set.
|
2023
|
+
* @return {boolean}
|
2024
|
+
*/
|
2025
|
+
proto.bonus.BonusActivationRulesRequest.prototype.hasDepositNumber = function() {
|
2026
|
+
return jspb.Message.getField(this, 6) != null;
|
2027
|
+
};
|
2028
|
+
|
2029
|
+
|
2030
|
+
/**
|
2031
|
+
* optional float cancellation_amount = 7;
|
2032
|
+
* @return {number}
|
2033
|
+
*/
|
2034
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getCancellationAmount = function() {
|
2035
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
2036
|
+
};
|
2037
|
+
|
2038
|
+
|
2039
|
+
/**
|
2040
|
+
* @param {number} value
|
2041
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
2042
|
+
*/
|
2043
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setCancellationAmount = function(value) {
|
2044
|
+
return jspb.Message.setField(this, 7, value);
|
2045
|
+
};
|
2046
|
+
|
2047
|
+
|
2048
|
+
/**
|
2049
|
+
* Clears the field making it undefined.
|
2050
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
2051
|
+
*/
|
2052
|
+
proto.bonus.BonusActivationRulesRequest.prototype.clearCancellationAmount = function() {
|
2053
|
+
return jspb.Message.setField(this, 7, undefined);
|
2054
|
+
};
|
2055
|
+
|
2056
|
+
|
2057
|
+
/**
|
2058
|
+
* Returns whether this field is set.
|
2059
|
+
* @return {boolean}
|
2060
|
+
*/
|
2061
|
+
proto.bonus.BonusActivationRulesRequest.prototype.hasCancellationAmount = function() {
|
2062
|
+
return jspb.Message.getField(this, 7) != null;
|
2063
|
+
};
|
2064
|
+
|
2065
|
+
|
2066
|
+
/**
|
2067
|
+
* optional string promo_code = 8;
|
2068
|
+
* @return {string}
|
2069
|
+
*/
|
2070
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getPromoCode = function() {
|
2071
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
2072
|
+
};
|
2073
|
+
|
2074
|
+
|
2075
|
+
/**
|
2076
|
+
* @param {string} value
|
2077
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
2078
|
+
*/
|
2079
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setPromoCode = function(value) {
|
2080
|
+
return jspb.Message.setField(this, 8, value);
|
2081
|
+
};
|
2082
|
+
|
2083
|
+
|
2084
|
+
/**
|
2085
|
+
* Clears the field making it undefined.
|
2086
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
2087
|
+
*/
|
2088
|
+
proto.bonus.BonusActivationRulesRequest.prototype.clearPromoCode = function() {
|
2089
|
+
return jspb.Message.setField(this, 8, undefined);
|
2090
|
+
};
|
2091
|
+
|
2092
|
+
|
2093
|
+
/**
|
2094
|
+
* Returns whether this field is set.
|
2095
|
+
* @return {boolean}
|
2096
|
+
*/
|
2097
|
+
proto.bonus.BonusActivationRulesRequest.prototype.hasPromoCode = function() {
|
2098
|
+
return jspb.Message.getField(this, 8) != null;
|
2099
|
+
};
|
2100
|
+
|
2101
|
+
|
2102
|
+
|
2103
|
+
|
2104
|
+
|
2105
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
2106
|
+
/**
|
2107
|
+
* Creates an object representation of this proto.
|
2108
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
2109
|
+
* Optional fields that are not set will be set to undefined.
|
2110
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
2111
|
+
* For the list of reserved names please see:
|
2112
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
2113
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
2114
|
+
* JSPB instance for transitional soy proto support:
|
2115
|
+
* http://goto/soy-param-migration
|
2116
|
+
* @return {!Object}
|
2117
|
+
*/
|
2118
|
+
proto.bonus.BonusRewardsRequest.prototype.toObject = function(opt_includeInstance) {
|
2119
|
+
return proto.bonus.BonusRewardsRequest.toObject(opt_includeInstance, this);
|
2120
|
+
};
|
2121
|
+
|
2122
|
+
|
2123
|
+
/**
|
2124
|
+
* Static version of the {@see toObject} method.
|
2125
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
2126
|
+
* the JSPB instance for transitional soy proto support:
|
2127
|
+
* http://goto/soy-param-migration
|
2128
|
+
* @param {!proto.bonus.BonusRewardsRequest} msg The msg instance to transform.
|
2129
|
+
* @return {!Object}
|
2130
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
2131
|
+
*/
|
2132
|
+
proto.bonus.BonusRewardsRequest.toObject = function(includeInstance, msg) {
|
2133
|
+
var f, obj = {
|
2134
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
2135
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
2136
|
+
depositStatic: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
2137
|
+
depositPercentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
2138
|
+
coins: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
2139
|
+
loyalty: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
2140
|
+
ranking: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
2141
|
+
freeSpinsConfig: jspb.Message.getFieldWithDefault(msg, 8, "")
|
2142
|
+
};
|
2143
|
+
|
2144
|
+
if (includeInstance) {
|
2145
|
+
obj.$jspbMessageInstance = msg;
|
2146
|
+
}
|
2147
|
+
return obj;
|
2148
|
+
};
|
2149
|
+
}
|
2150
|
+
|
2151
|
+
|
2152
|
+
/**
|
2153
|
+
* Deserializes binary data (in protobuf wire format).
|
2154
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
2155
|
+
* @return {!proto.bonus.BonusRewardsRequest}
|
2156
|
+
*/
|
2157
|
+
proto.bonus.BonusRewardsRequest.deserializeBinary = function(bytes) {
|
2158
|
+
var reader = new jspb.BinaryReader(bytes);
|
2159
|
+
var msg = new proto.bonus.BonusRewardsRequest;
|
2160
|
+
return proto.bonus.BonusRewardsRequest.deserializeBinaryFromReader(msg, reader);
|
2161
|
+
};
|
2162
|
+
|
2163
|
+
|
2164
|
+
/**
|
2165
|
+
* Deserializes binary data (in protobuf wire format) from the
|
2166
|
+
* given reader into the given message object.
|
2167
|
+
* @param {!proto.bonus.BonusRewardsRequest} msg The message object to deserialize into.
|
2168
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
2169
|
+
* @return {!proto.bonus.BonusRewardsRequest}
|
2170
|
+
*/
|
2171
|
+
proto.bonus.BonusRewardsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
2172
|
+
while (reader.nextField()) {
|
2173
|
+
if (reader.isEndGroup()) {
|
2174
|
+
break;
|
2175
|
+
}
|
2176
|
+
var field = reader.getFieldNumber();
|
2177
|
+
switch (field) {
|
2178
|
+
case 1:
|
2179
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2180
|
+
msg.setBonusId(value);
|
2181
|
+
break;
|
2182
|
+
case 2:
|
2183
|
+
var value = /** @type {string} */ (reader.readString());
|
2184
|
+
msg.setCurrency(value);
|
2185
|
+
break;
|
2186
|
+
case 3:
|
2187
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2188
|
+
msg.setDepositStatic(value);
|
2189
|
+
break;
|
2190
|
+
case 4:
|
2191
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2192
|
+
msg.setDepositPercentage(value);
|
2193
|
+
break;
|
2194
|
+
case 5:
|
2195
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2196
|
+
msg.setCoins(value);
|
2197
|
+
break;
|
2198
|
+
case 6:
|
2199
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2200
|
+
msg.setLoyalty(value);
|
2201
|
+
break;
|
2202
|
+
case 7:
|
2203
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2204
|
+
msg.setRanking(value);
|
2205
|
+
break;
|
2206
|
+
case 8:
|
2207
|
+
var value = /** @type {string} */ (reader.readString());
|
2208
|
+
msg.setFreeSpinsConfig(value);
|
2209
|
+
break;
|
2210
|
+
default:
|
2211
|
+
reader.skipField();
|
2212
|
+
break;
|
2213
|
+
}
|
2214
|
+
}
|
2215
|
+
return msg;
|
2216
|
+
};
|
2217
|
+
|
2218
|
+
|
2219
|
+
/**
|
2220
|
+
* Serializes the message to binary data (in protobuf wire format).
|
2221
|
+
* @return {!Uint8Array}
|
2222
|
+
*/
|
2223
|
+
proto.bonus.BonusRewardsRequest.prototype.serializeBinary = function() {
|
2224
|
+
var writer = new jspb.BinaryWriter();
|
2225
|
+
proto.bonus.BonusRewardsRequest.serializeBinaryToWriter(this, writer);
|
2226
|
+
return writer.getResultBuffer();
|
2227
|
+
};
|
2228
|
+
|
2229
|
+
|
2230
|
+
/**
|
2231
|
+
* Serializes the given message to binary data (in protobuf wire
|
2232
|
+
* format), writing to the given BinaryWriter.
|
2233
|
+
* @param {!proto.bonus.BonusRewardsRequest} message
|
2234
|
+
* @param {!jspb.BinaryWriter} writer
|
2235
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
2236
|
+
*/
|
2237
|
+
proto.bonus.BonusRewardsRequest.serializeBinaryToWriter = function(message, writer) {
|
2238
|
+
var f = undefined;
|
2239
|
+
f = message.getBonusId();
|
2240
|
+
if (f !== 0) {
|
2241
|
+
writer.writeInt32(
|
2242
|
+
1,
|
2243
|
+
f
|
2244
|
+
);
|
2245
|
+
}
|
2246
|
+
f = message.getCurrency();
|
2247
|
+
if (f.length > 0) {
|
2248
|
+
writer.writeString(
|
2249
|
+
2,
|
2250
|
+
f
|
2251
|
+
);
|
2252
|
+
}
|
2253
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
2254
|
+
if (f != null) {
|
2255
|
+
writer.writeFloat(
|
2256
|
+
3,
|
2257
|
+
f
|
2258
|
+
);
|
2259
|
+
}
|
2260
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
2261
|
+
if (f != null) {
|
2262
|
+
writer.writeFloat(
|
2263
|
+
4,
|
2264
|
+
f
|
2265
|
+
);
|
2266
|
+
}
|
2267
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
2268
|
+
if (f != null) {
|
2269
|
+
writer.writeFloat(
|
2270
|
+
5,
|
2271
|
+
f
|
2272
|
+
);
|
2273
|
+
}
|
2274
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
2275
|
+
if (f != null) {
|
2276
|
+
writer.writeFloat(
|
2277
|
+
6,
|
2278
|
+
f
|
2279
|
+
);
|
2280
|
+
}
|
2281
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
2282
|
+
if (f != null) {
|
2283
|
+
writer.writeFloat(
|
2284
|
+
7,
|
2285
|
+
f
|
2286
|
+
);
|
2287
|
+
}
|
2288
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
2289
|
+
if (f != null) {
|
2290
|
+
writer.writeString(
|
2291
|
+
8,
|
2292
|
+
f
|
2293
|
+
);
|
2294
|
+
}
|
2295
|
+
};
|
2296
|
+
|
2297
|
+
|
2298
|
+
/**
|
2299
|
+
* optional int32 bonus_id = 1;
|
2300
|
+
* @return {number}
|
2301
|
+
*/
|
2302
|
+
proto.bonus.BonusRewardsRequest.prototype.getBonusId = function() {
|
2303
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
2304
|
+
};
|
2305
|
+
|
2306
|
+
|
2307
|
+
/**
|
2308
|
+
* @param {number} value
|
2309
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2310
|
+
*/
|
2311
|
+
proto.bonus.BonusRewardsRequest.prototype.setBonusId = function(value) {
|
2312
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
2313
|
+
};
|
2314
|
+
|
2315
|
+
|
2316
|
+
/**
|
2317
|
+
* optional string currency = 2;
|
2318
|
+
* @return {string}
|
2319
|
+
*/
|
2320
|
+
proto.bonus.BonusRewardsRequest.prototype.getCurrency = function() {
|
2321
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
2322
|
+
};
|
2323
|
+
|
2324
|
+
|
2325
|
+
/**
|
2326
|
+
* @param {string} value
|
2327
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2328
|
+
*/
|
2329
|
+
proto.bonus.BonusRewardsRequest.prototype.setCurrency = function(value) {
|
2330
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
2331
|
+
};
|
2332
|
+
|
2333
|
+
|
2334
|
+
/**
|
2335
|
+
* optional float deposit_static = 3;
|
2336
|
+
* @return {number}
|
2337
|
+
*/
|
2338
|
+
proto.bonus.BonusRewardsRequest.prototype.getDepositStatic = function() {
|
2339
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
2340
|
+
};
|
2341
|
+
|
2342
|
+
|
2343
|
+
/**
|
2344
|
+
* @param {number} value
|
2345
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2346
|
+
*/
|
2347
|
+
proto.bonus.BonusRewardsRequest.prototype.setDepositStatic = function(value) {
|
2348
|
+
return jspb.Message.setField(this, 3, value);
|
2349
|
+
};
|
2350
|
+
|
2351
|
+
|
2352
|
+
/**
|
2353
|
+
* Clears the field making it undefined.
|
2354
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2355
|
+
*/
|
2356
|
+
proto.bonus.BonusRewardsRequest.prototype.clearDepositStatic = function() {
|
2357
|
+
return jspb.Message.setField(this, 3, undefined);
|
2358
|
+
};
|
2359
|
+
|
2360
|
+
|
2361
|
+
/**
|
2362
|
+
* Returns whether this field is set.
|
2363
|
+
* @return {boolean}
|
2364
|
+
*/
|
2365
|
+
proto.bonus.BonusRewardsRequest.prototype.hasDepositStatic = function() {
|
2366
|
+
return jspb.Message.getField(this, 3) != null;
|
2367
|
+
};
|
2368
|
+
|
2369
|
+
|
2370
|
+
/**
|
2371
|
+
* optional float deposit_percentage = 4;
|
2372
|
+
* @return {number}
|
2373
|
+
*/
|
2374
|
+
proto.bonus.BonusRewardsRequest.prototype.getDepositPercentage = function() {
|
2375
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
2376
|
+
};
|
2377
|
+
|
2378
|
+
|
2379
|
+
/**
|
2380
|
+
* @param {number} value
|
2381
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2382
|
+
*/
|
2383
|
+
proto.bonus.BonusRewardsRequest.prototype.setDepositPercentage = function(value) {
|
2384
|
+
return jspb.Message.setField(this, 4, value);
|
2385
|
+
};
|
2386
|
+
|
2387
|
+
|
2388
|
+
/**
|
2389
|
+
* Clears the field making it undefined.
|
2390
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2391
|
+
*/
|
2392
|
+
proto.bonus.BonusRewardsRequest.prototype.clearDepositPercentage = function() {
|
2393
|
+
return jspb.Message.setField(this, 4, undefined);
|
2394
|
+
};
|
2395
|
+
|
2396
|
+
|
2397
|
+
/**
|
2398
|
+
* Returns whether this field is set.
|
2399
|
+
* @return {boolean}
|
2400
|
+
*/
|
2401
|
+
proto.bonus.BonusRewardsRequest.prototype.hasDepositPercentage = function() {
|
2402
|
+
return jspb.Message.getField(this, 4) != null;
|
2403
|
+
};
|
2404
|
+
|
2405
|
+
|
2406
|
+
/**
|
2407
|
+
* optional float coins = 5;
|
2408
|
+
* @return {number}
|
2409
|
+
*/
|
2410
|
+
proto.bonus.BonusRewardsRequest.prototype.getCoins = function() {
|
2411
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
2412
|
+
};
|
2413
|
+
|
2414
|
+
|
2415
|
+
/**
|
2416
|
+
* @param {number} value
|
2417
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2418
|
+
*/
|
2419
|
+
proto.bonus.BonusRewardsRequest.prototype.setCoins = function(value) {
|
2420
|
+
return jspb.Message.setField(this, 5, value);
|
2421
|
+
};
|
2422
|
+
|
2423
|
+
|
2424
|
+
/**
|
2425
|
+
* Clears the field making it undefined.
|
2426
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2427
|
+
*/
|
2428
|
+
proto.bonus.BonusRewardsRequest.prototype.clearCoins = function() {
|
2429
|
+
return jspb.Message.setField(this, 5, undefined);
|
2430
|
+
};
|
2431
|
+
|
2432
|
+
|
2433
|
+
/**
|
2434
|
+
* Returns whether this field is set.
|
2435
|
+
* @return {boolean}
|
2436
|
+
*/
|
2437
|
+
proto.bonus.BonusRewardsRequest.prototype.hasCoins = function() {
|
2438
|
+
return jspb.Message.getField(this, 5) != null;
|
2439
|
+
};
|
2440
|
+
|
2441
|
+
|
2442
|
+
/**
|
2443
|
+
* optional float loyalty = 6;
|
2444
|
+
* @return {number}
|
2445
|
+
*/
|
2446
|
+
proto.bonus.BonusRewardsRequest.prototype.getLoyalty = function() {
|
2447
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
2448
|
+
};
|
2449
|
+
|
2450
|
+
|
2451
|
+
/**
|
2452
|
+
* @param {number} value
|
2453
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2454
|
+
*/
|
2455
|
+
proto.bonus.BonusRewardsRequest.prototype.setLoyalty = function(value) {
|
2456
|
+
return jspb.Message.setField(this, 6, value);
|
2457
|
+
};
|
2458
|
+
|
2459
|
+
|
2460
|
+
/**
|
2461
|
+
* Clears the field making it undefined.
|
2462
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2463
|
+
*/
|
2464
|
+
proto.bonus.BonusRewardsRequest.prototype.clearLoyalty = function() {
|
2465
|
+
return jspb.Message.setField(this, 6, undefined);
|
2466
|
+
};
|
2467
|
+
|
2468
|
+
|
2469
|
+
/**
|
2470
|
+
* Returns whether this field is set.
|
2471
|
+
* @return {boolean}
|
2472
|
+
*/
|
2473
|
+
proto.bonus.BonusRewardsRequest.prototype.hasLoyalty = function() {
|
2474
|
+
return jspb.Message.getField(this, 6) != null;
|
2475
|
+
};
|
2476
|
+
|
2477
|
+
|
2478
|
+
/**
|
2479
|
+
* optional float ranking = 7;
|
2480
|
+
* @return {number}
|
2481
|
+
*/
|
2482
|
+
proto.bonus.BonusRewardsRequest.prototype.getRanking = function() {
|
2483
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
2484
|
+
};
|
2485
|
+
|
2486
|
+
|
2487
|
+
/**
|
2488
|
+
* @param {number} value
|
2489
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2490
|
+
*/
|
2491
|
+
proto.bonus.BonusRewardsRequest.prototype.setRanking = function(value) {
|
2492
|
+
return jspb.Message.setField(this, 7, value);
|
2493
|
+
};
|
2494
|
+
|
2495
|
+
|
2496
|
+
/**
|
2497
|
+
* Clears the field making it undefined.
|
2498
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2499
|
+
*/
|
2500
|
+
proto.bonus.BonusRewardsRequest.prototype.clearRanking = function() {
|
2501
|
+
return jspb.Message.setField(this, 7, undefined);
|
2502
|
+
};
|
2503
|
+
|
2504
|
+
|
2505
|
+
/**
|
2506
|
+
* Returns whether this field is set.
|
2507
|
+
* @return {boolean}
|
2508
|
+
*/
|
2509
|
+
proto.bonus.BonusRewardsRequest.prototype.hasRanking = function() {
|
2510
|
+
return jspb.Message.getField(this, 7) != null;
|
2511
|
+
};
|
2512
|
+
|
2513
|
+
|
2514
|
+
/**
|
2515
|
+
* optional string free_spins_config = 8;
|
2516
|
+
* @return {string}
|
2517
|
+
*/
|
2518
|
+
proto.bonus.BonusRewardsRequest.prototype.getFreeSpinsConfig = function() {
|
2519
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
2520
|
+
};
|
2521
|
+
|
2522
|
+
|
2523
|
+
/**
|
2524
|
+
* @param {string} value
|
2525
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2526
|
+
*/
|
2527
|
+
proto.bonus.BonusRewardsRequest.prototype.setFreeSpinsConfig = function(value) {
|
2528
|
+
return jspb.Message.setField(this, 8, value);
|
2529
|
+
};
|
2530
|
+
|
2531
|
+
|
2532
|
+
/**
|
2533
|
+
* Clears the field making it undefined.
|
2534
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2535
|
+
*/
|
2536
|
+
proto.bonus.BonusRewardsRequest.prototype.clearFreeSpinsConfig = function() {
|
2537
|
+
return jspb.Message.setField(this, 8, undefined);
|
2538
|
+
};
|
2539
|
+
|
2540
|
+
|
2541
|
+
/**
|
2542
|
+
* Returns whether this field is set.
|
2543
|
+
* @return {boolean}
|
2544
|
+
*/
|
2545
|
+
proto.bonus.BonusRewardsRequest.prototype.hasFreeSpinsConfig = function() {
|
2546
|
+
return jspb.Message.getField(this, 8) != null;
|
2547
|
+
};
|
2548
|
+
|
2549
|
+
|
2550
|
+
|
2551
|
+
|
2552
|
+
|
2553
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
2554
|
+
/**
|
2555
|
+
* Creates an object representation of this proto.
|
2556
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
2557
|
+
* Optional fields that are not set will be set to undefined.
|
2558
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
2559
|
+
* For the list of reserved names please see:
|
2560
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
2561
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
2562
|
+
* JSPB instance for transitional soy proto support:
|
2563
|
+
* http://goto/soy-param-migration
|
2564
|
+
* @return {!Object}
|
2565
|
+
*/
|
2566
|
+
proto.bonus.BonusBetRangesRequest.prototype.toObject = function(opt_includeInstance) {
|
2567
|
+
return proto.bonus.BonusBetRangesRequest.toObject(opt_includeInstance, this);
|
2568
|
+
};
|
2569
|
+
|
2570
|
+
|
2571
|
+
/**
|
2572
|
+
* Static version of the {@see toObject} method.
|
2573
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
2574
|
+
* the JSPB instance for transitional soy proto support:
|
2575
|
+
* http://goto/soy-param-migration
|
2576
|
+
* @param {!proto.bonus.BonusBetRangesRequest} msg The msg instance to transform.
|
2577
|
+
* @return {!Object}
|
2578
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
2579
|
+
*/
|
2580
|
+
proto.bonus.BonusBetRangesRequest.toObject = function(includeInstance, msg) {
|
2581
|
+
var f, obj = {
|
2582
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
2583
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
2584
|
+
min: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
2585
|
+
max: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
2586
|
+
};
|
2587
|
+
|
2588
|
+
if (includeInstance) {
|
2589
|
+
obj.$jspbMessageInstance = msg;
|
2590
|
+
}
|
2591
|
+
return obj;
|
2592
|
+
};
|
2593
|
+
}
|
2594
|
+
|
2595
|
+
|
2596
|
+
/**
|
2597
|
+
* Deserializes binary data (in protobuf wire format).
|
2598
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
2599
|
+
* @return {!proto.bonus.BonusBetRangesRequest}
|
2600
|
+
*/
|
2601
|
+
proto.bonus.BonusBetRangesRequest.deserializeBinary = function(bytes) {
|
2602
|
+
var reader = new jspb.BinaryReader(bytes);
|
2603
|
+
var msg = new proto.bonus.BonusBetRangesRequest;
|
2604
|
+
return proto.bonus.BonusBetRangesRequest.deserializeBinaryFromReader(msg, reader);
|
2605
|
+
};
|
2606
|
+
|
2607
|
+
|
2608
|
+
/**
|
2609
|
+
* Deserializes binary data (in protobuf wire format) from the
|
2610
|
+
* given reader into the given message object.
|
2611
|
+
* @param {!proto.bonus.BonusBetRangesRequest} msg The message object to deserialize into.
|
2612
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
2613
|
+
* @return {!proto.bonus.BonusBetRangesRequest}
|
2614
|
+
*/
|
2615
|
+
proto.bonus.BonusBetRangesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
2616
|
+
while (reader.nextField()) {
|
2617
|
+
if (reader.isEndGroup()) {
|
2618
|
+
break;
|
2619
|
+
}
|
2620
|
+
var field = reader.getFieldNumber();
|
2621
|
+
switch (field) {
|
2622
|
+
case 1:
|
2623
|
+
var value = /** @type {number} */ (reader.readInt32());
|
2624
|
+
msg.setBonusId(value);
|
2625
|
+
break;
|
2626
|
+
case 2:
|
2627
|
+
var value = /** @type {string} */ (reader.readString());
|
2628
|
+
msg.setCurrency(value);
|
2629
|
+
break;
|
2630
|
+
case 3:
|
2631
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2632
|
+
msg.setMin(value);
|
2633
|
+
break;
|
2634
|
+
case 4:
|
2635
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2636
|
+
msg.setMax(value);
|
2637
|
+
break;
|
2638
|
+
default:
|
2639
|
+
reader.skipField();
|
2640
|
+
break;
|
2641
|
+
}
|
2642
|
+
}
|
2643
|
+
return msg;
|
2644
|
+
};
|
2645
|
+
|
2646
|
+
|
2647
|
+
/**
|
2648
|
+
* Serializes the message to binary data (in protobuf wire format).
|
2649
|
+
* @return {!Uint8Array}
|
2650
|
+
*/
|
2651
|
+
proto.bonus.BonusBetRangesRequest.prototype.serializeBinary = function() {
|
1480
2652
|
var writer = new jspb.BinaryWriter();
|
1481
|
-
proto.bonus.
|
2653
|
+
proto.bonus.BonusBetRangesRequest.serializeBinaryToWriter(this, writer);
|
1482
2654
|
return writer.getResultBuffer();
|
1483
2655
|
};
|
1484
2656
|
|
@@ -1486,56 +2658,103 @@ proto.bonus.BonusRequest.prototype.serializeBinary = function() {
|
|
1486
2658
|
/**
|
1487
2659
|
* Serializes the given message to binary data (in protobuf wire
|
1488
2660
|
* format), writing to the given BinaryWriter.
|
1489
|
-
* @param {!proto.bonus.
|
2661
|
+
* @param {!proto.bonus.BonusBetRangesRequest} message
|
1490
2662
|
* @param {!jspb.BinaryWriter} writer
|
1491
2663
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1492
2664
|
*/
|
1493
|
-
proto.bonus.
|
2665
|
+
proto.bonus.BonusBetRangesRequest.serializeBinaryToWriter = function(message, writer) {
|
1494
2666
|
var f = undefined;
|
1495
|
-
f = message.
|
1496
|
-
if (f
|
1497
|
-
writer.
|
2667
|
+
f = message.getBonusId();
|
2668
|
+
if (f !== 0) {
|
2669
|
+
writer.writeInt32(
|
1498
2670
|
1,
|
1499
|
-
f
|
1500
|
-
proto.bonus.BonusItemRequest.serializeBinaryToWriter
|
2671
|
+
f
|
1501
2672
|
);
|
1502
2673
|
}
|
1503
|
-
f = message.
|
1504
|
-
if (f
|
1505
|
-
writer.
|
2674
|
+
f = message.getCurrency();
|
2675
|
+
if (f.length > 0) {
|
2676
|
+
writer.writeString(
|
1506
2677
|
2,
|
1507
|
-
f
|
1508
|
-
|
2678
|
+
f
|
2679
|
+
);
|
2680
|
+
}
|
2681
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
2682
|
+
if (f != null) {
|
2683
|
+
writer.writeFloat(
|
2684
|
+
3,
|
2685
|
+
f
|
2686
|
+
);
|
2687
|
+
}
|
2688
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
2689
|
+
if (f != null) {
|
2690
|
+
writer.writeFloat(
|
2691
|
+
4,
|
2692
|
+
f
|
1509
2693
|
);
|
1510
2694
|
}
|
1511
2695
|
};
|
1512
2696
|
|
1513
2697
|
|
1514
2698
|
/**
|
1515
|
-
* optional
|
1516
|
-
* @return {
|
2699
|
+
* optional int32 bonus_id = 1;
|
2700
|
+
* @return {number}
|
1517
2701
|
*/
|
1518
|
-
proto.bonus.
|
1519
|
-
return /** @type{
|
1520
|
-
jspb.Message.getWrapperField(this, proto.bonus.BonusItemRequest, 1));
|
2702
|
+
proto.bonus.BonusBetRangesRequest.prototype.getBonusId = function() {
|
2703
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
1521
2704
|
};
|
1522
2705
|
|
1523
2706
|
|
1524
2707
|
/**
|
1525
|
-
* @param {
|
1526
|
-
* @return {!proto.bonus.
|
1527
|
-
*/
|
1528
|
-
proto.bonus.
|
1529
|
-
return jspb.Message.
|
2708
|
+
* @param {number} value
|
2709
|
+
* @return {!proto.bonus.BonusBetRangesRequest} returns this
|
2710
|
+
*/
|
2711
|
+
proto.bonus.BonusBetRangesRequest.prototype.setBonusId = function(value) {
|
2712
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
1530
2713
|
};
|
1531
2714
|
|
1532
2715
|
|
1533
2716
|
/**
|
1534
|
-
*
|
1535
|
-
* @return {
|
2717
|
+
* optional string currency = 2;
|
2718
|
+
* @return {string}
|
1536
2719
|
*/
|
1537
|
-
proto.bonus.
|
1538
|
-
return
|
2720
|
+
proto.bonus.BonusBetRangesRequest.prototype.getCurrency = function() {
|
2721
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
2722
|
+
};
|
2723
|
+
|
2724
|
+
|
2725
|
+
/**
|
2726
|
+
* @param {string} value
|
2727
|
+
* @return {!proto.bonus.BonusBetRangesRequest} returns this
|
2728
|
+
*/
|
2729
|
+
proto.bonus.BonusBetRangesRequest.prototype.setCurrency = function(value) {
|
2730
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
2731
|
+
};
|
2732
|
+
|
2733
|
+
|
2734
|
+
/**
|
2735
|
+
* optional float min = 3;
|
2736
|
+
* @return {number}
|
2737
|
+
*/
|
2738
|
+
proto.bonus.BonusBetRangesRequest.prototype.getMin = function() {
|
2739
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
2740
|
+
};
|
2741
|
+
|
2742
|
+
|
2743
|
+
/**
|
2744
|
+
* @param {number} value
|
2745
|
+
* @return {!proto.bonus.BonusBetRangesRequest} returns this
|
2746
|
+
*/
|
2747
|
+
proto.bonus.BonusBetRangesRequest.prototype.setMin = function(value) {
|
2748
|
+
return jspb.Message.setField(this, 3, value);
|
2749
|
+
};
|
2750
|
+
|
2751
|
+
|
2752
|
+
/**
|
2753
|
+
* Clears the field making it undefined.
|
2754
|
+
* @return {!proto.bonus.BonusBetRangesRequest} returns this
|
2755
|
+
*/
|
2756
|
+
proto.bonus.BonusBetRangesRequest.prototype.clearMin = function() {
|
2757
|
+
return jspb.Message.setField(this, 3, undefined);
|
1539
2758
|
};
|
1540
2759
|
|
1541
2760
|
|
@@ -1543,36 +2762,35 @@ proto.bonus.BonusRequest.prototype.clearBonusData = function() {
|
|
1543
2762
|
* Returns whether this field is set.
|
1544
2763
|
* @return {boolean}
|
1545
2764
|
*/
|
1546
|
-
proto.bonus.
|
1547
|
-
return jspb.Message.getField(this,
|
2765
|
+
proto.bonus.BonusBetRangesRequest.prototype.hasMin = function() {
|
2766
|
+
return jspb.Message.getField(this, 3) != null;
|
1548
2767
|
};
|
1549
2768
|
|
1550
2769
|
|
1551
2770
|
/**
|
1552
|
-
* optional
|
1553
|
-
* @return {
|
2771
|
+
* optional float max = 4;
|
2772
|
+
* @return {number}
|
1554
2773
|
*/
|
1555
|
-
proto.bonus.
|
1556
|
-
return /** @type{
|
1557
|
-
jspb.Message.getWrapperField(this, proto.bonus.File, 2));
|
2774
|
+
proto.bonus.BonusBetRangesRequest.prototype.getMax = function() {
|
2775
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
1558
2776
|
};
|
1559
2777
|
|
1560
2778
|
|
1561
2779
|
/**
|
1562
|
-
* @param {
|
1563
|
-
* @return {!proto.bonus.
|
1564
|
-
*/
|
1565
|
-
proto.bonus.
|
1566
|
-
return jspb.Message.
|
2780
|
+
* @param {number} value
|
2781
|
+
* @return {!proto.bonus.BonusBetRangesRequest} returns this
|
2782
|
+
*/
|
2783
|
+
proto.bonus.BonusBetRangesRequest.prototype.setMax = function(value) {
|
2784
|
+
return jspb.Message.setField(this, 4, value);
|
1567
2785
|
};
|
1568
2786
|
|
1569
2787
|
|
1570
2788
|
/**
|
1571
|
-
* Clears the
|
1572
|
-
* @return {!proto.bonus.
|
2789
|
+
* Clears the field making it undefined.
|
2790
|
+
* @return {!proto.bonus.BonusBetRangesRequest} returns this
|
1573
2791
|
*/
|
1574
|
-
proto.bonus.
|
1575
|
-
return
|
2792
|
+
proto.bonus.BonusBetRangesRequest.prototype.clearMax = function() {
|
2793
|
+
return jspb.Message.setField(this, 4, undefined);
|
1576
2794
|
};
|
1577
2795
|
|
1578
2796
|
|
@@ -1580,8 +2798,8 @@ proto.bonus.BonusRequest.prototype.clearFile = function() {
|
|
1580
2798
|
* Returns whether this field is set.
|
1581
2799
|
* @return {boolean}
|
1582
2800
|
*/
|
1583
|
-
proto.bonus.
|
1584
|
-
return jspb.Message.getField(this,
|
2801
|
+
proto.bonus.BonusBetRangesRequest.prototype.hasMax = function() {
|
2802
|
+
return jspb.Message.getField(this, 4) != null;
|
1585
2803
|
};
|
1586
2804
|
|
1587
2805
|
|
@@ -2192,13 +3410,6 @@ proto.bonus.BetsRange.prototype.setMax = function(value) {
|
|
2192
3410
|
|
2193
3411
|
|
2194
3412
|
|
2195
|
-
/**
|
2196
|
-
* List of repeated fields within this message type.
|
2197
|
-
* @private {!Array<number>}
|
2198
|
-
* @const
|
2199
|
-
*/
|
2200
|
-
proto.bonus.BonusItemRequest.repeatedFields_ = [20,21,22];
|
2201
|
-
|
2202
3413
|
|
2203
3414
|
|
2204
3415
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -2248,13 +3459,7 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
|
|
2248
3459
|
showPreviousAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
2249
3460
|
claimPeriodInHours: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
2250
3461
|
activationPeriodInHours: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
2251
|
-
wageringPeriodInHours: jspb.Message.getFieldWithDefault(msg, 19, 0)
|
2252
|
-
activationRulesList: jspb.Message.toObjectList(msg.getActivationRulesList(),
|
2253
|
-
proto.bonus.ActivationRule.toObject, includeInstance),
|
2254
|
-
rewardsList: jspb.Message.toObjectList(msg.getRewardsList(),
|
2255
|
-
proto.bonus.BonusReward.toObject, includeInstance),
|
2256
|
-
betsRangeList: jspb.Message.toObjectList(msg.getBetsRangeList(),
|
2257
|
-
proto.bonus.BetsRange.toObject, includeInstance)
|
3462
|
+
wageringPeriodInHours: jspb.Message.getFieldWithDefault(msg, 19, 0)
|
2258
3463
|
};
|
2259
3464
|
|
2260
3465
|
if (includeInstance) {
|
@@ -2367,21 +3572,6 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
2367
3572
|
var value = /** @type {number} */ (reader.readInt32());
|
2368
3573
|
msg.setWageringPeriodInHours(value);
|
2369
3574
|
break;
|
2370
|
-
case 20:
|
2371
|
-
var value = new proto.bonus.ActivationRule;
|
2372
|
-
reader.readMessage(value,proto.bonus.ActivationRule.deserializeBinaryFromReader);
|
2373
|
-
msg.addActivationRules(value);
|
2374
|
-
break;
|
2375
|
-
case 21:
|
2376
|
-
var value = new proto.bonus.BonusReward;
|
2377
|
-
reader.readMessage(value,proto.bonus.BonusReward.deserializeBinaryFromReader);
|
2378
|
-
msg.addRewards(value);
|
2379
|
-
break;
|
2380
|
-
case 22:
|
2381
|
-
var value = new proto.bonus.BetsRange;
|
2382
|
-
reader.readMessage(value,proto.bonus.BetsRange.deserializeBinaryFromReader);
|
2383
|
-
msg.addBetsRange(value);
|
2384
|
-
break;
|
2385
3575
|
default:
|
2386
3576
|
reader.skipField();
|
2387
3577
|
break;
|
@@ -2544,30 +3734,6 @@ proto.bonus.BonusItemRequest.serializeBinaryToWriter = function(message, writer)
|
|
2544
3734
|
f
|
2545
3735
|
);
|
2546
3736
|
}
|
2547
|
-
f = message.getActivationRulesList();
|
2548
|
-
if (f.length > 0) {
|
2549
|
-
writer.writeRepeatedMessage(
|
2550
|
-
20,
|
2551
|
-
f,
|
2552
|
-
proto.bonus.ActivationRule.serializeBinaryToWriter
|
2553
|
-
);
|
2554
|
-
}
|
2555
|
-
f = message.getRewardsList();
|
2556
|
-
if (f.length > 0) {
|
2557
|
-
writer.writeRepeatedMessage(
|
2558
|
-
21,
|
2559
|
-
f,
|
2560
|
-
proto.bonus.BonusReward.serializeBinaryToWriter
|
2561
|
-
);
|
2562
|
-
}
|
2563
|
-
f = message.getBetsRangeList();
|
2564
|
-
if (f.length > 0) {
|
2565
|
-
writer.writeRepeatedMessage(
|
2566
|
-
22,
|
2567
|
-
f,
|
2568
|
-
proto.bonus.BetsRange.serializeBinaryToWriter
|
2569
|
-
);
|
2570
|
-
}
|
2571
3737
|
};
|
2572
3738
|
|
2573
3739
|
|
@@ -3255,120 +4421,6 @@ proto.bonus.BonusItemRequest.prototype.hasWageringPeriodInHours = function() {
|
|
3255
4421
|
};
|
3256
4422
|
|
3257
4423
|
|
3258
|
-
/**
|
3259
|
-
* repeated ActivationRule activation_rules = 20;
|
3260
|
-
* @return {!Array<!proto.bonus.ActivationRule>}
|
3261
|
-
*/
|
3262
|
-
proto.bonus.BonusItemRequest.prototype.getActivationRulesList = function() {
|
3263
|
-
return /** @type{!Array<!proto.bonus.ActivationRule>} */ (
|
3264
|
-
jspb.Message.getRepeatedWrapperField(this, proto.bonus.ActivationRule, 20));
|
3265
|
-
};
|
3266
|
-
|
3267
|
-
|
3268
|
-
/**
|
3269
|
-
* @param {!Array<!proto.bonus.ActivationRule>} value
|
3270
|
-
* @return {!proto.bonus.BonusItemRequest} returns this
|
3271
|
-
*/
|
3272
|
-
proto.bonus.BonusItemRequest.prototype.setActivationRulesList = function(value) {
|
3273
|
-
return jspb.Message.setRepeatedWrapperField(this, 20, value);
|
3274
|
-
};
|
3275
|
-
|
3276
|
-
|
3277
|
-
/**
|
3278
|
-
* @param {!proto.bonus.ActivationRule=} opt_value
|
3279
|
-
* @param {number=} opt_index
|
3280
|
-
* @return {!proto.bonus.ActivationRule}
|
3281
|
-
*/
|
3282
|
-
proto.bonus.BonusItemRequest.prototype.addActivationRules = function(opt_value, opt_index) {
|
3283
|
-
return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.bonus.ActivationRule, opt_index);
|
3284
|
-
};
|
3285
|
-
|
3286
|
-
|
3287
|
-
/**
|
3288
|
-
* Clears the list making it empty but non-null.
|
3289
|
-
* @return {!proto.bonus.BonusItemRequest} returns this
|
3290
|
-
*/
|
3291
|
-
proto.bonus.BonusItemRequest.prototype.clearActivationRulesList = function() {
|
3292
|
-
return this.setActivationRulesList([]);
|
3293
|
-
};
|
3294
|
-
|
3295
|
-
|
3296
|
-
/**
|
3297
|
-
* repeated BonusReward rewards = 21;
|
3298
|
-
* @return {!Array<!proto.bonus.BonusReward>}
|
3299
|
-
*/
|
3300
|
-
proto.bonus.BonusItemRequest.prototype.getRewardsList = function() {
|
3301
|
-
return /** @type{!Array<!proto.bonus.BonusReward>} */ (
|
3302
|
-
jspb.Message.getRepeatedWrapperField(this, proto.bonus.BonusReward, 21));
|
3303
|
-
};
|
3304
|
-
|
3305
|
-
|
3306
|
-
/**
|
3307
|
-
* @param {!Array<!proto.bonus.BonusReward>} value
|
3308
|
-
* @return {!proto.bonus.BonusItemRequest} returns this
|
3309
|
-
*/
|
3310
|
-
proto.bonus.BonusItemRequest.prototype.setRewardsList = function(value) {
|
3311
|
-
return jspb.Message.setRepeatedWrapperField(this, 21, value);
|
3312
|
-
};
|
3313
|
-
|
3314
|
-
|
3315
|
-
/**
|
3316
|
-
* @param {!proto.bonus.BonusReward=} opt_value
|
3317
|
-
* @param {number=} opt_index
|
3318
|
-
* @return {!proto.bonus.BonusReward}
|
3319
|
-
*/
|
3320
|
-
proto.bonus.BonusItemRequest.prototype.addRewards = function(opt_value, opt_index) {
|
3321
|
-
return jspb.Message.addToRepeatedWrapperField(this, 21, opt_value, proto.bonus.BonusReward, opt_index);
|
3322
|
-
};
|
3323
|
-
|
3324
|
-
|
3325
|
-
/**
|
3326
|
-
* Clears the list making it empty but non-null.
|
3327
|
-
* @return {!proto.bonus.BonusItemRequest} returns this
|
3328
|
-
*/
|
3329
|
-
proto.bonus.BonusItemRequest.prototype.clearRewardsList = function() {
|
3330
|
-
return this.setRewardsList([]);
|
3331
|
-
};
|
3332
|
-
|
3333
|
-
|
3334
|
-
/**
|
3335
|
-
* repeated BetsRange bets_range = 22;
|
3336
|
-
* @return {!Array<!proto.bonus.BetsRange>}
|
3337
|
-
*/
|
3338
|
-
proto.bonus.BonusItemRequest.prototype.getBetsRangeList = function() {
|
3339
|
-
return /** @type{!Array<!proto.bonus.BetsRange>} */ (
|
3340
|
-
jspb.Message.getRepeatedWrapperField(this, proto.bonus.BetsRange, 22));
|
3341
|
-
};
|
3342
|
-
|
3343
|
-
|
3344
|
-
/**
|
3345
|
-
* @param {!Array<!proto.bonus.BetsRange>} value
|
3346
|
-
* @return {!proto.bonus.BonusItemRequest} returns this
|
3347
|
-
*/
|
3348
|
-
proto.bonus.BonusItemRequest.prototype.setBetsRangeList = function(value) {
|
3349
|
-
return jspb.Message.setRepeatedWrapperField(this, 22, value);
|
3350
|
-
};
|
3351
|
-
|
3352
|
-
|
3353
|
-
/**
|
3354
|
-
* @param {!proto.bonus.BetsRange=} opt_value
|
3355
|
-
* @param {number=} opt_index
|
3356
|
-
* @return {!proto.bonus.BetsRange}
|
3357
|
-
*/
|
3358
|
-
proto.bonus.BonusItemRequest.prototype.addBetsRange = function(opt_value, opt_index) {
|
3359
|
-
return jspb.Message.addToRepeatedWrapperField(this, 22, opt_value, proto.bonus.BetsRange, opt_index);
|
3360
|
-
};
|
3361
|
-
|
3362
|
-
|
3363
|
-
/**
|
3364
|
-
* Clears the list making it empty but non-null.
|
3365
|
-
* @return {!proto.bonus.BonusItemRequest} returns this
|
3366
|
-
*/
|
3367
|
-
proto.bonus.BonusItemRequest.prototype.clearBetsRangeList = function() {
|
3368
|
-
return this.setBetsRangeList([]);
|
3369
|
-
};
|
3370
|
-
|
3371
|
-
|
3372
4424
|
|
3373
4425
|
|
3374
4426
|
|