Files
arduino-ide/arduino-ide-extension/src/node/cli-protocol/commands/common_pb.d.ts
Akos Kitta 7494beca33 Switched to the official arduino-cli.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-07-25 07:58:00 +02:00

94 lines
3.1 KiB
TypeScript

// package: cc.arduino.cli.commands
// file: commands/common.proto
/* tslint:disable */
import * as jspb from "google-protobuf";
export class Instance extends jspb.Message {
getId(): number;
setId(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Instance.AsObject;
static toObject(includeInstance: boolean, msg: Instance): Instance.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Instance, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Instance;
static deserializeBinaryFromReader(message: Instance, reader: jspb.BinaryReader): Instance;
}
export namespace Instance {
export type AsObject = {
id: number,
}
}
export class DownloadProgress extends jspb.Message {
getUrl(): string;
setUrl(value: string): void;
getFile(): string;
setFile(value: string): void;
getTotalSize(): number;
setTotalSize(value: number): void;
getDownloaded(): number;
setDownloaded(value: number): void;
getCompleted(): boolean;
setCompleted(value: boolean): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): DownloadProgress.AsObject;
static toObject(includeInstance: boolean, msg: DownloadProgress): DownloadProgress.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: DownloadProgress, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): DownloadProgress;
static deserializeBinaryFromReader(message: DownloadProgress, reader: jspb.BinaryReader): DownloadProgress;
}
export namespace DownloadProgress {
export type AsObject = {
url: string,
file: string,
totalSize: number,
downloaded: number,
completed: boolean,
}
}
export class TaskProgress extends jspb.Message {
getName(): string;
setName(value: string): void;
getMessage(): string;
setMessage(value: string): void;
getCompleted(): boolean;
setCompleted(value: boolean): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): TaskProgress.AsObject;
static toObject(includeInstance: boolean, msg: TaskProgress): TaskProgress.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: TaskProgress, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): TaskProgress;
static deserializeBinaryFromReader(message: TaskProgress, reader: jspb.BinaryReader): TaskProgress;
}
export namespace TaskProgress {
export type AsObject = {
name: string,
message: string,
completed: boolean,
}
}