@replit/protocol 0.4.4 → 0.4.6

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