-
-
Notifications
You must be signed in to change notification settings - Fork 439
/
Copy pathcompile_pb.d.ts
124 lines (96 loc) · 3.93 KB
/
compile_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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
// package: arduino
// file: compile.proto
/* tslint:disable */
import * as jspb from "google-protobuf";
import * as common_pb from "./common_pb";
export class CompileReq extends jspb.Message {
hasInstance(): boolean;
clearInstance(): void;
getInstance(): common_pb.Instance | undefined;
setInstance(value?: common_pb.Instance): void;
getFqbn(): string;
setFqbn(value: string): void;
getSketchpath(): string;
setSketchpath(value: string): void;
getShowproperties(): boolean;
setShowproperties(value: boolean): void;
getPreprocess(): boolean;
setPreprocess(value: boolean): void;
getBuildcachepath(): string;
setBuildcachepath(value: string): void;
getBuildpath(): string;
setBuildpath(value: string): void;
clearBuildpropertiesList(): void;
getBuildpropertiesList(): Array<string>;
setBuildpropertiesList(value: Array<string>): void;
addBuildproperties(value: string, index?: number): string;
getWarnings(): string;
setWarnings(value: string): void;
getVerbose(): boolean;
setVerbose(value: boolean): void;
getQuiet(): boolean;
setQuiet(value: boolean): void;
getVidpid(): string;
setVidpid(value: string): void;
getExportfile(): string;
setExportfile(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CompileReq.AsObject;
static toObject(includeInstance: boolean, msg: CompileReq): CompileReq.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: CompileReq, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): CompileReq;
static deserializeBinaryFromReader(message: CompileReq, reader: jspb.BinaryReader): CompileReq;
}
export namespace CompileReq {
export type AsObject = {
instance?: common_pb.Instance.AsObject,
fqbn: string,
sketchpath: string,
showproperties: boolean,
preprocess: boolean,
buildcachepath: string,
buildpath: string,
buildpropertiesList: Array<string>,
warnings: string,
verbose: boolean,
quiet: boolean,
vidpid: string,
exportfile: string,
}
}
export class CompileResp 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;
hasDownloadProgress(): boolean;
clearDownloadProgress(): void;
getDownloadProgress(): common_pb.DownloadProgress | undefined;
setDownloadProgress(value?: common_pb.DownloadProgress): void;
hasTaskProgress(): boolean;
clearTaskProgress(): void;
getTaskProgress(): common_pb.TaskProgress | undefined;
setTaskProgress(value?: common_pb.TaskProgress): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CompileResp.AsObject;
static toObject(includeInstance: boolean, msg: CompileResp): CompileResp.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: CompileResp, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): CompileResp;
static deserializeBinaryFromReader(message: CompileResp, reader: jspb.BinaryReader): CompileResp;
}
export namespace CompileResp {
export type AsObject = {
outStream: Uint8Array | string,
errStream: Uint8Array | string,
downloadProgress?: common_pb.DownloadProgress.AsObject,
taskProgress?: common_pb.TaskProgress.AsObject,
}
}