@jayesol/jayeson.lib.sports 2.2.6 → 2.2.7-beta1

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