@jayesol/jayeson.lib.sports 2.2.5 → 2.2.6-beta

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.
@@ -1,3398 +0,0 @@
1
- import * as $protobuf from "protobufjs";
2
- /** SportType enum. */
3
- export enum SportType {
4
- SOCCER = 0,
5
- BASKETBALL = 1,
6
- HOCKEY = 2,
7
- TENNIS = 3,
8
- HORSE_RACING = 4,
9
- MOTOR_SPORT = 5,
10
- HANDBALL = 6,
11
- CRICKET = 7,
12
- POOL = 8
13
- }
14
-
15
- /** Properties of a BaseMatch. */
16
- export interface IBaseMatch {
17
-
18
- /** BaseMatch id */
19
- id?: (number|null);
20
-
21
- /** BaseMatch league */
22
- league?: (number|null);
23
-
24
- /** BaseMatch startTime */
25
- startTime?: (number|Long|null);
26
-
27
- /** BaseMatch country */
28
- country?: (number|null);
29
-
30
- /** BaseMatch participants */
31
- participants?: (number[]|null);
32
-
33
- /** BaseMatch metaInfo */
34
- metaInfo?: ({ [k: string]: string }|null);
35
-
36
- /** BaseMatch soccerMatch */
37
- soccerMatch?: (ISoccerMatch|null);
38
-
39
- /** BaseMatch basketballMatch */
40
- basketballMatch?: (IBasketballMatch|null);
41
-
42
- /** BaseMatch tennisMatch */
43
- tennisMatch?: (ITennisMatch|null);
44
- }
45
-
46
- /** Represents a BaseMatch. */
47
- export class BaseMatch implements IBaseMatch {
48
-
49
- /**
50
- * Constructs a new BaseMatch.
51
- * @param [properties] Properties to set
52
- */
53
- constructor(properties?: IBaseMatch);
54
-
55
- /** BaseMatch id. */
56
- public id: number;
57
-
58
- /** BaseMatch league. */
59
- public league: number;
60
-
61
- /** BaseMatch startTime. */
62
- public startTime: (number|Long);
63
-
64
- /** BaseMatch country. */
65
- public country: number;
66
-
67
- /** BaseMatch participants. */
68
- public participants: number[];
69
-
70
- /** BaseMatch metaInfo. */
71
- public metaInfo: { [k: string]: string };
72
-
73
- /** BaseMatch soccerMatch. */
74
- public soccerMatch?: (ISoccerMatch|null);
75
-
76
- /** BaseMatch basketballMatch. */
77
- public basketballMatch?: (IBasketballMatch|null);
78
-
79
- /** BaseMatch tennisMatch. */
80
- public tennisMatch?: (ITennisMatch|null);
81
-
82
- /** BaseMatch concreteMatch. */
83
- public concreteMatch?: ("soccerMatch"|"basketballMatch"|"tennisMatch");
84
-
85
- /**
86
- * Creates a new BaseMatch instance using the specified properties.
87
- * @param [properties] Properties to set
88
- * @returns BaseMatch instance
89
- */
90
- public static create(properties?: IBaseMatch): BaseMatch;
91
-
92
- /**
93
- * Encodes the specified BaseMatch message. Does not implicitly {@link BaseMatch.verify|verify} messages.
94
- * @param message BaseMatch message or plain object to encode
95
- * @param [writer] Writer to encode to
96
- * @returns Writer
97
- */
98
- public static encode(message: IBaseMatch, writer?: $protobuf.Writer): $protobuf.Writer;
99
-
100
- /**
101
- * Encodes the specified BaseMatch message, length delimited. Does not implicitly {@link BaseMatch.verify|verify} messages.
102
- * @param message BaseMatch message or plain object to encode
103
- * @param [writer] Writer to encode to
104
- * @returns Writer
105
- */
106
- public static encodeDelimited(message: IBaseMatch, writer?: $protobuf.Writer): $protobuf.Writer;
107
-
108
- /**
109
- * Decodes a BaseMatch message from the specified reader or buffer.
110
- * @param reader Reader or buffer to decode from
111
- * @param [length] Message length if known beforehand
112
- * @returns BaseMatch
113
- * @throws {Error} If the payload is not a reader or valid buffer
114
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
115
- */
116
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BaseMatch;
117
-
118
- /**
119
- * Decodes a BaseMatch message from the specified reader or buffer, length delimited.
120
- * @param reader Reader or buffer to decode from
121
- * @returns BaseMatch
122
- * @throws {Error} If the payload is not a reader or valid buffer
123
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
124
- */
125
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BaseMatch;
126
-
127
- /**
128
- * Verifies a BaseMatch message.
129
- * @param message Plain object to verify
130
- * @returns `null` if valid, otherwise the reason why it is not
131
- */
132
- public static verify(message: { [k: string]: any }): (string|null);
133
-
134
- /**
135
- * Creates a BaseMatch message from a plain object. Also converts values to their respective internal types.
136
- * @param object Plain object
137
- * @returns BaseMatch
138
- */
139
- public static fromObject(object: { [k: string]: any }): BaseMatch;
140
-
141
- /**
142
- * Creates a plain object from a BaseMatch message. Also converts values to other types if specified.
143
- * @param message BaseMatch
144
- * @param [options] Conversion options
145
- * @returns Plain object
146
- */
147
- public static toObject(message: BaseMatch, options?: $protobuf.IConversionOptions): { [k: string]: any };
148
-
149
- /**
150
- * Converts this BaseMatch to JSON.
151
- * @returns JSON object
152
- */
153
- public toJSON(): { [k: string]: any };
154
- }
155
-
156
- /** Properties of a BaseEvent. */
157
- export interface IBaseEvent {
158
-
159
- /** BaseEvent id */
160
- id?: (number|null);
161
-
162
- /** BaseEvent matchId */
163
- matchId?: (number|null);
164
-
165
- /** BaseEvent eventType */
166
- eventType?: (IEventType|null);
167
-
168
- /** BaseEvent metaInfo */
169
- metaInfo?: ({ [k: string]: string }|null);
170
-
171
- /** BaseEvent state */
172
- state?: (IBaseEventState|null);
173
-
174
- /** BaseEvent soccerEvent */
175
- soccerEvent?: (ISoccerEvent|null);
176
-
177
- /** BaseEvent basketballEvent */
178
- basketballEvent?: (IBasketballEvent|null);
179
-
180
- /** BaseEvent tennisEvent */
181
- tennisEvent?: (ITennisEvent|null);
182
- }
183
-
184
- /** Represents a BaseEvent. */
185
- export class BaseEvent implements IBaseEvent {
186
-
187
- /**
188
- * Constructs a new BaseEvent.
189
- * @param [properties] Properties to set
190
- */
191
- constructor(properties?: IBaseEvent);
192
-
193
- /** BaseEvent id. */
194
- public id: number;
195
-
196
- /** BaseEvent matchId. */
197
- public matchId: number;
198
-
199
- /** BaseEvent eventType. */
200
- public eventType?: (IEventType|null);
201
-
202
- /** BaseEvent metaInfo. */
203
- public metaInfo: { [k: string]: string };
204
-
205
- /** BaseEvent state. */
206
- public state?: (IBaseEventState|null);
207
-
208
- /** BaseEvent soccerEvent. */
209
- public soccerEvent?: (ISoccerEvent|null);
210
-
211
- /** BaseEvent basketballEvent. */
212
- public basketballEvent?: (IBasketballEvent|null);
213
-
214
- /** BaseEvent tennisEvent. */
215
- public tennisEvent?: (ITennisEvent|null);
216
-
217
- /** BaseEvent concreteEvent. */
218
- public concreteEvent?: ("soccerEvent"|"basketballEvent"|"tennisEvent");
219
-
220
- /**
221
- * Creates a new BaseEvent instance using the specified properties.
222
- * @param [properties] Properties to set
223
- * @returns BaseEvent instance
224
- */
225
- public static create(properties?: IBaseEvent): BaseEvent;
226
-
227
- /**
228
- * Encodes the specified BaseEvent message. Does not implicitly {@link BaseEvent.verify|verify} messages.
229
- * @param message BaseEvent message or plain object to encode
230
- * @param [writer] Writer to encode to
231
- * @returns Writer
232
- */
233
- public static encode(message: IBaseEvent, writer?: $protobuf.Writer): $protobuf.Writer;
234
-
235
- /**
236
- * Encodes the specified BaseEvent message, length delimited. Does not implicitly {@link BaseEvent.verify|verify} messages.
237
- * @param message BaseEvent message or plain object to encode
238
- * @param [writer] Writer to encode to
239
- * @returns Writer
240
- */
241
- public static encodeDelimited(message: IBaseEvent, writer?: $protobuf.Writer): $protobuf.Writer;
242
-
243
- /**
244
- * Decodes a BaseEvent message from the specified reader or buffer.
245
- * @param reader Reader or buffer to decode from
246
- * @param [length] Message length if known beforehand
247
- * @returns BaseEvent
248
- * @throws {Error} If the payload is not a reader or valid buffer
249
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
250
- */
251
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BaseEvent;
252
-
253
- /**
254
- * Decodes a BaseEvent message from the specified reader or buffer, length delimited.
255
- * @param reader Reader or buffer to decode from
256
- * @returns BaseEvent
257
- * @throws {Error} If the payload is not a reader or valid buffer
258
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
259
- */
260
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BaseEvent;
261
-
262
- /**
263
- * Verifies a BaseEvent message.
264
- * @param message Plain object to verify
265
- * @returns `null` if valid, otherwise the reason why it is not
266
- */
267
- public static verify(message: { [k: string]: any }): (string|null);
268
-
269
- /**
270
- * Creates a BaseEvent message from a plain object. Also converts values to their respective internal types.
271
- * @param object Plain object
272
- * @returns BaseEvent
273
- */
274
- public static fromObject(object: { [k: string]: any }): BaseEvent;
275
-
276
- /**
277
- * Creates a plain object from a BaseEvent message. Also converts values to other types if specified.
278
- * @param message BaseEvent
279
- * @param [options] Conversion options
280
- * @returns Plain object
281
- */
282
- public static toObject(message: BaseEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
283
-
284
- /**
285
- * Converts this BaseEvent to JSON.
286
- * @returns JSON object
287
- */
288
- public toJSON(): { [k: string]: any };
289
- }
290
-
291
- /** Properties of a BaseRecord. */
292
- export interface IBaseRecord {
293
-
294
- /** BaseRecord id */
295
- id?: (number|Long|null);
296
-
297
- /** BaseRecord matchId */
298
- matchId?: (number|null);
299
-
300
- /** BaseRecord eventId */
301
- eventId?: (number|null);
302
-
303
- /** BaseRecord source */
304
- source?: (number|null);
305
-
306
- /** BaseRecord format */
307
- format?: (OddFormat|null);
308
-
309
- /** BaseRecord timeType */
310
- timeType?: (ITimeType|null);
311
-
312
- /** BaseRecord metaInfo */
313
- metaInfo?: ({ [k: string]: string }|null);
314
-
315
- /** BaseRecord rates */
316
- rates?: (number[]|null);
317
-
318
- /** BaseRecord rateIds */
319
- rateIds?: (number[]|null);
320
-
321
- /** BaseRecord lbType */
322
- lbType?: (LBType|null);
323
-
324
- /** BaseRecord oddType */
325
- oddType?: (OddType|null);
326
-
327
- /** BaseRecord pivotValue */
328
- pivotValue?: (number|null);
329
-
330
- /** BaseRecord pivotType */
331
- pivotType?: (PivotType|null);
332
-
333
- /** BaseRecord pivotBias */
334
- pivotBias?: (PivotBias|null);
335
-
336
- /** BaseRecord soccerRecord */
337
- soccerRecord?: (ISoccerRecord|null);
338
-
339
- /** BaseRecord basketballRecord */
340
- basketballRecord?: (IBasketballRecord|null);
341
-
342
- /** BaseRecord tennisRecord */
343
- tennisRecord?: (ITennisRecord|null);
344
- }
345
-
346
- /** Represents a BaseRecord. */
347
- export class BaseRecord implements IBaseRecord {
348
-
349
- /**
350
- * Constructs a new BaseRecord.
351
- * @param [properties] Properties to set
352
- */
353
- constructor(properties?: IBaseRecord);
354
-
355
- /** BaseRecord id. */
356
- public id: (number|Long);
357
-
358
- /** BaseRecord matchId. */
359
- public matchId: number;
360
-
361
- /** BaseRecord eventId. */
362
- public eventId: number;
363
-
364
- /** BaseRecord source. */
365
- public source: number;
366
-
367
- /** BaseRecord format. */
368
- public format: OddFormat;
369
-
370
- /** BaseRecord timeType. */
371
- public timeType?: (ITimeType|null);
372
-
373
- /** BaseRecord metaInfo. */
374
- public metaInfo: { [k: string]: string };
375
-
376
- /** BaseRecord rates. */
377
- public rates: number[];
378
-
379
- /** BaseRecord rateIds. */
380
- public rateIds: number[];
381
-
382
- /** BaseRecord lbType. */
383
- public lbType: LBType;
384
-
385
- /** BaseRecord oddType. */
386
- public oddType: OddType;
387
-
388
- /** BaseRecord pivotValue. */
389
- public pivotValue: number;
390
-
391
- /** BaseRecord pivotType. */
392
- public pivotType: PivotType;
393
-
394
- /** BaseRecord pivotBias. */
395
- public pivotBias: PivotBias;
396
-
397
- /** BaseRecord soccerRecord. */
398
- public soccerRecord?: (ISoccerRecord|null);
399
-
400
- /** BaseRecord basketballRecord. */
401
- public basketballRecord?: (IBasketballRecord|null);
402
-
403
- /** BaseRecord tennisRecord. */
404
- public tennisRecord?: (ITennisRecord|null);
405
-
406
- /** BaseRecord concreteRecord. */
407
- public concreteRecord?: ("soccerRecord"|"basketballRecord"|"tennisRecord");
408
-
409
- /**
410
- * Creates a new BaseRecord instance using the specified properties.
411
- * @param [properties] Properties to set
412
- * @returns BaseRecord instance
413
- */
414
- public static create(properties?: IBaseRecord): BaseRecord;
415
-
416
- /**
417
- * Encodes the specified BaseRecord message. Does not implicitly {@link BaseRecord.verify|verify} messages.
418
- * @param message BaseRecord message or plain object to encode
419
- * @param [writer] Writer to encode to
420
- * @returns Writer
421
- */
422
- public static encode(message: IBaseRecord, writer?: $protobuf.Writer): $protobuf.Writer;
423
-
424
- /**
425
- * Encodes the specified BaseRecord message, length delimited. Does not implicitly {@link BaseRecord.verify|verify} messages.
426
- * @param message BaseRecord message or plain object to encode
427
- * @param [writer] Writer to encode to
428
- * @returns Writer
429
- */
430
- public static encodeDelimited(message: IBaseRecord, writer?: $protobuf.Writer): $protobuf.Writer;
431
-
432
- /**
433
- * Decodes a BaseRecord message from the specified reader or buffer.
434
- * @param reader Reader or buffer to decode from
435
- * @param [length] Message length if known beforehand
436
- * @returns BaseRecord
437
- * @throws {Error} If the payload is not a reader or valid buffer
438
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
439
- */
440
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BaseRecord;
441
-
442
- /**
443
- * Decodes a BaseRecord message from the specified reader or buffer, length delimited.
444
- * @param reader Reader or buffer to decode from
445
- * @returns BaseRecord
446
- * @throws {Error} If the payload is not a reader or valid buffer
447
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
448
- */
449
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BaseRecord;
450
-
451
- /**
452
- * Verifies a BaseRecord message.
453
- * @param message Plain object to verify
454
- * @returns `null` if valid, otherwise the reason why it is not
455
- */
456
- public static verify(message: { [k: string]: any }): (string|null);
457
-
458
- /**
459
- * Creates a BaseRecord message from a plain object. Also converts values to their respective internal types.
460
- * @param object Plain object
461
- * @returns BaseRecord
462
- */
463
- public static fromObject(object: { [k: string]: any }): BaseRecord;
464
-
465
- /**
466
- * Creates a plain object from a BaseRecord message. Also converts values to other types if specified.
467
- * @param message BaseRecord
468
- * @param [options] Conversion options
469
- * @returns Plain object
470
- */
471
- public static toObject(message: BaseRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
472
-
473
- /**
474
- * Converts this BaseRecord to JSON.
475
- * @returns JSON object
476
- */
477
- public toJSON(): { [k: string]: any };
478
- }
479
-
480
- /** PivotBias enum. */
481
- export enum PivotBias {
482
- NEUTRAL = 0,
483
- HOST = 1,
484
- GUEST = 2
485
- }
486
-
487
- /** PivotType enum. */
488
- export enum PivotType {
489
- HDP = 0,
490
- TOTAL = 1,
491
- ONE_TWO = 2,
492
- OE = 3
493
- }
494
-
495
- /** LBType enum. */
496
- export enum LBType {
497
- LAY = 0,
498
- BACK = 1
499
- }
500
-
501
- /** Properties of a Stats. */
502
- export interface IStats {
503
-
504
- /** Stats scores */
505
- scores?: (number[]|null);
506
- }
507
-
508
- /** Represents a Stats. */
509
- export class Stats implements IStats {
510
-
511
- /**
512
- * Constructs a new Stats.
513
- * @param [properties] Properties to set
514
- */
515
- constructor(properties?: IStats);
516
-
517
- /** Stats scores. */
518
- public scores: number[];
519
-
520
- /**
521
- * Creates a new Stats instance using the specified properties.
522
- * @param [properties] Properties to set
523
- * @returns Stats instance
524
- */
525
- public static create(properties?: IStats): Stats;
526
-
527
- /**
528
- * Encodes the specified Stats message. Does not implicitly {@link Stats.verify|verify} messages.
529
- * @param message Stats message or plain object to encode
530
- * @param [writer] Writer to encode to
531
- * @returns Writer
532
- */
533
- public static encode(message: IStats, writer?: $protobuf.Writer): $protobuf.Writer;
534
-
535
- /**
536
- * Encodes the specified Stats message, length delimited. Does not implicitly {@link Stats.verify|verify} messages.
537
- * @param message Stats message or plain object to encode
538
- * @param [writer] Writer to encode to
539
- * @returns Writer
540
- */
541
- public static encodeDelimited(message: IStats, writer?: $protobuf.Writer): $protobuf.Writer;
542
-
543
- /**
544
- * Decodes a Stats message from the specified reader or buffer.
545
- * @param reader Reader or buffer to decode from
546
- * @param [length] Message length if known beforehand
547
- * @returns Stats
548
- * @throws {Error} If the payload is not a reader or valid buffer
549
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
550
- */
551
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Stats;
552
-
553
- /**
554
- * Decodes a Stats message from the specified reader or buffer, length delimited.
555
- * @param reader Reader or buffer to decode from
556
- * @returns Stats
557
- * @throws {Error} If the payload is not a reader or valid buffer
558
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
559
- */
560
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Stats;
561
-
562
- /**
563
- * Verifies a Stats message.
564
- * @param message Plain object to verify
565
- * @returns `null` if valid, otherwise the reason why it is not
566
- */
567
- public static verify(message: { [k: string]: any }): (string|null);
568
-
569
- /**
570
- * Creates a Stats message from a plain object. Also converts values to their respective internal types.
571
- * @param object Plain object
572
- * @returns Stats
573
- */
574
- public static fromObject(object: { [k: string]: any }): Stats;
575
-
576
- /**
577
- * Creates a plain object from a Stats message. Also converts values to other types if specified.
578
- * @param message Stats
579
- * @param [options] Conversion options
580
- * @returns Plain object
581
- */
582
- public static toObject(message: Stats, options?: $protobuf.IConversionOptions): { [k: string]: any };
583
-
584
- /**
585
- * Converts this Stats to JSON.
586
- * @returns JSON object
587
- */
588
- public toJSON(): { [k: string]: any };
589
- }
590
-
591
- /** Properties of a BaseEventState. */
592
- export interface IBaseEventState {
593
-
594
- /** BaseEventState duration */
595
- duration?: (number|null);
596
-
597
- /** BaseEventState participantStats */
598
- participantStats?: (IStats[]|null);
599
-
600
- /** BaseEventState soccerEventState */
601
- soccerEventState?: (ISoccerEventState|null);
602
-
603
- /** BaseEventState basketballEventState */
604
- basketballEventState?: (IBasketballEventState|null);
605
-
606
- /** BaseEventState tennisEventState */
607
- tennisEventState?: (ITennisEventState|null);
608
- }
609
-
610
- /** Represents a BaseEventState. */
611
- export class BaseEventState implements IBaseEventState {
612
-
613
- /**
614
- * Constructs a new BaseEventState.
615
- * @param [properties] Properties to set
616
- */
617
- constructor(properties?: IBaseEventState);
618
-
619
- /** BaseEventState duration. */
620
- public duration: number;
621
-
622
- /** BaseEventState participantStats. */
623
- public participantStats: IStats[];
624
-
625
- /** BaseEventState soccerEventState. */
626
- public soccerEventState?: (ISoccerEventState|null);
627
-
628
- /** BaseEventState basketballEventState. */
629
- public basketballEventState?: (IBasketballEventState|null);
630
-
631
- /** BaseEventState tennisEventState. */
632
- public tennisEventState?: (ITennisEventState|null);
633
-
634
- /** BaseEventState concreteEventState. */
635
- public concreteEventState?: ("soccerEventState"|"basketballEventState"|"tennisEventState");
636
-
637
- /**
638
- * Creates a new BaseEventState instance using the specified properties.
639
- * @param [properties] Properties to set
640
- * @returns BaseEventState instance
641
- */
642
- public static create(properties?: IBaseEventState): BaseEventState;
643
-
644
- /**
645
- * Encodes the specified BaseEventState message. Does not implicitly {@link BaseEventState.verify|verify} messages.
646
- * @param message BaseEventState message or plain object to encode
647
- * @param [writer] Writer to encode to
648
- * @returns Writer
649
- */
650
- public static encode(message: IBaseEventState, writer?: $protobuf.Writer): $protobuf.Writer;
651
-
652
- /**
653
- * Encodes the specified BaseEventState message, length delimited. Does not implicitly {@link BaseEventState.verify|verify} messages.
654
- * @param message BaseEventState message or plain object to encode
655
- * @param [writer] Writer to encode to
656
- * @returns Writer
657
- */
658
- public static encodeDelimited(message: IBaseEventState, writer?: $protobuf.Writer): $protobuf.Writer;
659
-
660
- /**
661
- * Decodes a BaseEventState message from the specified reader or buffer.
662
- * @param reader Reader or buffer to decode from
663
- * @param [length] Message length if known beforehand
664
- * @returns BaseEventState
665
- * @throws {Error} If the payload is not a reader or valid buffer
666
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
667
- */
668
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BaseEventState;
669
-
670
- /**
671
- * Decodes a BaseEventState message from the specified reader or buffer, length delimited.
672
- * @param reader Reader or buffer to decode from
673
- * @returns BaseEventState
674
- * @throws {Error} If the payload is not a reader or valid buffer
675
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
676
- */
677
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BaseEventState;
678
-
679
- /**
680
- * Verifies a BaseEventState message.
681
- * @param message Plain object to verify
682
- * @returns `null` if valid, otherwise the reason why it is not
683
- */
684
- public static verify(message: { [k: string]: any }): (string|null);
685
-
686
- /**
687
- * Creates a BaseEventState message from a plain object. Also converts values to their respective internal types.
688
- * @param object Plain object
689
- * @returns BaseEventState
690
- */
691
- public static fromObject(object: { [k: string]: any }): BaseEventState;
692
-
693
- /**
694
- * Creates a plain object from a BaseEventState message. Also converts values to other types if specified.
695
- * @param message BaseEventState
696
- * @param [options] Conversion options
697
- * @returns Plain object
698
- */
699
- public static toObject(message: BaseEventState, options?: $protobuf.IConversionOptions): { [k: string]: any };
700
-
701
- /**
702
- * Converts this BaseEventState to JSON.
703
- * @returns JSON object
704
- */
705
- public toJSON(): { [k: string]: any };
706
- }
707
-
708
- /** OddType enum. */
709
- export enum OddType {
710
- LIVE = 0,
711
- TODAY = 1,
712
- EARLY = 2
713
- }
714
-
715
- /** Properties of a PartitionKey. */
716
- export interface IPartitionKey {
717
-
718
- /** PartitionKey source */
719
- source?: (number|null);
720
-
721
- /** PartitionKey oddType */
722
- oddType?: (OddType|null);
723
-
724
- /** PartitionKey sport */
725
- sport?: (SportType|null);
726
- }
727
-
728
- /** Represents a PartitionKey. */
729
- export class PartitionKey implements IPartitionKey {
730
-
731
- /**
732
- * Constructs a new PartitionKey.
733
- * @param [properties] Properties to set
734
- */
735
- constructor(properties?: IPartitionKey);
736
-
737
- /** PartitionKey source. */
738
- public source: number;
739
-
740
- /** PartitionKey oddType. */
741
- public oddType: OddType;
742
-
743
- /** PartitionKey sport. */
744
- public sport: SportType;
745
-
746
- /**
747
- * Creates a new PartitionKey instance using the specified properties.
748
- * @param [properties] Properties to set
749
- * @returns PartitionKey instance
750
- */
751
- public static create(properties?: IPartitionKey): PartitionKey;
752
-
753
- /**
754
- * Encodes the specified PartitionKey message. Does not implicitly {@link PartitionKey.verify|verify} messages.
755
- * @param message PartitionKey message or plain object to encode
756
- * @param [writer] Writer to encode to
757
- * @returns Writer
758
- */
759
- public static encode(message: IPartitionKey, writer?: $protobuf.Writer): $protobuf.Writer;
760
-
761
- /**
762
- * Encodes the specified PartitionKey message, length delimited. Does not implicitly {@link PartitionKey.verify|verify} messages.
763
- * @param message PartitionKey message or plain object to encode
764
- * @param [writer] Writer to encode to
765
- * @returns Writer
766
- */
767
- public static encodeDelimited(message: IPartitionKey, writer?: $protobuf.Writer): $protobuf.Writer;
768
-
769
- /**
770
- * Decodes a PartitionKey message from the specified reader or buffer.
771
- * @param reader Reader or buffer to decode from
772
- * @param [length] Message length if known beforehand
773
- * @returns PartitionKey
774
- * @throws {Error} If the payload is not a reader or valid buffer
775
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
776
- */
777
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): PartitionKey;
778
-
779
- /**
780
- * Decodes a PartitionKey message from the specified reader or buffer, length delimited.
781
- * @param reader Reader or buffer to decode from
782
- * @returns PartitionKey
783
- * @throws {Error} If the payload is not a reader or valid buffer
784
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
785
- */
786
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): PartitionKey;
787
-
788
- /**
789
- * Verifies a PartitionKey message.
790
- * @param message Plain object to verify
791
- * @returns `null` if valid, otherwise the reason why it is not
792
- */
793
- public static verify(message: { [k: string]: any }): (string|null);
794
-
795
- /**
796
- * Creates a PartitionKey message from a plain object. Also converts values to their respective internal types.
797
- * @param object Plain object
798
- * @returns PartitionKey
799
- */
800
- public static fromObject(object: { [k: string]: any }): PartitionKey;
801
-
802
- /**
803
- * Creates a plain object from a PartitionKey message. Also converts values to other types if specified.
804
- * @param message PartitionKey
805
- * @param [options] Conversion options
806
- * @returns Plain object
807
- */
808
- public static toObject(message: PartitionKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
809
-
810
- /**
811
- * Converts this PartitionKey to JSON.
812
- * @returns JSON object
813
- */
814
- public toJSON(): { [k: string]: any };
815
- }
816
-
817
- /** Properties of an EventType. */
818
- export interface IEventType {
819
-
820
- /** EventType soccerEventType */
821
- soccerEventType?: (SoccerEvent.Type|null);
822
-
823
- /** EventType basketballEventType */
824
- basketballEventType?: (BasketballEvent.Type|null);
825
-
826
- /** EventType tennisEventType */
827
- tennisEventType?: (TennisEvent.Type|null);
828
- }
829
-
830
- /** Represents an EventType. */
831
- export class EventType implements IEventType {
832
-
833
- /**
834
- * Constructs a new EventType.
835
- * @param [properties] Properties to set
836
- */
837
- constructor(properties?: IEventType);
838
-
839
- /** EventType soccerEventType. */
840
- public soccerEventType: SoccerEvent.Type;
841
-
842
- /** EventType basketballEventType. */
843
- public basketballEventType: BasketballEvent.Type;
844
-
845
- /** EventType tennisEventType. */
846
- public tennisEventType: TennisEvent.Type;
847
-
848
- /** EventType concreteEventType. */
849
- public concreteEventType?: ("soccerEventType"|"basketballEventType"|"tennisEventType");
850
-
851
- /**
852
- * Creates a new EventType instance using the specified properties.
853
- * @param [properties] Properties to set
854
- * @returns EventType instance
855
- */
856
- public static create(properties?: IEventType): EventType;
857
-
858
- /**
859
- * Encodes the specified EventType message. Does not implicitly {@link EventType.verify|verify} messages.
860
- * @param message EventType message or plain object to encode
861
- * @param [writer] Writer to encode to
862
- * @returns Writer
863
- */
864
- public static encode(message: IEventType, writer?: $protobuf.Writer): $protobuf.Writer;
865
-
866
- /**
867
- * Encodes the specified EventType message, length delimited. Does not implicitly {@link EventType.verify|verify} messages.
868
- * @param message EventType message or plain object to encode
869
- * @param [writer] Writer to encode to
870
- * @returns Writer
871
- */
872
- public static encodeDelimited(message: IEventType, writer?: $protobuf.Writer): $protobuf.Writer;
873
-
874
- /**
875
- * Decodes an EventType message from the specified reader or buffer.
876
- * @param reader Reader or buffer to decode from
877
- * @param [length] Message length if known beforehand
878
- * @returns EventType
879
- * @throws {Error} If the payload is not a reader or valid buffer
880
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
881
- */
882
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EventType;
883
-
884
- /**
885
- * Decodes an EventType message from the specified reader or buffer, length delimited.
886
- * @param reader Reader or buffer to decode from
887
- * @returns EventType
888
- * @throws {Error} If the payload is not a reader or valid buffer
889
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
890
- */
891
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EventType;
892
-
893
- /**
894
- * Verifies an EventType message.
895
- * @param message Plain object to verify
896
- * @returns `null` if valid, otherwise the reason why it is not
897
- */
898
- public static verify(message: { [k: string]: any }): (string|null);
899
-
900
- /**
901
- * Creates an EventType message from a plain object. Also converts values to their respective internal types.
902
- * @param object Plain object
903
- * @returns EventType
904
- */
905
- public static fromObject(object: { [k: string]: any }): EventType;
906
-
907
- /**
908
- * Creates a plain object from an EventType message. Also converts values to other types if specified.
909
- * @param message EventType
910
- * @param [options] Conversion options
911
- * @returns Plain object
912
- */
913
- public static toObject(message: EventType, options?: $protobuf.IConversionOptions): { [k: string]: any };
914
-
915
- /**
916
- * Converts this EventType to JSON.
917
- * @returns JSON object
918
- */
919
- public toJSON(): { [k: string]: any };
920
- }
921
-
922
- /** OddFormat enum. */
923
- export enum OddFormat {
924
- HK = 0,
925
- MALAY = 1,
926
- EU = 2,
927
- INDO = 3,
928
- AMERICAN = 4
929
- }
930
-
931
- /** Properties of a TimeType. */
932
- export interface ITimeType {
933
-
934
- /** TimeType soccerTimeType */
935
- soccerTimeType?: (ISoccerTimeType|null);
936
-
937
- /** TimeType basketballTimeType */
938
- basketballTimeType?: (IBasketballTimeType|null);
939
-
940
- /** TimeType tennisTimeType */
941
- tennisTimeType?: (ITennisTimeType|null);
942
- }
943
-
944
- /** Represents a TimeType. */
945
- export class TimeType implements ITimeType {
946
-
947
- /**
948
- * Constructs a new TimeType.
949
- * @param [properties] Properties to set
950
- */
951
- constructor(properties?: ITimeType);
952
-
953
- /** TimeType soccerTimeType. */
954
- public soccerTimeType?: (ISoccerTimeType|null);
955
-
956
- /** TimeType basketballTimeType. */
957
- public basketballTimeType?: (IBasketballTimeType|null);
958
-
959
- /** TimeType tennisTimeType. */
960
- public tennisTimeType?: (ITennisTimeType|null);
961
-
962
- /** TimeType concreteTimeType. */
963
- public concreteTimeType?: ("soccerTimeType"|"basketballTimeType"|"tennisTimeType");
964
-
965
- /**
966
- * Creates a new TimeType instance using the specified properties.
967
- * @param [properties] Properties to set
968
- * @returns TimeType instance
969
- */
970
- public static create(properties?: ITimeType): TimeType;
971
-
972
- /**
973
- * Encodes the specified TimeType message. Does not implicitly {@link TimeType.verify|verify} messages.
974
- * @param message TimeType message or plain object to encode
975
- * @param [writer] Writer to encode to
976
- * @returns Writer
977
- */
978
- public static encode(message: ITimeType, writer?: $protobuf.Writer): $protobuf.Writer;
979
-
980
- /**
981
- * Encodes the specified TimeType message, length delimited. Does not implicitly {@link TimeType.verify|verify} messages.
982
- * @param message TimeType message or plain object to encode
983
- * @param [writer] Writer to encode to
984
- * @returns Writer
985
- */
986
- public static encodeDelimited(message: ITimeType, writer?: $protobuf.Writer): $protobuf.Writer;
987
-
988
- /**
989
- * Decodes a TimeType message from the specified reader or buffer.
990
- * @param reader Reader or buffer to decode from
991
- * @param [length] Message length if known beforehand
992
- * @returns TimeType
993
- * @throws {Error} If the payload is not a reader or valid buffer
994
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
995
- */
996
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TimeType;
997
-
998
- /**
999
- * Decodes a TimeType message from the specified reader or buffer, length delimited.
1000
- * @param reader Reader or buffer to decode from
1001
- * @returns TimeType
1002
- * @throws {Error} If the payload is not a reader or valid buffer
1003
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1004
- */
1005
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TimeType;
1006
-
1007
- /**
1008
- * Verifies a TimeType message.
1009
- * @param message Plain object to verify
1010
- * @returns `null` if valid, otherwise the reason why it is not
1011
- */
1012
- public static verify(message: { [k: string]: any }): (string|null);
1013
-
1014
- /**
1015
- * Creates a TimeType message from a plain object. Also converts values to their respective internal types.
1016
- * @param object Plain object
1017
- * @returns TimeType
1018
- */
1019
- public static fromObject(object: { [k: string]: any }): TimeType;
1020
-
1021
- /**
1022
- * Creates a plain object from a TimeType message. Also converts values to other types if specified.
1023
- * @param message TimeType
1024
- * @param [options] Conversion options
1025
- * @returns Plain object
1026
- */
1027
- public static toObject(message: TimeType, options?: $protobuf.IConversionOptions): { [k: string]: any };
1028
-
1029
- /**
1030
- * Converts this TimeType to JSON.
1031
- * @returns JSON object
1032
- */
1033
- public toJSON(): { [k: string]: any };
1034
- }
1035
-
1036
- /** Properties of a Matches. */
1037
- export interface IMatches {
1038
-
1039
- /** Matches matches */
1040
- matches?: (IBaseMatch[]|null);
1041
- }
1042
-
1043
- /** Represents a Matches. */
1044
- export class Matches implements IMatches {
1045
-
1046
- /**
1047
- * Constructs a new Matches.
1048
- * @param [properties] Properties to set
1049
- */
1050
- constructor(properties?: IMatches);
1051
-
1052
- /** Matches matches. */
1053
- public matches: IBaseMatch[];
1054
-
1055
- /**
1056
- * Creates a new Matches instance using the specified properties.
1057
- * @param [properties] Properties to set
1058
- * @returns Matches instance
1059
- */
1060
- public static create(properties?: IMatches): Matches;
1061
-
1062
- /**
1063
- * Encodes the specified Matches message. Does not implicitly {@link Matches.verify|verify} messages.
1064
- * @param message Matches message or plain object to encode
1065
- * @param [writer] Writer to encode to
1066
- * @returns Writer
1067
- */
1068
- public static encode(message: IMatches, writer?: $protobuf.Writer): $protobuf.Writer;
1069
-
1070
- /**
1071
- * Encodes the specified Matches message, length delimited. Does not implicitly {@link Matches.verify|verify} messages.
1072
- * @param message Matches message or plain object to encode
1073
- * @param [writer] Writer to encode to
1074
- * @returns Writer
1075
- */
1076
- public static encodeDelimited(message: IMatches, writer?: $protobuf.Writer): $protobuf.Writer;
1077
-
1078
- /**
1079
- * Decodes a Matches message from the specified reader or buffer.
1080
- * @param reader Reader or buffer to decode from
1081
- * @param [length] Message length if known beforehand
1082
- * @returns Matches
1083
- * @throws {Error} If the payload is not a reader or valid buffer
1084
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1085
- */
1086
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Matches;
1087
-
1088
- /**
1089
- * Decodes a Matches message from the specified reader or buffer, length delimited.
1090
- * @param reader Reader or buffer to decode from
1091
- * @returns Matches
1092
- * @throws {Error} If the payload is not a reader or valid buffer
1093
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1094
- */
1095
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Matches;
1096
-
1097
- /**
1098
- * Verifies a Matches message.
1099
- * @param message Plain object to verify
1100
- * @returns `null` if valid, otherwise the reason why it is not
1101
- */
1102
- public static verify(message: { [k: string]: any }): (string|null);
1103
-
1104
- /**
1105
- * Creates a Matches message from a plain object. Also converts values to their respective internal types.
1106
- * @param object Plain object
1107
- * @returns Matches
1108
- */
1109
- public static fromObject(object: { [k: string]: any }): Matches;
1110
-
1111
- /**
1112
- * Creates a plain object from a Matches message. Also converts values to other types if specified.
1113
- * @param message Matches
1114
- * @param [options] Conversion options
1115
- * @returns Plain object
1116
- */
1117
- public static toObject(message: Matches, options?: $protobuf.IConversionOptions): { [k: string]: any };
1118
-
1119
- /**
1120
- * Converts this Matches to JSON.
1121
- * @returns JSON object
1122
- */
1123
- public toJSON(): { [k: string]: any };
1124
- }
1125
-
1126
- /** Properties of an Events. */
1127
- export interface IEvents {
1128
-
1129
- /** Events events */
1130
- events?: (IBaseEvent[]|null);
1131
- }
1132
-
1133
- /** Represents an Events. */
1134
- export class Events implements IEvents {
1135
-
1136
- /**
1137
- * Constructs a new Events.
1138
- * @param [properties] Properties to set
1139
- */
1140
- constructor(properties?: IEvents);
1141
-
1142
- /** Events events. */
1143
- public events: IBaseEvent[];
1144
-
1145
- /**
1146
- * Creates a new Events instance using the specified properties.
1147
- * @param [properties] Properties to set
1148
- * @returns Events instance
1149
- */
1150
- public static create(properties?: IEvents): Events;
1151
-
1152
- /**
1153
- * Encodes the specified Events message. Does not implicitly {@link Events.verify|verify} messages.
1154
- * @param message Events message or plain object to encode
1155
- * @param [writer] Writer to encode to
1156
- * @returns Writer
1157
- */
1158
- public static encode(message: IEvents, writer?: $protobuf.Writer): $protobuf.Writer;
1159
-
1160
- /**
1161
- * Encodes the specified Events message, length delimited. Does not implicitly {@link Events.verify|verify} messages.
1162
- * @param message Events message or plain object to encode
1163
- * @param [writer] Writer to encode to
1164
- * @returns Writer
1165
- */
1166
- public static encodeDelimited(message: IEvents, writer?: $protobuf.Writer): $protobuf.Writer;
1167
-
1168
- /**
1169
- * Decodes an Events message from the specified reader or buffer.
1170
- * @param reader Reader or buffer to decode from
1171
- * @param [length] Message length if known beforehand
1172
- * @returns Events
1173
- * @throws {Error} If the payload is not a reader or valid buffer
1174
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1175
- */
1176
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Events;
1177
-
1178
- /**
1179
- * Decodes an Events message from the specified reader or buffer, length delimited.
1180
- * @param reader Reader or buffer to decode from
1181
- * @returns Events
1182
- * @throws {Error} If the payload is not a reader or valid buffer
1183
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1184
- */
1185
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Events;
1186
-
1187
- /**
1188
- * Verifies an Events message.
1189
- * @param message Plain object to verify
1190
- * @returns `null` if valid, otherwise the reason why it is not
1191
- */
1192
- public static verify(message: { [k: string]: any }): (string|null);
1193
-
1194
- /**
1195
- * Creates an Events message from a plain object. Also converts values to their respective internal types.
1196
- * @param object Plain object
1197
- * @returns Events
1198
- */
1199
- public static fromObject(object: { [k: string]: any }): Events;
1200
-
1201
- /**
1202
- * Creates a plain object from an Events message. Also converts values to other types if specified.
1203
- * @param message Events
1204
- * @param [options] Conversion options
1205
- * @returns Plain object
1206
- */
1207
- public static toObject(message: Events, options?: $protobuf.IConversionOptions): { [k: string]: any };
1208
-
1209
- /**
1210
- * Converts this Events to JSON.
1211
- * @returns JSON object
1212
- */
1213
- public toJSON(): { [k: string]: any };
1214
- }
1215
-
1216
- /** Properties of an Odds. */
1217
- export interface IOdds {
1218
-
1219
- /** Odds odds */
1220
- odds?: (IBaseRecord[]|null);
1221
- }
1222
-
1223
- /** Represents an Odds. */
1224
- export class Odds implements IOdds {
1225
-
1226
- /**
1227
- * Constructs a new Odds.
1228
- * @param [properties] Properties to set
1229
- */
1230
- constructor(properties?: IOdds);
1231
-
1232
- /** Odds odds. */
1233
- public odds: IBaseRecord[];
1234
-
1235
- /**
1236
- * Creates a new Odds instance using the specified properties.
1237
- * @param [properties] Properties to set
1238
- * @returns Odds instance
1239
- */
1240
- public static create(properties?: IOdds): Odds;
1241
-
1242
- /**
1243
- * Encodes the specified Odds message. Does not implicitly {@link Odds.verify|verify} messages.
1244
- * @param message Odds message or plain object to encode
1245
- * @param [writer] Writer to encode to
1246
- * @returns Writer
1247
- */
1248
- public static encode(message: IOdds, writer?: $protobuf.Writer): $protobuf.Writer;
1249
-
1250
- /**
1251
- * Encodes the specified Odds message, length delimited. Does not implicitly {@link Odds.verify|verify} messages.
1252
- * @param message Odds message or plain object to encode
1253
- * @param [writer] Writer to encode to
1254
- * @returns Writer
1255
- */
1256
- public static encodeDelimited(message: IOdds, writer?: $protobuf.Writer): $protobuf.Writer;
1257
-
1258
- /**
1259
- * Decodes an Odds message from the specified reader or buffer.
1260
- * @param reader Reader or buffer to decode from
1261
- * @param [length] Message length if known beforehand
1262
- * @returns Odds
1263
- * @throws {Error} If the payload is not a reader or valid buffer
1264
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1265
- */
1266
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Odds;
1267
-
1268
- /**
1269
- * Decodes an Odds message from the specified reader or buffer, length delimited.
1270
- * @param reader Reader or buffer to decode from
1271
- * @returns Odds
1272
- * @throws {Error} If the payload is not a reader or valid buffer
1273
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1274
- */
1275
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Odds;
1276
-
1277
- /**
1278
- * Verifies an Odds message.
1279
- * @param message Plain object to verify
1280
- * @returns `null` if valid, otherwise the reason why it is not
1281
- */
1282
- public static verify(message: { [k: string]: any }): (string|null);
1283
-
1284
- /**
1285
- * Creates an Odds message from a plain object. Also converts values to their respective internal types.
1286
- * @param object Plain object
1287
- * @returns Odds
1288
- */
1289
- public static fromObject(object: { [k: string]: any }): Odds;
1290
-
1291
- /**
1292
- * Creates a plain object from an Odds message. Also converts values to other types if specified.
1293
- * @param message Odds
1294
- * @param [options] Conversion options
1295
- * @returns Plain object
1296
- */
1297
- public static toObject(message: Odds, options?: $protobuf.IConversionOptions): { [k: string]: any };
1298
-
1299
- /**
1300
- * Converts this Odds to JSON.
1301
- * @returns JSON object
1302
- */
1303
- public toJSON(): { [k: string]: any };
1304
- }
1305
-
1306
- /** Properties of a DataMessage. */
1307
- export interface IDataMessage {
1308
-
1309
- /** DataMessage stringPool */
1310
- stringPool?: (string[]|null);
1311
-
1312
- /** DataMessage feedKey */
1313
- feedKey?: (IPartitionKey|null);
1314
-
1315
- /** DataMessage matches */
1316
- matches?: (IMatches|null);
1317
-
1318
- /** DataMessage events */
1319
- events?: (IEvents|null);
1320
-
1321
- /** DataMessage odds */
1322
- odds?: (IOdds|null);
1323
- }
1324
-
1325
- /** Represents a DataMessage. */
1326
- export class DataMessage implements IDataMessage {
1327
-
1328
- /**
1329
- * Constructs a new DataMessage.
1330
- * @param [properties] Properties to set
1331
- */
1332
- constructor(properties?: IDataMessage);
1333
-
1334
- /** DataMessage stringPool. */
1335
- public stringPool: string[];
1336
-
1337
- /** DataMessage feedKey. */
1338
- public feedKey?: (IPartitionKey|null);
1339
-
1340
- /** DataMessage matches. */
1341
- public matches?: (IMatches|null);
1342
-
1343
- /** DataMessage events. */
1344
- public events?: (IEvents|null);
1345
-
1346
- /** DataMessage odds. */
1347
- public odds?: (IOdds|null);
1348
-
1349
- /** DataMessage payload. */
1350
- public payload?: ("matches"|"events"|"odds");
1351
-
1352
- /**
1353
- * Creates a new DataMessage instance using the specified properties.
1354
- * @param [properties] Properties to set
1355
- * @returns DataMessage instance
1356
- */
1357
- public static create(properties?: IDataMessage): DataMessage;
1358
-
1359
- /**
1360
- * Encodes the specified DataMessage message. Does not implicitly {@link DataMessage.verify|verify} messages.
1361
- * @param message DataMessage message or plain object to encode
1362
- * @param [writer] Writer to encode to
1363
- * @returns Writer
1364
- */
1365
- public static encode(message: IDataMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1366
-
1367
- /**
1368
- * Encodes the specified DataMessage message, length delimited. Does not implicitly {@link DataMessage.verify|verify} messages.
1369
- * @param message DataMessage message or plain object to encode
1370
- * @param [writer] Writer to encode to
1371
- * @returns Writer
1372
- */
1373
- public static encodeDelimited(message: IDataMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1374
-
1375
- /**
1376
- * Decodes a DataMessage message from the specified reader or buffer.
1377
- * @param reader Reader or buffer to decode from
1378
- * @param [length] Message length if known beforehand
1379
- * @returns DataMessage
1380
- * @throws {Error} If the payload is not a reader or valid buffer
1381
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1382
- */
1383
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DataMessage;
1384
-
1385
- /**
1386
- * Decodes a DataMessage message from the specified reader or buffer, length delimited.
1387
- * @param reader Reader or buffer to decode from
1388
- * @returns DataMessage
1389
- * @throws {Error} If the payload is not a reader or valid buffer
1390
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1391
- */
1392
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DataMessage;
1393
-
1394
- /**
1395
- * Verifies a DataMessage message.
1396
- * @param message Plain object to verify
1397
- * @returns `null` if valid, otherwise the reason why it is not
1398
- */
1399
- public static verify(message: { [k: string]: any }): (string|null);
1400
-
1401
- /**
1402
- * Creates a DataMessage message from a plain object. Also converts values to their respective internal types.
1403
- * @param object Plain object
1404
- * @returns DataMessage
1405
- */
1406
- public static fromObject(object: { [k: string]: any }): DataMessage;
1407
-
1408
- /**
1409
- * Creates a plain object from a DataMessage message. Also converts values to other types if specified.
1410
- * @param message DataMessage
1411
- * @param [options] Conversion options
1412
- * @returns Plain object
1413
- */
1414
- public static toObject(message: DataMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
1415
-
1416
- /**
1417
- * Converts this DataMessage to JSON.
1418
- * @returns JSON object
1419
- */
1420
- public toJSON(): { [k: string]: any };
1421
- }
1422
-
1423
- /** Properties of a SoccerEvent. */
1424
- export interface ISoccerEvent {
1425
- }
1426
-
1427
- /** Represents a SoccerEvent. */
1428
- export class SoccerEvent implements ISoccerEvent {
1429
-
1430
- /**
1431
- * Constructs a new SoccerEvent.
1432
- * @param [properties] Properties to set
1433
- */
1434
- constructor(properties?: ISoccerEvent);
1435
-
1436
- /**
1437
- * Creates a new SoccerEvent instance using the specified properties.
1438
- * @param [properties] Properties to set
1439
- * @returns SoccerEvent instance
1440
- */
1441
- public static create(properties?: ISoccerEvent): SoccerEvent;
1442
-
1443
- /**
1444
- * Encodes the specified SoccerEvent message. Does not implicitly {@link SoccerEvent.verify|verify} messages.
1445
- * @param message SoccerEvent message or plain object to encode
1446
- * @param [writer] Writer to encode to
1447
- * @returns Writer
1448
- */
1449
- public static encode(message: ISoccerEvent, writer?: $protobuf.Writer): $protobuf.Writer;
1450
-
1451
- /**
1452
- * Encodes the specified SoccerEvent message, length delimited. Does not implicitly {@link SoccerEvent.verify|verify} messages.
1453
- * @param message SoccerEvent message or plain object to encode
1454
- * @param [writer] Writer to encode to
1455
- * @returns Writer
1456
- */
1457
- public static encodeDelimited(message: ISoccerEvent, writer?: $protobuf.Writer): $protobuf.Writer;
1458
-
1459
- /**
1460
- * Decodes a SoccerEvent message from the specified reader or buffer.
1461
- * @param reader Reader or buffer to decode from
1462
- * @param [length] Message length if known beforehand
1463
- * @returns SoccerEvent
1464
- * @throws {Error} If the payload is not a reader or valid buffer
1465
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1466
- */
1467
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SoccerEvent;
1468
-
1469
- /**
1470
- * Decodes a SoccerEvent message from the specified reader or buffer, length delimited.
1471
- * @param reader Reader or buffer to decode from
1472
- * @returns SoccerEvent
1473
- * @throws {Error} If the payload is not a reader or valid buffer
1474
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1475
- */
1476
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SoccerEvent;
1477
-
1478
- /**
1479
- * Verifies a SoccerEvent message.
1480
- * @param message Plain object to verify
1481
- * @returns `null` if valid, otherwise the reason why it is not
1482
- */
1483
- public static verify(message: { [k: string]: any }): (string|null);
1484
-
1485
- /**
1486
- * Creates a SoccerEvent message from a plain object. Also converts values to their respective internal types.
1487
- * @param object Plain object
1488
- * @returns SoccerEvent
1489
- */
1490
- public static fromObject(object: { [k: string]: any }): SoccerEvent;
1491
-
1492
- /**
1493
- * Creates a plain object from a SoccerEvent message. Also converts values to other types if specified.
1494
- * @param message SoccerEvent
1495
- * @param [options] Conversion options
1496
- * @returns Plain object
1497
- */
1498
- public static toObject(message: SoccerEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
1499
-
1500
- /**
1501
- * Converts this SoccerEvent to JSON.
1502
- * @returns JSON object
1503
- */
1504
- public toJSON(): { [k: string]: any };
1505
- }
1506
-
1507
- export namespace SoccerEvent {
1508
-
1509
- /** Type enum. */
1510
- enum Type {
1511
- NONE = 0,
1512
- NEXT_CORNER = 1,
1513
- TOTAL_CORNER = 2,
1514
- BOOKING = 3,
1515
- UNCATEGORIZED_SPECIAL = 4
1516
- }
1517
- }
1518
-
1519
- /** Properties of a SoccerEventState. */
1520
- export interface ISoccerEventState {
1521
-
1522
- /** SoccerEventState segment */
1523
- segment?: (SoccerEventState.Segment|null);
1524
-
1525
- /** SoccerEventState bookPriority */
1526
- bookPriority?: (number|null);
1527
- }
1528
-
1529
- /** Represents a SoccerEventState. */
1530
- export class SoccerEventState implements ISoccerEventState {
1531
-
1532
- /**
1533
- * Constructs a new SoccerEventState.
1534
- * @param [properties] Properties to set
1535
- */
1536
- constructor(properties?: ISoccerEventState);
1537
-
1538
- /** SoccerEventState segment. */
1539
- public segment: SoccerEventState.Segment;
1540
-
1541
- /** SoccerEventState bookPriority. */
1542
- public bookPriority: number;
1543
-
1544
- /**
1545
- * Creates a new SoccerEventState instance using the specified properties.
1546
- * @param [properties] Properties to set
1547
- * @returns SoccerEventState instance
1548
- */
1549
- public static create(properties?: ISoccerEventState): SoccerEventState;
1550
-
1551
- /**
1552
- * Encodes the specified SoccerEventState message. Does not implicitly {@link SoccerEventState.verify|verify} messages.
1553
- * @param message SoccerEventState message or plain object to encode
1554
- * @param [writer] Writer to encode to
1555
- * @returns Writer
1556
- */
1557
- public static encode(message: ISoccerEventState, writer?: $protobuf.Writer): $protobuf.Writer;
1558
-
1559
- /**
1560
- * Encodes the specified SoccerEventState message, length delimited. Does not implicitly {@link SoccerEventState.verify|verify} messages.
1561
- * @param message SoccerEventState message or plain object to encode
1562
- * @param [writer] Writer to encode to
1563
- * @returns Writer
1564
- */
1565
- public static encodeDelimited(message: ISoccerEventState, writer?: $protobuf.Writer): $protobuf.Writer;
1566
-
1567
- /**
1568
- * Decodes a SoccerEventState message from the specified reader or buffer.
1569
- * @param reader Reader or buffer to decode from
1570
- * @param [length] Message length if known beforehand
1571
- * @returns SoccerEventState
1572
- * @throws {Error} If the payload is not a reader or valid buffer
1573
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1574
- */
1575
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SoccerEventState;
1576
-
1577
- /**
1578
- * Decodes a SoccerEventState message from the specified reader or buffer, length delimited.
1579
- * @param reader Reader or buffer to decode from
1580
- * @returns SoccerEventState
1581
- * @throws {Error} If the payload is not a reader or valid buffer
1582
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1583
- */
1584
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SoccerEventState;
1585
-
1586
- /**
1587
- * Verifies a SoccerEventState message.
1588
- * @param message Plain object to verify
1589
- * @returns `null` if valid, otherwise the reason why it is not
1590
- */
1591
- public static verify(message: { [k: string]: any }): (string|null);
1592
-
1593
- /**
1594
- * Creates a SoccerEventState message from a plain object. Also converts values to their respective internal types.
1595
- * @param object Plain object
1596
- * @returns SoccerEventState
1597
- */
1598
- public static fromObject(object: { [k: string]: any }): SoccerEventState;
1599
-
1600
- /**
1601
- * Creates a plain object from a SoccerEventState message. Also converts values to other types if specified.
1602
- * @param message SoccerEventState
1603
- * @param [options] Conversion options
1604
- * @returns Plain object
1605
- */
1606
- public static toObject(message: SoccerEventState, options?: $protobuf.IConversionOptions): { [k: string]: any };
1607
-
1608
- /**
1609
- * Converts this SoccerEventState to JSON.
1610
- * @returns JSON object
1611
- */
1612
- public toJSON(): { [k: string]: any };
1613
- }
1614
-
1615
- export namespace SoccerEventState {
1616
-
1617
- /** Segment enum. */
1618
- enum Segment {
1619
- PENDING = 0,
1620
- FIRST_HALF = 1,
1621
- HALF_BREAK = 2,
1622
- SECOND_HALF = 3,
1623
- FULL_BREAK = 4,
1624
- EXTRA_FIRST_HALF = 5,
1625
- EXTRA_HALF_BREAK = 6,
1626
- EXTRA_SECOND_HALF = 7,
1627
- PENALTY = 8,
1628
- FINISHED = 9
1629
- }
1630
- }
1631
-
1632
- /** Properties of a SoccerMatch. */
1633
- export interface ISoccerMatch {
1634
-
1635
- /** SoccerMatch leagueType */
1636
- leagueType?: (SoccerMatch.LeagueType|null);
1637
-
1638
- /** SoccerMatch gender */
1639
- gender?: (SoccerMatch.Gender|null);
1640
- }
1641
-
1642
- /** Represents a SoccerMatch. */
1643
- export class SoccerMatch implements ISoccerMatch {
1644
-
1645
- /**
1646
- * Constructs a new SoccerMatch.
1647
- * @param [properties] Properties to set
1648
- */
1649
- constructor(properties?: ISoccerMatch);
1650
-
1651
- /** SoccerMatch leagueType. */
1652
- public leagueType: SoccerMatch.LeagueType;
1653
-
1654
- /** SoccerMatch gender. */
1655
- public gender: SoccerMatch.Gender;
1656
-
1657
- /**
1658
- * Creates a new SoccerMatch instance using the specified properties.
1659
- * @param [properties] Properties to set
1660
- * @returns SoccerMatch instance
1661
- */
1662
- public static create(properties?: ISoccerMatch): SoccerMatch;
1663
-
1664
- /**
1665
- * Encodes the specified SoccerMatch message. Does not implicitly {@link SoccerMatch.verify|verify} messages.
1666
- * @param message SoccerMatch message or plain object to encode
1667
- * @param [writer] Writer to encode to
1668
- * @returns Writer
1669
- */
1670
- public static encode(message: ISoccerMatch, writer?: $protobuf.Writer): $protobuf.Writer;
1671
-
1672
- /**
1673
- * Encodes the specified SoccerMatch message, length delimited. Does not implicitly {@link SoccerMatch.verify|verify} messages.
1674
- * @param message SoccerMatch message or plain object to encode
1675
- * @param [writer] Writer to encode to
1676
- * @returns Writer
1677
- */
1678
- public static encodeDelimited(message: ISoccerMatch, writer?: $protobuf.Writer): $protobuf.Writer;
1679
-
1680
- /**
1681
- * Decodes a SoccerMatch message from the specified reader or buffer.
1682
- * @param reader Reader or buffer to decode from
1683
- * @param [length] Message length if known beforehand
1684
- * @returns SoccerMatch
1685
- * @throws {Error} If the payload is not a reader or valid buffer
1686
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1687
- */
1688
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SoccerMatch;
1689
-
1690
- /**
1691
- * Decodes a SoccerMatch message from the specified reader or buffer, length delimited.
1692
- * @param reader Reader or buffer to decode from
1693
- * @returns SoccerMatch
1694
- * @throws {Error} If the payload is not a reader or valid buffer
1695
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1696
- */
1697
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SoccerMatch;
1698
-
1699
- /**
1700
- * Verifies a SoccerMatch message.
1701
- * @param message Plain object to verify
1702
- * @returns `null` if valid, otherwise the reason why it is not
1703
- */
1704
- public static verify(message: { [k: string]: any }): (string|null);
1705
-
1706
- /**
1707
- * Creates a SoccerMatch message from a plain object. Also converts values to their respective internal types.
1708
- * @param object Plain object
1709
- * @returns SoccerMatch
1710
- */
1711
- public static fromObject(object: { [k: string]: any }): SoccerMatch;
1712
-
1713
- /**
1714
- * Creates a plain object from a SoccerMatch message. Also converts values to other types if specified.
1715
- * @param message SoccerMatch
1716
- * @param [options] Conversion options
1717
- * @returns Plain object
1718
- */
1719
- public static toObject(message: SoccerMatch, options?: $protobuf.IConversionOptions): { [k: string]: any };
1720
-
1721
- /**
1722
- * Converts this SoccerMatch to JSON.
1723
- * @returns JSON object
1724
- */
1725
- public toJSON(): { [k: string]: any };
1726
- }
1727
-
1728
- export namespace SoccerMatch {
1729
-
1730
- /** LeagueType enum. */
1731
- enum LeagueType {
1732
- CLUB_LEAGUE = 0,
1733
- NATION_CHAMP = 1,
1734
- CLUB_CHAMP = 2
1735
- }
1736
-
1737
- /** Gender enum. */
1738
- enum Gender {
1739
- MEN = 0,
1740
- WOMEN = 1
1741
- }
1742
- }
1743
-
1744
- /** Properties of a SoccerRecord. */
1745
- export interface ISoccerRecord {
1746
-
1747
- /** SoccerRecord swapped */
1748
- swapped?: (boolean|null);
1749
- }
1750
-
1751
- /** Represents a SoccerRecord. */
1752
- export class SoccerRecord implements ISoccerRecord {
1753
-
1754
- /**
1755
- * Constructs a new SoccerRecord.
1756
- * @param [properties] Properties to set
1757
- */
1758
- constructor(properties?: ISoccerRecord);
1759
-
1760
- /** SoccerRecord swapped. */
1761
- public swapped: boolean;
1762
-
1763
- /**
1764
- * Creates a new SoccerRecord instance using the specified properties.
1765
- * @param [properties] Properties to set
1766
- * @returns SoccerRecord instance
1767
- */
1768
- public static create(properties?: ISoccerRecord): SoccerRecord;
1769
-
1770
- /**
1771
- * Encodes the specified SoccerRecord message. Does not implicitly {@link SoccerRecord.verify|verify} messages.
1772
- * @param message SoccerRecord message or plain object to encode
1773
- * @param [writer] Writer to encode to
1774
- * @returns Writer
1775
- */
1776
- public static encode(message: ISoccerRecord, writer?: $protobuf.Writer): $protobuf.Writer;
1777
-
1778
- /**
1779
- * Encodes the specified SoccerRecord message, length delimited. Does not implicitly {@link SoccerRecord.verify|verify} messages.
1780
- * @param message SoccerRecord message or plain object to encode
1781
- * @param [writer] Writer to encode to
1782
- * @returns Writer
1783
- */
1784
- public static encodeDelimited(message: ISoccerRecord, writer?: $protobuf.Writer): $protobuf.Writer;
1785
-
1786
- /**
1787
- * Decodes a SoccerRecord message from the specified reader or buffer.
1788
- * @param reader Reader or buffer to decode from
1789
- * @param [length] Message length if known beforehand
1790
- * @returns SoccerRecord
1791
- * @throws {Error} If the payload is not a reader or valid buffer
1792
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1793
- */
1794
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SoccerRecord;
1795
-
1796
- /**
1797
- * Decodes a SoccerRecord message from the specified reader or buffer, length delimited.
1798
- * @param reader Reader or buffer to decode from
1799
- * @returns SoccerRecord
1800
- * @throws {Error} If the payload is not a reader or valid buffer
1801
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1802
- */
1803
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SoccerRecord;
1804
-
1805
- /**
1806
- * Verifies a SoccerRecord message.
1807
- * @param message Plain object to verify
1808
- * @returns `null` if valid, otherwise the reason why it is not
1809
- */
1810
- public static verify(message: { [k: string]: any }): (string|null);
1811
-
1812
- /**
1813
- * Creates a SoccerRecord message from a plain object. Also converts values to their respective internal types.
1814
- * @param object Plain object
1815
- * @returns SoccerRecord
1816
- */
1817
- public static fromObject(object: { [k: string]: any }): SoccerRecord;
1818
-
1819
- /**
1820
- * Creates a plain object from a SoccerRecord message. Also converts values to other types if specified.
1821
- * @param message SoccerRecord
1822
- * @param [options] Conversion options
1823
- * @returns Plain object
1824
- */
1825
- public static toObject(message: SoccerRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
1826
-
1827
- /**
1828
- * Converts this SoccerRecord to JSON.
1829
- * @returns JSON object
1830
- */
1831
- public toJSON(): { [k: string]: any };
1832
- }
1833
-
1834
- /** Properties of a SoccerTimeType. */
1835
- export interface ISoccerTimeType {
1836
-
1837
- /** SoccerTimeType settle */
1838
- settle?: (SoccerTimeType.SettleOn|null);
1839
- }
1840
-
1841
- /** Represents a SoccerTimeType. */
1842
- export class SoccerTimeType implements ISoccerTimeType {
1843
-
1844
- /**
1845
- * Constructs a new SoccerTimeType.
1846
- * @param [properties] Properties to set
1847
- */
1848
- constructor(properties?: ISoccerTimeType);
1849
-
1850
- /** SoccerTimeType settle. */
1851
- public settle: SoccerTimeType.SettleOn;
1852
-
1853
- /**
1854
- * Creates a new SoccerTimeType instance using the specified properties.
1855
- * @param [properties] Properties to set
1856
- * @returns SoccerTimeType instance
1857
- */
1858
- public static create(properties?: ISoccerTimeType): SoccerTimeType;
1859
-
1860
- /**
1861
- * Encodes the specified SoccerTimeType message. Does not implicitly {@link SoccerTimeType.verify|verify} messages.
1862
- * @param message SoccerTimeType message or plain object to encode
1863
- * @param [writer] Writer to encode to
1864
- * @returns Writer
1865
- */
1866
- public static encode(message: ISoccerTimeType, writer?: $protobuf.Writer): $protobuf.Writer;
1867
-
1868
- /**
1869
- * Encodes the specified SoccerTimeType message, length delimited. Does not implicitly {@link SoccerTimeType.verify|verify} messages.
1870
- * @param message SoccerTimeType message or plain object to encode
1871
- * @param [writer] Writer to encode to
1872
- * @returns Writer
1873
- */
1874
- public static encodeDelimited(message: ISoccerTimeType, writer?: $protobuf.Writer): $protobuf.Writer;
1875
-
1876
- /**
1877
- * Decodes a SoccerTimeType message from the specified reader or buffer.
1878
- * @param reader Reader or buffer to decode from
1879
- * @param [length] Message length if known beforehand
1880
- * @returns SoccerTimeType
1881
- * @throws {Error} If the payload is not a reader or valid buffer
1882
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1883
- */
1884
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SoccerTimeType;
1885
-
1886
- /**
1887
- * Decodes a SoccerTimeType message from the specified reader or buffer, length delimited.
1888
- * @param reader Reader or buffer to decode from
1889
- * @returns SoccerTimeType
1890
- * @throws {Error} If the payload is not a reader or valid buffer
1891
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1892
- */
1893
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SoccerTimeType;
1894
-
1895
- /**
1896
- * Verifies a SoccerTimeType message.
1897
- * @param message Plain object to verify
1898
- * @returns `null` if valid, otherwise the reason why it is not
1899
- */
1900
- public static verify(message: { [k: string]: any }): (string|null);
1901
-
1902
- /**
1903
- * Creates a SoccerTimeType message from a plain object. Also converts values to their respective internal types.
1904
- * @param object Plain object
1905
- * @returns SoccerTimeType
1906
- */
1907
- public static fromObject(object: { [k: string]: any }): SoccerTimeType;
1908
-
1909
- /**
1910
- * Creates a plain object from a SoccerTimeType message. Also converts values to other types if specified.
1911
- * @param message SoccerTimeType
1912
- * @param [options] Conversion options
1913
- * @returns Plain object
1914
- */
1915
- public static toObject(message: SoccerTimeType, options?: $protobuf.IConversionOptions): { [k: string]: any };
1916
-
1917
- /**
1918
- * Converts this SoccerTimeType to JSON.
1919
- * @returns JSON object
1920
- */
1921
- public toJSON(): { [k: string]: any };
1922
- }
1923
-
1924
- export namespace SoccerTimeType {
1925
-
1926
- /** SettleOn enum. */
1927
- enum SettleOn {
1928
- FT = 0,
1929
- HT = 1
1930
- }
1931
- }
1932
-
1933
- /** Properties of a BasketballEvent. */
1934
- export interface IBasketballEvent {
1935
- }
1936
-
1937
- /** Represents a BasketballEvent. */
1938
- export class BasketballEvent implements IBasketballEvent {
1939
-
1940
- /**
1941
- * Constructs a new BasketballEvent.
1942
- * @param [properties] Properties to set
1943
- */
1944
- constructor(properties?: IBasketballEvent);
1945
-
1946
- /**
1947
- * Creates a new BasketballEvent instance using the specified properties.
1948
- * @param [properties] Properties to set
1949
- * @returns BasketballEvent instance
1950
- */
1951
- public static create(properties?: IBasketballEvent): BasketballEvent;
1952
-
1953
- /**
1954
- * Encodes the specified BasketballEvent message. Does not implicitly {@link BasketballEvent.verify|verify} messages.
1955
- * @param message BasketballEvent message or plain object to encode
1956
- * @param [writer] Writer to encode to
1957
- * @returns Writer
1958
- */
1959
- public static encode(message: IBasketballEvent, writer?: $protobuf.Writer): $protobuf.Writer;
1960
-
1961
- /**
1962
- * Encodes the specified BasketballEvent message, length delimited. Does not implicitly {@link BasketballEvent.verify|verify} messages.
1963
- * @param message BasketballEvent message or plain object to encode
1964
- * @param [writer] Writer to encode to
1965
- * @returns Writer
1966
- */
1967
- public static encodeDelimited(message: IBasketballEvent, writer?: $protobuf.Writer): $protobuf.Writer;
1968
-
1969
- /**
1970
- * Decodes a BasketballEvent message from the specified reader or buffer.
1971
- * @param reader Reader or buffer to decode from
1972
- * @param [length] Message length if known beforehand
1973
- * @returns BasketballEvent
1974
- * @throws {Error} If the payload is not a reader or valid buffer
1975
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1976
- */
1977
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BasketballEvent;
1978
-
1979
- /**
1980
- * Decodes a BasketballEvent message from the specified reader or buffer, length delimited.
1981
- * @param reader Reader or buffer to decode from
1982
- * @returns BasketballEvent
1983
- * @throws {Error} If the payload is not a reader or valid buffer
1984
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1985
- */
1986
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BasketballEvent;
1987
-
1988
- /**
1989
- * Verifies a BasketballEvent message.
1990
- * @param message Plain object to verify
1991
- * @returns `null` if valid, otherwise the reason why it is not
1992
- */
1993
- public static verify(message: { [k: string]: any }): (string|null);
1994
-
1995
- /**
1996
- * Creates a BasketballEvent message from a plain object. Also converts values to their respective internal types.
1997
- * @param object Plain object
1998
- * @returns BasketballEvent
1999
- */
2000
- public static fromObject(object: { [k: string]: any }): BasketballEvent;
2001
-
2002
- /**
2003
- * Creates a plain object from a BasketballEvent message. Also converts values to other types if specified.
2004
- * @param message BasketballEvent
2005
- * @param [options] Conversion options
2006
- * @returns Plain object
2007
- */
2008
- public static toObject(message: BasketballEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
2009
-
2010
- /**
2011
- * Converts this BasketballEvent to JSON.
2012
- * @returns JSON object
2013
- */
2014
- public toJSON(): { [k: string]: any };
2015
- }
2016
-
2017
- export namespace BasketballEvent {
2018
-
2019
- /** Type enum. */
2020
- enum Type {
2021
- NONE = 0,
2022
- FIRST_TO_20 = 1,
2023
- LAST_BASKET = 2,
2024
- TEAM_POINTS = 3,
2025
- THREE_POINTERS = 4,
2026
- HOME_POINT = 5,
2027
- AWAY_POINT = 6
2028
- }
2029
- }
2030
-
2031
- /** Properties of a BasketballEventState. */
2032
- export interface IBasketballEventState {
2033
-
2034
- /** BasketballEventState segment */
2035
- segment?: (BasketballEventState.Segment|null);
2036
-
2037
- /** BasketballEventState timeout */
2038
- timeout?: (boolean|null);
2039
-
2040
- /** BasketballEventState bookPriority */
2041
- bookPriority?: (number|null);
2042
- }
2043
-
2044
- /** Represents a BasketballEventState. */
2045
- export class BasketballEventState implements IBasketballEventState {
2046
-
2047
- /**
2048
- * Constructs a new BasketballEventState.
2049
- * @param [properties] Properties to set
2050
- */
2051
- constructor(properties?: IBasketballEventState);
2052
-
2053
- /** BasketballEventState segment. */
2054
- public segment: BasketballEventState.Segment;
2055
-
2056
- /** BasketballEventState timeout. */
2057
- public timeout: boolean;
2058
-
2059
- /** BasketballEventState bookPriority. */
2060
- public bookPriority: number;
2061
-
2062
- /**
2063
- * Creates a new BasketballEventState instance using the specified properties.
2064
- * @param [properties] Properties to set
2065
- * @returns BasketballEventState instance
2066
- */
2067
- public static create(properties?: IBasketballEventState): BasketballEventState;
2068
-
2069
- /**
2070
- * Encodes the specified BasketballEventState message. Does not implicitly {@link BasketballEventState.verify|verify} messages.
2071
- * @param message BasketballEventState message or plain object to encode
2072
- * @param [writer] Writer to encode to
2073
- * @returns Writer
2074
- */
2075
- public static encode(message: IBasketballEventState, writer?: $protobuf.Writer): $protobuf.Writer;
2076
-
2077
- /**
2078
- * Encodes the specified BasketballEventState message, length delimited. Does not implicitly {@link BasketballEventState.verify|verify} messages.
2079
- * @param message BasketballEventState message or plain object to encode
2080
- * @param [writer] Writer to encode to
2081
- * @returns Writer
2082
- */
2083
- public static encodeDelimited(message: IBasketballEventState, writer?: $protobuf.Writer): $protobuf.Writer;
2084
-
2085
- /**
2086
- * Decodes a BasketballEventState message from the specified reader or buffer.
2087
- * @param reader Reader or buffer to decode from
2088
- * @param [length] Message length if known beforehand
2089
- * @returns BasketballEventState
2090
- * @throws {Error} If the payload is not a reader or valid buffer
2091
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2092
- */
2093
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BasketballEventState;
2094
-
2095
- /**
2096
- * Decodes a BasketballEventState message from the specified reader or buffer, length delimited.
2097
- * @param reader Reader or buffer to decode from
2098
- * @returns BasketballEventState
2099
- * @throws {Error} If the payload is not a reader or valid buffer
2100
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2101
- */
2102
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BasketballEventState;
2103
-
2104
- /**
2105
- * Verifies a BasketballEventState message.
2106
- * @param message Plain object to verify
2107
- * @returns `null` if valid, otherwise the reason why it is not
2108
- */
2109
- public static verify(message: { [k: string]: any }): (string|null);
2110
-
2111
- /**
2112
- * Creates a BasketballEventState message from a plain object. Also converts values to their respective internal types.
2113
- * @param object Plain object
2114
- * @returns BasketballEventState
2115
- */
2116
- public static fromObject(object: { [k: string]: any }): BasketballEventState;
2117
-
2118
- /**
2119
- * Creates a plain object from a BasketballEventState message. Also converts values to other types if specified.
2120
- * @param message BasketballEventState
2121
- * @param [options] Conversion options
2122
- * @returns Plain object
2123
- */
2124
- public static toObject(message: BasketballEventState, options?: $protobuf.IConversionOptions): { [k: string]: any };
2125
-
2126
- /**
2127
- * Converts this BasketballEventState to JSON.
2128
- * @returns JSON object
2129
- */
2130
- public toJSON(): { [k: string]: any };
2131
- }
2132
-
2133
- export namespace BasketballEventState {
2134
-
2135
- /** Segment enum. */
2136
- enum Segment {
2137
- QUARTER_1 = 0,
2138
- QUARTER_2 = 1,
2139
- QUARTER_3 = 2,
2140
- QUARTER_4 = 3,
2141
- OVERTIME = 4,
2142
- PENDING = 5,
2143
- HALF_BREAK = 6,
2144
- QUARTER_BREAK = 7,
2145
- FIRST_HALF = 8,
2146
- SECOND_HALF = 9,
2147
- LIVE = 10
2148
- }
2149
- }
2150
-
2151
- /** Properties of a BasketballMatch. */
2152
- export interface IBasketballMatch {
2153
-
2154
- /** BasketballMatch gender */
2155
- gender?: (BasketballMatch.Gender|null);
2156
- }
2157
-
2158
- /** Represents a BasketballMatch. */
2159
- export class BasketballMatch implements IBasketballMatch {
2160
-
2161
- /**
2162
- * Constructs a new BasketballMatch.
2163
- * @param [properties] Properties to set
2164
- */
2165
- constructor(properties?: IBasketballMatch);
2166
-
2167
- /** BasketballMatch gender. */
2168
- public gender: BasketballMatch.Gender;
2169
-
2170
- /**
2171
- * Creates a new BasketballMatch instance using the specified properties.
2172
- * @param [properties] Properties to set
2173
- * @returns BasketballMatch instance
2174
- */
2175
- public static create(properties?: IBasketballMatch): BasketballMatch;
2176
-
2177
- /**
2178
- * Encodes the specified BasketballMatch message. Does not implicitly {@link BasketballMatch.verify|verify} messages.
2179
- * @param message BasketballMatch message or plain object to encode
2180
- * @param [writer] Writer to encode to
2181
- * @returns Writer
2182
- */
2183
- public static encode(message: IBasketballMatch, writer?: $protobuf.Writer): $protobuf.Writer;
2184
-
2185
- /**
2186
- * Encodes the specified BasketballMatch message, length delimited. Does not implicitly {@link BasketballMatch.verify|verify} messages.
2187
- * @param message BasketballMatch message or plain object to encode
2188
- * @param [writer] Writer to encode to
2189
- * @returns Writer
2190
- */
2191
- public static encodeDelimited(message: IBasketballMatch, writer?: $protobuf.Writer): $protobuf.Writer;
2192
-
2193
- /**
2194
- * Decodes a BasketballMatch message from the specified reader or buffer.
2195
- * @param reader Reader or buffer to decode from
2196
- * @param [length] Message length if known beforehand
2197
- * @returns BasketballMatch
2198
- * @throws {Error} If the payload is not a reader or valid buffer
2199
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2200
- */
2201
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BasketballMatch;
2202
-
2203
- /**
2204
- * Decodes a BasketballMatch message from the specified reader or buffer, length delimited.
2205
- * @param reader Reader or buffer to decode from
2206
- * @returns BasketballMatch
2207
- * @throws {Error} If the payload is not a reader or valid buffer
2208
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2209
- */
2210
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BasketballMatch;
2211
-
2212
- /**
2213
- * Verifies a BasketballMatch message.
2214
- * @param message Plain object to verify
2215
- * @returns `null` if valid, otherwise the reason why it is not
2216
- */
2217
- public static verify(message: { [k: string]: any }): (string|null);
2218
-
2219
- /**
2220
- * Creates a BasketballMatch message from a plain object. Also converts values to their respective internal types.
2221
- * @param object Plain object
2222
- * @returns BasketballMatch
2223
- */
2224
- public static fromObject(object: { [k: string]: any }): BasketballMatch;
2225
-
2226
- /**
2227
- * Creates a plain object from a BasketballMatch message. Also converts values to other types if specified.
2228
- * @param message BasketballMatch
2229
- * @param [options] Conversion options
2230
- * @returns Plain object
2231
- */
2232
- public static toObject(message: BasketballMatch, options?: $protobuf.IConversionOptions): { [k: string]: any };
2233
-
2234
- /**
2235
- * Converts this BasketballMatch to JSON.
2236
- * @returns JSON object
2237
- */
2238
- public toJSON(): { [k: string]: any };
2239
- }
2240
-
2241
- export namespace BasketballMatch {
2242
-
2243
- /** Gender enum. */
2244
- enum Gender {
2245
- MEN = 0,
2246
- WOMEN = 1
2247
- }
2248
- }
2249
-
2250
- /** Properties of a BasketballRecord. */
2251
- export interface IBasketballRecord {
2252
-
2253
- /** BasketballRecord swapped */
2254
- swapped?: (boolean|null);
2255
- }
2256
-
2257
- /** Represents a BasketballRecord. */
2258
- export class BasketballRecord implements IBasketballRecord {
2259
-
2260
- /**
2261
- * Constructs a new BasketballRecord.
2262
- * @param [properties] Properties to set
2263
- */
2264
- constructor(properties?: IBasketballRecord);
2265
-
2266
- /** BasketballRecord swapped. */
2267
- public swapped: boolean;
2268
-
2269
- /**
2270
- * Creates a new BasketballRecord instance using the specified properties.
2271
- * @param [properties] Properties to set
2272
- * @returns BasketballRecord instance
2273
- */
2274
- public static create(properties?: IBasketballRecord): BasketballRecord;
2275
-
2276
- /**
2277
- * Encodes the specified BasketballRecord message. Does not implicitly {@link BasketballRecord.verify|verify} messages.
2278
- * @param message BasketballRecord message or plain object to encode
2279
- * @param [writer] Writer to encode to
2280
- * @returns Writer
2281
- */
2282
- public static encode(message: IBasketballRecord, writer?: $protobuf.Writer): $protobuf.Writer;
2283
-
2284
- /**
2285
- * Encodes the specified BasketballRecord message, length delimited. Does not implicitly {@link BasketballRecord.verify|verify} messages.
2286
- * @param message BasketballRecord message or plain object to encode
2287
- * @param [writer] Writer to encode to
2288
- * @returns Writer
2289
- */
2290
- public static encodeDelimited(message: IBasketballRecord, writer?: $protobuf.Writer): $protobuf.Writer;
2291
-
2292
- /**
2293
- * Decodes a BasketballRecord message from the specified reader or buffer.
2294
- * @param reader Reader or buffer to decode from
2295
- * @param [length] Message length if known beforehand
2296
- * @returns BasketballRecord
2297
- * @throws {Error} If the payload is not a reader or valid buffer
2298
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2299
- */
2300
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BasketballRecord;
2301
-
2302
- /**
2303
- * Decodes a BasketballRecord message from the specified reader or buffer, length delimited.
2304
- * @param reader Reader or buffer to decode from
2305
- * @returns BasketballRecord
2306
- * @throws {Error} If the payload is not a reader or valid buffer
2307
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2308
- */
2309
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BasketballRecord;
2310
-
2311
- /**
2312
- * Verifies a BasketballRecord message.
2313
- * @param message Plain object to verify
2314
- * @returns `null` if valid, otherwise the reason why it is not
2315
- */
2316
- public static verify(message: { [k: string]: any }): (string|null);
2317
-
2318
- /**
2319
- * Creates a BasketballRecord message from a plain object. Also converts values to their respective internal types.
2320
- * @param object Plain object
2321
- * @returns BasketballRecord
2322
- */
2323
- public static fromObject(object: { [k: string]: any }): BasketballRecord;
2324
-
2325
- /**
2326
- * Creates a plain object from a BasketballRecord message. Also converts values to other types if specified.
2327
- * @param message BasketballRecord
2328
- * @param [options] Conversion options
2329
- * @returns Plain object
2330
- */
2331
- public static toObject(message: BasketballRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
2332
-
2333
- /**
2334
- * Converts this BasketballRecord to JSON.
2335
- * @returns JSON object
2336
- */
2337
- public toJSON(): { [k: string]: any };
2338
- }
2339
-
2340
- /** Properties of a BasketballTimeType. */
2341
- export interface IBasketballTimeType {
2342
-
2343
- /** BasketballTimeType settle */
2344
- settle?: (BasketballTimeType.SettleOn|null);
2345
- }
2346
-
2347
- /** Represents a BasketballTimeType. */
2348
- export class BasketballTimeType implements IBasketballTimeType {
2349
-
2350
- /**
2351
- * Constructs a new BasketballTimeType.
2352
- * @param [properties] Properties to set
2353
- */
2354
- constructor(properties?: IBasketballTimeType);
2355
-
2356
- /** BasketballTimeType settle. */
2357
- public settle: BasketballTimeType.SettleOn;
2358
-
2359
- /**
2360
- * Creates a new BasketballTimeType instance using the specified properties.
2361
- * @param [properties] Properties to set
2362
- * @returns BasketballTimeType instance
2363
- */
2364
- public static create(properties?: IBasketballTimeType): BasketballTimeType;
2365
-
2366
- /**
2367
- * Encodes the specified BasketballTimeType message. Does not implicitly {@link BasketballTimeType.verify|verify} messages.
2368
- * @param message BasketballTimeType message or plain object to encode
2369
- * @param [writer] Writer to encode to
2370
- * @returns Writer
2371
- */
2372
- public static encode(message: IBasketballTimeType, writer?: $protobuf.Writer): $protobuf.Writer;
2373
-
2374
- /**
2375
- * Encodes the specified BasketballTimeType message, length delimited. Does not implicitly {@link BasketballTimeType.verify|verify} messages.
2376
- * @param message BasketballTimeType message or plain object to encode
2377
- * @param [writer] Writer to encode to
2378
- * @returns Writer
2379
- */
2380
- public static encodeDelimited(message: IBasketballTimeType, writer?: $protobuf.Writer): $protobuf.Writer;
2381
-
2382
- /**
2383
- * Decodes a BasketballTimeType message from the specified reader or buffer.
2384
- * @param reader Reader or buffer to decode from
2385
- * @param [length] Message length if known beforehand
2386
- * @returns BasketballTimeType
2387
- * @throws {Error} If the payload is not a reader or valid buffer
2388
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2389
- */
2390
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BasketballTimeType;
2391
-
2392
- /**
2393
- * Decodes a BasketballTimeType message from the specified reader or buffer, length delimited.
2394
- * @param reader Reader or buffer to decode from
2395
- * @returns BasketballTimeType
2396
- * @throws {Error} If the payload is not a reader or valid buffer
2397
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2398
- */
2399
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BasketballTimeType;
2400
-
2401
- /**
2402
- * Verifies a BasketballTimeType message.
2403
- * @param message Plain object to verify
2404
- * @returns `null` if valid, otherwise the reason why it is not
2405
- */
2406
- public static verify(message: { [k: string]: any }): (string|null);
2407
-
2408
- /**
2409
- * Creates a BasketballTimeType message from a plain object. Also converts values to their respective internal types.
2410
- * @param object Plain object
2411
- * @returns BasketballTimeType
2412
- */
2413
- public static fromObject(object: { [k: string]: any }): BasketballTimeType;
2414
-
2415
- /**
2416
- * Creates a plain object from a BasketballTimeType message. Also converts values to other types if specified.
2417
- * @param message BasketballTimeType
2418
- * @param [options] Conversion options
2419
- * @returns Plain object
2420
- */
2421
- public static toObject(message: BasketballTimeType, options?: $protobuf.IConversionOptions): { [k: string]: any };
2422
-
2423
- /**
2424
- * Converts this BasketballTimeType to JSON.
2425
- * @returns JSON object
2426
- */
2427
- public toJSON(): { [k: string]: any };
2428
- }
2429
-
2430
- export namespace BasketballTimeType {
2431
-
2432
- /** SettleOn enum. */
2433
- enum SettleOn {
2434
- FT = 0,
2435
- H1 = 1,
2436
- H2 = 2,
2437
- Q1 = 3,
2438
- Q2 = 4,
2439
- Q3 = 5,
2440
- Q4 = 6,
2441
- OT = 7
2442
- }
2443
- }
2444
-
2445
- /** Properties of a TennisEvent. */
2446
- export interface ITennisEvent {
2447
- }
2448
-
2449
- /** Represents a TennisEvent. */
2450
- export class TennisEvent implements ITennisEvent {
2451
-
2452
- /**
2453
- * Constructs a new TennisEvent.
2454
- * @param [properties] Properties to set
2455
- */
2456
- constructor(properties?: ITennisEvent);
2457
-
2458
- /**
2459
- * Creates a new TennisEvent instance using the specified properties.
2460
- * @param [properties] Properties to set
2461
- * @returns TennisEvent instance
2462
- */
2463
- public static create(properties?: ITennisEvent): TennisEvent;
2464
-
2465
- /**
2466
- * Encodes the specified TennisEvent message. Does not implicitly {@link TennisEvent.verify|verify} messages.
2467
- * @param message TennisEvent message or plain object to encode
2468
- * @param [writer] Writer to encode to
2469
- * @returns Writer
2470
- */
2471
- public static encode(message: ITennisEvent, writer?: $protobuf.Writer): $protobuf.Writer;
2472
-
2473
- /**
2474
- * Encodes the specified TennisEvent message, length delimited. Does not implicitly {@link TennisEvent.verify|verify} messages.
2475
- * @param message TennisEvent message or plain object to encode
2476
- * @param [writer] Writer to encode to
2477
- * @returns Writer
2478
- */
2479
- public static encodeDelimited(message: ITennisEvent, writer?: $protobuf.Writer): $protobuf.Writer;
2480
-
2481
- /**
2482
- * Decodes a TennisEvent message from the specified reader or buffer.
2483
- * @param reader Reader or buffer to decode from
2484
- * @param [length] Message length if known beforehand
2485
- * @returns TennisEvent
2486
- * @throws {Error} If the payload is not a reader or valid buffer
2487
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2488
- */
2489
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TennisEvent;
2490
-
2491
- /**
2492
- * Decodes a TennisEvent message from the specified reader or buffer, length delimited.
2493
- * @param reader Reader or buffer to decode from
2494
- * @returns TennisEvent
2495
- * @throws {Error} If the payload is not a reader or valid buffer
2496
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2497
- */
2498
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TennisEvent;
2499
-
2500
- /**
2501
- * Verifies a TennisEvent message.
2502
- * @param message Plain object to verify
2503
- * @returns `null` if valid, otherwise the reason why it is not
2504
- */
2505
- public static verify(message: { [k: string]: any }): (string|null);
2506
-
2507
- /**
2508
- * Creates a TennisEvent message from a plain object. Also converts values to their respective internal types.
2509
- * @param object Plain object
2510
- * @returns TennisEvent
2511
- */
2512
- public static fromObject(object: { [k: string]: any }): TennisEvent;
2513
-
2514
- /**
2515
- * Creates a plain object from a TennisEvent message. Also converts values to other types if specified.
2516
- * @param message TennisEvent
2517
- * @param [options] Conversion options
2518
- * @returns Plain object
2519
- */
2520
- public static toObject(message: TennisEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
2521
-
2522
- /**
2523
- * Converts this TennisEvent to JSON.
2524
- * @returns JSON object
2525
- */
2526
- public toJSON(): { [k: string]: any };
2527
- }
2528
-
2529
- export namespace TennisEvent {
2530
-
2531
- /** Type enum. */
2532
- enum Type {
2533
- NONE = 0,
2534
- GAME = 1,
2535
- SET = 2,
2536
- POINT = 3,
2537
- HOME_GAME = 4,
2538
- AWAY_GAME = 5
2539
- }
2540
- }
2541
-
2542
- /** Properties of a TennisEventState. */
2543
- export interface ITennisEventState {
2544
-
2545
- /** TennisEventState set */
2546
- set?: (number|null);
2547
-
2548
- /** TennisEventState game */
2549
- game?: (number|null);
2550
-
2551
- /** TennisEventState bookPriority */
2552
- bookPriority?: (number|null);
2553
-
2554
- /** TennisEventState segment */
2555
- segment?: (TennisEventState.Segment|null);
2556
- }
2557
-
2558
- /** Represents a TennisEventState. */
2559
- export class TennisEventState implements ITennisEventState {
2560
-
2561
- /**
2562
- * Constructs a new TennisEventState.
2563
- * @param [properties] Properties to set
2564
- */
2565
- constructor(properties?: ITennisEventState);
2566
-
2567
- /** TennisEventState set. */
2568
- public set: number;
2569
-
2570
- /** TennisEventState game. */
2571
- public game: number;
2572
-
2573
- /** TennisEventState bookPriority. */
2574
- public bookPriority: number;
2575
-
2576
- /** TennisEventState segment. */
2577
- public segment: TennisEventState.Segment;
2578
-
2579
- /**
2580
- * Creates a new TennisEventState instance using the specified properties.
2581
- * @param [properties] Properties to set
2582
- * @returns TennisEventState instance
2583
- */
2584
- public static create(properties?: ITennisEventState): TennisEventState;
2585
-
2586
- /**
2587
- * Encodes the specified TennisEventState message. Does not implicitly {@link TennisEventState.verify|verify} messages.
2588
- * @param message TennisEventState message or plain object to encode
2589
- * @param [writer] Writer to encode to
2590
- * @returns Writer
2591
- */
2592
- public static encode(message: ITennisEventState, writer?: $protobuf.Writer): $protobuf.Writer;
2593
-
2594
- /**
2595
- * Encodes the specified TennisEventState message, length delimited. Does not implicitly {@link TennisEventState.verify|verify} messages.
2596
- * @param message TennisEventState message or plain object to encode
2597
- * @param [writer] Writer to encode to
2598
- * @returns Writer
2599
- */
2600
- public static encodeDelimited(message: ITennisEventState, writer?: $protobuf.Writer): $protobuf.Writer;
2601
-
2602
- /**
2603
- * Decodes a TennisEventState message from the specified reader or buffer.
2604
- * @param reader Reader or buffer to decode from
2605
- * @param [length] Message length if known beforehand
2606
- * @returns TennisEventState
2607
- * @throws {Error} If the payload is not a reader or valid buffer
2608
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2609
- */
2610
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TennisEventState;
2611
-
2612
- /**
2613
- * Decodes a TennisEventState message from the specified reader or buffer, length delimited.
2614
- * @param reader Reader or buffer to decode from
2615
- * @returns TennisEventState
2616
- * @throws {Error} If the payload is not a reader or valid buffer
2617
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2618
- */
2619
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TennisEventState;
2620
-
2621
- /**
2622
- * Verifies a TennisEventState message.
2623
- * @param message Plain object to verify
2624
- * @returns `null` if valid, otherwise the reason why it is not
2625
- */
2626
- public static verify(message: { [k: string]: any }): (string|null);
2627
-
2628
- /**
2629
- * Creates a TennisEventState message from a plain object. Also converts values to their respective internal types.
2630
- * @param object Plain object
2631
- * @returns TennisEventState
2632
- */
2633
- public static fromObject(object: { [k: string]: any }): TennisEventState;
2634
-
2635
- /**
2636
- * Creates a plain object from a TennisEventState message. Also converts values to other types if specified.
2637
- * @param message TennisEventState
2638
- * @param [options] Conversion options
2639
- * @returns Plain object
2640
- */
2641
- public static toObject(message: TennisEventState, options?: $protobuf.IConversionOptions): { [k: string]: any };
2642
-
2643
- /**
2644
- * Converts this TennisEventState to JSON.
2645
- * @returns JSON object
2646
- */
2647
- public toJSON(): { [k: string]: any };
2648
- }
2649
-
2650
- export namespace TennisEventState {
2651
-
2652
- /** Segment enum. */
2653
- enum Segment {
2654
- LIVE = 0,
2655
- PENDING = 1
2656
- }
2657
- }
2658
-
2659
- /** Properties of a TennisMatch. */
2660
- export interface ITennisMatch {
2661
-
2662
- /** TennisMatch gender */
2663
- gender?: (TennisMatch.Gender|null);
2664
- }
2665
-
2666
- /** Represents a TennisMatch. */
2667
- export class TennisMatch implements ITennisMatch {
2668
-
2669
- /**
2670
- * Constructs a new TennisMatch.
2671
- * @param [properties] Properties to set
2672
- */
2673
- constructor(properties?: ITennisMatch);
2674
-
2675
- /** TennisMatch gender. */
2676
- public gender: TennisMatch.Gender;
2677
-
2678
- /**
2679
- * Creates a new TennisMatch instance using the specified properties.
2680
- * @param [properties] Properties to set
2681
- * @returns TennisMatch instance
2682
- */
2683
- public static create(properties?: ITennisMatch): TennisMatch;
2684
-
2685
- /**
2686
- * Encodes the specified TennisMatch message. Does not implicitly {@link TennisMatch.verify|verify} messages.
2687
- * @param message TennisMatch message or plain object to encode
2688
- * @param [writer] Writer to encode to
2689
- * @returns Writer
2690
- */
2691
- public static encode(message: ITennisMatch, writer?: $protobuf.Writer): $protobuf.Writer;
2692
-
2693
- /**
2694
- * Encodes the specified TennisMatch message, length delimited. Does not implicitly {@link TennisMatch.verify|verify} messages.
2695
- * @param message TennisMatch message or plain object to encode
2696
- * @param [writer] Writer to encode to
2697
- * @returns Writer
2698
- */
2699
- public static encodeDelimited(message: ITennisMatch, writer?: $protobuf.Writer): $protobuf.Writer;
2700
-
2701
- /**
2702
- * Decodes a TennisMatch message from the specified reader or buffer.
2703
- * @param reader Reader or buffer to decode from
2704
- * @param [length] Message length if known beforehand
2705
- * @returns TennisMatch
2706
- * @throws {Error} If the payload is not a reader or valid buffer
2707
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2708
- */
2709
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TennisMatch;
2710
-
2711
- /**
2712
- * Decodes a TennisMatch message from the specified reader or buffer, length delimited.
2713
- * @param reader Reader or buffer to decode from
2714
- * @returns TennisMatch
2715
- * @throws {Error} If the payload is not a reader or valid buffer
2716
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2717
- */
2718
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TennisMatch;
2719
-
2720
- /**
2721
- * Verifies a TennisMatch message.
2722
- * @param message Plain object to verify
2723
- * @returns `null` if valid, otherwise the reason why it is not
2724
- */
2725
- public static verify(message: { [k: string]: any }): (string|null);
2726
-
2727
- /**
2728
- * Creates a TennisMatch message from a plain object. Also converts values to their respective internal types.
2729
- * @param object Plain object
2730
- * @returns TennisMatch
2731
- */
2732
- public static fromObject(object: { [k: string]: any }): TennisMatch;
2733
-
2734
- /**
2735
- * Creates a plain object from a TennisMatch message. Also converts values to other types if specified.
2736
- * @param message TennisMatch
2737
- * @param [options] Conversion options
2738
- * @returns Plain object
2739
- */
2740
- public static toObject(message: TennisMatch, options?: $protobuf.IConversionOptions): { [k: string]: any };
2741
-
2742
- /**
2743
- * Converts this TennisMatch to JSON.
2744
- * @returns JSON object
2745
- */
2746
- public toJSON(): { [k: string]: any };
2747
- }
2748
-
2749
- export namespace TennisMatch {
2750
-
2751
- /** Gender enum. */
2752
- enum Gender {
2753
- MEN_SINGLE = 0,
2754
- WOMEN_SINGLE = 1,
2755
- WOMEN_DOUBLE = 2,
2756
- MEN_DOUBLE = 3,
2757
- TEAM = 4,
2758
- MIXED_DOUBLE = 5
2759
- }
2760
- }
2761
-
2762
- /** Properties of a TennisRecord. */
2763
- export interface ITennisRecord {
2764
-
2765
- /** TennisRecord swapped */
2766
- swapped?: (boolean|null);
2767
- }
2768
-
2769
- /** Represents a TennisRecord. */
2770
- export class TennisRecord implements ITennisRecord {
2771
-
2772
- /**
2773
- * Constructs a new TennisRecord.
2774
- * @param [properties] Properties to set
2775
- */
2776
- constructor(properties?: ITennisRecord);
2777
-
2778
- /** TennisRecord swapped. */
2779
- public swapped: boolean;
2780
-
2781
- /**
2782
- * Creates a new TennisRecord instance using the specified properties.
2783
- * @param [properties] Properties to set
2784
- * @returns TennisRecord instance
2785
- */
2786
- public static create(properties?: ITennisRecord): TennisRecord;
2787
-
2788
- /**
2789
- * Encodes the specified TennisRecord message. Does not implicitly {@link TennisRecord.verify|verify} messages.
2790
- * @param message TennisRecord message or plain object to encode
2791
- * @param [writer] Writer to encode to
2792
- * @returns Writer
2793
- */
2794
- public static encode(message: ITennisRecord, writer?: $protobuf.Writer): $protobuf.Writer;
2795
-
2796
- /**
2797
- * Encodes the specified TennisRecord message, length delimited. Does not implicitly {@link TennisRecord.verify|verify} messages.
2798
- * @param message TennisRecord message or plain object to encode
2799
- * @param [writer] Writer to encode to
2800
- * @returns Writer
2801
- */
2802
- public static encodeDelimited(message: ITennisRecord, writer?: $protobuf.Writer): $protobuf.Writer;
2803
-
2804
- /**
2805
- * Decodes a TennisRecord message from the specified reader or buffer.
2806
- * @param reader Reader or buffer to decode from
2807
- * @param [length] Message length if known beforehand
2808
- * @returns TennisRecord
2809
- * @throws {Error} If the payload is not a reader or valid buffer
2810
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2811
- */
2812
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TennisRecord;
2813
-
2814
- /**
2815
- * Decodes a TennisRecord message from the specified reader or buffer, length delimited.
2816
- * @param reader Reader or buffer to decode from
2817
- * @returns TennisRecord
2818
- * @throws {Error} If the payload is not a reader or valid buffer
2819
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2820
- */
2821
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TennisRecord;
2822
-
2823
- /**
2824
- * Verifies a TennisRecord message.
2825
- * @param message Plain object to verify
2826
- * @returns `null` if valid, otherwise the reason why it is not
2827
- */
2828
- public static verify(message: { [k: string]: any }): (string|null);
2829
-
2830
- /**
2831
- * Creates a TennisRecord message from a plain object. Also converts values to their respective internal types.
2832
- * @param object Plain object
2833
- * @returns TennisRecord
2834
- */
2835
- public static fromObject(object: { [k: string]: any }): TennisRecord;
2836
-
2837
- /**
2838
- * Creates a plain object from a TennisRecord message. Also converts values to other types if specified.
2839
- * @param message TennisRecord
2840
- * @param [options] Conversion options
2841
- * @returns Plain object
2842
- */
2843
- public static toObject(message: TennisRecord, options?: $protobuf.IConversionOptions): { [k: string]: any };
2844
-
2845
- /**
2846
- * Converts this TennisRecord to JSON.
2847
- * @returns JSON object
2848
- */
2849
- public toJSON(): { [k: string]: any };
2850
- }
2851
-
2852
- /** Properties of a TennisTimeType. */
2853
- export interface ITennisTimeType {
2854
-
2855
- /** TennisTimeType match */
2856
- match?: (number|null);
2857
-
2858
- /** TennisTimeType set */
2859
- set?: (number|null);
2860
-
2861
- /** TennisTimeType game */
2862
- game?: (number|null);
2863
- }
2864
-
2865
- /** Represents a TennisTimeType. */
2866
- export class TennisTimeType implements ITennisTimeType {
2867
-
2868
- /**
2869
- * Constructs a new TennisTimeType.
2870
- * @param [properties] Properties to set
2871
- */
2872
- constructor(properties?: ITennisTimeType);
2873
-
2874
- /** TennisTimeType match. */
2875
- public match: number;
2876
-
2877
- /** TennisTimeType set. */
2878
- public set: number;
2879
-
2880
- /** TennisTimeType game. */
2881
- public game: number;
2882
-
2883
- /**
2884
- * Creates a new TennisTimeType instance using the specified properties.
2885
- * @param [properties] Properties to set
2886
- * @returns TennisTimeType instance
2887
- */
2888
- public static create(properties?: ITennisTimeType): TennisTimeType;
2889
-
2890
- /**
2891
- * Encodes the specified TennisTimeType message. Does not implicitly {@link TennisTimeType.verify|verify} messages.
2892
- * @param message TennisTimeType message or plain object to encode
2893
- * @param [writer] Writer to encode to
2894
- * @returns Writer
2895
- */
2896
- public static encode(message: ITennisTimeType, writer?: $protobuf.Writer): $protobuf.Writer;
2897
-
2898
- /**
2899
- * Encodes the specified TennisTimeType message, length delimited. Does not implicitly {@link TennisTimeType.verify|verify} messages.
2900
- * @param message TennisTimeType message or plain object to encode
2901
- * @param [writer] Writer to encode to
2902
- * @returns Writer
2903
- */
2904
- public static encodeDelimited(message: ITennisTimeType, writer?: $protobuf.Writer): $protobuf.Writer;
2905
-
2906
- /**
2907
- * Decodes a TennisTimeType message from the specified reader or buffer.
2908
- * @param reader Reader or buffer to decode from
2909
- * @param [length] Message length if known beforehand
2910
- * @returns TennisTimeType
2911
- * @throws {Error} If the payload is not a reader or valid buffer
2912
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2913
- */
2914
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TennisTimeType;
2915
-
2916
- /**
2917
- * Decodes a TennisTimeType message from the specified reader or buffer, length delimited.
2918
- * @param reader Reader or buffer to decode from
2919
- * @returns TennisTimeType
2920
- * @throws {Error} If the payload is not a reader or valid buffer
2921
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
2922
- */
2923
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): TennisTimeType;
2924
-
2925
- /**
2926
- * Verifies a TennisTimeType message.
2927
- * @param message Plain object to verify
2928
- * @returns `null` if valid, otherwise the reason why it is not
2929
- */
2930
- public static verify(message: { [k: string]: any }): (string|null);
2931
-
2932
- /**
2933
- * Creates a TennisTimeType message from a plain object. Also converts values to their respective internal types.
2934
- * @param object Plain object
2935
- * @returns TennisTimeType
2936
- */
2937
- public static fromObject(object: { [k: string]: any }): TennisTimeType;
2938
-
2939
- /**
2940
- * Creates a plain object from a TennisTimeType message. Also converts values to other types if specified.
2941
- * @param message TennisTimeType
2942
- * @param [options] Conversion options
2943
- * @returns Plain object
2944
- */
2945
- public static toObject(message: TennisTimeType, options?: $protobuf.IConversionOptions): { [k: string]: any };
2946
-
2947
- /**
2948
- * Converts this TennisTimeType to JSON.
2949
- * @returns JSON object
2950
- */
2951
- public toJSON(): { [k: string]: any };
2952
- }
2953
-
2954
- /** NameFeedOddType enum. */
2955
- export enum NameFeedOddType {
2956
- LIVE = 0,
2957
- TODAY = 1,
2958
- EARLY = 2
2959
- }
2960
-
2961
- /** NameFeedSportType enum. */
2962
- export enum NameFeedSportType {
2963
- SOCCER = 0,
2964
- TENNIS = 1,
2965
- BASKETBALL = 2
2966
- }
2967
-
2968
- /** Properties of an EventName. */
2969
- export interface IEventName {
2970
-
2971
- /** EventName originalEventId */
2972
- originalEventId?: (string|null);
2973
-
2974
- /** EventName league */
2975
- league?: (string|null);
2976
-
2977
- /** EventName host */
2978
- host?: (string|null);
2979
-
2980
- /** EventName guest */
2981
- guest?: (string|null);
2982
-
2983
- /** EventName source */
2984
- source?: (string|null);
2985
-
2986
- /** EventName oddType */
2987
- oddType?: (NameFeedOddType|null);
2988
-
2989
- /** EventName sportType */
2990
- sportType?: (NameFeedSportType|null);
2991
-
2992
- /** EventName epoch */
2993
- epoch?: (number|Long|null);
2994
-
2995
- /** EventName startTime */
2996
- startTime?: (number|Long|null);
2997
- }
2998
-
2999
- /** Represents an EventName. */
3000
- export class EventName implements IEventName {
3001
-
3002
- /**
3003
- * Constructs a new EventName.
3004
- * @param [properties] Properties to set
3005
- */
3006
- constructor(properties?: IEventName);
3007
-
3008
- /** EventName originalEventId. */
3009
- public originalEventId: string;
3010
-
3011
- /** EventName league. */
3012
- public league: string;
3013
-
3014
- /** EventName host. */
3015
- public host: string;
3016
-
3017
- /** EventName guest. */
3018
- public guest: string;
3019
-
3020
- /** EventName source. */
3021
- public source: string;
3022
-
3023
- /** EventName oddType. */
3024
- public oddType: NameFeedOddType;
3025
-
3026
- /** EventName sportType. */
3027
- public sportType: NameFeedSportType;
3028
-
3029
- /** EventName epoch. */
3030
- public epoch: (number|Long);
3031
-
3032
- /** EventName startTime. */
3033
- public startTime: (number|Long);
3034
-
3035
- /**
3036
- * Creates a new EventName instance using the specified properties.
3037
- * @param [properties] Properties to set
3038
- * @returns EventName instance
3039
- */
3040
- public static create(properties?: IEventName): EventName;
3041
-
3042
- /**
3043
- * Encodes the specified EventName message. Does not implicitly {@link EventName.verify|verify} messages.
3044
- * @param message EventName message or plain object to encode
3045
- * @param [writer] Writer to encode to
3046
- * @returns Writer
3047
- */
3048
- public static encode(message: IEventName, writer?: $protobuf.Writer): $protobuf.Writer;
3049
-
3050
- /**
3051
- * Encodes the specified EventName message, length delimited. Does not implicitly {@link EventName.verify|verify} messages.
3052
- * @param message EventName message or plain object to encode
3053
- * @param [writer] Writer to encode to
3054
- * @returns Writer
3055
- */
3056
- public static encodeDelimited(message: IEventName, writer?: $protobuf.Writer): $protobuf.Writer;
3057
-
3058
- /**
3059
- * Decodes an EventName message from the specified reader or buffer.
3060
- * @param reader Reader or buffer to decode from
3061
- * @param [length] Message length if known beforehand
3062
- * @returns EventName
3063
- * @throws {Error} If the payload is not a reader or valid buffer
3064
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3065
- */
3066
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): EventName;
3067
-
3068
- /**
3069
- * Decodes an EventName message from the specified reader or buffer, length delimited.
3070
- * @param reader Reader or buffer to decode from
3071
- * @returns EventName
3072
- * @throws {Error} If the payload is not a reader or valid buffer
3073
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3074
- */
3075
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): EventName;
3076
-
3077
- /**
3078
- * Verifies an EventName message.
3079
- * @param message Plain object to verify
3080
- * @returns `null` if valid, otherwise the reason why it is not
3081
- */
3082
- public static verify(message: { [k: string]: any }): (string|null);
3083
-
3084
- /**
3085
- * Creates an EventName message from a plain object. Also converts values to their respective internal types.
3086
- * @param object Plain object
3087
- * @returns EventName
3088
- */
3089
- public static fromObject(object: { [k: string]: any }): EventName;
3090
-
3091
- /**
3092
- * Creates a plain object from an EventName message. Also converts values to other types if specified.
3093
- * @param message EventName
3094
- * @param [options] Conversion options
3095
- * @returns Plain object
3096
- */
3097
- public static toObject(message: EventName, options?: $protobuf.IConversionOptions): { [k: string]: any };
3098
-
3099
- /**
3100
- * Converts this EventName to JSON.
3101
- * @returns JSON object
3102
- */
3103
- public toJSON(): { [k: string]: any };
3104
- }
3105
-
3106
- /** Properties of a Reset. */
3107
- export interface IReset {
3108
-
3109
- /** Reset stream */
3110
- stream?: (string|null);
3111
- }
3112
-
3113
- /** Represents a Reset. */
3114
- export class Reset implements IReset {
3115
-
3116
- /**
3117
- * Constructs a new Reset.
3118
- * @param [properties] Properties to set
3119
- */
3120
- constructor(properties?: IReset);
3121
-
3122
- /** Reset stream. */
3123
- public stream: string;
3124
-
3125
- /**
3126
- * Creates a new Reset instance using the specified properties.
3127
- * @param [properties] Properties to set
3128
- * @returns Reset instance
3129
- */
3130
- public static create(properties?: IReset): Reset;
3131
-
3132
- /**
3133
- * Encodes the specified Reset message. Does not implicitly {@link Reset.verify|verify} messages.
3134
- * @param message Reset message or plain object to encode
3135
- * @param [writer] Writer to encode to
3136
- * @returns Writer
3137
- */
3138
- public static encode(message: IReset, writer?: $protobuf.Writer): $protobuf.Writer;
3139
-
3140
- /**
3141
- * Encodes the specified Reset message, length delimited. Does not implicitly {@link Reset.verify|verify} messages.
3142
- * @param message Reset message or plain object to encode
3143
- * @param [writer] Writer to encode to
3144
- * @returns Writer
3145
- */
3146
- public static encodeDelimited(message: IReset, writer?: $protobuf.Writer): $protobuf.Writer;
3147
-
3148
- /**
3149
- * Decodes a Reset message from the specified reader or buffer.
3150
- * @param reader Reader or buffer to decode from
3151
- * @param [length] Message length if known beforehand
3152
- * @returns Reset
3153
- * @throws {Error} If the payload is not a reader or valid buffer
3154
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3155
- */
3156
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Reset;
3157
-
3158
- /**
3159
- * Decodes a Reset message from the specified reader or buffer, length delimited.
3160
- * @param reader Reader or buffer to decode from
3161
- * @returns Reset
3162
- * @throws {Error} If the payload is not a reader or valid buffer
3163
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3164
- */
3165
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Reset;
3166
-
3167
- /**
3168
- * Verifies a Reset message.
3169
- * @param message Plain object to verify
3170
- * @returns `null` if valid, otherwise the reason why it is not
3171
- */
3172
- public static verify(message: { [k: string]: any }): (string|null);
3173
-
3174
- /**
3175
- * Creates a Reset message from a plain object. Also converts values to their respective internal types.
3176
- * @param object Plain object
3177
- * @returns Reset
3178
- */
3179
- public static fromObject(object: { [k: string]: any }): Reset;
3180
-
3181
- /**
3182
- * Creates a plain object from a Reset message. Also converts values to other types if specified.
3183
- * @param message Reset
3184
- * @param [options] Conversion options
3185
- * @returns Plain object
3186
- */
3187
- public static toObject(message: Reset, options?: $protobuf.IConversionOptions): { [k: string]: any };
3188
-
3189
- /**
3190
- * Converts this Reset to JSON.
3191
- * @returns JSON object
3192
- */
3193
- public toJSON(): { [k: string]: any };
3194
- }
3195
-
3196
- /** Properties of a Refresh. */
3197
- export interface IRefresh {
3198
-
3199
- /** Refresh stream */
3200
- stream?: (string|null);
3201
- }
3202
-
3203
- /** Represents a Refresh. */
3204
- export class Refresh implements IRefresh {
3205
-
3206
- /**
3207
- * Constructs a new Refresh.
3208
- * @param [properties] Properties to set
3209
- */
3210
- constructor(properties?: IRefresh);
3211
-
3212
- /** Refresh stream. */
3213
- public stream: string;
3214
-
3215
- /**
3216
- * Creates a new Refresh instance using the specified properties.
3217
- * @param [properties] Properties to set
3218
- * @returns Refresh instance
3219
- */
3220
- public static create(properties?: IRefresh): Refresh;
3221
-
3222
- /**
3223
- * Encodes the specified Refresh message. Does not implicitly {@link Refresh.verify|verify} messages.
3224
- * @param message Refresh message or plain object to encode
3225
- * @param [writer] Writer to encode to
3226
- * @returns Writer
3227
- */
3228
- public static encode(message: IRefresh, writer?: $protobuf.Writer): $protobuf.Writer;
3229
-
3230
- /**
3231
- * Encodes the specified Refresh message, length delimited. Does not implicitly {@link Refresh.verify|verify} messages.
3232
- * @param message Refresh message or plain object to encode
3233
- * @param [writer] Writer to encode to
3234
- * @returns Writer
3235
- */
3236
- public static encodeDelimited(message: IRefresh, writer?: $protobuf.Writer): $protobuf.Writer;
3237
-
3238
- /**
3239
- * Decodes a Refresh message from the specified reader or buffer.
3240
- * @param reader Reader or buffer to decode from
3241
- * @param [length] Message length if known beforehand
3242
- * @returns Refresh
3243
- * @throws {Error} If the payload is not a reader or valid buffer
3244
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3245
- */
3246
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Refresh;
3247
-
3248
- /**
3249
- * Decodes a Refresh message from the specified reader or buffer, length delimited.
3250
- * @param reader Reader or buffer to decode from
3251
- * @returns Refresh
3252
- * @throws {Error} If the payload is not a reader or valid buffer
3253
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3254
- */
3255
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Refresh;
3256
-
3257
- /**
3258
- * Verifies a Refresh message.
3259
- * @param message Plain object to verify
3260
- * @returns `null` if valid, otherwise the reason why it is not
3261
- */
3262
- public static verify(message: { [k: string]: any }): (string|null);
3263
-
3264
- /**
3265
- * Creates a Refresh message from a plain object. Also converts values to their respective internal types.
3266
- * @param object Plain object
3267
- * @returns Refresh
3268
- */
3269
- public static fromObject(object: { [k: string]: any }): Refresh;
3270
-
3271
- /**
3272
- * Creates a plain object from a Refresh message. Also converts values to other types if specified.
3273
- * @param message Refresh
3274
- * @param [options] Conversion options
3275
- * @returns Plain object
3276
- */
3277
- public static toObject(message: Refresh, options?: $protobuf.IConversionOptions): { [k: string]: any };
3278
-
3279
- /**
3280
- * Converts this Refresh to JSON.
3281
- * @returns JSON object
3282
- */
3283
- public toJSON(): { [k: string]: any };
3284
- }
3285
-
3286
- /** Properties of a NameFeedCol. */
3287
- export interface INameFeedCol {
3288
-
3289
- /** NameFeedCol source */
3290
- source?: (number|null);
3291
-
3292
- /** NameFeedCol sportType */
3293
- sportType?: (NameFeedSportType|null);
3294
-
3295
- /** NameFeedCol oddType */
3296
- oddType?: (NameFeedOddType|null);
3297
-
3298
- /** NameFeedCol stringPool */
3299
- stringPool?: (string[]|null);
3300
-
3301
- /** NameFeedCol names */
3302
- names?: (IEventName[]|null);
3303
- }
3304
-
3305
- /** Represents a NameFeedCol. */
3306
- export class NameFeedCol implements INameFeedCol {
3307
-
3308
- /**
3309
- * Constructs a new NameFeedCol.
3310
- * @param [properties] Properties to set
3311
- */
3312
- constructor(properties?: INameFeedCol);
3313
-
3314
- /** NameFeedCol source. */
3315
- public source: number;
3316
-
3317
- /** NameFeedCol sportType. */
3318
- public sportType: NameFeedSportType;
3319
-
3320
- /** NameFeedCol oddType. */
3321
- public oddType: NameFeedOddType;
3322
-
3323
- /** NameFeedCol stringPool. */
3324
- public stringPool: string[];
3325
-
3326
- /** NameFeedCol names. */
3327
- public names: IEventName[];
3328
-
3329
- /**
3330
- * Creates a new NameFeedCol instance using the specified properties.
3331
- * @param [properties] Properties to set
3332
- * @returns NameFeedCol instance
3333
- */
3334
- public static create(properties?: INameFeedCol): NameFeedCol;
3335
-
3336
- /**
3337
- * Encodes the specified NameFeedCol message. Does not implicitly {@link NameFeedCol.verify|verify} messages.
3338
- * @param message NameFeedCol message or plain object to encode
3339
- * @param [writer] Writer to encode to
3340
- * @returns Writer
3341
- */
3342
- public static encode(message: INameFeedCol, writer?: $protobuf.Writer): $protobuf.Writer;
3343
-
3344
- /**
3345
- * Encodes the specified NameFeedCol message, length delimited. Does not implicitly {@link NameFeedCol.verify|verify} messages.
3346
- * @param message NameFeedCol message or plain object to encode
3347
- * @param [writer] Writer to encode to
3348
- * @returns Writer
3349
- */
3350
- public static encodeDelimited(message: INameFeedCol, writer?: $protobuf.Writer): $protobuf.Writer;
3351
-
3352
- /**
3353
- * Decodes a NameFeedCol message from the specified reader or buffer.
3354
- * @param reader Reader or buffer to decode from
3355
- * @param [length] Message length if known beforehand
3356
- * @returns NameFeedCol
3357
- * @throws {Error} If the payload is not a reader or valid buffer
3358
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3359
- */
3360
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): NameFeedCol;
3361
-
3362
- /**
3363
- * Decodes a NameFeedCol message from the specified reader or buffer, length delimited.
3364
- * @param reader Reader or buffer to decode from
3365
- * @returns NameFeedCol
3366
- * @throws {Error} If the payload is not a reader or valid buffer
3367
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
3368
- */
3369
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): NameFeedCol;
3370
-
3371
- /**
3372
- * Verifies a NameFeedCol message.
3373
- * @param message Plain object to verify
3374
- * @returns `null` if valid, otherwise the reason why it is not
3375
- */
3376
- public static verify(message: { [k: string]: any }): (string|null);
3377
-
3378
- /**
3379
- * Creates a NameFeedCol message from a plain object. Also converts values to their respective internal types.
3380
- * @param object Plain object
3381
- * @returns NameFeedCol
3382
- */
3383
- public static fromObject(object: { [k: string]: any }): NameFeedCol;
3384
-
3385
- /**
3386
- * Creates a plain object from a NameFeedCol message. Also converts values to other types if specified.
3387
- * @param message NameFeedCol
3388
- * @param [options] Conversion options
3389
- * @returns Plain object
3390
- */
3391
- public static toObject(message: NameFeedCol, options?: $protobuf.IConversionOptions): { [k: string]: any };
3392
-
3393
- /**
3394
- * Converts this NameFeedCol to JSON.
3395
- * @returns JSON object
3396
- */
3397
- public toJSON(): { [k: string]: any };
3398
- }