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