-
-
Notifications
You must be signed in to change notification settings - Fork 440
/
Copy pathupload_pb.d.ts
84 lines (66 loc) · 2.74 KB
/
upload_pb.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// package: cc.arduino.cli.commands
// file: commands/upload.proto
/* tslint:disable */
import * as jspb from "google-protobuf";
import * as commands_common_pb from "../commands/common_pb";
export class UploadReq extends jspb.Message {
hasInstance(): boolean;
clearInstance(): void;
getInstance(): commands_common_pb.Instance | undefined;
setInstance(value?: commands_common_pb.Instance): void;
getFqbn(): string;
setFqbn(value: string): void;
getSketchPath(): string;
setSketchPath(value: string): void;
getPort(): string;
setPort(value: string): void;
getVerbose(): boolean;
setVerbose(value: boolean): void;
getVerify(): boolean;
setVerify(value: boolean): void;
getImportFile(): string;
setImportFile(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UploadReq.AsObject;
static toObject(includeInstance: boolean, msg: UploadReq): UploadReq.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: UploadReq, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): UploadReq;
static deserializeBinaryFromReader(message: UploadReq, reader: jspb.BinaryReader): UploadReq;
}
export namespace UploadReq {
export type AsObject = {
instance?: commands_common_pb.Instance.AsObject,
fqbn: string,
sketchPath: string,
port: string,
verbose: boolean,
verify: boolean,
importFile: string,
}
}
export class UploadResp extends jspb.Message {
getOutStream(): Uint8Array | string;
getOutStream_asU8(): Uint8Array;
getOutStream_asB64(): string;
setOutStream(value: Uint8Array | string): void;
getErrStream(): Uint8Array | string;
getErrStream_asU8(): Uint8Array;
getErrStream_asB64(): string;
setErrStream(value: Uint8Array | string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UploadResp.AsObject;
static toObject(includeInstance: boolean, msg: UploadResp): UploadResp.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: UploadResp, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): UploadResp;
static deserializeBinaryFromReader(message: UploadResp, reader: jspb.BinaryReader): UploadResp;
}
export namespace UploadResp {
export type AsObject = {
outStream: Uint8Array | string,
errStream: Uint8Array | string,
}
}