protobuf-platform 1.2.284 → 1.2.286
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 +8 -0
- package/bonus/bonus_pb.js +292 -4
- package/package.json +1 -1
- package/sport/sport.proto +43 -0
- package/sport/sport_grpc_pb.js +101 -0
- package/sport/sport_pb.js +2101 -681
package/sport/sport_pb.js
CHANGED
|
@@ -21,11 +21,18 @@ var global = (function() {
|
|
|
21
21
|
return Function('return this')();
|
|
22
22
|
}.call(null));
|
|
23
23
|
|
|
24
|
+
goog.exportSymbol('proto.sport.FreebetIssueItem', null, global);
|
|
25
|
+
goog.exportSymbol('proto.sport.GetBetbyFreebetTemplatesRequest', null, global);
|
|
26
|
+
goog.exportSymbol('proto.sport.GetBetbyFreebetTemplatesResponse', null, global);
|
|
27
|
+
goog.exportSymbol('proto.sport.IssueBetbyFreebetsRequest', null, global);
|
|
28
|
+
goog.exportSymbol('proto.sport.IssueBetbyFreebetsResponse', null, global);
|
|
24
29
|
goog.exportSymbol('proto.sport.LaunchBetbyRequest', null, global);
|
|
25
30
|
goog.exportSymbol('proto.sport.LaunchBetbyResponse', null, global);
|
|
26
31
|
goog.exportSymbol('proto.sport.PaginationRequest', null, global);
|
|
27
32
|
goog.exportSymbol('proto.sport.PingRequest', null, global);
|
|
28
33
|
goog.exportSymbol('proto.sport.PongResponse', null, global);
|
|
34
|
+
goog.exportSymbol('proto.sport.RefreshBetbyTokenRequest', null, global);
|
|
35
|
+
goog.exportSymbol('proto.sport.RefreshBetbyTokenResponse', null, global);
|
|
29
36
|
goog.exportSymbol('proto.sport.SportCategoriesIds', null, global);
|
|
30
37
|
goog.exportSymbol('proto.sport.SportCategoriesResponse', null, global);
|
|
31
38
|
goog.exportSymbol('proto.sport.SportCategoryItem', null, global);
|
|
@@ -141,6 +148,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
141
148
|
*/
|
|
142
149
|
proto.sport.LaunchBetbyResponse.displayName = 'proto.sport.LaunchBetbyResponse';
|
|
143
150
|
}
|
|
151
|
+
/**
|
|
152
|
+
* Generated by JsPbCodeGenerator.
|
|
153
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
154
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
155
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
156
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
157
|
+
* valid.
|
|
158
|
+
* @extends {jspb.Message}
|
|
159
|
+
* @constructor
|
|
160
|
+
*/
|
|
161
|
+
proto.sport.RefreshBetbyTokenRequest = function(opt_data) {
|
|
162
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
163
|
+
};
|
|
164
|
+
goog.inherits(proto.sport.RefreshBetbyTokenRequest, jspb.Message);
|
|
165
|
+
if (goog.DEBUG && !COMPILED) {
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
* @override
|
|
169
|
+
*/
|
|
170
|
+
proto.sport.RefreshBetbyTokenRequest.displayName = 'proto.sport.RefreshBetbyTokenRequest';
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Generated by JsPbCodeGenerator.
|
|
174
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
175
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
176
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
177
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
178
|
+
* valid.
|
|
179
|
+
* @extends {jspb.Message}
|
|
180
|
+
* @constructor
|
|
181
|
+
*/
|
|
182
|
+
proto.sport.RefreshBetbyTokenResponse = function(opt_data) {
|
|
183
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
184
|
+
};
|
|
185
|
+
goog.inherits(proto.sport.RefreshBetbyTokenResponse, jspb.Message);
|
|
186
|
+
if (goog.DEBUG && !COMPILED) {
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
* @override
|
|
190
|
+
*/
|
|
191
|
+
proto.sport.RefreshBetbyTokenResponse.displayName = 'proto.sport.RefreshBetbyTokenResponse';
|
|
192
|
+
}
|
|
144
193
|
/**
|
|
145
194
|
* Generated by JsPbCodeGenerator.
|
|
146
195
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -351,6 +400,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
351
400
|
*/
|
|
352
401
|
proto.sport.SportTypesResponse.displayName = 'proto.sport.SportTypesResponse';
|
|
353
402
|
}
|
|
403
|
+
/**
|
|
404
|
+
* Generated by JsPbCodeGenerator.
|
|
405
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
406
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
407
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
408
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
409
|
+
* valid.
|
|
410
|
+
* @extends {jspb.Message}
|
|
411
|
+
* @constructor
|
|
412
|
+
*/
|
|
413
|
+
proto.sport.GetBetbyFreebetTemplatesRequest = function(opt_data) {
|
|
414
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
415
|
+
};
|
|
416
|
+
goog.inherits(proto.sport.GetBetbyFreebetTemplatesRequest, jspb.Message);
|
|
417
|
+
if (goog.DEBUG && !COMPILED) {
|
|
418
|
+
/**
|
|
419
|
+
* @public
|
|
420
|
+
* @override
|
|
421
|
+
*/
|
|
422
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.displayName = 'proto.sport.GetBetbyFreebetTemplatesRequest';
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Generated by JsPbCodeGenerator.
|
|
426
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
427
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
428
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
429
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
430
|
+
* valid.
|
|
431
|
+
* @extends {jspb.Message}
|
|
432
|
+
* @constructor
|
|
433
|
+
*/
|
|
434
|
+
proto.sport.GetBetbyFreebetTemplatesResponse = function(opt_data) {
|
|
435
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
436
|
+
};
|
|
437
|
+
goog.inherits(proto.sport.GetBetbyFreebetTemplatesResponse, jspb.Message);
|
|
438
|
+
if (goog.DEBUG && !COMPILED) {
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
* @override
|
|
442
|
+
*/
|
|
443
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.displayName = 'proto.sport.GetBetbyFreebetTemplatesResponse';
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* Generated by JsPbCodeGenerator.
|
|
447
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
448
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
449
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
450
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
451
|
+
* valid.
|
|
452
|
+
* @extends {jspb.Message}
|
|
453
|
+
* @constructor
|
|
454
|
+
*/
|
|
455
|
+
proto.sport.FreebetIssueItem = function(opt_data) {
|
|
456
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sport.FreebetIssueItem.repeatedFields_, null);
|
|
457
|
+
};
|
|
458
|
+
goog.inherits(proto.sport.FreebetIssueItem, jspb.Message);
|
|
459
|
+
if (goog.DEBUG && !COMPILED) {
|
|
460
|
+
/**
|
|
461
|
+
* @public
|
|
462
|
+
* @override
|
|
463
|
+
*/
|
|
464
|
+
proto.sport.FreebetIssueItem.displayName = 'proto.sport.FreebetIssueItem';
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* Generated by JsPbCodeGenerator.
|
|
468
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
469
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
470
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
471
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
472
|
+
* valid.
|
|
473
|
+
* @extends {jspb.Message}
|
|
474
|
+
* @constructor
|
|
475
|
+
*/
|
|
476
|
+
proto.sport.IssueBetbyFreebetsRequest = function(opt_data) {
|
|
477
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.sport.IssueBetbyFreebetsRequest.repeatedFields_, null);
|
|
478
|
+
};
|
|
479
|
+
goog.inherits(proto.sport.IssueBetbyFreebetsRequest, jspb.Message);
|
|
480
|
+
if (goog.DEBUG && !COMPILED) {
|
|
481
|
+
/**
|
|
482
|
+
* @public
|
|
483
|
+
* @override
|
|
484
|
+
*/
|
|
485
|
+
proto.sport.IssueBetbyFreebetsRequest.displayName = 'proto.sport.IssueBetbyFreebetsRequest';
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Generated by JsPbCodeGenerator.
|
|
489
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
490
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
491
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
492
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
493
|
+
* valid.
|
|
494
|
+
* @extends {jspb.Message}
|
|
495
|
+
* @constructor
|
|
496
|
+
*/
|
|
497
|
+
proto.sport.IssueBetbyFreebetsResponse = function(opt_data) {
|
|
498
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
499
|
+
};
|
|
500
|
+
goog.inherits(proto.sport.IssueBetbyFreebetsResponse, jspb.Message);
|
|
501
|
+
if (goog.DEBUG && !COMPILED) {
|
|
502
|
+
/**
|
|
503
|
+
* @public
|
|
504
|
+
* @override
|
|
505
|
+
*/
|
|
506
|
+
proto.sport.IssueBetbyFreebetsResponse.displayName = 'proto.sport.IssueBetbyFreebetsResponse';
|
|
507
|
+
}
|
|
354
508
|
|
|
355
509
|
|
|
356
510
|
|
|
@@ -1641,8 +1795,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1641
1795
|
* http://goto/soy-param-migration
|
|
1642
1796
|
* @return {!Object}
|
|
1643
1797
|
*/
|
|
1644
|
-
proto.sport.
|
|
1645
|
-
return proto.sport.
|
|
1798
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1799
|
+
return proto.sport.RefreshBetbyTokenRequest.toObject(opt_includeInstance, this);
|
|
1646
1800
|
};
|
|
1647
1801
|
|
|
1648
1802
|
|
|
@@ -1651,13 +1805,15 @@ proto.sport.VendorActionRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
1651
1805
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1652
1806
|
* the JSPB instance for transitional soy proto support:
|
|
1653
1807
|
* http://goto/soy-param-migration
|
|
1654
|
-
* @param {!proto.sport.
|
|
1808
|
+
* @param {!proto.sport.RefreshBetbyTokenRequest} msg The msg instance to transform.
|
|
1655
1809
|
* @return {!Object}
|
|
1656
1810
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1657
1811
|
*/
|
|
1658
|
-
proto.sport.
|
|
1812
|
+
proto.sport.RefreshBetbyTokenRequest.toObject = function(includeInstance, msg) {
|
|
1659
1813
|
var f, obj = {
|
|
1660
|
-
|
|
1814
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1815
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1816
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1661
1817
|
};
|
|
1662
1818
|
|
|
1663
1819
|
if (includeInstance) {
|
|
@@ -1671,23 +1827,23 @@ proto.sport.VendorActionRequest.toObject = function(includeInstance, msg) {
|
|
|
1671
1827
|
/**
|
|
1672
1828
|
* Deserializes binary data (in protobuf wire format).
|
|
1673
1829
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1674
|
-
* @return {!proto.sport.
|
|
1830
|
+
* @return {!proto.sport.RefreshBetbyTokenRequest}
|
|
1675
1831
|
*/
|
|
1676
|
-
proto.sport.
|
|
1832
|
+
proto.sport.RefreshBetbyTokenRequest.deserializeBinary = function(bytes) {
|
|
1677
1833
|
var reader = new jspb.BinaryReader(bytes);
|
|
1678
|
-
var msg = new proto.sport.
|
|
1679
|
-
return proto.sport.
|
|
1834
|
+
var msg = new proto.sport.RefreshBetbyTokenRequest;
|
|
1835
|
+
return proto.sport.RefreshBetbyTokenRequest.deserializeBinaryFromReader(msg, reader);
|
|
1680
1836
|
};
|
|
1681
1837
|
|
|
1682
1838
|
|
|
1683
1839
|
/**
|
|
1684
1840
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1685
1841
|
* given reader into the given message object.
|
|
1686
|
-
* @param {!proto.sport.
|
|
1842
|
+
* @param {!proto.sport.RefreshBetbyTokenRequest} msg The message object to deserialize into.
|
|
1687
1843
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1688
|
-
* @return {!proto.sport.
|
|
1844
|
+
* @return {!proto.sport.RefreshBetbyTokenRequest}
|
|
1689
1845
|
*/
|
|
1690
|
-
proto.sport.
|
|
1846
|
+
proto.sport.RefreshBetbyTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1691
1847
|
while (reader.nextField()) {
|
|
1692
1848
|
if (reader.isEndGroup()) {
|
|
1693
1849
|
break;
|
|
@@ -1695,8 +1851,16 @@ proto.sport.VendorActionRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
1695
1851
|
var field = reader.getFieldNumber();
|
|
1696
1852
|
switch (field) {
|
|
1697
1853
|
case 1:
|
|
1854
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1855
|
+
msg.setUserId(value);
|
|
1856
|
+
break;
|
|
1857
|
+
case 2:
|
|
1698
1858
|
var value = /** @type {string} */ (reader.readString());
|
|
1699
|
-
msg.
|
|
1859
|
+
msg.setUserPublicId(value);
|
|
1860
|
+
break;
|
|
1861
|
+
case 3:
|
|
1862
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1863
|
+
msg.setSessionId(value);
|
|
1700
1864
|
break;
|
|
1701
1865
|
default:
|
|
1702
1866
|
reader.skipField();
|
|
@@ -1711,9 +1875,9 @@ proto.sport.VendorActionRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
1711
1875
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1712
1876
|
* @return {!Uint8Array}
|
|
1713
1877
|
*/
|
|
1714
|
-
proto.sport.
|
|
1878
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.serializeBinary = function() {
|
|
1715
1879
|
var writer = new jspb.BinaryWriter();
|
|
1716
|
-
proto.sport.
|
|
1880
|
+
proto.sport.RefreshBetbyTokenRequest.serializeBinaryToWriter(this, writer);
|
|
1717
1881
|
return writer.getResultBuffer();
|
|
1718
1882
|
};
|
|
1719
1883
|
|
|
@@ -1721,112 +1885,216 @@ proto.sport.VendorActionRequest.prototype.serializeBinary = function() {
|
|
|
1721
1885
|
/**
|
|
1722
1886
|
* Serializes the given message to binary data (in protobuf wire
|
|
1723
1887
|
* format), writing to the given BinaryWriter.
|
|
1724
|
-
* @param {!proto.sport.
|
|
1888
|
+
* @param {!proto.sport.RefreshBetbyTokenRequest} message
|
|
1725
1889
|
* @param {!jspb.BinaryWriter} writer
|
|
1726
1890
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1727
1891
|
*/
|
|
1728
|
-
proto.sport.
|
|
1892
|
+
proto.sport.RefreshBetbyTokenRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1729
1893
|
var f = undefined;
|
|
1730
|
-
f =
|
|
1731
|
-
if (f
|
|
1732
|
-
writer.
|
|
1894
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
1895
|
+
if (f != null) {
|
|
1896
|
+
writer.writeInt32(
|
|
1733
1897
|
1,
|
|
1734
1898
|
f
|
|
1735
1899
|
);
|
|
1736
1900
|
}
|
|
1901
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
1902
|
+
if (f != null) {
|
|
1903
|
+
writer.writeString(
|
|
1904
|
+
2,
|
|
1905
|
+
f
|
|
1906
|
+
);
|
|
1907
|
+
}
|
|
1908
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
1909
|
+
if (f != null) {
|
|
1910
|
+
writer.writeString(
|
|
1911
|
+
3,
|
|
1912
|
+
f
|
|
1913
|
+
);
|
|
1914
|
+
}
|
|
1737
1915
|
};
|
|
1738
1916
|
|
|
1739
1917
|
|
|
1740
1918
|
/**
|
|
1741
|
-
* optional
|
|
1742
|
-
* @return {
|
|
1919
|
+
* optional int32 user_id = 1;
|
|
1920
|
+
* @return {number}
|
|
1743
1921
|
*/
|
|
1744
|
-
proto.sport.
|
|
1745
|
-
return /** @type {
|
|
1922
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.getUserId = function() {
|
|
1923
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1746
1924
|
};
|
|
1747
1925
|
|
|
1748
1926
|
|
|
1749
1927
|
/**
|
|
1750
|
-
* @param {
|
|
1751
|
-
* @return {!proto.sport.
|
|
1928
|
+
* @param {number} value
|
|
1929
|
+
* @return {!proto.sport.RefreshBetbyTokenRequest} returns this
|
|
1752
1930
|
*/
|
|
1753
|
-
proto.sport.
|
|
1754
|
-
return jspb.Message.
|
|
1931
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.setUserId = function(value) {
|
|
1932
|
+
return jspb.Message.setField(this, 1, value);
|
|
1755
1933
|
};
|
|
1756
1934
|
|
|
1757
1935
|
|
|
1936
|
+
/**
|
|
1937
|
+
* Clears the field making it undefined.
|
|
1938
|
+
* @return {!proto.sport.RefreshBetbyTokenRequest} returns this
|
|
1939
|
+
*/
|
|
1940
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.clearUserId = function() {
|
|
1941
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
1942
|
+
};
|
|
1943
|
+
|
|
1758
1944
|
|
|
1945
|
+
/**
|
|
1946
|
+
* Returns whether this field is set.
|
|
1947
|
+
* @return {boolean}
|
|
1948
|
+
*/
|
|
1949
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.hasUserId = function() {
|
|
1950
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1951
|
+
};
|
|
1759
1952
|
|
|
1760
1953
|
|
|
1761
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1762
1954
|
/**
|
|
1763
|
-
*
|
|
1764
|
-
*
|
|
1765
|
-
* Optional fields that are not set will be set to undefined.
|
|
1766
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1767
|
-
* For the list of reserved names please see:
|
|
1768
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1769
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1770
|
-
* JSPB instance for transitional soy proto support:
|
|
1771
|
-
* http://goto/soy-param-migration
|
|
1772
|
-
* @return {!Object}
|
|
1955
|
+
* optional string user_public_id = 2;
|
|
1956
|
+
* @return {string}
|
|
1773
1957
|
*/
|
|
1774
|
-
proto.sport.
|
|
1775
|
-
return
|
|
1958
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.getUserPublicId = function() {
|
|
1959
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1776
1960
|
};
|
|
1777
1961
|
|
|
1778
1962
|
|
|
1779
1963
|
/**
|
|
1780
|
-
*
|
|
1781
|
-
* @
|
|
1782
|
-
* the JSPB instance for transitional soy proto support:
|
|
1783
|
-
* http://goto/soy-param-migration
|
|
1784
|
-
* @param {!proto.sport.VendorActionResponse} msg The msg instance to transform.
|
|
1785
|
-
* @return {!Object}
|
|
1786
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1964
|
+
* @param {string} value
|
|
1965
|
+
* @return {!proto.sport.RefreshBetbyTokenRequest} returns this
|
|
1787
1966
|
*/
|
|
1788
|
-
proto.sport.
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
};
|
|
1967
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.setUserPublicId = function(value) {
|
|
1968
|
+
return jspb.Message.setField(this, 2, value);
|
|
1969
|
+
};
|
|
1792
1970
|
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
* Clears the field making it undefined.
|
|
1974
|
+
* @return {!proto.sport.RefreshBetbyTokenRequest} returns this
|
|
1975
|
+
*/
|
|
1976
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.clearUserPublicId = function() {
|
|
1977
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
1797
1978
|
};
|
|
1798
|
-
}
|
|
1799
1979
|
|
|
1800
1980
|
|
|
1801
1981
|
/**
|
|
1802
|
-
*
|
|
1803
|
-
* @
|
|
1804
|
-
* @return {!proto.sport.VendorActionResponse}
|
|
1982
|
+
* Returns whether this field is set.
|
|
1983
|
+
* @return {boolean}
|
|
1805
1984
|
*/
|
|
1806
|
-
proto.sport.
|
|
1807
|
-
|
|
1808
|
-
var msg = new proto.sport.VendorActionResponse;
|
|
1809
|
-
return proto.sport.VendorActionResponse.deserializeBinaryFromReader(msg, reader);
|
|
1985
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.hasUserPublicId = function() {
|
|
1986
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1810
1987
|
};
|
|
1811
1988
|
|
|
1812
1989
|
|
|
1813
1990
|
/**
|
|
1814
|
-
*
|
|
1815
|
-
*
|
|
1816
|
-
* @param {!proto.sport.VendorActionResponse} msg The message object to deserialize into.
|
|
1817
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1818
|
-
* @return {!proto.sport.VendorActionResponse}
|
|
1991
|
+
* optional string session_id = 3;
|
|
1992
|
+
* @return {string}
|
|
1819
1993
|
*/
|
|
1820
|
-
proto.sport.
|
|
1821
|
-
|
|
1822
|
-
|
|
1994
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.getSessionId = function() {
|
|
1995
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1996
|
+
};
|
|
1997
|
+
|
|
1998
|
+
|
|
1999
|
+
/**
|
|
2000
|
+
* @param {string} value
|
|
2001
|
+
* @return {!proto.sport.RefreshBetbyTokenRequest} returns this
|
|
2002
|
+
*/
|
|
2003
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.setSessionId = function(value) {
|
|
2004
|
+
return jspb.Message.setField(this, 3, value);
|
|
2005
|
+
};
|
|
2006
|
+
|
|
2007
|
+
|
|
2008
|
+
/**
|
|
2009
|
+
* Clears the field making it undefined.
|
|
2010
|
+
* @return {!proto.sport.RefreshBetbyTokenRequest} returns this
|
|
2011
|
+
*/
|
|
2012
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.clearSessionId = function() {
|
|
2013
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
2014
|
+
};
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
/**
|
|
2018
|
+
* Returns whether this field is set.
|
|
2019
|
+
* @return {boolean}
|
|
2020
|
+
*/
|
|
2021
|
+
proto.sport.RefreshBetbyTokenRequest.prototype.hasSessionId = function() {
|
|
2022
|
+
return jspb.Message.getField(this, 3) != null;
|
|
2023
|
+
};
|
|
2024
|
+
|
|
2025
|
+
|
|
2026
|
+
|
|
2027
|
+
|
|
2028
|
+
|
|
2029
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2030
|
+
/**
|
|
2031
|
+
* Creates an object representation of this proto.
|
|
2032
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2033
|
+
* Optional fields that are not set will be set to undefined.
|
|
2034
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2035
|
+
* For the list of reserved names please see:
|
|
2036
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2037
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2038
|
+
* JSPB instance for transitional soy proto support:
|
|
2039
|
+
* http://goto/soy-param-migration
|
|
2040
|
+
* @return {!Object}
|
|
2041
|
+
*/
|
|
2042
|
+
proto.sport.RefreshBetbyTokenResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2043
|
+
return proto.sport.RefreshBetbyTokenResponse.toObject(opt_includeInstance, this);
|
|
2044
|
+
};
|
|
2045
|
+
|
|
2046
|
+
|
|
2047
|
+
/**
|
|
2048
|
+
* Static version of the {@see toObject} method.
|
|
2049
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2050
|
+
* the JSPB instance for transitional soy proto support:
|
|
2051
|
+
* http://goto/soy-param-migration
|
|
2052
|
+
* @param {!proto.sport.RefreshBetbyTokenResponse} msg The msg instance to transform.
|
|
2053
|
+
* @return {!Object}
|
|
2054
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2055
|
+
*/
|
|
2056
|
+
proto.sport.RefreshBetbyTokenResponse.toObject = function(includeInstance, msg) {
|
|
2057
|
+
var f, obj = {
|
|
2058
|
+
token: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2059
|
+
};
|
|
2060
|
+
|
|
2061
|
+
if (includeInstance) {
|
|
2062
|
+
obj.$jspbMessageInstance = msg;
|
|
2063
|
+
}
|
|
2064
|
+
return obj;
|
|
2065
|
+
};
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2071
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2072
|
+
* @return {!proto.sport.RefreshBetbyTokenResponse}
|
|
2073
|
+
*/
|
|
2074
|
+
proto.sport.RefreshBetbyTokenResponse.deserializeBinary = function(bytes) {
|
|
2075
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2076
|
+
var msg = new proto.sport.RefreshBetbyTokenResponse;
|
|
2077
|
+
return proto.sport.RefreshBetbyTokenResponse.deserializeBinaryFromReader(msg, reader);
|
|
2078
|
+
};
|
|
2079
|
+
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2083
|
+
* given reader into the given message object.
|
|
2084
|
+
* @param {!proto.sport.RefreshBetbyTokenResponse} msg The message object to deserialize into.
|
|
2085
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2086
|
+
* @return {!proto.sport.RefreshBetbyTokenResponse}
|
|
2087
|
+
*/
|
|
2088
|
+
proto.sport.RefreshBetbyTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2089
|
+
while (reader.nextField()) {
|
|
2090
|
+
if (reader.isEndGroup()) {
|
|
1823
2091
|
break;
|
|
1824
2092
|
}
|
|
1825
2093
|
var field = reader.getFieldNumber();
|
|
1826
2094
|
switch (field) {
|
|
1827
2095
|
case 1:
|
|
1828
2096
|
var value = /** @type {string} */ (reader.readString());
|
|
1829
|
-
msg.
|
|
2097
|
+
msg.setToken(value);
|
|
1830
2098
|
break;
|
|
1831
2099
|
default:
|
|
1832
2100
|
reader.skipField();
|
|
@@ -1841,9 +2109,9 @@ proto.sport.VendorActionResponse.deserializeBinaryFromReader = function(msg, rea
|
|
|
1841
2109
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1842
2110
|
* @return {!Uint8Array}
|
|
1843
2111
|
*/
|
|
1844
|
-
proto.sport.
|
|
2112
|
+
proto.sport.RefreshBetbyTokenResponse.prototype.serializeBinary = function() {
|
|
1845
2113
|
var writer = new jspb.BinaryWriter();
|
|
1846
|
-
proto.sport.
|
|
2114
|
+
proto.sport.RefreshBetbyTokenResponse.serializeBinaryToWriter(this, writer);
|
|
1847
2115
|
return writer.getResultBuffer();
|
|
1848
2116
|
};
|
|
1849
2117
|
|
|
@@ -1851,13 +2119,13 @@ proto.sport.VendorActionResponse.prototype.serializeBinary = function() {
|
|
|
1851
2119
|
/**
|
|
1852
2120
|
* Serializes the given message to binary data (in protobuf wire
|
|
1853
2121
|
* format), writing to the given BinaryWriter.
|
|
1854
|
-
* @param {!proto.sport.
|
|
2122
|
+
* @param {!proto.sport.RefreshBetbyTokenResponse} message
|
|
1855
2123
|
* @param {!jspb.BinaryWriter} writer
|
|
1856
2124
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1857
2125
|
*/
|
|
1858
|
-
proto.sport.
|
|
2126
|
+
proto.sport.RefreshBetbyTokenResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1859
2127
|
var f = undefined;
|
|
1860
|
-
f = message.
|
|
2128
|
+
f = message.getToken();
|
|
1861
2129
|
if (f.length > 0) {
|
|
1862
2130
|
writer.writeString(
|
|
1863
2131
|
1,
|
|
@@ -1868,19 +2136,19 @@ proto.sport.VendorActionResponse.serializeBinaryToWriter = function(message, wri
|
|
|
1868
2136
|
|
|
1869
2137
|
|
|
1870
2138
|
/**
|
|
1871
|
-
* optional string
|
|
2139
|
+
* optional string token = 1;
|
|
1872
2140
|
* @return {string}
|
|
1873
2141
|
*/
|
|
1874
|
-
proto.sport.
|
|
2142
|
+
proto.sport.RefreshBetbyTokenResponse.prototype.getToken = function() {
|
|
1875
2143
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1876
2144
|
};
|
|
1877
2145
|
|
|
1878
2146
|
|
|
1879
2147
|
/**
|
|
1880
2148
|
* @param {string} value
|
|
1881
|
-
* @return {!proto.sport.
|
|
2149
|
+
* @return {!proto.sport.RefreshBetbyTokenResponse} returns this
|
|
1882
2150
|
*/
|
|
1883
|
-
proto.sport.
|
|
2151
|
+
proto.sport.RefreshBetbyTokenResponse.prototype.setToken = function(value) {
|
|
1884
2152
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1885
2153
|
};
|
|
1886
2154
|
|
|
@@ -1901,8 +2169,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1901
2169
|
* http://goto/soy-param-migration
|
|
1902
2170
|
* @return {!Object}
|
|
1903
2171
|
*/
|
|
1904
|
-
proto.sport.
|
|
1905
|
-
return proto.sport.
|
|
2172
|
+
proto.sport.VendorActionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2173
|
+
return proto.sport.VendorActionRequest.toObject(opt_includeInstance, this);
|
|
1906
2174
|
};
|
|
1907
2175
|
|
|
1908
2176
|
|
|
@@ -1911,16 +2179,13 @@ proto.sport.selfValidationBetbyRequest.prototype.toObject = function(opt_include
|
|
|
1911
2179
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1912
2180
|
* the JSPB instance for transitional soy proto support:
|
|
1913
2181
|
* http://goto/soy-param-migration
|
|
1914
|
-
* @param {!proto.sport.
|
|
2182
|
+
* @param {!proto.sport.VendorActionRequest} msg The msg instance to transform.
|
|
1915
2183
|
* @return {!Object}
|
|
1916
2184
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1917
2185
|
*/
|
|
1918
|
-
proto.sport.
|
|
2186
|
+
proto.sport.VendorActionRequest.toObject = function(includeInstance, msg) {
|
|
1919
2187
|
var f, obj = {
|
|
1920
|
-
|
|
1921
|
-
playerId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1922
|
-
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1923
|
-
taskId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
2188
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1924
2189
|
};
|
|
1925
2190
|
|
|
1926
2191
|
if (includeInstance) {
|
|
@@ -1934,23 +2199,23 @@ proto.sport.selfValidationBetbyRequest.toObject = function(includeInstance, msg)
|
|
|
1934
2199
|
/**
|
|
1935
2200
|
* Deserializes binary data (in protobuf wire format).
|
|
1936
2201
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1937
|
-
* @return {!proto.sport.
|
|
2202
|
+
* @return {!proto.sport.VendorActionRequest}
|
|
1938
2203
|
*/
|
|
1939
|
-
proto.sport.
|
|
2204
|
+
proto.sport.VendorActionRequest.deserializeBinary = function(bytes) {
|
|
1940
2205
|
var reader = new jspb.BinaryReader(bytes);
|
|
1941
|
-
var msg = new proto.sport.
|
|
1942
|
-
return proto.sport.
|
|
2206
|
+
var msg = new proto.sport.VendorActionRequest;
|
|
2207
|
+
return proto.sport.VendorActionRequest.deserializeBinaryFromReader(msg, reader);
|
|
1943
2208
|
};
|
|
1944
2209
|
|
|
1945
2210
|
|
|
1946
2211
|
/**
|
|
1947
2212
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1948
2213
|
* given reader into the given message object.
|
|
1949
|
-
* @param {!proto.sport.
|
|
2214
|
+
* @param {!proto.sport.VendorActionRequest} msg The message object to deserialize into.
|
|
1950
2215
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1951
|
-
* @return {!proto.sport.
|
|
2216
|
+
* @return {!proto.sport.VendorActionRequest}
|
|
1952
2217
|
*/
|
|
1953
|
-
proto.sport.
|
|
2218
|
+
proto.sport.VendorActionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1954
2219
|
while (reader.nextField()) {
|
|
1955
2220
|
if (reader.isEndGroup()) {
|
|
1956
2221
|
break;
|
|
@@ -1959,19 +2224,7 @@ proto.sport.selfValidationBetbyRequest.deserializeBinaryFromReader = function(ms
|
|
|
1959
2224
|
switch (field) {
|
|
1960
2225
|
case 1:
|
|
1961
2226
|
var value = /** @type {string} */ (reader.readString());
|
|
1962
|
-
msg.
|
|
1963
|
-
break;
|
|
1964
|
-
case 2:
|
|
1965
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1966
|
-
msg.setPlayerId(value);
|
|
1967
|
-
break;
|
|
1968
|
-
case 3:
|
|
1969
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1970
|
-
msg.setCurrency(value);
|
|
1971
|
-
break;
|
|
1972
|
-
case 4:
|
|
1973
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1974
|
-
msg.setTaskId(value);
|
|
2227
|
+
msg.setData(value);
|
|
1975
2228
|
break;
|
|
1976
2229
|
default:
|
|
1977
2230
|
reader.skipField();
|
|
@@ -1986,9 +2239,9 @@ proto.sport.selfValidationBetbyRequest.deserializeBinaryFromReader = function(ms
|
|
|
1986
2239
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1987
2240
|
* @return {!Uint8Array}
|
|
1988
2241
|
*/
|
|
1989
|
-
proto.sport.
|
|
2242
|
+
proto.sport.VendorActionRequest.prototype.serializeBinary = function() {
|
|
1990
2243
|
var writer = new jspb.BinaryWriter();
|
|
1991
|
-
proto.sport.
|
|
2244
|
+
proto.sport.VendorActionRequest.serializeBinaryToWriter(this, writer);
|
|
1992
2245
|
return writer.getResultBuffer();
|
|
1993
2246
|
};
|
|
1994
2247
|
|
|
@@ -1996,103 +2249,342 @@ proto.sport.selfValidationBetbyRequest.prototype.serializeBinary = function() {
|
|
|
1996
2249
|
/**
|
|
1997
2250
|
* Serializes the given message to binary data (in protobuf wire
|
|
1998
2251
|
* format), writing to the given BinaryWriter.
|
|
1999
|
-
* @param {!proto.sport.
|
|
2252
|
+
* @param {!proto.sport.VendorActionRequest} message
|
|
2000
2253
|
* @param {!jspb.BinaryWriter} writer
|
|
2001
2254
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2002
2255
|
*/
|
|
2003
|
-
proto.sport.
|
|
2256
|
+
proto.sport.VendorActionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2004
2257
|
var f = undefined;
|
|
2005
|
-
f =
|
|
2006
|
-
if (f
|
|
2258
|
+
f = message.getData();
|
|
2259
|
+
if (f.length > 0) {
|
|
2007
2260
|
writer.writeString(
|
|
2008
2261
|
1,
|
|
2009
2262
|
f
|
|
2010
2263
|
);
|
|
2011
2264
|
}
|
|
2012
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
2013
|
-
if (f != null) {
|
|
2014
|
-
writer.writeString(
|
|
2015
|
-
2,
|
|
2016
|
-
f
|
|
2017
|
-
);
|
|
2018
|
-
}
|
|
2019
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
2020
|
-
if (f != null) {
|
|
2021
|
-
writer.writeString(
|
|
2022
|
-
3,
|
|
2023
|
-
f
|
|
2024
|
-
);
|
|
2025
|
-
}
|
|
2026
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
2027
|
-
if (f != null) {
|
|
2028
|
-
writer.writeString(
|
|
2029
|
-
4,
|
|
2030
|
-
f
|
|
2031
|
-
);
|
|
2032
|
-
}
|
|
2033
2265
|
};
|
|
2034
2266
|
|
|
2035
2267
|
|
|
2036
2268
|
/**
|
|
2037
|
-
* optional string
|
|
2269
|
+
* optional string data = 1;
|
|
2038
2270
|
* @return {string}
|
|
2039
2271
|
*/
|
|
2040
|
-
proto.sport.
|
|
2272
|
+
proto.sport.VendorActionRequest.prototype.getData = function() {
|
|
2041
2273
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2042
2274
|
};
|
|
2043
2275
|
|
|
2044
2276
|
|
|
2045
2277
|
/**
|
|
2046
2278
|
* @param {string} value
|
|
2047
|
-
* @return {!proto.sport.
|
|
2279
|
+
* @return {!proto.sport.VendorActionRequest} returns this
|
|
2048
2280
|
*/
|
|
2049
|
-
proto.sport.
|
|
2050
|
-
return jspb.Message.
|
|
2281
|
+
proto.sport.VendorActionRequest.prototype.setData = function(value) {
|
|
2282
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2051
2283
|
};
|
|
2052
2284
|
|
|
2053
2285
|
|
|
2054
|
-
/**
|
|
2055
|
-
* Clears the field making it undefined.
|
|
2056
|
-
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
2057
|
-
*/
|
|
2058
|
-
proto.sport.selfValidationBetbyRequest.prototype.clearSessionId = function() {
|
|
2059
|
-
return jspb.Message.setField(this, 1, undefined);
|
|
2060
|
-
};
|
|
2061
2286
|
|
|
2062
2287
|
|
|
2288
|
+
|
|
2289
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2063
2290
|
/**
|
|
2064
|
-
*
|
|
2065
|
-
*
|
|
2291
|
+
* Creates an object representation of this proto.
|
|
2292
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2293
|
+
* Optional fields that are not set will be set to undefined.
|
|
2294
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2295
|
+
* For the list of reserved names please see:
|
|
2296
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2297
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2298
|
+
* JSPB instance for transitional soy proto support:
|
|
2299
|
+
* http://goto/soy-param-migration
|
|
2300
|
+
* @return {!Object}
|
|
2066
2301
|
*/
|
|
2067
|
-
proto.sport.
|
|
2068
|
-
return
|
|
2302
|
+
proto.sport.VendorActionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2303
|
+
return proto.sport.VendorActionResponse.toObject(opt_includeInstance, this);
|
|
2069
2304
|
};
|
|
2070
2305
|
|
|
2071
2306
|
|
|
2072
2307
|
/**
|
|
2073
|
-
*
|
|
2074
|
-
* @
|
|
2308
|
+
* Static version of the {@see toObject} method.
|
|
2309
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2310
|
+
* the JSPB instance for transitional soy proto support:
|
|
2311
|
+
* http://goto/soy-param-migration
|
|
2312
|
+
* @param {!proto.sport.VendorActionResponse} msg The msg instance to transform.
|
|
2313
|
+
* @return {!Object}
|
|
2314
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2075
2315
|
*/
|
|
2076
|
-
proto.sport.
|
|
2077
|
-
|
|
2316
|
+
proto.sport.VendorActionResponse.toObject = function(includeInstance, msg) {
|
|
2317
|
+
var f, obj = {
|
|
2318
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2319
|
+
};
|
|
2320
|
+
|
|
2321
|
+
if (includeInstance) {
|
|
2322
|
+
obj.$jspbMessageInstance = msg;
|
|
2323
|
+
}
|
|
2324
|
+
return obj;
|
|
2078
2325
|
};
|
|
2326
|
+
}
|
|
2079
2327
|
|
|
2080
2328
|
|
|
2081
2329
|
/**
|
|
2082
|
-
*
|
|
2083
|
-
* @
|
|
2330
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2331
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2332
|
+
* @return {!proto.sport.VendorActionResponse}
|
|
2084
2333
|
*/
|
|
2085
|
-
proto.sport.
|
|
2086
|
-
|
|
2334
|
+
proto.sport.VendorActionResponse.deserializeBinary = function(bytes) {
|
|
2335
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2336
|
+
var msg = new proto.sport.VendorActionResponse;
|
|
2337
|
+
return proto.sport.VendorActionResponse.deserializeBinaryFromReader(msg, reader);
|
|
2087
2338
|
};
|
|
2088
2339
|
|
|
2089
2340
|
|
|
2090
2341
|
/**
|
|
2091
|
-
*
|
|
2092
|
-
*
|
|
2342
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2343
|
+
* given reader into the given message object.
|
|
2344
|
+
* @param {!proto.sport.VendorActionResponse} msg The message object to deserialize into.
|
|
2345
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2346
|
+
* @return {!proto.sport.VendorActionResponse}
|
|
2093
2347
|
*/
|
|
2094
|
-
proto.sport.
|
|
2095
|
-
|
|
2348
|
+
proto.sport.VendorActionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2349
|
+
while (reader.nextField()) {
|
|
2350
|
+
if (reader.isEndGroup()) {
|
|
2351
|
+
break;
|
|
2352
|
+
}
|
|
2353
|
+
var field = reader.getFieldNumber();
|
|
2354
|
+
switch (field) {
|
|
2355
|
+
case 1:
|
|
2356
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2357
|
+
msg.setData(value);
|
|
2358
|
+
break;
|
|
2359
|
+
default:
|
|
2360
|
+
reader.skipField();
|
|
2361
|
+
break;
|
|
2362
|
+
}
|
|
2363
|
+
}
|
|
2364
|
+
return msg;
|
|
2365
|
+
};
|
|
2366
|
+
|
|
2367
|
+
|
|
2368
|
+
/**
|
|
2369
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2370
|
+
* @return {!Uint8Array}
|
|
2371
|
+
*/
|
|
2372
|
+
proto.sport.VendorActionResponse.prototype.serializeBinary = function() {
|
|
2373
|
+
var writer = new jspb.BinaryWriter();
|
|
2374
|
+
proto.sport.VendorActionResponse.serializeBinaryToWriter(this, writer);
|
|
2375
|
+
return writer.getResultBuffer();
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2381
|
+
* format), writing to the given BinaryWriter.
|
|
2382
|
+
* @param {!proto.sport.VendorActionResponse} message
|
|
2383
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2384
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2385
|
+
*/
|
|
2386
|
+
proto.sport.VendorActionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2387
|
+
var f = undefined;
|
|
2388
|
+
f = message.getData();
|
|
2389
|
+
if (f.length > 0) {
|
|
2390
|
+
writer.writeString(
|
|
2391
|
+
1,
|
|
2392
|
+
f
|
|
2393
|
+
);
|
|
2394
|
+
}
|
|
2395
|
+
};
|
|
2396
|
+
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
* optional string data = 1;
|
|
2400
|
+
* @return {string}
|
|
2401
|
+
*/
|
|
2402
|
+
proto.sport.VendorActionResponse.prototype.getData = function() {
|
|
2403
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2404
|
+
};
|
|
2405
|
+
|
|
2406
|
+
|
|
2407
|
+
/**
|
|
2408
|
+
* @param {string} value
|
|
2409
|
+
* @return {!proto.sport.VendorActionResponse} returns this
|
|
2410
|
+
*/
|
|
2411
|
+
proto.sport.VendorActionResponse.prototype.setData = function(value) {
|
|
2412
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2413
|
+
};
|
|
2414
|
+
|
|
2415
|
+
|
|
2416
|
+
|
|
2417
|
+
|
|
2418
|
+
|
|
2419
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2420
|
+
/**
|
|
2421
|
+
* Creates an object representation of this proto.
|
|
2422
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2423
|
+
* Optional fields that are not set will be set to undefined.
|
|
2424
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2425
|
+
* For the list of reserved names please see:
|
|
2426
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2427
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2428
|
+
* JSPB instance for transitional soy proto support:
|
|
2429
|
+
* http://goto/soy-param-migration
|
|
2430
|
+
* @return {!Object}
|
|
2431
|
+
*/
|
|
2432
|
+
proto.sport.selfValidationBetbyRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2433
|
+
return proto.sport.selfValidationBetbyRequest.toObject(opt_includeInstance, this);
|
|
2434
|
+
};
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
/**
|
|
2438
|
+
* Static version of the {@see toObject} method.
|
|
2439
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2440
|
+
* the JSPB instance for transitional soy proto support:
|
|
2441
|
+
* http://goto/soy-param-migration
|
|
2442
|
+
* @param {!proto.sport.selfValidationBetbyRequest} msg The msg instance to transform.
|
|
2443
|
+
* @return {!Object}
|
|
2444
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2445
|
+
*/
|
|
2446
|
+
proto.sport.selfValidationBetbyRequest.toObject = function(includeInstance, msg) {
|
|
2447
|
+
var f, obj = {
|
|
2448
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2449
|
+
playerId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2450
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2451
|
+
taskId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
2452
|
+
};
|
|
2453
|
+
|
|
2454
|
+
if (includeInstance) {
|
|
2455
|
+
obj.$jspbMessageInstance = msg;
|
|
2456
|
+
}
|
|
2457
|
+
return obj;
|
|
2458
|
+
};
|
|
2459
|
+
}
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
/**
|
|
2463
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2464
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2465
|
+
* @return {!proto.sport.selfValidationBetbyRequest}
|
|
2466
|
+
*/
|
|
2467
|
+
proto.sport.selfValidationBetbyRequest.deserializeBinary = function(bytes) {
|
|
2468
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2469
|
+
var msg = new proto.sport.selfValidationBetbyRequest;
|
|
2470
|
+
return proto.sport.selfValidationBetbyRequest.deserializeBinaryFromReader(msg, reader);
|
|
2471
|
+
};
|
|
2472
|
+
|
|
2473
|
+
|
|
2474
|
+
/**
|
|
2475
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2476
|
+
* given reader into the given message object.
|
|
2477
|
+
* @param {!proto.sport.selfValidationBetbyRequest} msg The message object to deserialize into.
|
|
2478
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2479
|
+
* @return {!proto.sport.selfValidationBetbyRequest}
|
|
2480
|
+
*/
|
|
2481
|
+
proto.sport.selfValidationBetbyRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2482
|
+
while (reader.nextField()) {
|
|
2483
|
+
if (reader.isEndGroup()) {
|
|
2484
|
+
break;
|
|
2485
|
+
}
|
|
2486
|
+
var field = reader.getFieldNumber();
|
|
2487
|
+
switch (field) {
|
|
2488
|
+
case 1:
|
|
2489
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2490
|
+
msg.setSessionId(value);
|
|
2491
|
+
break;
|
|
2492
|
+
case 2:
|
|
2493
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2494
|
+
msg.setPlayerId(value);
|
|
2495
|
+
break;
|
|
2496
|
+
case 3:
|
|
2497
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2498
|
+
msg.setCurrency(value);
|
|
2499
|
+
break;
|
|
2500
|
+
case 4:
|
|
2501
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2502
|
+
msg.setTaskId(value);
|
|
2503
|
+
break;
|
|
2504
|
+
default:
|
|
2505
|
+
reader.skipField();
|
|
2506
|
+
break;
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
return msg;
|
|
2510
|
+
};
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
/**
|
|
2514
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2515
|
+
* @return {!Uint8Array}
|
|
2516
|
+
*/
|
|
2517
|
+
proto.sport.selfValidationBetbyRequest.prototype.serializeBinary = function() {
|
|
2518
|
+
var writer = new jspb.BinaryWriter();
|
|
2519
|
+
proto.sport.selfValidationBetbyRequest.serializeBinaryToWriter(this, writer);
|
|
2520
|
+
return writer.getResultBuffer();
|
|
2521
|
+
};
|
|
2522
|
+
|
|
2523
|
+
|
|
2524
|
+
/**
|
|
2525
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2526
|
+
* format), writing to the given BinaryWriter.
|
|
2527
|
+
* @param {!proto.sport.selfValidationBetbyRequest} message
|
|
2528
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2529
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2530
|
+
*/
|
|
2531
|
+
proto.sport.selfValidationBetbyRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2532
|
+
var f = undefined;
|
|
2533
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
2534
|
+
if (f != null) {
|
|
2535
|
+
writer.writeString(
|
|
2536
|
+
1,
|
|
2537
|
+
f
|
|
2538
|
+
);
|
|
2539
|
+
}
|
|
2540
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
2541
|
+
if (f != null) {
|
|
2542
|
+
writer.writeString(
|
|
2543
|
+
2,
|
|
2544
|
+
f
|
|
2545
|
+
);
|
|
2546
|
+
}
|
|
2547
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
2548
|
+
if (f != null) {
|
|
2549
|
+
writer.writeString(
|
|
2550
|
+
3,
|
|
2551
|
+
f
|
|
2552
|
+
);
|
|
2553
|
+
}
|
|
2554
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
2555
|
+
if (f != null) {
|
|
2556
|
+
writer.writeString(
|
|
2557
|
+
4,
|
|
2558
|
+
f
|
|
2559
|
+
);
|
|
2560
|
+
}
|
|
2561
|
+
};
|
|
2562
|
+
|
|
2563
|
+
|
|
2564
|
+
/**
|
|
2565
|
+
* optional string session_id = 1;
|
|
2566
|
+
* @return {string}
|
|
2567
|
+
*/
|
|
2568
|
+
proto.sport.selfValidationBetbyRequest.prototype.getSessionId = function() {
|
|
2569
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2570
|
+
};
|
|
2571
|
+
|
|
2572
|
+
|
|
2573
|
+
/**
|
|
2574
|
+
* @param {string} value
|
|
2575
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
2576
|
+
*/
|
|
2577
|
+
proto.sport.selfValidationBetbyRequest.prototype.setSessionId = function(value) {
|
|
2578
|
+
return jspb.Message.setField(this, 1, value);
|
|
2579
|
+
};
|
|
2580
|
+
|
|
2581
|
+
|
|
2582
|
+
/**
|
|
2583
|
+
* Clears the field making it undefined.
|
|
2584
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
2585
|
+
*/
|
|
2586
|
+
proto.sport.selfValidationBetbyRequest.prototype.clearSessionId = function() {
|
|
2587
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
2096
2588
|
};
|
|
2097
2589
|
|
|
2098
2590
|
|
|
@@ -2100,17 +2592,17 @@ proto.sport.selfValidationBetbyRequest.prototype.clearPlayerId = function() {
|
|
|
2100
2592
|
* Returns whether this field is set.
|
|
2101
2593
|
* @return {boolean}
|
|
2102
2594
|
*/
|
|
2103
|
-
proto.sport.selfValidationBetbyRequest.prototype.
|
|
2104
|
-
return jspb.Message.getField(this,
|
|
2595
|
+
proto.sport.selfValidationBetbyRequest.prototype.hasSessionId = function() {
|
|
2596
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2105
2597
|
};
|
|
2106
2598
|
|
|
2107
2599
|
|
|
2108
2600
|
/**
|
|
2109
|
-
* optional string
|
|
2601
|
+
* optional string player_id = 2;
|
|
2110
2602
|
* @return {string}
|
|
2111
2603
|
*/
|
|
2112
|
-
proto.sport.selfValidationBetbyRequest.prototype.
|
|
2113
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
2604
|
+
proto.sport.selfValidationBetbyRequest.prototype.getPlayerId = function() {
|
|
2605
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2114
2606
|
};
|
|
2115
2607
|
|
|
2116
2608
|
|
|
@@ -2118,8 +2610,8 @@ proto.sport.selfValidationBetbyRequest.prototype.getCurrency = function() {
|
|
|
2118
2610
|
* @param {string} value
|
|
2119
2611
|
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
2120
2612
|
*/
|
|
2121
|
-
proto.sport.selfValidationBetbyRequest.prototype.
|
|
2122
|
-
return jspb.Message.setField(this,
|
|
2613
|
+
proto.sport.selfValidationBetbyRequest.prototype.setPlayerId = function(value) {
|
|
2614
|
+
return jspb.Message.setField(this, 2, value);
|
|
2123
2615
|
};
|
|
2124
2616
|
|
|
2125
2617
|
|
|
@@ -2127,8 +2619,8 @@ proto.sport.selfValidationBetbyRequest.prototype.setCurrency = function(value) {
|
|
|
2127
2619
|
* Clears the field making it undefined.
|
|
2128
2620
|
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
2129
2621
|
*/
|
|
2130
|
-
proto.sport.selfValidationBetbyRequest.prototype.
|
|
2131
|
-
return jspb.Message.setField(this,
|
|
2622
|
+
proto.sport.selfValidationBetbyRequest.prototype.clearPlayerId = function() {
|
|
2623
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
2132
2624
|
};
|
|
2133
2625
|
|
|
2134
2626
|
|
|
@@ -2136,17 +2628,17 @@ proto.sport.selfValidationBetbyRequest.prototype.clearCurrency = function() {
|
|
|
2136
2628
|
* Returns whether this field is set.
|
|
2137
2629
|
* @return {boolean}
|
|
2138
2630
|
*/
|
|
2139
|
-
proto.sport.selfValidationBetbyRequest.prototype.
|
|
2140
|
-
return jspb.Message.getField(this,
|
|
2631
|
+
proto.sport.selfValidationBetbyRequest.prototype.hasPlayerId = function() {
|
|
2632
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2141
2633
|
};
|
|
2142
2634
|
|
|
2143
2635
|
|
|
2144
2636
|
/**
|
|
2145
|
-
* optional string
|
|
2637
|
+
* optional string currency = 3;
|
|
2146
2638
|
* @return {string}
|
|
2147
2639
|
*/
|
|
2148
|
-
proto.sport.selfValidationBetbyRequest.prototype.
|
|
2149
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
2640
|
+
proto.sport.selfValidationBetbyRequest.prototype.getCurrency = function() {
|
|
2641
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2150
2642
|
};
|
|
2151
2643
|
|
|
2152
2644
|
|
|
@@ -2154,16 +2646,1012 @@ proto.sport.selfValidationBetbyRequest.prototype.getTaskId = function() {
|
|
|
2154
2646
|
* @param {string} value
|
|
2155
2647
|
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
2156
2648
|
*/
|
|
2157
|
-
proto.sport.selfValidationBetbyRequest.prototype.
|
|
2649
|
+
proto.sport.selfValidationBetbyRequest.prototype.setCurrency = function(value) {
|
|
2650
|
+
return jspb.Message.setField(this, 3, value);
|
|
2651
|
+
};
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
/**
|
|
2655
|
+
* Clears the field making it undefined.
|
|
2656
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
2657
|
+
*/
|
|
2658
|
+
proto.sport.selfValidationBetbyRequest.prototype.clearCurrency = function() {
|
|
2659
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
/**
|
|
2664
|
+
* Returns whether this field is set.
|
|
2665
|
+
* @return {boolean}
|
|
2666
|
+
*/
|
|
2667
|
+
proto.sport.selfValidationBetbyRequest.prototype.hasCurrency = function() {
|
|
2668
|
+
return jspb.Message.getField(this, 3) != null;
|
|
2669
|
+
};
|
|
2670
|
+
|
|
2671
|
+
|
|
2672
|
+
/**
|
|
2673
|
+
* optional string task_id = 4;
|
|
2674
|
+
* @return {string}
|
|
2675
|
+
*/
|
|
2676
|
+
proto.sport.selfValidationBetbyRequest.prototype.getTaskId = function() {
|
|
2677
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2678
|
+
};
|
|
2679
|
+
|
|
2680
|
+
|
|
2681
|
+
/**
|
|
2682
|
+
* @param {string} value
|
|
2683
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
2684
|
+
*/
|
|
2685
|
+
proto.sport.selfValidationBetbyRequest.prototype.setTaskId = function(value) {
|
|
2686
|
+
return jspb.Message.setField(this, 4, value);
|
|
2687
|
+
};
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* Clears the field making it undefined.
|
|
2692
|
+
* @return {!proto.sport.selfValidationBetbyRequest} returns this
|
|
2693
|
+
*/
|
|
2694
|
+
proto.sport.selfValidationBetbyRequest.prototype.clearTaskId = function() {
|
|
2695
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
2696
|
+
};
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
/**
|
|
2700
|
+
* Returns whether this field is set.
|
|
2701
|
+
* @return {boolean}
|
|
2702
|
+
*/
|
|
2703
|
+
proto.sport.selfValidationBetbyRequest.prototype.hasTaskId = function() {
|
|
2704
|
+
return jspb.Message.getField(this, 4) != null;
|
|
2705
|
+
};
|
|
2706
|
+
|
|
2707
|
+
|
|
2708
|
+
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2712
|
+
/**
|
|
2713
|
+
* Creates an object representation of this proto.
|
|
2714
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2715
|
+
* Optional fields that are not set will be set to undefined.
|
|
2716
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2717
|
+
* For the list of reserved names please see:
|
|
2718
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2719
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2720
|
+
* JSPB instance for transitional soy proto support:
|
|
2721
|
+
* http://goto/soy-param-migration
|
|
2722
|
+
* @return {!Object}
|
|
2723
|
+
*/
|
|
2724
|
+
proto.sport.selfValidationBetbyResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2725
|
+
return proto.sport.selfValidationBetbyResponse.toObject(opt_includeInstance, this);
|
|
2726
|
+
};
|
|
2727
|
+
|
|
2728
|
+
|
|
2729
|
+
/**
|
|
2730
|
+
* Static version of the {@see toObject} method.
|
|
2731
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2732
|
+
* the JSPB instance for transitional soy proto support:
|
|
2733
|
+
* http://goto/soy-param-migration
|
|
2734
|
+
* @param {!proto.sport.selfValidationBetbyResponse} msg The msg instance to transform.
|
|
2735
|
+
* @return {!Object}
|
|
2736
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2737
|
+
*/
|
|
2738
|
+
proto.sport.selfValidationBetbyResponse.toObject = function(includeInstance, msg) {
|
|
2739
|
+
var f, obj = {
|
|
2740
|
+
result: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
if (includeInstance) {
|
|
2744
|
+
obj.$jspbMessageInstance = msg;
|
|
2745
|
+
}
|
|
2746
|
+
return obj;
|
|
2747
|
+
};
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2753
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2754
|
+
* @return {!proto.sport.selfValidationBetbyResponse}
|
|
2755
|
+
*/
|
|
2756
|
+
proto.sport.selfValidationBetbyResponse.deserializeBinary = function(bytes) {
|
|
2757
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2758
|
+
var msg = new proto.sport.selfValidationBetbyResponse;
|
|
2759
|
+
return proto.sport.selfValidationBetbyResponse.deserializeBinaryFromReader(msg, reader);
|
|
2760
|
+
};
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
/**
|
|
2764
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2765
|
+
* given reader into the given message object.
|
|
2766
|
+
* @param {!proto.sport.selfValidationBetbyResponse} msg The message object to deserialize into.
|
|
2767
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2768
|
+
* @return {!proto.sport.selfValidationBetbyResponse}
|
|
2769
|
+
*/
|
|
2770
|
+
proto.sport.selfValidationBetbyResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2771
|
+
while (reader.nextField()) {
|
|
2772
|
+
if (reader.isEndGroup()) {
|
|
2773
|
+
break;
|
|
2774
|
+
}
|
|
2775
|
+
var field = reader.getFieldNumber();
|
|
2776
|
+
switch (field) {
|
|
2777
|
+
case 1:
|
|
2778
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2779
|
+
msg.setResult(value);
|
|
2780
|
+
break;
|
|
2781
|
+
default:
|
|
2782
|
+
reader.skipField();
|
|
2783
|
+
break;
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
return msg;
|
|
2787
|
+
};
|
|
2788
|
+
|
|
2789
|
+
|
|
2790
|
+
/**
|
|
2791
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2792
|
+
* @return {!Uint8Array}
|
|
2793
|
+
*/
|
|
2794
|
+
proto.sport.selfValidationBetbyResponse.prototype.serializeBinary = function() {
|
|
2795
|
+
var writer = new jspb.BinaryWriter();
|
|
2796
|
+
proto.sport.selfValidationBetbyResponse.serializeBinaryToWriter(this, writer);
|
|
2797
|
+
return writer.getResultBuffer();
|
|
2798
|
+
};
|
|
2799
|
+
|
|
2800
|
+
|
|
2801
|
+
/**
|
|
2802
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2803
|
+
* format), writing to the given BinaryWriter.
|
|
2804
|
+
* @param {!proto.sport.selfValidationBetbyResponse} message
|
|
2805
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2806
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2807
|
+
*/
|
|
2808
|
+
proto.sport.selfValidationBetbyResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2809
|
+
var f = undefined;
|
|
2810
|
+
f = message.getResult();
|
|
2811
|
+
if (f.length > 0) {
|
|
2812
|
+
writer.writeString(
|
|
2813
|
+
1,
|
|
2814
|
+
f
|
|
2815
|
+
);
|
|
2816
|
+
}
|
|
2817
|
+
};
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
/**
|
|
2821
|
+
* optional string result = 1;
|
|
2822
|
+
* @return {string}
|
|
2823
|
+
*/
|
|
2824
|
+
proto.sport.selfValidationBetbyResponse.prototype.getResult = function() {
|
|
2825
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2826
|
+
};
|
|
2827
|
+
|
|
2828
|
+
|
|
2829
|
+
/**
|
|
2830
|
+
* @param {string} value
|
|
2831
|
+
* @return {!proto.sport.selfValidationBetbyResponse} returns this
|
|
2832
|
+
*/
|
|
2833
|
+
proto.sport.selfValidationBetbyResponse.prototype.setResult = function(value) {
|
|
2834
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2835
|
+
};
|
|
2836
|
+
|
|
2837
|
+
|
|
2838
|
+
|
|
2839
|
+
|
|
2840
|
+
|
|
2841
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2842
|
+
/**
|
|
2843
|
+
* Creates an object representation of this proto.
|
|
2844
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2845
|
+
* Optional fields that are not set will be set to undefined.
|
|
2846
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2847
|
+
* For the list of reserved names please see:
|
|
2848
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2849
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2850
|
+
* JSPB instance for transitional soy proto support:
|
|
2851
|
+
* http://goto/soy-param-migration
|
|
2852
|
+
* @return {!Object}
|
|
2853
|
+
*/
|
|
2854
|
+
proto.sport.SportCategoryItem.prototype.toObject = function(opt_includeInstance) {
|
|
2855
|
+
return proto.sport.SportCategoryItem.toObject(opt_includeInstance, this);
|
|
2856
|
+
};
|
|
2857
|
+
|
|
2858
|
+
|
|
2859
|
+
/**
|
|
2860
|
+
* Static version of the {@see toObject} method.
|
|
2861
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2862
|
+
* the JSPB instance for transitional soy proto support:
|
|
2863
|
+
* http://goto/soy-param-migration
|
|
2864
|
+
* @param {!proto.sport.SportCategoryItem} msg The msg instance to transform.
|
|
2865
|
+
* @return {!Object}
|
|
2866
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2867
|
+
*/
|
|
2868
|
+
proto.sport.SportCategoryItem.toObject = function(includeInstance, msg) {
|
|
2869
|
+
var f, obj = {
|
|
2870
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2871
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2872
|
+
group: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2873
|
+
isLiveSupported: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
2874
|
+
};
|
|
2875
|
+
|
|
2876
|
+
if (includeInstance) {
|
|
2877
|
+
obj.$jspbMessageInstance = msg;
|
|
2878
|
+
}
|
|
2879
|
+
return obj;
|
|
2880
|
+
};
|
|
2881
|
+
}
|
|
2882
|
+
|
|
2883
|
+
|
|
2884
|
+
/**
|
|
2885
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2886
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2887
|
+
* @return {!proto.sport.SportCategoryItem}
|
|
2888
|
+
*/
|
|
2889
|
+
proto.sport.SportCategoryItem.deserializeBinary = function(bytes) {
|
|
2890
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2891
|
+
var msg = new proto.sport.SportCategoryItem;
|
|
2892
|
+
return proto.sport.SportCategoryItem.deserializeBinaryFromReader(msg, reader);
|
|
2893
|
+
};
|
|
2894
|
+
|
|
2895
|
+
|
|
2896
|
+
/**
|
|
2897
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2898
|
+
* given reader into the given message object.
|
|
2899
|
+
* @param {!proto.sport.SportCategoryItem} msg The message object to deserialize into.
|
|
2900
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2901
|
+
* @return {!proto.sport.SportCategoryItem}
|
|
2902
|
+
*/
|
|
2903
|
+
proto.sport.SportCategoryItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
2904
|
+
while (reader.nextField()) {
|
|
2905
|
+
if (reader.isEndGroup()) {
|
|
2906
|
+
break;
|
|
2907
|
+
}
|
|
2908
|
+
var field = reader.getFieldNumber();
|
|
2909
|
+
switch (field) {
|
|
2910
|
+
case 1:
|
|
2911
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2912
|
+
msg.setId(value);
|
|
2913
|
+
break;
|
|
2914
|
+
case 2:
|
|
2915
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2916
|
+
msg.setTitle(value);
|
|
2917
|
+
break;
|
|
2918
|
+
case 3:
|
|
2919
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2920
|
+
msg.setGroup(value);
|
|
2921
|
+
break;
|
|
2922
|
+
case 4:
|
|
2923
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2924
|
+
msg.setIsLiveSupported(value);
|
|
2925
|
+
break;
|
|
2926
|
+
default:
|
|
2927
|
+
reader.skipField();
|
|
2928
|
+
break;
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
return msg;
|
|
2932
|
+
};
|
|
2933
|
+
|
|
2934
|
+
|
|
2935
|
+
/**
|
|
2936
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2937
|
+
* @return {!Uint8Array}
|
|
2938
|
+
*/
|
|
2939
|
+
proto.sport.SportCategoryItem.prototype.serializeBinary = function() {
|
|
2940
|
+
var writer = new jspb.BinaryWriter();
|
|
2941
|
+
proto.sport.SportCategoryItem.serializeBinaryToWriter(this, writer);
|
|
2942
|
+
return writer.getResultBuffer();
|
|
2943
|
+
};
|
|
2944
|
+
|
|
2945
|
+
|
|
2946
|
+
/**
|
|
2947
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2948
|
+
* format), writing to the given BinaryWriter.
|
|
2949
|
+
* @param {!proto.sport.SportCategoryItem} message
|
|
2950
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2951
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2952
|
+
*/
|
|
2953
|
+
proto.sport.SportCategoryItem.serializeBinaryToWriter = function(message, writer) {
|
|
2954
|
+
var f = undefined;
|
|
2955
|
+
f = message.getId();
|
|
2956
|
+
if (f !== 0) {
|
|
2957
|
+
writer.writeInt32(
|
|
2958
|
+
1,
|
|
2959
|
+
f
|
|
2960
|
+
);
|
|
2961
|
+
}
|
|
2962
|
+
f = message.getTitle();
|
|
2963
|
+
if (f.length > 0) {
|
|
2964
|
+
writer.writeString(
|
|
2965
|
+
2,
|
|
2966
|
+
f
|
|
2967
|
+
);
|
|
2968
|
+
}
|
|
2969
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
2970
|
+
if (f != null) {
|
|
2971
|
+
writer.writeString(
|
|
2972
|
+
3,
|
|
2973
|
+
f
|
|
2974
|
+
);
|
|
2975
|
+
}
|
|
2976
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
|
2977
|
+
if (f != null) {
|
|
2978
|
+
writer.writeBool(
|
|
2979
|
+
4,
|
|
2980
|
+
f
|
|
2981
|
+
);
|
|
2982
|
+
}
|
|
2983
|
+
};
|
|
2984
|
+
|
|
2985
|
+
|
|
2986
|
+
/**
|
|
2987
|
+
* optional int32 id = 1;
|
|
2988
|
+
* @return {number}
|
|
2989
|
+
*/
|
|
2990
|
+
proto.sport.SportCategoryItem.prototype.getId = function() {
|
|
2991
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2992
|
+
};
|
|
2993
|
+
|
|
2994
|
+
|
|
2995
|
+
/**
|
|
2996
|
+
* @param {number} value
|
|
2997
|
+
* @return {!proto.sport.SportCategoryItem} returns this
|
|
2998
|
+
*/
|
|
2999
|
+
proto.sport.SportCategoryItem.prototype.setId = function(value) {
|
|
3000
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3001
|
+
};
|
|
3002
|
+
|
|
3003
|
+
|
|
3004
|
+
/**
|
|
3005
|
+
* optional string title = 2;
|
|
3006
|
+
* @return {string}
|
|
3007
|
+
*/
|
|
3008
|
+
proto.sport.SportCategoryItem.prototype.getTitle = function() {
|
|
3009
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3010
|
+
};
|
|
3011
|
+
|
|
3012
|
+
|
|
3013
|
+
/**
|
|
3014
|
+
* @param {string} value
|
|
3015
|
+
* @return {!proto.sport.SportCategoryItem} returns this
|
|
3016
|
+
*/
|
|
3017
|
+
proto.sport.SportCategoryItem.prototype.setTitle = function(value) {
|
|
3018
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3019
|
+
};
|
|
3020
|
+
|
|
3021
|
+
|
|
3022
|
+
/**
|
|
3023
|
+
* optional string group = 3;
|
|
3024
|
+
* @return {string}
|
|
3025
|
+
*/
|
|
3026
|
+
proto.sport.SportCategoryItem.prototype.getGroup = function() {
|
|
3027
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3028
|
+
};
|
|
3029
|
+
|
|
3030
|
+
|
|
3031
|
+
/**
|
|
3032
|
+
* @param {string} value
|
|
3033
|
+
* @return {!proto.sport.SportCategoryItem} returns this
|
|
3034
|
+
*/
|
|
3035
|
+
proto.sport.SportCategoryItem.prototype.setGroup = function(value) {
|
|
3036
|
+
return jspb.Message.setField(this, 3, value);
|
|
3037
|
+
};
|
|
3038
|
+
|
|
3039
|
+
|
|
3040
|
+
/**
|
|
3041
|
+
* Clears the field making it undefined.
|
|
3042
|
+
* @return {!proto.sport.SportCategoryItem} returns this
|
|
3043
|
+
*/
|
|
3044
|
+
proto.sport.SportCategoryItem.prototype.clearGroup = function() {
|
|
3045
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
3046
|
+
};
|
|
3047
|
+
|
|
3048
|
+
|
|
3049
|
+
/**
|
|
3050
|
+
* Returns whether this field is set.
|
|
3051
|
+
* @return {boolean}
|
|
3052
|
+
*/
|
|
3053
|
+
proto.sport.SportCategoryItem.prototype.hasGroup = function() {
|
|
3054
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3055
|
+
};
|
|
3056
|
+
|
|
3057
|
+
|
|
3058
|
+
/**
|
|
3059
|
+
* optional bool is_live_supported = 4;
|
|
3060
|
+
* @return {boolean}
|
|
3061
|
+
*/
|
|
3062
|
+
proto.sport.SportCategoryItem.prototype.getIsLiveSupported = function() {
|
|
3063
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
3064
|
+
};
|
|
3065
|
+
|
|
3066
|
+
|
|
3067
|
+
/**
|
|
3068
|
+
* @param {boolean} value
|
|
3069
|
+
* @return {!proto.sport.SportCategoryItem} returns this
|
|
3070
|
+
*/
|
|
3071
|
+
proto.sport.SportCategoryItem.prototype.setIsLiveSupported = function(value) {
|
|
3072
|
+
return jspb.Message.setField(this, 4, value);
|
|
3073
|
+
};
|
|
3074
|
+
|
|
3075
|
+
|
|
3076
|
+
/**
|
|
3077
|
+
* Clears the field making it undefined.
|
|
3078
|
+
* @return {!proto.sport.SportCategoryItem} returns this
|
|
3079
|
+
*/
|
|
3080
|
+
proto.sport.SportCategoryItem.prototype.clearIsLiveSupported = function() {
|
|
3081
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
3082
|
+
};
|
|
3083
|
+
|
|
3084
|
+
|
|
3085
|
+
/**
|
|
3086
|
+
* Returns whether this field is set.
|
|
3087
|
+
* @return {boolean}
|
|
3088
|
+
*/
|
|
3089
|
+
proto.sport.SportCategoryItem.prototype.hasIsLiveSupported = function() {
|
|
3090
|
+
return jspb.Message.getField(this, 4) != null;
|
|
3091
|
+
};
|
|
3092
|
+
|
|
3093
|
+
|
|
3094
|
+
|
|
3095
|
+
/**
|
|
3096
|
+
* List of repeated fields within this message type.
|
|
3097
|
+
* @private {!Array<number>}
|
|
3098
|
+
* @const
|
|
3099
|
+
*/
|
|
3100
|
+
proto.sport.SportCategoriesIds.repeatedFields_ = [1];
|
|
3101
|
+
|
|
3102
|
+
|
|
3103
|
+
|
|
3104
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3105
|
+
/**
|
|
3106
|
+
* Creates an object representation of this proto.
|
|
3107
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3108
|
+
* Optional fields that are not set will be set to undefined.
|
|
3109
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3110
|
+
* For the list of reserved names please see:
|
|
3111
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3112
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3113
|
+
* JSPB instance for transitional soy proto support:
|
|
3114
|
+
* http://goto/soy-param-migration
|
|
3115
|
+
* @return {!Object}
|
|
3116
|
+
*/
|
|
3117
|
+
proto.sport.SportCategoriesIds.prototype.toObject = function(opt_includeInstance) {
|
|
3118
|
+
return proto.sport.SportCategoriesIds.toObject(opt_includeInstance, this);
|
|
3119
|
+
};
|
|
3120
|
+
|
|
3121
|
+
|
|
3122
|
+
/**
|
|
3123
|
+
* Static version of the {@see toObject} method.
|
|
3124
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3125
|
+
* the JSPB instance for transitional soy proto support:
|
|
3126
|
+
* http://goto/soy-param-migration
|
|
3127
|
+
* @param {!proto.sport.SportCategoriesIds} msg The msg instance to transform.
|
|
3128
|
+
* @return {!Object}
|
|
3129
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3130
|
+
*/
|
|
3131
|
+
proto.sport.SportCategoriesIds.toObject = function(includeInstance, msg) {
|
|
3132
|
+
var f, obj = {
|
|
3133
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
3134
|
+
};
|
|
3135
|
+
|
|
3136
|
+
if (includeInstance) {
|
|
3137
|
+
obj.$jspbMessageInstance = msg;
|
|
3138
|
+
}
|
|
3139
|
+
return obj;
|
|
3140
|
+
};
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3143
|
+
|
|
3144
|
+
/**
|
|
3145
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3146
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3147
|
+
* @return {!proto.sport.SportCategoriesIds}
|
|
3148
|
+
*/
|
|
3149
|
+
proto.sport.SportCategoriesIds.deserializeBinary = function(bytes) {
|
|
3150
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3151
|
+
var msg = new proto.sport.SportCategoriesIds;
|
|
3152
|
+
return proto.sport.SportCategoriesIds.deserializeBinaryFromReader(msg, reader);
|
|
3153
|
+
};
|
|
3154
|
+
|
|
3155
|
+
|
|
3156
|
+
/**
|
|
3157
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3158
|
+
* given reader into the given message object.
|
|
3159
|
+
* @param {!proto.sport.SportCategoriesIds} msg The message object to deserialize into.
|
|
3160
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3161
|
+
* @return {!proto.sport.SportCategoriesIds}
|
|
3162
|
+
*/
|
|
3163
|
+
proto.sport.SportCategoriesIds.deserializeBinaryFromReader = function(msg, reader) {
|
|
3164
|
+
while (reader.nextField()) {
|
|
3165
|
+
if (reader.isEndGroup()) {
|
|
3166
|
+
break;
|
|
3167
|
+
}
|
|
3168
|
+
var field = reader.getFieldNumber();
|
|
3169
|
+
switch (field) {
|
|
3170
|
+
case 1:
|
|
3171
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
3172
|
+
for (var i = 0; i < values.length; i++) {
|
|
3173
|
+
msg.addIds(values[i]);
|
|
3174
|
+
}
|
|
3175
|
+
break;
|
|
3176
|
+
default:
|
|
3177
|
+
reader.skipField();
|
|
3178
|
+
break;
|
|
3179
|
+
}
|
|
3180
|
+
}
|
|
3181
|
+
return msg;
|
|
3182
|
+
};
|
|
3183
|
+
|
|
3184
|
+
|
|
3185
|
+
/**
|
|
3186
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3187
|
+
* @return {!Uint8Array}
|
|
3188
|
+
*/
|
|
3189
|
+
proto.sport.SportCategoriesIds.prototype.serializeBinary = function() {
|
|
3190
|
+
var writer = new jspb.BinaryWriter();
|
|
3191
|
+
proto.sport.SportCategoriesIds.serializeBinaryToWriter(this, writer);
|
|
3192
|
+
return writer.getResultBuffer();
|
|
3193
|
+
};
|
|
3194
|
+
|
|
3195
|
+
|
|
3196
|
+
/**
|
|
3197
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3198
|
+
* format), writing to the given BinaryWriter.
|
|
3199
|
+
* @param {!proto.sport.SportCategoriesIds} message
|
|
3200
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3201
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3202
|
+
*/
|
|
3203
|
+
proto.sport.SportCategoriesIds.serializeBinaryToWriter = function(message, writer) {
|
|
3204
|
+
var f = undefined;
|
|
3205
|
+
f = message.getIdsList();
|
|
3206
|
+
if (f.length > 0) {
|
|
3207
|
+
writer.writePackedInt32(
|
|
3208
|
+
1,
|
|
3209
|
+
f
|
|
3210
|
+
);
|
|
3211
|
+
}
|
|
3212
|
+
};
|
|
3213
|
+
|
|
3214
|
+
|
|
3215
|
+
/**
|
|
3216
|
+
* repeated int32 ids = 1;
|
|
3217
|
+
* @return {!Array<number>}
|
|
3218
|
+
*/
|
|
3219
|
+
proto.sport.SportCategoriesIds.prototype.getIdsList = function() {
|
|
3220
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
3221
|
+
};
|
|
3222
|
+
|
|
3223
|
+
|
|
3224
|
+
/**
|
|
3225
|
+
* @param {!Array<number>} value
|
|
3226
|
+
* @return {!proto.sport.SportCategoriesIds} returns this
|
|
3227
|
+
*/
|
|
3228
|
+
proto.sport.SportCategoriesIds.prototype.setIdsList = function(value) {
|
|
3229
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
3230
|
+
};
|
|
3231
|
+
|
|
3232
|
+
|
|
3233
|
+
/**
|
|
3234
|
+
* @param {number} value
|
|
3235
|
+
* @param {number=} opt_index
|
|
3236
|
+
* @return {!proto.sport.SportCategoriesIds} returns this
|
|
3237
|
+
*/
|
|
3238
|
+
proto.sport.SportCategoriesIds.prototype.addIds = function(value, opt_index) {
|
|
3239
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
3240
|
+
};
|
|
3241
|
+
|
|
3242
|
+
|
|
3243
|
+
/**
|
|
3244
|
+
* Clears the list making it empty but non-null.
|
|
3245
|
+
* @return {!proto.sport.SportCategoriesIds} returns this
|
|
3246
|
+
*/
|
|
3247
|
+
proto.sport.SportCategoriesIds.prototype.clearIdsList = function() {
|
|
3248
|
+
return this.setIdsList([]);
|
|
3249
|
+
};
|
|
3250
|
+
|
|
3251
|
+
|
|
3252
|
+
|
|
3253
|
+
/**
|
|
3254
|
+
* List of repeated fields within this message type.
|
|
3255
|
+
* @private {!Array<number>}
|
|
3256
|
+
* @const
|
|
3257
|
+
*/
|
|
3258
|
+
proto.sport.SportCategoriesResponse.repeatedFields_ = [1];
|
|
3259
|
+
|
|
3260
|
+
|
|
3261
|
+
|
|
3262
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3263
|
+
/**
|
|
3264
|
+
* Creates an object representation of this proto.
|
|
3265
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3266
|
+
* Optional fields that are not set will be set to undefined.
|
|
3267
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3268
|
+
* For the list of reserved names please see:
|
|
3269
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3270
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3271
|
+
* JSPB instance for transitional soy proto support:
|
|
3272
|
+
* http://goto/soy-param-migration
|
|
3273
|
+
* @return {!Object}
|
|
3274
|
+
*/
|
|
3275
|
+
proto.sport.SportCategoriesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3276
|
+
return proto.sport.SportCategoriesResponse.toObject(opt_includeInstance, this);
|
|
3277
|
+
};
|
|
3278
|
+
|
|
3279
|
+
|
|
3280
|
+
/**
|
|
3281
|
+
* Static version of the {@see toObject} method.
|
|
3282
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3283
|
+
* the JSPB instance for transitional soy proto support:
|
|
3284
|
+
* http://goto/soy-param-migration
|
|
3285
|
+
* @param {!proto.sport.SportCategoriesResponse} msg The msg instance to transform.
|
|
3286
|
+
* @return {!Object}
|
|
3287
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3288
|
+
*/
|
|
3289
|
+
proto.sport.SportCategoriesResponse.toObject = function(includeInstance, msg) {
|
|
3290
|
+
var f, obj = {
|
|
3291
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
3292
|
+
proto.sport.SportCategoryItem.toObject, includeInstance)
|
|
3293
|
+
};
|
|
3294
|
+
|
|
3295
|
+
if (includeInstance) {
|
|
3296
|
+
obj.$jspbMessageInstance = msg;
|
|
3297
|
+
}
|
|
3298
|
+
return obj;
|
|
3299
|
+
};
|
|
3300
|
+
}
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
/**
|
|
3304
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3305
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3306
|
+
* @return {!proto.sport.SportCategoriesResponse}
|
|
3307
|
+
*/
|
|
3308
|
+
proto.sport.SportCategoriesResponse.deserializeBinary = function(bytes) {
|
|
3309
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3310
|
+
var msg = new proto.sport.SportCategoriesResponse;
|
|
3311
|
+
return proto.sport.SportCategoriesResponse.deserializeBinaryFromReader(msg, reader);
|
|
3312
|
+
};
|
|
3313
|
+
|
|
3314
|
+
|
|
3315
|
+
/**
|
|
3316
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3317
|
+
* given reader into the given message object.
|
|
3318
|
+
* @param {!proto.sport.SportCategoriesResponse} msg The message object to deserialize into.
|
|
3319
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3320
|
+
* @return {!proto.sport.SportCategoriesResponse}
|
|
3321
|
+
*/
|
|
3322
|
+
proto.sport.SportCategoriesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3323
|
+
while (reader.nextField()) {
|
|
3324
|
+
if (reader.isEndGroup()) {
|
|
3325
|
+
break;
|
|
3326
|
+
}
|
|
3327
|
+
var field = reader.getFieldNumber();
|
|
3328
|
+
switch (field) {
|
|
3329
|
+
case 1:
|
|
3330
|
+
var value = new proto.sport.SportCategoryItem;
|
|
3331
|
+
reader.readMessage(value,proto.sport.SportCategoryItem.deserializeBinaryFromReader);
|
|
3332
|
+
msg.addItems(value);
|
|
3333
|
+
break;
|
|
3334
|
+
default:
|
|
3335
|
+
reader.skipField();
|
|
3336
|
+
break;
|
|
3337
|
+
}
|
|
3338
|
+
}
|
|
3339
|
+
return msg;
|
|
3340
|
+
};
|
|
3341
|
+
|
|
3342
|
+
|
|
3343
|
+
/**
|
|
3344
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3345
|
+
* @return {!Uint8Array}
|
|
3346
|
+
*/
|
|
3347
|
+
proto.sport.SportCategoriesResponse.prototype.serializeBinary = function() {
|
|
3348
|
+
var writer = new jspb.BinaryWriter();
|
|
3349
|
+
proto.sport.SportCategoriesResponse.serializeBinaryToWriter(this, writer);
|
|
3350
|
+
return writer.getResultBuffer();
|
|
3351
|
+
};
|
|
3352
|
+
|
|
3353
|
+
|
|
3354
|
+
/**
|
|
3355
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3356
|
+
* format), writing to the given BinaryWriter.
|
|
3357
|
+
* @param {!proto.sport.SportCategoriesResponse} message
|
|
3358
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3359
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3360
|
+
*/
|
|
3361
|
+
proto.sport.SportCategoriesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3362
|
+
var f = undefined;
|
|
3363
|
+
f = message.getItemsList();
|
|
3364
|
+
if (f.length > 0) {
|
|
3365
|
+
writer.writeRepeatedMessage(
|
|
3366
|
+
1,
|
|
3367
|
+
f,
|
|
3368
|
+
proto.sport.SportCategoryItem.serializeBinaryToWriter
|
|
3369
|
+
);
|
|
3370
|
+
}
|
|
3371
|
+
};
|
|
3372
|
+
|
|
3373
|
+
|
|
3374
|
+
/**
|
|
3375
|
+
* repeated SportCategoryItem items = 1;
|
|
3376
|
+
* @return {!Array<!proto.sport.SportCategoryItem>}
|
|
3377
|
+
*/
|
|
3378
|
+
proto.sport.SportCategoriesResponse.prototype.getItemsList = function() {
|
|
3379
|
+
return /** @type{!Array<!proto.sport.SportCategoryItem>} */ (
|
|
3380
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sport.SportCategoryItem, 1));
|
|
3381
|
+
};
|
|
3382
|
+
|
|
3383
|
+
|
|
3384
|
+
/**
|
|
3385
|
+
* @param {!Array<!proto.sport.SportCategoryItem>} value
|
|
3386
|
+
* @return {!proto.sport.SportCategoriesResponse} returns this
|
|
3387
|
+
*/
|
|
3388
|
+
proto.sport.SportCategoriesResponse.prototype.setItemsList = function(value) {
|
|
3389
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3390
|
+
};
|
|
3391
|
+
|
|
3392
|
+
|
|
3393
|
+
/**
|
|
3394
|
+
* @param {!proto.sport.SportCategoryItem=} opt_value
|
|
3395
|
+
* @param {number=} opt_index
|
|
3396
|
+
* @return {!proto.sport.SportCategoryItem}
|
|
3397
|
+
*/
|
|
3398
|
+
proto.sport.SportCategoriesResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
3399
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.sport.SportCategoryItem, opt_index);
|
|
3400
|
+
};
|
|
3401
|
+
|
|
3402
|
+
|
|
3403
|
+
/**
|
|
3404
|
+
* Clears the list making it empty but non-null.
|
|
3405
|
+
* @return {!proto.sport.SportCategoriesResponse} returns this
|
|
3406
|
+
*/
|
|
3407
|
+
proto.sport.SportCategoriesResponse.prototype.clearItemsList = function() {
|
|
3408
|
+
return this.setItemsList([]);
|
|
3409
|
+
};
|
|
3410
|
+
|
|
3411
|
+
|
|
3412
|
+
|
|
3413
|
+
|
|
3414
|
+
|
|
3415
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3416
|
+
/**
|
|
3417
|
+
* Creates an object representation of this proto.
|
|
3418
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3419
|
+
* Optional fields that are not set will be set to undefined.
|
|
3420
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3421
|
+
* For the list of reserved names please see:
|
|
3422
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3423
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3424
|
+
* JSPB instance for transitional soy proto support:
|
|
3425
|
+
* http://goto/soy-param-migration
|
|
3426
|
+
* @return {!Object}
|
|
3427
|
+
*/
|
|
3428
|
+
proto.sport.SportTypeItem.prototype.toObject = function(opt_includeInstance) {
|
|
3429
|
+
return proto.sport.SportTypeItem.toObject(opt_includeInstance, this);
|
|
3430
|
+
};
|
|
3431
|
+
|
|
3432
|
+
|
|
3433
|
+
/**
|
|
3434
|
+
* Static version of the {@see toObject} method.
|
|
3435
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3436
|
+
* the JSPB instance for transitional soy proto support:
|
|
3437
|
+
* http://goto/soy-param-migration
|
|
3438
|
+
* @param {!proto.sport.SportTypeItem} msg The msg instance to transform.
|
|
3439
|
+
* @return {!Object}
|
|
3440
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3441
|
+
*/
|
|
3442
|
+
proto.sport.SportTypeItem.toObject = function(includeInstance, msg) {
|
|
3443
|
+
var f, obj = {
|
|
3444
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3445
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3446
|
+
sportCategoryId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
3447
|
+
marketGroup: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3448
|
+
};
|
|
3449
|
+
|
|
3450
|
+
if (includeInstance) {
|
|
3451
|
+
obj.$jspbMessageInstance = msg;
|
|
3452
|
+
}
|
|
3453
|
+
return obj;
|
|
3454
|
+
};
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3457
|
+
|
|
3458
|
+
/**
|
|
3459
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3460
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3461
|
+
* @return {!proto.sport.SportTypeItem}
|
|
3462
|
+
*/
|
|
3463
|
+
proto.sport.SportTypeItem.deserializeBinary = function(bytes) {
|
|
3464
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3465
|
+
var msg = new proto.sport.SportTypeItem;
|
|
3466
|
+
return proto.sport.SportTypeItem.deserializeBinaryFromReader(msg, reader);
|
|
3467
|
+
};
|
|
3468
|
+
|
|
3469
|
+
|
|
3470
|
+
/**
|
|
3471
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3472
|
+
* given reader into the given message object.
|
|
3473
|
+
* @param {!proto.sport.SportTypeItem} msg The message object to deserialize into.
|
|
3474
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3475
|
+
* @return {!proto.sport.SportTypeItem}
|
|
3476
|
+
*/
|
|
3477
|
+
proto.sport.SportTypeItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
3478
|
+
while (reader.nextField()) {
|
|
3479
|
+
if (reader.isEndGroup()) {
|
|
3480
|
+
break;
|
|
3481
|
+
}
|
|
3482
|
+
var field = reader.getFieldNumber();
|
|
3483
|
+
switch (field) {
|
|
3484
|
+
case 1:
|
|
3485
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3486
|
+
msg.setId(value);
|
|
3487
|
+
break;
|
|
3488
|
+
case 2:
|
|
3489
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3490
|
+
msg.setTitle(value);
|
|
3491
|
+
break;
|
|
3492
|
+
case 3:
|
|
3493
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3494
|
+
msg.setSportCategoryId(value);
|
|
3495
|
+
break;
|
|
3496
|
+
case 4:
|
|
3497
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3498
|
+
msg.setMarketGroup(value);
|
|
3499
|
+
break;
|
|
3500
|
+
default:
|
|
3501
|
+
reader.skipField();
|
|
3502
|
+
break;
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3505
|
+
return msg;
|
|
3506
|
+
};
|
|
3507
|
+
|
|
3508
|
+
|
|
3509
|
+
/**
|
|
3510
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3511
|
+
* @return {!Uint8Array}
|
|
3512
|
+
*/
|
|
3513
|
+
proto.sport.SportTypeItem.prototype.serializeBinary = function() {
|
|
3514
|
+
var writer = new jspb.BinaryWriter();
|
|
3515
|
+
proto.sport.SportTypeItem.serializeBinaryToWriter(this, writer);
|
|
3516
|
+
return writer.getResultBuffer();
|
|
3517
|
+
};
|
|
3518
|
+
|
|
3519
|
+
|
|
3520
|
+
/**
|
|
3521
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3522
|
+
* format), writing to the given BinaryWriter.
|
|
3523
|
+
* @param {!proto.sport.SportTypeItem} message
|
|
3524
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3525
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3526
|
+
*/
|
|
3527
|
+
proto.sport.SportTypeItem.serializeBinaryToWriter = function(message, writer) {
|
|
3528
|
+
var f = undefined;
|
|
3529
|
+
f = message.getId();
|
|
3530
|
+
if (f !== 0) {
|
|
3531
|
+
writer.writeInt32(
|
|
3532
|
+
1,
|
|
3533
|
+
f
|
|
3534
|
+
);
|
|
3535
|
+
}
|
|
3536
|
+
f = message.getTitle();
|
|
3537
|
+
if (f.length > 0) {
|
|
3538
|
+
writer.writeString(
|
|
3539
|
+
2,
|
|
3540
|
+
f
|
|
3541
|
+
);
|
|
3542
|
+
}
|
|
3543
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
3544
|
+
if (f != null) {
|
|
3545
|
+
writer.writeInt32(
|
|
3546
|
+
3,
|
|
3547
|
+
f
|
|
3548
|
+
);
|
|
3549
|
+
}
|
|
3550
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
3551
|
+
if (f != null) {
|
|
3552
|
+
writer.writeString(
|
|
3553
|
+
4,
|
|
3554
|
+
f
|
|
3555
|
+
);
|
|
3556
|
+
}
|
|
3557
|
+
};
|
|
3558
|
+
|
|
3559
|
+
|
|
3560
|
+
/**
|
|
3561
|
+
* optional int32 id = 1;
|
|
3562
|
+
* @return {number}
|
|
3563
|
+
*/
|
|
3564
|
+
proto.sport.SportTypeItem.prototype.getId = function() {
|
|
3565
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3566
|
+
};
|
|
3567
|
+
|
|
3568
|
+
|
|
3569
|
+
/**
|
|
3570
|
+
* @param {number} value
|
|
3571
|
+
* @return {!proto.sport.SportTypeItem} returns this
|
|
3572
|
+
*/
|
|
3573
|
+
proto.sport.SportTypeItem.prototype.setId = function(value) {
|
|
3574
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3575
|
+
};
|
|
3576
|
+
|
|
3577
|
+
|
|
3578
|
+
/**
|
|
3579
|
+
* optional string title = 2;
|
|
3580
|
+
* @return {string}
|
|
3581
|
+
*/
|
|
3582
|
+
proto.sport.SportTypeItem.prototype.getTitle = function() {
|
|
3583
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3584
|
+
};
|
|
3585
|
+
|
|
3586
|
+
|
|
3587
|
+
/**
|
|
3588
|
+
* @param {string} value
|
|
3589
|
+
* @return {!proto.sport.SportTypeItem} returns this
|
|
3590
|
+
*/
|
|
3591
|
+
proto.sport.SportTypeItem.prototype.setTitle = function(value) {
|
|
3592
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3593
|
+
};
|
|
3594
|
+
|
|
3595
|
+
|
|
3596
|
+
/**
|
|
3597
|
+
* optional int32 sport_category_id = 3;
|
|
3598
|
+
* @return {number}
|
|
3599
|
+
*/
|
|
3600
|
+
proto.sport.SportTypeItem.prototype.getSportCategoryId = function() {
|
|
3601
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
3602
|
+
};
|
|
3603
|
+
|
|
3604
|
+
|
|
3605
|
+
/**
|
|
3606
|
+
* @param {number} value
|
|
3607
|
+
* @return {!proto.sport.SportTypeItem} returns this
|
|
3608
|
+
*/
|
|
3609
|
+
proto.sport.SportTypeItem.prototype.setSportCategoryId = function(value) {
|
|
3610
|
+
return jspb.Message.setField(this, 3, value);
|
|
3611
|
+
};
|
|
3612
|
+
|
|
3613
|
+
|
|
3614
|
+
/**
|
|
3615
|
+
* Clears the field making it undefined.
|
|
3616
|
+
* @return {!proto.sport.SportTypeItem} returns this
|
|
3617
|
+
*/
|
|
3618
|
+
proto.sport.SportTypeItem.prototype.clearSportCategoryId = function() {
|
|
3619
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
3620
|
+
};
|
|
3621
|
+
|
|
3622
|
+
|
|
3623
|
+
/**
|
|
3624
|
+
* Returns whether this field is set.
|
|
3625
|
+
* @return {boolean}
|
|
3626
|
+
*/
|
|
3627
|
+
proto.sport.SportTypeItem.prototype.hasSportCategoryId = function() {
|
|
3628
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3629
|
+
};
|
|
3630
|
+
|
|
3631
|
+
|
|
3632
|
+
/**
|
|
3633
|
+
* optional string market_group = 4;
|
|
3634
|
+
* @return {string}
|
|
3635
|
+
*/
|
|
3636
|
+
proto.sport.SportTypeItem.prototype.getMarketGroup = function() {
|
|
3637
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3638
|
+
};
|
|
3639
|
+
|
|
3640
|
+
|
|
3641
|
+
/**
|
|
3642
|
+
* @param {string} value
|
|
3643
|
+
* @return {!proto.sport.SportTypeItem} returns this
|
|
3644
|
+
*/
|
|
3645
|
+
proto.sport.SportTypeItem.prototype.setMarketGroup = function(value) {
|
|
2158
3646
|
return jspb.Message.setField(this, 4, value);
|
|
2159
3647
|
};
|
|
2160
3648
|
|
|
2161
3649
|
|
|
2162
3650
|
/**
|
|
2163
3651
|
* Clears the field making it undefined.
|
|
2164
|
-
* @return {!proto.sport.
|
|
3652
|
+
* @return {!proto.sport.SportTypeItem} returns this
|
|
2165
3653
|
*/
|
|
2166
|
-
proto.sport.
|
|
3654
|
+
proto.sport.SportTypeItem.prototype.clearMarketGroup = function() {
|
|
2167
3655
|
return jspb.Message.setField(this, 4, undefined);
|
|
2168
3656
|
};
|
|
2169
3657
|
|
|
@@ -2172,12 +3660,19 @@ proto.sport.selfValidationBetbyRequest.prototype.clearTaskId = function() {
|
|
|
2172
3660
|
* Returns whether this field is set.
|
|
2173
3661
|
* @return {boolean}
|
|
2174
3662
|
*/
|
|
2175
|
-
proto.sport.
|
|
3663
|
+
proto.sport.SportTypeItem.prototype.hasMarketGroup = function() {
|
|
2176
3664
|
return jspb.Message.getField(this, 4) != null;
|
|
2177
3665
|
};
|
|
2178
3666
|
|
|
2179
3667
|
|
|
2180
3668
|
|
|
3669
|
+
/**
|
|
3670
|
+
* List of repeated fields within this message type.
|
|
3671
|
+
* @private {!Array<number>}
|
|
3672
|
+
* @const
|
|
3673
|
+
*/
|
|
3674
|
+
proto.sport.SportTypesIds.repeatedFields_ = [1];
|
|
3675
|
+
|
|
2181
3676
|
|
|
2182
3677
|
|
|
2183
3678
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2193,8 +3688,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2193
3688
|
* http://goto/soy-param-migration
|
|
2194
3689
|
* @return {!Object}
|
|
2195
3690
|
*/
|
|
2196
|
-
proto.sport.
|
|
2197
|
-
return proto.sport.
|
|
3691
|
+
proto.sport.SportTypesIds.prototype.toObject = function(opt_includeInstance) {
|
|
3692
|
+
return proto.sport.SportTypesIds.toObject(opt_includeInstance, this);
|
|
2198
3693
|
};
|
|
2199
3694
|
|
|
2200
3695
|
|
|
@@ -2203,13 +3698,13 @@ proto.sport.selfValidationBetbyResponse.prototype.toObject = function(opt_includ
|
|
|
2203
3698
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2204
3699
|
* the JSPB instance for transitional soy proto support:
|
|
2205
3700
|
* http://goto/soy-param-migration
|
|
2206
|
-
* @param {!proto.sport.
|
|
3701
|
+
* @param {!proto.sport.SportTypesIds} msg The msg instance to transform.
|
|
2207
3702
|
* @return {!Object}
|
|
2208
3703
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2209
3704
|
*/
|
|
2210
|
-
proto.sport.
|
|
3705
|
+
proto.sport.SportTypesIds.toObject = function(includeInstance, msg) {
|
|
2211
3706
|
var f, obj = {
|
|
2212
|
-
|
|
3707
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
2213
3708
|
};
|
|
2214
3709
|
|
|
2215
3710
|
if (includeInstance) {
|
|
@@ -2223,23 +3718,23 @@ proto.sport.selfValidationBetbyResponse.toObject = function(includeInstance, msg
|
|
|
2223
3718
|
/**
|
|
2224
3719
|
* Deserializes binary data (in protobuf wire format).
|
|
2225
3720
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2226
|
-
* @return {!proto.sport.
|
|
3721
|
+
* @return {!proto.sport.SportTypesIds}
|
|
2227
3722
|
*/
|
|
2228
|
-
proto.sport.
|
|
3723
|
+
proto.sport.SportTypesIds.deserializeBinary = function(bytes) {
|
|
2229
3724
|
var reader = new jspb.BinaryReader(bytes);
|
|
2230
|
-
var msg = new proto.sport.
|
|
2231
|
-
return proto.sport.
|
|
3725
|
+
var msg = new proto.sport.SportTypesIds;
|
|
3726
|
+
return proto.sport.SportTypesIds.deserializeBinaryFromReader(msg, reader);
|
|
2232
3727
|
};
|
|
2233
3728
|
|
|
2234
3729
|
|
|
2235
3730
|
/**
|
|
2236
3731
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2237
3732
|
* given reader into the given message object.
|
|
2238
|
-
* @param {!proto.sport.
|
|
3733
|
+
* @param {!proto.sport.SportTypesIds} msg The message object to deserialize into.
|
|
2239
3734
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2240
|
-
* @return {!proto.sport.
|
|
3735
|
+
* @return {!proto.sport.SportTypesIds}
|
|
2241
3736
|
*/
|
|
2242
|
-
proto.sport.
|
|
3737
|
+
proto.sport.SportTypesIds.deserializeBinaryFromReader = function(msg, reader) {
|
|
2243
3738
|
while (reader.nextField()) {
|
|
2244
3739
|
if (reader.isEndGroup()) {
|
|
2245
3740
|
break;
|
|
@@ -2247,8 +3742,10 @@ proto.sport.selfValidationBetbyResponse.deserializeBinaryFromReader = function(m
|
|
|
2247
3742
|
var field = reader.getFieldNumber();
|
|
2248
3743
|
switch (field) {
|
|
2249
3744
|
case 1:
|
|
2250
|
-
var
|
|
2251
|
-
|
|
3745
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
3746
|
+
for (var i = 0; i < values.length; i++) {
|
|
3747
|
+
msg.addIds(values[i]);
|
|
3748
|
+
}
|
|
2252
3749
|
break;
|
|
2253
3750
|
default:
|
|
2254
3751
|
reader.skipField();
|
|
@@ -2263,9 +3760,9 @@ proto.sport.selfValidationBetbyResponse.deserializeBinaryFromReader = function(m
|
|
|
2263
3760
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2264
3761
|
* @return {!Uint8Array}
|
|
2265
3762
|
*/
|
|
2266
|
-
proto.sport.
|
|
3763
|
+
proto.sport.SportTypesIds.prototype.serializeBinary = function() {
|
|
2267
3764
|
var writer = new jspb.BinaryWriter();
|
|
2268
|
-
proto.sport.
|
|
3765
|
+
proto.sport.SportTypesIds.serializeBinaryToWriter(this, writer);
|
|
2269
3766
|
return writer.getResultBuffer();
|
|
2270
3767
|
};
|
|
2271
3768
|
|
|
@@ -2273,15 +3770,15 @@ proto.sport.selfValidationBetbyResponse.prototype.serializeBinary = function() {
|
|
|
2273
3770
|
/**
|
|
2274
3771
|
* Serializes the given message to binary data (in protobuf wire
|
|
2275
3772
|
* format), writing to the given BinaryWriter.
|
|
2276
|
-
* @param {!proto.sport.
|
|
3773
|
+
* @param {!proto.sport.SportTypesIds} message
|
|
2277
3774
|
* @param {!jspb.BinaryWriter} writer
|
|
2278
3775
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2279
3776
|
*/
|
|
2280
|
-
proto.sport.
|
|
3777
|
+
proto.sport.SportTypesIds.serializeBinaryToWriter = function(message, writer) {
|
|
2281
3778
|
var f = undefined;
|
|
2282
|
-
f = message.
|
|
3779
|
+
f = message.getIdsList();
|
|
2283
3780
|
if (f.length > 0) {
|
|
2284
|
-
writer.
|
|
3781
|
+
writer.writePackedInt32(
|
|
2285
3782
|
1,
|
|
2286
3783
|
f
|
|
2287
3784
|
);
|
|
@@ -2290,24 +3787,50 @@ proto.sport.selfValidationBetbyResponse.serializeBinaryToWriter = function(messa
|
|
|
2290
3787
|
|
|
2291
3788
|
|
|
2292
3789
|
/**
|
|
2293
|
-
*
|
|
2294
|
-
* @return {
|
|
3790
|
+
* repeated int32 ids = 1;
|
|
3791
|
+
* @return {!Array<number>}
|
|
2295
3792
|
*/
|
|
2296
|
-
proto.sport.
|
|
2297
|
-
return /** @type {
|
|
3793
|
+
proto.sport.SportTypesIds.prototype.getIdsList = function() {
|
|
3794
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2298
3795
|
};
|
|
2299
3796
|
|
|
2300
3797
|
|
|
2301
3798
|
/**
|
|
2302
|
-
* @param {
|
|
2303
|
-
* @return {!proto.sport.
|
|
3799
|
+
* @param {!Array<number>} value
|
|
3800
|
+
* @return {!proto.sport.SportTypesIds} returns this
|
|
2304
3801
|
*/
|
|
2305
|
-
proto.sport.
|
|
2306
|
-
return jspb.Message.
|
|
3802
|
+
proto.sport.SportTypesIds.prototype.setIdsList = function(value) {
|
|
3803
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
3804
|
+
};
|
|
3805
|
+
|
|
3806
|
+
|
|
3807
|
+
/**
|
|
3808
|
+
* @param {number} value
|
|
3809
|
+
* @param {number=} opt_index
|
|
3810
|
+
* @return {!proto.sport.SportTypesIds} returns this
|
|
3811
|
+
*/
|
|
3812
|
+
proto.sport.SportTypesIds.prototype.addIds = function(value, opt_index) {
|
|
3813
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
3814
|
+
};
|
|
3815
|
+
|
|
3816
|
+
|
|
3817
|
+
/**
|
|
3818
|
+
* Clears the list making it empty but non-null.
|
|
3819
|
+
* @return {!proto.sport.SportTypesIds} returns this
|
|
3820
|
+
*/
|
|
3821
|
+
proto.sport.SportTypesIds.prototype.clearIdsList = function() {
|
|
3822
|
+
return this.setIdsList([]);
|
|
2307
3823
|
};
|
|
2308
3824
|
|
|
2309
3825
|
|
|
2310
3826
|
|
|
3827
|
+
/**
|
|
3828
|
+
* List of repeated fields within this message type.
|
|
3829
|
+
* @private {!Array<number>}
|
|
3830
|
+
* @const
|
|
3831
|
+
*/
|
|
3832
|
+
proto.sport.SportTypesResponse.repeatedFields_ = [1];
|
|
3833
|
+
|
|
2311
3834
|
|
|
2312
3835
|
|
|
2313
3836
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2323,8 +3846,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2323
3846
|
* http://goto/soy-param-migration
|
|
2324
3847
|
* @return {!Object}
|
|
2325
3848
|
*/
|
|
2326
|
-
proto.sport.
|
|
2327
|
-
return proto.sport.
|
|
3849
|
+
proto.sport.SportTypesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3850
|
+
return proto.sport.SportTypesResponse.toObject(opt_includeInstance, this);
|
|
2328
3851
|
};
|
|
2329
3852
|
|
|
2330
3853
|
|
|
@@ -2333,16 +3856,14 @@ proto.sport.SportCategoryItem.prototype.toObject = function(opt_includeInstance)
|
|
|
2333
3856
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2334
3857
|
* the JSPB instance for transitional soy proto support:
|
|
2335
3858
|
* http://goto/soy-param-migration
|
|
2336
|
-
* @param {!proto.sport.
|
|
3859
|
+
* @param {!proto.sport.SportTypesResponse} msg The msg instance to transform.
|
|
2337
3860
|
* @return {!Object}
|
|
2338
3861
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2339
3862
|
*/
|
|
2340
|
-
proto.sport.
|
|
3863
|
+
proto.sport.SportTypesResponse.toObject = function(includeInstance, msg) {
|
|
2341
3864
|
var f, obj = {
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
group: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2345
|
-
isLiveSupported: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
3865
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
3866
|
+
proto.sport.SportTypeItem.toObject, includeInstance)
|
|
2346
3867
|
};
|
|
2347
3868
|
|
|
2348
3869
|
if (includeInstance) {
|
|
@@ -2356,23 +3877,23 @@ proto.sport.SportCategoryItem.toObject = function(includeInstance, msg) {
|
|
|
2356
3877
|
/**
|
|
2357
3878
|
* Deserializes binary data (in protobuf wire format).
|
|
2358
3879
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2359
|
-
* @return {!proto.sport.
|
|
3880
|
+
* @return {!proto.sport.SportTypesResponse}
|
|
2360
3881
|
*/
|
|
2361
|
-
proto.sport.
|
|
3882
|
+
proto.sport.SportTypesResponse.deserializeBinary = function(bytes) {
|
|
2362
3883
|
var reader = new jspb.BinaryReader(bytes);
|
|
2363
|
-
var msg = new proto.sport.
|
|
2364
|
-
return proto.sport.
|
|
3884
|
+
var msg = new proto.sport.SportTypesResponse;
|
|
3885
|
+
return proto.sport.SportTypesResponse.deserializeBinaryFromReader(msg, reader);
|
|
2365
3886
|
};
|
|
2366
3887
|
|
|
2367
3888
|
|
|
2368
3889
|
/**
|
|
2369
3890
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2370
3891
|
* given reader into the given message object.
|
|
2371
|
-
* @param {!proto.sport.
|
|
3892
|
+
* @param {!proto.sport.SportTypesResponse} msg The message object to deserialize into.
|
|
2372
3893
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2373
|
-
* @return {!proto.sport.
|
|
3894
|
+
* @return {!proto.sport.SportTypesResponse}
|
|
2374
3895
|
*/
|
|
2375
|
-
proto.sport.
|
|
3896
|
+
proto.sport.SportTypesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2376
3897
|
while (reader.nextField()) {
|
|
2377
3898
|
if (reader.isEndGroup()) {
|
|
2378
3899
|
break;
|
|
@@ -2380,197 +3901,89 @@ proto.sport.SportCategoryItem.deserializeBinaryFromReader = function(msg, reader
|
|
|
2380
3901
|
var field = reader.getFieldNumber();
|
|
2381
3902
|
switch (field) {
|
|
2382
3903
|
case 1:
|
|
2383
|
-
var value =
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
case 2:
|
|
2387
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2388
|
-
msg.setTitle(value);
|
|
2389
|
-
break;
|
|
2390
|
-
case 3:
|
|
2391
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2392
|
-
msg.setGroup(value);
|
|
2393
|
-
break;
|
|
2394
|
-
case 4:
|
|
2395
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
2396
|
-
msg.setIsLiveSupported(value);
|
|
2397
|
-
break;
|
|
2398
|
-
default:
|
|
2399
|
-
reader.skipField();
|
|
3904
|
+
var value = new proto.sport.SportTypeItem;
|
|
3905
|
+
reader.readMessage(value,proto.sport.SportTypeItem.deserializeBinaryFromReader);
|
|
3906
|
+
msg.addItems(value);
|
|
2400
3907
|
break;
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
}
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
/**
|
|
2408
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2409
|
-
* @return {!Uint8Array}
|
|
2410
|
-
*/
|
|
2411
|
-
proto.sport.SportCategoryItem.prototype.serializeBinary = function() {
|
|
2412
|
-
var writer = new jspb.BinaryWriter();
|
|
2413
|
-
proto.sport.SportCategoryItem.serializeBinaryToWriter(this, writer);
|
|
2414
|
-
return writer.getResultBuffer();
|
|
2415
|
-
};
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
/**
|
|
2419
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2420
|
-
* format), writing to the given BinaryWriter.
|
|
2421
|
-
* @param {!proto.sport.SportCategoryItem} message
|
|
2422
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2423
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2424
|
-
*/
|
|
2425
|
-
proto.sport.SportCategoryItem.serializeBinaryToWriter = function(message, writer) {
|
|
2426
|
-
var f = undefined;
|
|
2427
|
-
f = message.getId();
|
|
2428
|
-
if (f !== 0) {
|
|
2429
|
-
writer.writeInt32(
|
|
2430
|
-
1,
|
|
2431
|
-
f
|
|
2432
|
-
);
|
|
2433
|
-
}
|
|
2434
|
-
f = message.getTitle();
|
|
2435
|
-
if (f.length > 0) {
|
|
2436
|
-
writer.writeString(
|
|
2437
|
-
2,
|
|
2438
|
-
f
|
|
2439
|
-
);
|
|
2440
|
-
}
|
|
2441
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
2442
|
-
if (f != null) {
|
|
2443
|
-
writer.writeString(
|
|
2444
|
-
3,
|
|
2445
|
-
f
|
|
2446
|
-
);
|
|
2447
|
-
}
|
|
2448
|
-
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
|
2449
|
-
if (f != null) {
|
|
2450
|
-
writer.writeBool(
|
|
2451
|
-
4,
|
|
2452
|
-
f
|
|
2453
|
-
);
|
|
2454
|
-
}
|
|
2455
|
-
};
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
/**
|
|
2459
|
-
* optional int32 id = 1;
|
|
2460
|
-
* @return {number}
|
|
2461
|
-
*/
|
|
2462
|
-
proto.sport.SportCategoryItem.prototype.getId = function() {
|
|
2463
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2464
|
-
};
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
/**
|
|
2468
|
-
* @param {number} value
|
|
2469
|
-
* @return {!proto.sport.SportCategoryItem} returns this
|
|
2470
|
-
*/
|
|
2471
|
-
proto.sport.SportCategoryItem.prototype.setId = function(value) {
|
|
2472
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2473
|
-
};
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
/**
|
|
2477
|
-
* optional string title = 2;
|
|
2478
|
-
* @return {string}
|
|
2479
|
-
*/
|
|
2480
|
-
proto.sport.SportCategoryItem.prototype.getTitle = function() {
|
|
2481
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2482
|
-
};
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
/**
|
|
2486
|
-
* @param {string} value
|
|
2487
|
-
* @return {!proto.sport.SportCategoryItem} returns this
|
|
2488
|
-
*/
|
|
2489
|
-
proto.sport.SportCategoryItem.prototype.setTitle = function(value) {
|
|
2490
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2491
|
-
};
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
/**
|
|
2495
|
-
* optional string group = 3;
|
|
2496
|
-
* @return {string}
|
|
2497
|
-
*/
|
|
2498
|
-
proto.sport.SportCategoryItem.prototype.getGroup = function() {
|
|
2499
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2500
|
-
};
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
/**
|
|
2504
|
-
* @param {string} value
|
|
2505
|
-
* @return {!proto.sport.SportCategoryItem} returns this
|
|
2506
|
-
*/
|
|
2507
|
-
proto.sport.SportCategoryItem.prototype.setGroup = function(value) {
|
|
2508
|
-
return jspb.Message.setField(this, 3, value);
|
|
3908
|
+
default:
|
|
3909
|
+
reader.skipField();
|
|
3910
|
+
break;
|
|
3911
|
+
}
|
|
3912
|
+
}
|
|
3913
|
+
return msg;
|
|
2509
3914
|
};
|
|
2510
3915
|
|
|
2511
3916
|
|
|
2512
3917
|
/**
|
|
2513
|
-
*
|
|
2514
|
-
* @return {!
|
|
3918
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3919
|
+
* @return {!Uint8Array}
|
|
2515
3920
|
*/
|
|
2516
|
-
proto.sport.
|
|
2517
|
-
|
|
3921
|
+
proto.sport.SportTypesResponse.prototype.serializeBinary = function() {
|
|
3922
|
+
var writer = new jspb.BinaryWriter();
|
|
3923
|
+
proto.sport.SportTypesResponse.serializeBinaryToWriter(this, writer);
|
|
3924
|
+
return writer.getResultBuffer();
|
|
2518
3925
|
};
|
|
2519
3926
|
|
|
2520
3927
|
|
|
2521
3928
|
/**
|
|
2522
|
-
*
|
|
2523
|
-
*
|
|
3929
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3930
|
+
* format), writing to the given BinaryWriter.
|
|
3931
|
+
* @param {!proto.sport.SportTypesResponse} message
|
|
3932
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3933
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2524
3934
|
*/
|
|
2525
|
-
proto.sport.
|
|
2526
|
-
|
|
3935
|
+
proto.sport.SportTypesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3936
|
+
var f = undefined;
|
|
3937
|
+
f = message.getItemsList();
|
|
3938
|
+
if (f.length > 0) {
|
|
3939
|
+
writer.writeRepeatedMessage(
|
|
3940
|
+
1,
|
|
3941
|
+
f,
|
|
3942
|
+
proto.sport.SportTypeItem.serializeBinaryToWriter
|
|
3943
|
+
);
|
|
3944
|
+
}
|
|
2527
3945
|
};
|
|
2528
3946
|
|
|
2529
3947
|
|
|
2530
3948
|
/**
|
|
2531
|
-
*
|
|
2532
|
-
* @return {
|
|
3949
|
+
* repeated SportTypeItem items = 1;
|
|
3950
|
+
* @return {!Array<!proto.sport.SportTypeItem>}
|
|
2533
3951
|
*/
|
|
2534
|
-
proto.sport.
|
|
2535
|
-
return /** @type
|
|
3952
|
+
proto.sport.SportTypesResponse.prototype.getItemsList = function() {
|
|
3953
|
+
return /** @type{!Array<!proto.sport.SportTypeItem>} */ (
|
|
3954
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sport.SportTypeItem, 1));
|
|
2536
3955
|
};
|
|
2537
3956
|
|
|
2538
3957
|
|
|
2539
3958
|
/**
|
|
2540
|
-
* @param {
|
|
2541
|
-
* @return {!proto.sport.
|
|
2542
|
-
|
|
2543
|
-
proto.sport.
|
|
2544
|
-
return jspb.Message.
|
|
3959
|
+
* @param {!Array<!proto.sport.SportTypeItem>} value
|
|
3960
|
+
* @return {!proto.sport.SportTypesResponse} returns this
|
|
3961
|
+
*/
|
|
3962
|
+
proto.sport.SportTypesResponse.prototype.setItemsList = function(value) {
|
|
3963
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2545
3964
|
};
|
|
2546
3965
|
|
|
2547
3966
|
|
|
2548
3967
|
/**
|
|
2549
|
-
*
|
|
2550
|
-
* @
|
|
3968
|
+
* @param {!proto.sport.SportTypeItem=} opt_value
|
|
3969
|
+
* @param {number=} opt_index
|
|
3970
|
+
* @return {!proto.sport.SportTypeItem}
|
|
2551
3971
|
*/
|
|
2552
|
-
proto.sport.
|
|
2553
|
-
return jspb.Message.
|
|
3972
|
+
proto.sport.SportTypesResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
3973
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.sport.SportTypeItem, opt_index);
|
|
2554
3974
|
};
|
|
2555
3975
|
|
|
2556
3976
|
|
|
2557
3977
|
/**
|
|
2558
|
-
*
|
|
2559
|
-
* @return {
|
|
3978
|
+
* Clears the list making it empty but non-null.
|
|
3979
|
+
* @return {!proto.sport.SportTypesResponse} returns this
|
|
2560
3980
|
*/
|
|
2561
|
-
proto.sport.
|
|
2562
|
-
return
|
|
3981
|
+
proto.sport.SportTypesResponse.prototype.clearItemsList = function() {
|
|
3982
|
+
return this.setItemsList([]);
|
|
2563
3983
|
};
|
|
2564
3984
|
|
|
2565
3985
|
|
|
2566
3986
|
|
|
2567
|
-
/**
|
|
2568
|
-
* List of repeated fields within this message type.
|
|
2569
|
-
* @private {!Array<number>}
|
|
2570
|
-
* @const
|
|
2571
|
-
*/
|
|
2572
|
-
proto.sport.SportCategoriesIds.repeatedFields_ = [1];
|
|
2573
|
-
|
|
2574
3987
|
|
|
2575
3988
|
|
|
2576
3989
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2586,8 +3999,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2586
3999
|
* http://goto/soy-param-migration
|
|
2587
4000
|
* @return {!Object}
|
|
2588
4001
|
*/
|
|
2589
|
-
proto.sport.
|
|
2590
|
-
return proto.sport.
|
|
4002
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4003
|
+
return proto.sport.GetBetbyFreebetTemplatesRequest.toObject(opt_includeInstance, this);
|
|
2591
4004
|
};
|
|
2592
4005
|
|
|
2593
4006
|
|
|
@@ -2596,13 +4009,14 @@ proto.sport.SportCategoriesIds.prototype.toObject = function(opt_includeInstance
|
|
|
2596
4009
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2597
4010
|
* the JSPB instance for transitional soy proto support:
|
|
2598
4011
|
* http://goto/soy-param-migration
|
|
2599
|
-
* @param {!proto.sport.
|
|
4012
|
+
* @param {!proto.sport.GetBetbyFreebetTemplatesRequest} msg The msg instance to transform.
|
|
2600
4013
|
* @return {!Object}
|
|
2601
4014
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2602
4015
|
*/
|
|
2603
|
-
proto.sport.
|
|
4016
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.toObject = function(includeInstance, msg) {
|
|
2604
4017
|
var f, obj = {
|
|
2605
|
-
|
|
4018
|
+
page: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4019
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2606
4020
|
};
|
|
2607
4021
|
|
|
2608
4022
|
if (includeInstance) {
|
|
@@ -2616,23 +4030,23 @@ proto.sport.SportCategoriesIds.toObject = function(includeInstance, msg) {
|
|
|
2616
4030
|
/**
|
|
2617
4031
|
* Deserializes binary data (in protobuf wire format).
|
|
2618
4032
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2619
|
-
* @return {!proto.sport.
|
|
4033
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesRequest}
|
|
2620
4034
|
*/
|
|
2621
|
-
proto.sport.
|
|
4035
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.deserializeBinary = function(bytes) {
|
|
2622
4036
|
var reader = new jspb.BinaryReader(bytes);
|
|
2623
|
-
var msg = new proto.sport.
|
|
2624
|
-
return proto.sport.
|
|
4037
|
+
var msg = new proto.sport.GetBetbyFreebetTemplatesRequest;
|
|
4038
|
+
return proto.sport.GetBetbyFreebetTemplatesRequest.deserializeBinaryFromReader(msg, reader);
|
|
2625
4039
|
};
|
|
2626
4040
|
|
|
2627
4041
|
|
|
2628
4042
|
/**
|
|
2629
4043
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2630
4044
|
* given reader into the given message object.
|
|
2631
|
-
* @param {!proto.sport.
|
|
4045
|
+
* @param {!proto.sport.GetBetbyFreebetTemplatesRequest} msg The message object to deserialize into.
|
|
2632
4046
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2633
|
-
* @return {!proto.sport.
|
|
4047
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesRequest}
|
|
2634
4048
|
*/
|
|
2635
|
-
proto.sport.
|
|
4049
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2636
4050
|
while (reader.nextField()) {
|
|
2637
4051
|
if (reader.isEndGroup()) {
|
|
2638
4052
|
break;
|
|
@@ -2640,10 +4054,12 @@ proto.sport.SportCategoriesIds.deserializeBinaryFromReader = function(msg, reade
|
|
|
2640
4054
|
var field = reader.getFieldNumber();
|
|
2641
4055
|
switch (field) {
|
|
2642
4056
|
case 1:
|
|
2643
|
-
var
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
4057
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4058
|
+
msg.setPage(value);
|
|
4059
|
+
break;
|
|
4060
|
+
case 2:
|
|
4061
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4062
|
+
msg.setPerPage(value);
|
|
2647
4063
|
break;
|
|
2648
4064
|
default:
|
|
2649
4065
|
reader.skipField();
|
|
@@ -2658,9 +4074,9 @@ proto.sport.SportCategoriesIds.deserializeBinaryFromReader = function(msg, reade
|
|
|
2658
4074
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2659
4075
|
* @return {!Uint8Array}
|
|
2660
4076
|
*/
|
|
2661
|
-
proto.sport.
|
|
4077
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.serializeBinary = function() {
|
|
2662
4078
|
var writer = new jspb.BinaryWriter();
|
|
2663
|
-
proto.sport.
|
|
4079
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.serializeBinaryToWriter(this, writer);
|
|
2664
4080
|
return writer.getResultBuffer();
|
|
2665
4081
|
};
|
|
2666
4082
|
|
|
@@ -2668,66 +4084,101 @@ proto.sport.SportCategoriesIds.prototype.serializeBinary = function() {
|
|
|
2668
4084
|
/**
|
|
2669
4085
|
* Serializes the given message to binary data (in protobuf wire
|
|
2670
4086
|
* format), writing to the given BinaryWriter.
|
|
2671
|
-
* @param {!proto.sport.
|
|
4087
|
+
* @param {!proto.sport.GetBetbyFreebetTemplatesRequest} message
|
|
2672
4088
|
* @param {!jspb.BinaryWriter} writer
|
|
2673
4089
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2674
4090
|
*/
|
|
2675
|
-
proto.sport.
|
|
4091
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2676
4092
|
var f = undefined;
|
|
2677
|
-
f =
|
|
2678
|
-
if (f
|
|
2679
|
-
writer.
|
|
4093
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
4094
|
+
if (f != null) {
|
|
4095
|
+
writer.writeInt32(
|
|
2680
4096
|
1,
|
|
2681
4097
|
f
|
|
2682
4098
|
);
|
|
2683
4099
|
}
|
|
4100
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
4101
|
+
if (f != null) {
|
|
4102
|
+
writer.writeInt32(
|
|
4103
|
+
2,
|
|
4104
|
+
f
|
|
4105
|
+
);
|
|
4106
|
+
}
|
|
2684
4107
|
};
|
|
2685
4108
|
|
|
2686
4109
|
|
|
2687
4110
|
/**
|
|
2688
|
-
*
|
|
2689
|
-
* @return {
|
|
4111
|
+
* optional int32 page = 1;
|
|
4112
|
+
* @return {number}
|
|
2690
4113
|
*/
|
|
2691
|
-
proto.sport.
|
|
2692
|
-
return /** @type {
|
|
4114
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.getPage = function() {
|
|
4115
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2693
4116
|
};
|
|
2694
4117
|
|
|
2695
4118
|
|
|
2696
4119
|
/**
|
|
2697
|
-
* @param {
|
|
2698
|
-
* @return {!proto.sport.
|
|
4120
|
+
* @param {number} value
|
|
4121
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesRequest} returns this
|
|
2699
4122
|
*/
|
|
2700
|
-
proto.sport.
|
|
2701
|
-
return jspb.Message.setField(this, 1, value
|
|
4123
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.setPage = function(value) {
|
|
4124
|
+
return jspb.Message.setField(this, 1, value);
|
|
2702
4125
|
};
|
|
2703
4126
|
|
|
2704
4127
|
|
|
2705
4128
|
/**
|
|
2706
|
-
*
|
|
2707
|
-
* @
|
|
2708
|
-
* @return {!proto.sport.SportCategoriesIds} returns this
|
|
4129
|
+
* Clears the field making it undefined.
|
|
4130
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesRequest} returns this
|
|
2709
4131
|
*/
|
|
2710
|
-
proto.sport.
|
|
2711
|
-
return jspb.Message.
|
|
4132
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.clearPage = function() {
|
|
4133
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
2712
4134
|
};
|
|
2713
4135
|
|
|
2714
4136
|
|
|
2715
4137
|
/**
|
|
2716
|
-
*
|
|
2717
|
-
* @return {
|
|
4138
|
+
* Returns whether this field is set.
|
|
4139
|
+
* @return {boolean}
|
|
2718
4140
|
*/
|
|
2719
|
-
proto.sport.
|
|
2720
|
-
return
|
|
4141
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.hasPage = function() {
|
|
4142
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4143
|
+
};
|
|
4144
|
+
|
|
4145
|
+
|
|
4146
|
+
/**
|
|
4147
|
+
* optional int32 per_page = 2;
|
|
4148
|
+
* @return {number}
|
|
4149
|
+
*/
|
|
4150
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.getPerPage = function() {
|
|
4151
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2721
4152
|
};
|
|
2722
4153
|
|
|
2723
4154
|
|
|
4155
|
+
/**
|
|
4156
|
+
* @param {number} value
|
|
4157
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesRequest} returns this
|
|
4158
|
+
*/
|
|
4159
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.setPerPage = function(value) {
|
|
4160
|
+
return jspb.Message.setField(this, 2, value);
|
|
4161
|
+
};
|
|
4162
|
+
|
|
2724
4163
|
|
|
2725
4164
|
/**
|
|
2726
|
-
*
|
|
2727
|
-
* @
|
|
2728
|
-
* @const
|
|
4165
|
+
* Clears the field making it undefined.
|
|
4166
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesRequest} returns this
|
|
2729
4167
|
*/
|
|
2730
|
-
proto.sport.
|
|
4168
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.clearPerPage = function() {
|
|
4169
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
4170
|
+
};
|
|
4171
|
+
|
|
4172
|
+
|
|
4173
|
+
/**
|
|
4174
|
+
* Returns whether this field is set.
|
|
4175
|
+
* @return {boolean}
|
|
4176
|
+
*/
|
|
4177
|
+
proto.sport.GetBetbyFreebetTemplatesRequest.prototype.hasPerPage = function() {
|
|
4178
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4179
|
+
};
|
|
4180
|
+
|
|
4181
|
+
|
|
2731
4182
|
|
|
2732
4183
|
|
|
2733
4184
|
|
|
@@ -2744,8 +4195,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2744
4195
|
* http://goto/soy-param-migration
|
|
2745
4196
|
* @return {!Object}
|
|
2746
4197
|
*/
|
|
2747
|
-
proto.sport.
|
|
2748
|
-
return proto.sport.
|
|
4198
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4199
|
+
return proto.sport.GetBetbyFreebetTemplatesResponse.toObject(opt_includeInstance, this);
|
|
2749
4200
|
};
|
|
2750
4201
|
|
|
2751
4202
|
|
|
@@ -2754,14 +4205,13 @@ proto.sport.SportCategoriesResponse.prototype.toObject = function(opt_includeIns
|
|
|
2754
4205
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2755
4206
|
* the JSPB instance for transitional soy proto support:
|
|
2756
4207
|
* http://goto/soy-param-migration
|
|
2757
|
-
* @param {!proto.sport.
|
|
4208
|
+
* @param {!proto.sport.GetBetbyFreebetTemplatesResponse} msg The msg instance to transform.
|
|
2758
4209
|
* @return {!Object}
|
|
2759
4210
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2760
4211
|
*/
|
|
2761
|
-
proto.sport.
|
|
4212
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.toObject = function(includeInstance, msg) {
|
|
2762
4213
|
var f, obj = {
|
|
2763
|
-
|
|
2764
|
-
proto.sport.SportCategoryItem.toObject, includeInstance)
|
|
4214
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2765
4215
|
};
|
|
2766
4216
|
|
|
2767
4217
|
if (includeInstance) {
|
|
@@ -2775,23 +4225,23 @@ proto.sport.SportCategoriesResponse.toObject = function(includeInstance, msg) {
|
|
|
2775
4225
|
/**
|
|
2776
4226
|
* Deserializes binary data (in protobuf wire format).
|
|
2777
4227
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2778
|
-
* @return {!proto.sport.
|
|
4228
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesResponse}
|
|
2779
4229
|
*/
|
|
2780
|
-
proto.sport.
|
|
4230
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.deserializeBinary = function(bytes) {
|
|
2781
4231
|
var reader = new jspb.BinaryReader(bytes);
|
|
2782
|
-
var msg = new proto.sport.
|
|
2783
|
-
return proto.sport.
|
|
4232
|
+
var msg = new proto.sport.GetBetbyFreebetTemplatesResponse;
|
|
4233
|
+
return proto.sport.GetBetbyFreebetTemplatesResponse.deserializeBinaryFromReader(msg, reader);
|
|
2784
4234
|
};
|
|
2785
4235
|
|
|
2786
4236
|
|
|
2787
4237
|
/**
|
|
2788
4238
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2789
4239
|
* given reader into the given message object.
|
|
2790
|
-
* @param {!proto.sport.
|
|
4240
|
+
* @param {!proto.sport.GetBetbyFreebetTemplatesResponse} msg The message object to deserialize into.
|
|
2791
4241
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2792
|
-
* @return {!proto.sport.
|
|
4242
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesResponse}
|
|
2793
4243
|
*/
|
|
2794
|
-
proto.sport.
|
|
4244
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2795
4245
|
while (reader.nextField()) {
|
|
2796
4246
|
if (reader.isEndGroup()) {
|
|
2797
4247
|
break;
|
|
@@ -2799,9 +4249,8 @@ proto.sport.SportCategoriesResponse.deserializeBinaryFromReader = function(msg,
|
|
|
2799
4249
|
var field = reader.getFieldNumber();
|
|
2800
4250
|
switch (field) {
|
|
2801
4251
|
case 1:
|
|
2802
|
-
var value =
|
|
2803
|
-
|
|
2804
|
-
msg.addItems(value);
|
|
4252
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4253
|
+
msg.setData(value);
|
|
2805
4254
|
break;
|
|
2806
4255
|
default:
|
|
2807
4256
|
reader.skipField();
|
|
@@ -2816,9 +4265,9 @@ proto.sport.SportCategoriesResponse.deserializeBinaryFromReader = function(msg,
|
|
|
2816
4265
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2817
4266
|
* @return {!Uint8Array}
|
|
2818
4267
|
*/
|
|
2819
|
-
proto.sport.
|
|
4268
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.prototype.serializeBinary = function() {
|
|
2820
4269
|
var writer = new jspb.BinaryWriter();
|
|
2821
|
-
proto.sport.
|
|
4270
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.serializeBinaryToWriter(this, writer);
|
|
2822
4271
|
return writer.getResultBuffer();
|
|
2823
4272
|
};
|
|
2824
4273
|
|
|
@@ -2826,61 +4275,47 @@ proto.sport.SportCategoriesResponse.prototype.serializeBinary = function() {
|
|
|
2826
4275
|
/**
|
|
2827
4276
|
* Serializes the given message to binary data (in protobuf wire
|
|
2828
4277
|
* format), writing to the given BinaryWriter.
|
|
2829
|
-
* @param {!proto.sport.
|
|
4278
|
+
* @param {!proto.sport.GetBetbyFreebetTemplatesResponse} message
|
|
2830
4279
|
* @param {!jspb.BinaryWriter} writer
|
|
2831
4280
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2832
4281
|
*/
|
|
2833
|
-
proto.sport.
|
|
4282
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2834
4283
|
var f = undefined;
|
|
2835
|
-
f = message.
|
|
4284
|
+
f = message.getData();
|
|
2836
4285
|
if (f.length > 0) {
|
|
2837
|
-
writer.
|
|
4286
|
+
writer.writeString(
|
|
2838
4287
|
1,
|
|
2839
|
-
f
|
|
2840
|
-
proto.sport.SportCategoryItem.serializeBinaryToWriter
|
|
4288
|
+
f
|
|
2841
4289
|
);
|
|
2842
4290
|
}
|
|
2843
4291
|
};
|
|
2844
4292
|
|
|
2845
4293
|
|
|
2846
4294
|
/**
|
|
2847
|
-
*
|
|
2848
|
-
* @return {
|
|
4295
|
+
* optional string data = 1;
|
|
4296
|
+
* @return {string}
|
|
2849
4297
|
*/
|
|
2850
|
-
proto.sport.
|
|
2851
|
-
return /** @type{
|
|
2852
|
-
jspb.Message.getRepeatedWrapperField(this, proto.sport.SportCategoryItem, 1));
|
|
2853
|
-
};
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
/**
|
|
2857
|
-
* @param {!Array<!proto.sport.SportCategoryItem>} value
|
|
2858
|
-
* @return {!proto.sport.SportCategoriesResponse} returns this
|
|
2859
|
-
*/
|
|
2860
|
-
proto.sport.SportCategoriesResponse.prototype.setItemsList = function(value) {
|
|
2861
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
4298
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.prototype.getData = function() {
|
|
4299
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2862
4300
|
};
|
|
2863
4301
|
|
|
2864
4302
|
|
|
2865
4303
|
/**
|
|
2866
|
-
* @param {
|
|
2867
|
-
* @
|
|
2868
|
-
* @return {!proto.sport.SportCategoryItem}
|
|
4304
|
+
* @param {string} value
|
|
4305
|
+
* @return {!proto.sport.GetBetbyFreebetTemplatesResponse} returns this
|
|
2869
4306
|
*/
|
|
2870
|
-
proto.sport.
|
|
2871
|
-
return jspb.Message.
|
|
4307
|
+
proto.sport.GetBetbyFreebetTemplatesResponse.prototype.setData = function(value) {
|
|
4308
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2872
4309
|
};
|
|
2873
4310
|
|
|
2874
4311
|
|
|
4312
|
+
|
|
2875
4313
|
/**
|
|
2876
|
-
*
|
|
2877
|
-
* @
|
|
4314
|
+
* List of repeated fields within this message type.
|
|
4315
|
+
* @private {!Array<number>}
|
|
4316
|
+
* @const
|
|
2878
4317
|
*/
|
|
2879
|
-
proto.sport.
|
|
2880
|
-
return this.setItemsList([]);
|
|
2881
|
-
};
|
|
2882
|
-
|
|
2883
|
-
|
|
4318
|
+
proto.sport.FreebetIssueItem.repeatedFields_ = [1];
|
|
2884
4319
|
|
|
2885
4320
|
|
|
2886
4321
|
|
|
@@ -2897,8 +4332,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2897
4332
|
* http://goto/soy-param-migration
|
|
2898
4333
|
* @return {!Object}
|
|
2899
4334
|
*/
|
|
2900
|
-
proto.sport.
|
|
2901
|
-
return proto.sport.
|
|
4335
|
+
proto.sport.FreebetIssueItem.prototype.toObject = function(opt_includeInstance) {
|
|
4336
|
+
return proto.sport.FreebetIssueItem.toObject(opt_includeInstance, this);
|
|
2902
4337
|
};
|
|
2903
4338
|
|
|
2904
4339
|
|
|
@@ -2907,16 +4342,15 @@ proto.sport.SportTypeItem.prototype.toObject = function(opt_includeInstance) {
|
|
|
2907
4342
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2908
4343
|
* the JSPB instance for transitional soy proto support:
|
|
2909
4344
|
* http://goto/soy-param-migration
|
|
2910
|
-
* @param {!proto.sport.
|
|
4345
|
+
* @param {!proto.sport.FreebetIssueItem} msg The msg instance to transform.
|
|
2911
4346
|
* @return {!Object}
|
|
2912
4347
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2913
4348
|
*/
|
|
2914
|
-
proto.sport.
|
|
4349
|
+
proto.sport.FreebetIssueItem.toObject = function(includeInstance, msg) {
|
|
2915
4350
|
var f, obj = {
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
marketGroup: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4351
|
+
playerIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
4352
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
4353
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2920
4354
|
};
|
|
2921
4355
|
|
|
2922
4356
|
if (includeInstance) {
|
|
@@ -2930,23 +4364,23 @@ proto.sport.SportTypeItem.toObject = function(includeInstance, msg) {
|
|
|
2930
4364
|
/**
|
|
2931
4365
|
* Deserializes binary data (in protobuf wire format).
|
|
2932
4366
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2933
|
-
* @return {!proto.sport.
|
|
4367
|
+
* @return {!proto.sport.FreebetIssueItem}
|
|
2934
4368
|
*/
|
|
2935
|
-
proto.sport.
|
|
4369
|
+
proto.sport.FreebetIssueItem.deserializeBinary = function(bytes) {
|
|
2936
4370
|
var reader = new jspb.BinaryReader(bytes);
|
|
2937
|
-
var msg = new proto.sport.
|
|
2938
|
-
return proto.sport.
|
|
4371
|
+
var msg = new proto.sport.FreebetIssueItem;
|
|
4372
|
+
return proto.sport.FreebetIssueItem.deserializeBinaryFromReader(msg, reader);
|
|
2939
4373
|
};
|
|
2940
4374
|
|
|
2941
4375
|
|
|
2942
4376
|
/**
|
|
2943
4377
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2944
4378
|
* given reader into the given message object.
|
|
2945
|
-
* @param {!proto.sport.
|
|
4379
|
+
* @param {!proto.sport.FreebetIssueItem} msg The message object to deserialize into.
|
|
2946
4380
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2947
|
-
* @return {!proto.sport.
|
|
4381
|
+
* @return {!proto.sport.FreebetIssueItem}
|
|
2948
4382
|
*/
|
|
2949
|
-
proto.sport.
|
|
4383
|
+
proto.sport.FreebetIssueItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
2950
4384
|
while (reader.nextField()) {
|
|
2951
4385
|
if (reader.isEndGroup()) {
|
|
2952
4386
|
break;
|
|
@@ -2954,20 +4388,16 @@ proto.sport.SportTypeItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2954
4388
|
var field = reader.getFieldNumber();
|
|
2955
4389
|
switch (field) {
|
|
2956
4390
|
case 1:
|
|
2957
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
2958
|
-
msg.setId(value);
|
|
2959
|
-
break;
|
|
2960
|
-
case 2:
|
|
2961
4391
|
var value = /** @type {string} */ (reader.readString());
|
|
2962
|
-
msg.
|
|
4392
|
+
msg.addPlayerIds(value);
|
|
4393
|
+
break;
|
|
4394
|
+
case 2:
|
|
4395
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
4396
|
+
msg.setAmount(value);
|
|
2963
4397
|
break;
|
|
2964
4398
|
case 3:
|
|
2965
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
2966
|
-
msg.setSportCategoryId(value);
|
|
2967
|
-
break;
|
|
2968
|
-
case 4:
|
|
2969
4399
|
var value = /** @type {string} */ (reader.readString());
|
|
2970
|
-
msg.
|
|
4400
|
+
msg.setCurrency(value);
|
|
2971
4401
|
break;
|
|
2972
4402
|
default:
|
|
2973
4403
|
reader.skipField();
|
|
@@ -2982,9 +4412,9 @@ proto.sport.SportTypeItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2982
4412
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2983
4413
|
* @return {!Uint8Array}
|
|
2984
4414
|
*/
|
|
2985
|
-
proto.sport.
|
|
4415
|
+
proto.sport.FreebetIssueItem.prototype.serializeBinary = function() {
|
|
2986
4416
|
var writer = new jspb.BinaryWriter();
|
|
2987
|
-
proto.sport.
|
|
4417
|
+
proto.sport.FreebetIssueItem.serializeBinaryToWriter(this, writer);
|
|
2988
4418
|
return writer.getResultBuffer();
|
|
2989
4419
|
};
|
|
2990
4420
|
|
|
@@ -2992,37 +4422,30 @@ proto.sport.SportTypeItem.prototype.serializeBinary = function() {
|
|
|
2992
4422
|
/**
|
|
2993
4423
|
* Serializes the given message to binary data (in protobuf wire
|
|
2994
4424
|
* format), writing to the given BinaryWriter.
|
|
2995
|
-
* @param {!proto.sport.
|
|
4425
|
+
* @param {!proto.sport.FreebetIssueItem} message
|
|
2996
4426
|
* @param {!jspb.BinaryWriter} writer
|
|
2997
4427
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2998
4428
|
*/
|
|
2999
|
-
proto.sport.
|
|
4429
|
+
proto.sport.FreebetIssueItem.serializeBinaryToWriter = function(message, writer) {
|
|
3000
4430
|
var f = undefined;
|
|
3001
|
-
f = message.
|
|
3002
|
-
if (f
|
|
3003
|
-
writer.
|
|
4431
|
+
f = message.getPlayerIdsList();
|
|
4432
|
+
if (f.length > 0) {
|
|
4433
|
+
writer.writeRepeatedString(
|
|
3004
4434
|
1,
|
|
3005
4435
|
f
|
|
3006
4436
|
);
|
|
3007
4437
|
}
|
|
3008
|
-
f = message.
|
|
3009
|
-
if (f
|
|
3010
|
-
writer.
|
|
4438
|
+
f = message.getAmount();
|
|
4439
|
+
if (f !== 0.0) {
|
|
4440
|
+
writer.writeDouble(
|
|
3011
4441
|
2,
|
|
3012
4442
|
f
|
|
3013
4443
|
);
|
|
3014
4444
|
}
|
|
3015
|
-
f =
|
|
3016
|
-
if (f
|
|
3017
|
-
writer.writeInt32(
|
|
3018
|
-
3,
|
|
3019
|
-
f
|
|
3020
|
-
);
|
|
3021
|
-
}
|
|
3022
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
3023
|
-
if (f != null) {
|
|
4445
|
+
f = message.getCurrency();
|
|
4446
|
+
if (f.length > 0) {
|
|
3024
4447
|
writer.writeString(
|
|
3025
|
-
|
|
4448
|
+
3,
|
|
3026
4449
|
f
|
|
3027
4450
|
);
|
|
3028
4451
|
}
|
|
@@ -3030,110 +4453,75 @@ proto.sport.SportTypeItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
3030
4453
|
|
|
3031
4454
|
|
|
3032
4455
|
/**
|
|
3033
|
-
*
|
|
3034
|
-
* @return {
|
|
4456
|
+
* repeated string player_ids = 1;
|
|
4457
|
+
* @return {!Array<string>}
|
|
3035
4458
|
*/
|
|
3036
|
-
proto.sport.
|
|
3037
|
-
return /** @type {
|
|
4459
|
+
proto.sport.FreebetIssueItem.prototype.getPlayerIdsList = function() {
|
|
4460
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
3038
4461
|
};
|
|
3039
4462
|
|
|
3040
4463
|
|
|
3041
4464
|
/**
|
|
3042
|
-
* @param {
|
|
3043
|
-
* @return {!proto.sport.
|
|
4465
|
+
* @param {!Array<string>} value
|
|
4466
|
+
* @return {!proto.sport.FreebetIssueItem} returns this
|
|
3044
4467
|
*/
|
|
3045
|
-
proto.sport.
|
|
3046
|
-
return jspb.Message.
|
|
4468
|
+
proto.sport.FreebetIssueItem.prototype.setPlayerIdsList = function(value) {
|
|
4469
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
3047
4470
|
};
|
|
3048
4471
|
|
|
3049
4472
|
|
|
3050
4473
|
/**
|
|
3051
|
-
*
|
|
3052
|
-
* @
|
|
4474
|
+
* @param {string} value
|
|
4475
|
+
* @param {number=} opt_index
|
|
4476
|
+
* @return {!proto.sport.FreebetIssueItem} returns this
|
|
3053
4477
|
*/
|
|
3054
|
-
proto.sport.
|
|
3055
|
-
return
|
|
4478
|
+
proto.sport.FreebetIssueItem.prototype.addPlayerIds = function(value, opt_index) {
|
|
4479
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
3056
4480
|
};
|
|
3057
4481
|
|
|
3058
4482
|
|
|
3059
4483
|
/**
|
|
3060
|
-
*
|
|
3061
|
-
* @return {!proto.sport.
|
|
4484
|
+
* Clears the list making it empty but non-null.
|
|
4485
|
+
* @return {!proto.sport.FreebetIssueItem} returns this
|
|
3062
4486
|
*/
|
|
3063
|
-
proto.sport.
|
|
3064
|
-
return
|
|
4487
|
+
proto.sport.FreebetIssueItem.prototype.clearPlayerIdsList = function() {
|
|
4488
|
+
return this.setPlayerIdsList([]);
|
|
3065
4489
|
};
|
|
3066
4490
|
|
|
3067
4491
|
|
|
3068
4492
|
/**
|
|
3069
|
-
* optional
|
|
4493
|
+
* optional double amount = 2;
|
|
3070
4494
|
* @return {number}
|
|
3071
4495
|
*/
|
|
3072
|
-
proto.sport.
|
|
3073
|
-
return /** @type {number} */ (jspb.Message.
|
|
4496
|
+
proto.sport.FreebetIssueItem.prototype.getAmount = function() {
|
|
4497
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
3074
4498
|
};
|
|
3075
4499
|
|
|
3076
4500
|
|
|
3077
4501
|
/**
|
|
3078
4502
|
* @param {number} value
|
|
3079
|
-
* @return {!proto.sport.
|
|
3080
|
-
*/
|
|
3081
|
-
proto.sport.SportTypeItem.prototype.setSportCategoryId = function(value) {
|
|
3082
|
-
return jspb.Message.setField(this, 3, value);
|
|
3083
|
-
};
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
/**
|
|
3087
|
-
* Clears the field making it undefined.
|
|
3088
|
-
* @return {!proto.sport.SportTypeItem} returns this
|
|
4503
|
+
* @return {!proto.sport.FreebetIssueItem} returns this
|
|
3089
4504
|
*/
|
|
3090
|
-
proto.sport.
|
|
3091
|
-
return jspb.Message.
|
|
3092
|
-
};
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
/**
|
|
3096
|
-
* Returns whether this field is set.
|
|
3097
|
-
* @return {boolean}
|
|
3098
|
-
*/
|
|
3099
|
-
proto.sport.SportTypeItem.prototype.hasSportCategoryId = function() {
|
|
3100
|
-
return jspb.Message.getField(this, 3) != null;
|
|
4505
|
+
proto.sport.FreebetIssueItem.prototype.setAmount = function(value) {
|
|
4506
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
3101
4507
|
};
|
|
3102
4508
|
|
|
3103
4509
|
|
|
3104
4510
|
/**
|
|
3105
|
-
* optional string
|
|
4511
|
+
* optional string currency = 3;
|
|
3106
4512
|
* @return {string}
|
|
3107
4513
|
*/
|
|
3108
|
-
proto.sport.
|
|
3109
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
4514
|
+
proto.sport.FreebetIssueItem.prototype.getCurrency = function() {
|
|
4515
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3110
4516
|
};
|
|
3111
4517
|
|
|
3112
4518
|
|
|
3113
4519
|
/**
|
|
3114
4520
|
* @param {string} value
|
|
3115
|
-
* @return {!proto.sport.
|
|
3116
|
-
*/
|
|
3117
|
-
proto.sport.SportTypeItem.prototype.setMarketGroup = function(value) {
|
|
3118
|
-
return jspb.Message.setField(this, 4, value);
|
|
3119
|
-
};
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
/**
|
|
3123
|
-
* Clears the field making it undefined.
|
|
3124
|
-
* @return {!proto.sport.SportTypeItem} returns this
|
|
3125
|
-
*/
|
|
3126
|
-
proto.sport.SportTypeItem.prototype.clearMarketGroup = function() {
|
|
3127
|
-
return jspb.Message.setField(this, 4, undefined);
|
|
3128
|
-
};
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
/**
|
|
3132
|
-
* Returns whether this field is set.
|
|
3133
|
-
* @return {boolean}
|
|
4521
|
+
* @return {!proto.sport.FreebetIssueItem} returns this
|
|
3134
4522
|
*/
|
|
3135
|
-
proto.sport.
|
|
3136
|
-
return jspb.Message.
|
|
4523
|
+
proto.sport.FreebetIssueItem.prototype.setCurrency = function(value) {
|
|
4524
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3137
4525
|
};
|
|
3138
4526
|
|
|
3139
4527
|
|
|
@@ -3143,7 +4531,7 @@ proto.sport.SportTypeItem.prototype.hasMarketGroup = function() {
|
|
|
3143
4531
|
* @private {!Array<number>}
|
|
3144
4532
|
* @const
|
|
3145
4533
|
*/
|
|
3146
|
-
proto.sport.
|
|
4534
|
+
proto.sport.IssueBetbyFreebetsRequest.repeatedFields_ = [3];
|
|
3147
4535
|
|
|
3148
4536
|
|
|
3149
4537
|
|
|
@@ -3160,8 +4548,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3160
4548
|
* http://goto/soy-param-migration
|
|
3161
4549
|
* @return {!Object}
|
|
3162
4550
|
*/
|
|
3163
|
-
proto.sport.
|
|
3164
|
-
return proto.sport.
|
|
4551
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4552
|
+
return proto.sport.IssueBetbyFreebetsRequest.toObject(opt_includeInstance, this);
|
|
3165
4553
|
};
|
|
3166
4554
|
|
|
3167
4555
|
|
|
@@ -3170,13 +4558,16 @@ proto.sport.SportTypesIds.prototype.toObject = function(opt_includeInstance) {
|
|
|
3170
4558
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3171
4559
|
* the JSPB instance for transitional soy proto support:
|
|
3172
4560
|
* http://goto/soy-param-migration
|
|
3173
|
-
* @param {!proto.sport.
|
|
4561
|
+
* @param {!proto.sport.IssueBetbyFreebetsRequest} msg The msg instance to transform.
|
|
3174
4562
|
* @return {!Object}
|
|
3175
4563
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3176
4564
|
*/
|
|
3177
|
-
proto.sport.
|
|
4565
|
+
proto.sport.IssueBetbyFreebetsRequest.toObject = function(includeInstance, msg) {
|
|
3178
4566
|
var f, obj = {
|
|
3179
|
-
|
|
4567
|
+
sportsbookUuid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4568
|
+
templateId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4569
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
4570
|
+
proto.sport.FreebetIssueItem.toObject, includeInstance)
|
|
3180
4571
|
};
|
|
3181
4572
|
|
|
3182
4573
|
if (includeInstance) {
|
|
@@ -3190,23 +4581,23 @@ proto.sport.SportTypesIds.toObject = function(includeInstance, msg) {
|
|
|
3190
4581
|
/**
|
|
3191
4582
|
* Deserializes binary data (in protobuf wire format).
|
|
3192
4583
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3193
|
-
* @return {!proto.sport.
|
|
4584
|
+
* @return {!proto.sport.IssueBetbyFreebetsRequest}
|
|
3194
4585
|
*/
|
|
3195
|
-
proto.sport.
|
|
4586
|
+
proto.sport.IssueBetbyFreebetsRequest.deserializeBinary = function(bytes) {
|
|
3196
4587
|
var reader = new jspb.BinaryReader(bytes);
|
|
3197
|
-
var msg = new proto.sport.
|
|
3198
|
-
return proto.sport.
|
|
4588
|
+
var msg = new proto.sport.IssueBetbyFreebetsRequest;
|
|
4589
|
+
return proto.sport.IssueBetbyFreebetsRequest.deserializeBinaryFromReader(msg, reader);
|
|
3199
4590
|
};
|
|
3200
4591
|
|
|
3201
4592
|
|
|
3202
4593
|
/**
|
|
3203
4594
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3204
4595
|
* given reader into the given message object.
|
|
3205
|
-
* @param {!proto.sport.
|
|
4596
|
+
* @param {!proto.sport.IssueBetbyFreebetsRequest} msg The message object to deserialize into.
|
|
3206
4597
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3207
|
-
* @return {!proto.sport.
|
|
4598
|
+
* @return {!proto.sport.IssueBetbyFreebetsRequest}
|
|
3208
4599
|
*/
|
|
3209
|
-
proto.sport.
|
|
4600
|
+
proto.sport.IssueBetbyFreebetsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3210
4601
|
while (reader.nextField()) {
|
|
3211
4602
|
if (reader.isEndGroup()) {
|
|
3212
4603
|
break;
|
|
@@ -3214,10 +4605,17 @@ proto.sport.SportTypesIds.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3214
4605
|
var field = reader.getFieldNumber();
|
|
3215
4606
|
switch (field) {
|
|
3216
4607
|
case 1:
|
|
3217
|
-
var
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
4608
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4609
|
+
msg.setSportsbookUuid(value);
|
|
4610
|
+
break;
|
|
4611
|
+
case 2:
|
|
4612
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4613
|
+
msg.setTemplateId(value);
|
|
4614
|
+
break;
|
|
4615
|
+
case 3:
|
|
4616
|
+
var value = new proto.sport.FreebetIssueItem;
|
|
4617
|
+
reader.readMessage(value,proto.sport.FreebetIssueItem.deserializeBinaryFromReader);
|
|
4618
|
+
msg.addItems(value);
|
|
3221
4619
|
break;
|
|
3222
4620
|
default:
|
|
3223
4621
|
reader.skipField();
|
|
@@ -3232,9 +4630,9 @@ proto.sport.SportTypesIds.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3232
4630
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3233
4631
|
* @return {!Uint8Array}
|
|
3234
4632
|
*/
|
|
3235
|
-
proto.sport.
|
|
4633
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.serializeBinary = function() {
|
|
3236
4634
|
var writer = new jspb.BinaryWriter();
|
|
3237
|
-
proto.sport.
|
|
4635
|
+
proto.sport.IssueBetbyFreebetsRequest.serializeBinaryToWriter(this, writer);
|
|
3238
4636
|
return writer.getResultBuffer();
|
|
3239
4637
|
};
|
|
3240
4638
|
|
|
@@ -3242,66 +4640,111 @@ proto.sport.SportTypesIds.prototype.serializeBinary = function() {
|
|
|
3242
4640
|
/**
|
|
3243
4641
|
* Serializes the given message to binary data (in protobuf wire
|
|
3244
4642
|
* format), writing to the given BinaryWriter.
|
|
3245
|
-
* @param {!proto.sport.
|
|
4643
|
+
* @param {!proto.sport.IssueBetbyFreebetsRequest} message
|
|
3246
4644
|
* @param {!jspb.BinaryWriter} writer
|
|
3247
4645
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3248
4646
|
*/
|
|
3249
|
-
proto.sport.
|
|
4647
|
+
proto.sport.IssueBetbyFreebetsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3250
4648
|
var f = undefined;
|
|
3251
|
-
f = message.
|
|
4649
|
+
f = message.getSportsbookUuid();
|
|
3252
4650
|
if (f.length > 0) {
|
|
3253
|
-
writer.
|
|
4651
|
+
writer.writeString(
|
|
3254
4652
|
1,
|
|
3255
4653
|
f
|
|
3256
4654
|
);
|
|
3257
4655
|
}
|
|
4656
|
+
f = message.getTemplateId();
|
|
4657
|
+
if (f !== 0) {
|
|
4658
|
+
writer.writeInt32(
|
|
4659
|
+
2,
|
|
4660
|
+
f
|
|
4661
|
+
);
|
|
4662
|
+
}
|
|
4663
|
+
f = message.getItemsList();
|
|
4664
|
+
if (f.length > 0) {
|
|
4665
|
+
writer.writeRepeatedMessage(
|
|
4666
|
+
3,
|
|
4667
|
+
f,
|
|
4668
|
+
proto.sport.FreebetIssueItem.serializeBinaryToWriter
|
|
4669
|
+
);
|
|
4670
|
+
}
|
|
3258
4671
|
};
|
|
3259
4672
|
|
|
3260
4673
|
|
|
3261
4674
|
/**
|
|
3262
|
-
*
|
|
3263
|
-
* @return {
|
|
4675
|
+
* optional string sportsbook_uuid = 1;
|
|
4676
|
+
* @return {string}
|
|
3264
4677
|
*/
|
|
3265
|
-
proto.sport.
|
|
3266
|
-
return /** @type {
|
|
4678
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.getSportsbookUuid = function() {
|
|
4679
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3267
4680
|
};
|
|
3268
4681
|
|
|
3269
4682
|
|
|
3270
4683
|
/**
|
|
3271
|
-
* @param {
|
|
3272
|
-
* @return {!proto.sport.
|
|
4684
|
+
* @param {string} value
|
|
4685
|
+
* @return {!proto.sport.IssueBetbyFreebetsRequest} returns this
|
|
3273
4686
|
*/
|
|
3274
|
-
proto.sport.
|
|
3275
|
-
return jspb.Message.
|
|
4687
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.setSportsbookUuid = function(value) {
|
|
4688
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4689
|
+
};
|
|
4690
|
+
|
|
4691
|
+
|
|
4692
|
+
/**
|
|
4693
|
+
* optional int32 template_id = 2;
|
|
4694
|
+
* @return {number}
|
|
4695
|
+
*/
|
|
4696
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.getTemplateId = function() {
|
|
4697
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3276
4698
|
};
|
|
3277
4699
|
|
|
3278
4700
|
|
|
3279
4701
|
/**
|
|
3280
4702
|
* @param {number} value
|
|
3281
|
-
* @
|
|
3282
|
-
* @return {!proto.sport.SportTypesIds} returns this
|
|
4703
|
+
* @return {!proto.sport.IssueBetbyFreebetsRequest} returns this
|
|
3283
4704
|
*/
|
|
3284
|
-
proto.sport.
|
|
3285
|
-
return jspb.Message.
|
|
4705
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.setTemplateId = function(value) {
|
|
4706
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
3286
4707
|
};
|
|
3287
4708
|
|
|
3288
4709
|
|
|
3289
4710
|
/**
|
|
3290
|
-
*
|
|
3291
|
-
* @return {!proto.sport.
|
|
4711
|
+
* repeated FreebetIssueItem items = 3;
|
|
4712
|
+
* @return {!Array<!proto.sport.FreebetIssueItem>}
|
|
3292
4713
|
*/
|
|
3293
|
-
proto.sport.
|
|
3294
|
-
return
|
|
4714
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.getItemsList = function() {
|
|
4715
|
+
return /** @type{!Array<!proto.sport.FreebetIssueItem>} */ (
|
|
4716
|
+
jspb.Message.getRepeatedWrapperField(this, proto.sport.FreebetIssueItem, 3));
|
|
4717
|
+
};
|
|
4718
|
+
|
|
4719
|
+
|
|
4720
|
+
/**
|
|
4721
|
+
* @param {!Array<!proto.sport.FreebetIssueItem>} value
|
|
4722
|
+
* @return {!proto.sport.IssueBetbyFreebetsRequest} returns this
|
|
4723
|
+
*/
|
|
4724
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.setItemsList = function(value) {
|
|
4725
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
3295
4726
|
};
|
|
3296
4727
|
|
|
3297
4728
|
|
|
4729
|
+
/**
|
|
4730
|
+
* @param {!proto.sport.FreebetIssueItem=} opt_value
|
|
4731
|
+
* @param {number=} opt_index
|
|
4732
|
+
* @return {!proto.sport.FreebetIssueItem}
|
|
4733
|
+
*/
|
|
4734
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.addItems = function(opt_value, opt_index) {
|
|
4735
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.sport.FreebetIssueItem, opt_index);
|
|
4736
|
+
};
|
|
4737
|
+
|
|
3298
4738
|
|
|
3299
4739
|
/**
|
|
3300
|
-
*
|
|
3301
|
-
* @
|
|
3302
|
-
* @const
|
|
4740
|
+
* Clears the list making it empty but non-null.
|
|
4741
|
+
* @return {!proto.sport.IssueBetbyFreebetsRequest} returns this
|
|
3303
4742
|
*/
|
|
3304
|
-
proto.sport.
|
|
4743
|
+
proto.sport.IssueBetbyFreebetsRequest.prototype.clearItemsList = function() {
|
|
4744
|
+
return this.setItemsList([]);
|
|
4745
|
+
};
|
|
4746
|
+
|
|
4747
|
+
|
|
3305
4748
|
|
|
3306
4749
|
|
|
3307
4750
|
|
|
@@ -3318,8 +4761,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3318
4761
|
* http://goto/soy-param-migration
|
|
3319
4762
|
* @return {!Object}
|
|
3320
4763
|
*/
|
|
3321
|
-
proto.sport.
|
|
3322
|
-
return proto.sport.
|
|
4764
|
+
proto.sport.IssueBetbyFreebetsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4765
|
+
return proto.sport.IssueBetbyFreebetsResponse.toObject(opt_includeInstance, this);
|
|
3323
4766
|
};
|
|
3324
4767
|
|
|
3325
4768
|
|
|
@@ -3328,14 +4771,13 @@ proto.sport.SportTypesResponse.prototype.toObject = function(opt_includeInstance
|
|
|
3328
4771
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3329
4772
|
* the JSPB instance for transitional soy proto support:
|
|
3330
4773
|
* http://goto/soy-param-migration
|
|
3331
|
-
* @param {!proto.sport.
|
|
4774
|
+
* @param {!proto.sport.IssueBetbyFreebetsResponse} msg The msg instance to transform.
|
|
3332
4775
|
* @return {!Object}
|
|
3333
4776
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3334
4777
|
*/
|
|
3335
|
-
proto.sport.
|
|
4778
|
+
proto.sport.IssueBetbyFreebetsResponse.toObject = function(includeInstance, msg) {
|
|
3336
4779
|
var f, obj = {
|
|
3337
|
-
|
|
3338
|
-
proto.sport.SportTypeItem.toObject, includeInstance)
|
|
4780
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3339
4781
|
};
|
|
3340
4782
|
|
|
3341
4783
|
if (includeInstance) {
|
|
@@ -3349,23 +4791,23 @@ proto.sport.SportTypesResponse.toObject = function(includeInstance, msg) {
|
|
|
3349
4791
|
/**
|
|
3350
4792
|
* Deserializes binary data (in protobuf wire format).
|
|
3351
4793
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3352
|
-
* @return {!proto.sport.
|
|
4794
|
+
* @return {!proto.sport.IssueBetbyFreebetsResponse}
|
|
3353
4795
|
*/
|
|
3354
|
-
proto.sport.
|
|
4796
|
+
proto.sport.IssueBetbyFreebetsResponse.deserializeBinary = function(bytes) {
|
|
3355
4797
|
var reader = new jspb.BinaryReader(bytes);
|
|
3356
|
-
var msg = new proto.sport.
|
|
3357
|
-
return proto.sport.
|
|
4798
|
+
var msg = new proto.sport.IssueBetbyFreebetsResponse;
|
|
4799
|
+
return proto.sport.IssueBetbyFreebetsResponse.deserializeBinaryFromReader(msg, reader);
|
|
3358
4800
|
};
|
|
3359
4801
|
|
|
3360
4802
|
|
|
3361
4803
|
/**
|
|
3362
4804
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3363
4805
|
* given reader into the given message object.
|
|
3364
|
-
* @param {!proto.sport.
|
|
4806
|
+
* @param {!proto.sport.IssueBetbyFreebetsResponse} msg The message object to deserialize into.
|
|
3365
4807
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3366
|
-
* @return {!proto.sport.
|
|
4808
|
+
* @return {!proto.sport.IssueBetbyFreebetsResponse}
|
|
3367
4809
|
*/
|
|
3368
|
-
proto.sport.
|
|
4810
|
+
proto.sport.IssueBetbyFreebetsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3369
4811
|
while (reader.nextField()) {
|
|
3370
4812
|
if (reader.isEndGroup()) {
|
|
3371
4813
|
break;
|
|
@@ -3373,9 +4815,8 @@ proto.sport.SportTypesResponse.deserializeBinaryFromReader = function(msg, reade
|
|
|
3373
4815
|
var field = reader.getFieldNumber();
|
|
3374
4816
|
switch (field) {
|
|
3375
4817
|
case 1:
|
|
3376
|
-
var value =
|
|
3377
|
-
|
|
3378
|
-
msg.addItems(value);
|
|
4818
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4819
|
+
msg.setData(value);
|
|
3379
4820
|
break;
|
|
3380
4821
|
default:
|
|
3381
4822
|
reader.skipField();
|
|
@@ -3390,9 +4831,9 @@ proto.sport.SportTypesResponse.deserializeBinaryFromReader = function(msg, reade
|
|
|
3390
4831
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3391
4832
|
* @return {!Uint8Array}
|
|
3392
4833
|
*/
|
|
3393
|
-
proto.sport.
|
|
4834
|
+
proto.sport.IssueBetbyFreebetsResponse.prototype.serializeBinary = function() {
|
|
3394
4835
|
var writer = new jspb.BinaryWriter();
|
|
3395
|
-
proto.sport.
|
|
4836
|
+
proto.sport.IssueBetbyFreebetsResponse.serializeBinaryToWriter(this, writer);
|
|
3396
4837
|
return writer.getResultBuffer();
|
|
3397
4838
|
};
|
|
3398
4839
|
|
|
@@ -3400,58 +4841,37 @@ proto.sport.SportTypesResponse.prototype.serializeBinary = function() {
|
|
|
3400
4841
|
/**
|
|
3401
4842
|
* Serializes the given message to binary data (in protobuf wire
|
|
3402
4843
|
* format), writing to the given BinaryWriter.
|
|
3403
|
-
* @param {!proto.sport.
|
|
4844
|
+
* @param {!proto.sport.IssueBetbyFreebetsResponse} message
|
|
3404
4845
|
* @param {!jspb.BinaryWriter} writer
|
|
3405
4846
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3406
4847
|
*/
|
|
3407
|
-
proto.sport.
|
|
4848
|
+
proto.sport.IssueBetbyFreebetsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3408
4849
|
var f = undefined;
|
|
3409
|
-
f = message.
|
|
4850
|
+
f = message.getData();
|
|
3410
4851
|
if (f.length > 0) {
|
|
3411
|
-
writer.
|
|
4852
|
+
writer.writeString(
|
|
3412
4853
|
1,
|
|
3413
|
-
f
|
|
3414
|
-
proto.sport.SportTypeItem.serializeBinaryToWriter
|
|
4854
|
+
f
|
|
3415
4855
|
);
|
|
3416
4856
|
}
|
|
3417
4857
|
};
|
|
3418
4858
|
|
|
3419
4859
|
|
|
3420
4860
|
/**
|
|
3421
|
-
*
|
|
3422
|
-
* @return {
|
|
3423
|
-
*/
|
|
3424
|
-
proto.sport.SportTypesResponse.prototype.getItemsList = function() {
|
|
3425
|
-
return /** @type{!Array<!proto.sport.SportTypeItem>} */ (
|
|
3426
|
-
jspb.Message.getRepeatedWrapperField(this, proto.sport.SportTypeItem, 1));
|
|
3427
|
-
};
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
/**
|
|
3431
|
-
* @param {!Array<!proto.sport.SportTypeItem>} value
|
|
3432
|
-
* @return {!proto.sport.SportTypesResponse} returns this
|
|
3433
|
-
*/
|
|
3434
|
-
proto.sport.SportTypesResponse.prototype.setItemsList = function(value) {
|
|
3435
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3436
|
-
};
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
/**
|
|
3440
|
-
* @param {!proto.sport.SportTypeItem=} opt_value
|
|
3441
|
-
* @param {number=} opt_index
|
|
3442
|
-
* @return {!proto.sport.SportTypeItem}
|
|
4861
|
+
* optional string data = 1;
|
|
4862
|
+
* @return {string}
|
|
3443
4863
|
*/
|
|
3444
|
-
proto.sport.
|
|
3445
|
-
return jspb.Message.
|
|
4864
|
+
proto.sport.IssueBetbyFreebetsResponse.prototype.getData = function() {
|
|
4865
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3446
4866
|
};
|
|
3447
4867
|
|
|
3448
4868
|
|
|
3449
4869
|
/**
|
|
3450
|
-
*
|
|
3451
|
-
* @return {!proto.sport.
|
|
4870
|
+
* @param {string} value
|
|
4871
|
+
* @return {!proto.sport.IssueBetbyFreebetsResponse} returns this
|
|
3452
4872
|
*/
|
|
3453
|
-
proto.sport.
|
|
3454
|
-
return
|
|
4873
|
+
proto.sport.IssueBetbyFreebetsResponse.prototype.setData = function(value) {
|
|
4874
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3455
4875
|
};
|
|
3456
4876
|
|
|
3457
4877
|
|