mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-15 23:36:33 +00:00
Updated to the 0.18.1
CLI.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
c86d82d273
commit
8071298598
@ -122,7 +122,7 @@
|
||||
],
|
||||
"arduino": {
|
||||
"cli": {
|
||||
"version": "20210329"
|
||||
"version": "0.18.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ import { ClientDuplexStream } from '@grpc/grpc-js';
|
||||
import { ILogger } from '@theia/core/lib/common/logger';
|
||||
import { deepClone } from '@theia/core/lib/common/objects';
|
||||
import { CoreClientAware } from './core-client-provider';
|
||||
import { BoardListWatchReq, BoardListWatchResp } from './cli-protocol/commands/board_pb';
|
||||
import { BoardListWatchRequest, BoardListWatchResponse } from './cli-protocol/cc/arduino/cli/commands/v1/board_pb';
|
||||
import { Board, Port, NotificationServiceServer, AvailablePorts, AttachedBoardsChangeEvent } from '../common/protocol';
|
||||
|
||||
/**
|
||||
@ -21,7 +21,7 @@ export class BoardDiscovery extends CoreClientAware {
|
||||
@inject(NotificationServiceServer)
|
||||
protected readonly notificationService: NotificationServiceServer;
|
||||
|
||||
protected boardWatchDuplex: ClientDuplexStream<BoardListWatchReq, BoardListWatchResp> | undefined;
|
||||
protected boardWatchDuplex: ClientDuplexStream<BoardListWatchRequest, BoardListWatchResponse> | undefined;
|
||||
|
||||
/**
|
||||
* Keys are the `address` of the ports. \
|
||||
@ -43,10 +43,10 @@ export class BoardDiscovery extends CoreClientAware {
|
||||
protected async init(): Promise<void> {
|
||||
const coreClient = await this.coreClient();
|
||||
const { client, instance } = coreClient;
|
||||
const req = new BoardListWatchReq();
|
||||
const req = new BoardListWatchRequest();
|
||||
req.setInstance(instance);
|
||||
this.boardWatchDuplex = client.boardListWatch();
|
||||
this.boardWatchDuplex.on('data', (resp: BoardListWatchResp) => {
|
||||
this.boardWatchDuplex.on('data', (resp: BoardListWatchResponse) => {
|
||||
const detectedPort = resp.getPort();
|
||||
if (detectedPort) {
|
||||
|
||||
|
@ -7,14 +7,14 @@ import {
|
||||
BoardsPackage, Board, Port, BoardDetails, Tool, ConfigOption, ConfigValue, Programmer, OutputService, NotificationServiceServer, AvailablePorts, BoardWithPackage
|
||||
} from '../common/protocol';
|
||||
import {
|
||||
PlatformSearchReq, PlatformSearchResp, PlatformInstallReq, PlatformInstallResp, PlatformListReq,
|
||||
PlatformListResp, PlatformUninstallResp, PlatformUninstallReq
|
||||
} from './cli-protocol/commands/core_pb';
|
||||
import { Platform } from './cli-protocol/commands/common_pb';
|
||||
PlatformInstallRequest, PlatformInstallResponse, PlatformListRequest, PlatformListResponse, PlatformSearchRequest,
|
||||
PlatformSearchResponse, PlatformUninstallRequest, PlatformUninstallResponse
|
||||
} from './cli-protocol/cc/arduino/cli/commands/v1/core_pb';
|
||||
import { Platform } from './cli-protocol/cc/arduino/cli/commands/v1/common_pb';
|
||||
import { BoardDiscovery } from './board-discovery';
|
||||
import { CoreClientAware } from './core-client-provider';
|
||||
import { BoardDetailsReq, BoardDetailsResp, BoardSearchReq } from './cli-protocol/commands/board_pb';
|
||||
import { ListProgrammersAvailableForUploadReq, ListProgrammersAvailableForUploadResp } from './cli-protocol/commands/upload_pb';
|
||||
import { BoardDetailsRequest, BoardDetailsResponse, BoardSearchRequest } from './cli-protocol/cc/arduino/cli/commands/v1/board_pb';
|
||||
import { ListProgrammersAvailableForUploadRequest, ListProgrammersAvailableForUploadResponse } from './cli-protocol/cc/arduino/cli/commands/v1/upload_pb';
|
||||
|
||||
@injectable()
|
||||
export class BoardsServiceImpl extends CoreClientAware implements BoardsService {
|
||||
@ -51,10 +51,10 @@ export class BoardsServiceImpl extends CoreClientAware implements BoardsService
|
||||
const coreClient = await this.coreClient();
|
||||
const { client, instance } = coreClient;
|
||||
const { fqbn } = options;
|
||||
const detailsReq = new BoardDetailsReq();
|
||||
const detailsReq = new BoardDetailsRequest();
|
||||
detailsReq.setInstance(instance);
|
||||
detailsReq.setFqbn(fqbn);
|
||||
const detailsResp = await new Promise<BoardDetailsResp | undefined>((resolve, reject) => client.boardDetails(detailsReq, (err, resp) => {
|
||||
const detailsResp = await new Promise<BoardDetailsResponse | undefined>((resolve, reject) => client.boardDetails(detailsReq, (err, resp) => {
|
||||
if (err) {
|
||||
// Required cores are not installed manually: https://github.com/arduino/arduino-cli/issues/954
|
||||
if ((err.message.indexOf('missing platform release') !== -1 && err.message.indexOf('referenced by board') !== -1)
|
||||
@ -75,7 +75,7 @@ export class BoardsServiceImpl extends CoreClientAware implements BoardsService
|
||||
|
||||
const debuggingSupported = detailsResp.getDebuggingSupported();
|
||||
|
||||
const requiredTools = detailsResp.getToolsdependenciesList().map(t => <Tool>{
|
||||
const requiredTools = detailsResp.getToolsDependenciesList().map(t => <Tool>{
|
||||
name: t.getName(),
|
||||
packager: t.getPackager(),
|
||||
version: t.getVersion()
|
||||
@ -91,10 +91,10 @@ export class BoardsServiceImpl extends CoreClientAware implements BoardsService
|
||||
})
|
||||
});
|
||||
|
||||
const listReq = new ListProgrammersAvailableForUploadReq();
|
||||
const listReq = new ListProgrammersAvailableForUploadRequest();
|
||||
listReq.setInstance(instance);
|
||||
listReq.setFqbn(fqbn);
|
||||
const listResp = await new Promise<ListProgrammersAvailableForUploadResp>((resolve, reject) => client.listProgrammersAvailableForUpload(listReq, (err, resp) => {
|
||||
const listResp = await new Promise<ListProgrammersAvailableForUploadResponse>((resolve, reject) => client.listProgrammersAvailableForUpload(listReq, (err, resp) => {
|
||||
if (err) {
|
||||
reject(err);
|
||||
return;
|
||||
@ -110,7 +110,7 @@ export class BoardsServiceImpl extends CoreClientAware implements BoardsService
|
||||
|
||||
let VID = 'N/A';
|
||||
let PID = 'N/A';
|
||||
const usbId = detailsResp.getIdentificationPrefList().map(item => item.getUsbid()).find(notEmpty);
|
||||
const usbId = detailsResp.getIdentificationPrefsList().map(item => item.getUsbId()).find(notEmpty);
|
||||
if (usbId) {
|
||||
VID = usbId.getVid();
|
||||
PID = usbId.getPid();
|
||||
@ -147,7 +147,7 @@ export class BoardsServiceImpl extends CoreClientAware implements BoardsService
|
||||
|
||||
async searchBoards({ query }: { query?: string }): Promise<BoardWithPackage[]> {
|
||||
const { instance, client } = await this.coreClient();
|
||||
const req = new BoardSearchReq();
|
||||
const req = new BoardSearchRequest();
|
||||
req.setSearchArgs(query || '');
|
||||
req.setInstance(instance);
|
||||
const boards = await new Promise<BoardWithPackage[]>((resolve, reject) => {
|
||||
@ -178,18 +178,18 @@ export class BoardsServiceImpl extends CoreClientAware implements BoardsService
|
||||
const coreClient = await this.coreClient();
|
||||
const { client, instance } = coreClient;
|
||||
|
||||
const installedPlatformsReq = new PlatformListReq();
|
||||
const installedPlatformsReq = new PlatformListRequest();
|
||||
installedPlatformsReq.setInstance(instance);
|
||||
const installedPlatformsResp = await new Promise<PlatformListResp>((resolve, reject) =>
|
||||
const installedPlatformsResp = await new Promise<PlatformListResponse>((resolve, reject) =>
|
||||
client.platformList(installedPlatformsReq, (err, resp) => (!!err ? reject : resolve)(!!err ? err : resp))
|
||||
);
|
||||
const installedPlatforms = installedPlatformsResp.getInstalledPlatformList();
|
||||
const installedPlatforms = installedPlatformsResp.getInstalledPlatformsList();
|
||||
|
||||
const req = new PlatformSearchReq();
|
||||
const req = new PlatformSearchRequest();
|
||||
req.setSearchArgs(options.query || '');
|
||||
req.setAllVersions(true);
|
||||
req.setInstance(instance);
|
||||
const resp = await new Promise<PlatformSearchResp>((resolve, reject) => client.platformSearch(req, (err, resp) => (!!err ? reject : resolve)(!!err ? err : resp)));
|
||||
const resp = await new Promise<PlatformSearchResponse>((resolve, reject) => client.platformSearch(req, (err, resp) => (!!err ? reject : resolve)(!!err ? err : resp)));
|
||||
const packages = new Map<string, BoardsPackage>();
|
||||
const toPackage = (platform: Platform) => {
|
||||
let installedVersion: string | undefined;
|
||||
@ -262,7 +262,7 @@ export class BoardsServiceImpl extends CoreClientAware implements BoardsService
|
||||
|
||||
const [platform, architecture] = item.id.split(':');
|
||||
|
||||
const req = new PlatformInstallReq();
|
||||
const req = new PlatformInstallRequest();
|
||||
req.setInstance(instance);
|
||||
req.setArchitecture(architecture);
|
||||
req.setPlatformPackage(platform);
|
||||
@ -270,7 +270,7 @@ export class BoardsServiceImpl extends CoreClientAware implements BoardsService
|
||||
|
||||
console.info('>>> Starting boards package installation...', item);
|
||||
const resp = client.platformInstall(req);
|
||||
resp.on('data', (r: PlatformInstallResp) => {
|
||||
resp.on('data', (r: PlatformInstallResponse) => {
|
||||
const prog = r.getProgress();
|
||||
if (prog && prog.getFile()) {
|
||||
this.outputService.append({ chunk: `downloading ${prog.getFile()}\n` });
|
||||
@ -298,7 +298,7 @@ export class BoardsServiceImpl extends CoreClientAware implements BoardsService
|
||||
|
||||
const [platform, architecture] = item.id.split(':');
|
||||
|
||||
const req = new PlatformUninstallReq();
|
||||
const req = new PlatformUninstallRequest();
|
||||
req.setInstance(instance);
|
||||
req.setArchitecture(architecture);
|
||||
req.setPlatformPackage(platform);
|
||||
@ -306,7 +306,7 @@ export class BoardsServiceImpl extends CoreClientAware implements BoardsService
|
||||
console.info('>>> Starting boards package uninstallation...', item);
|
||||
let logged = false;
|
||||
const resp = client.platformUninstall(req);
|
||||
resp.on('data', (_: PlatformUninstallResp) => {
|
||||
resp.on('data', (_: PlatformUninstallResponse) => {
|
||||
if (!logged) {
|
||||
this.outputService.append({ chunk: `uninstalling ${item.id}\n` });
|
||||
logged = true;
|
||||
|
@ -1,137 +1,133 @@
|
||||
// package: cc.arduino.cli.commands
|
||||
// file: commands/board.proto
|
||||
// package: cc.arduino.cli.commands.v1
|
||||
// file: cc/arduino/cli/commands/v1/board.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as commands_common_pb from "../commands/common_pb";
|
||||
import * as cc_arduino_cli_commands_v1_common_pb from "../../../../../cc/arduino/cli/commands/v1/common_pb";
|
||||
|
||||
export class BoardDetailsReq extends jspb.Message {
|
||||
export class BoardDetailsRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): BoardDetailsReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): BoardDetailsRequest;
|
||||
|
||||
getFqbn(): string;
|
||||
setFqbn(value: string): BoardDetailsReq;
|
||||
setFqbn(value: string): BoardDetailsRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BoardDetailsReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardDetailsReq): BoardDetailsReq.AsObject;
|
||||
toObject(includeInstance?: boolean): BoardDetailsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardDetailsRequest): BoardDetailsRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BoardDetailsReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardDetailsReq;
|
||||
static deserializeBinaryFromReader(message: BoardDetailsReq, reader: jspb.BinaryReader): BoardDetailsReq;
|
||||
static serializeBinaryToWriter(message: BoardDetailsRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardDetailsRequest;
|
||||
static deserializeBinaryFromReader(message: BoardDetailsRequest, reader: jspb.BinaryReader): BoardDetailsRequest;
|
||||
}
|
||||
|
||||
export namespace BoardDetailsReq {
|
||||
export namespace BoardDetailsRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
fqbn: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class BoardDetailsResp extends jspb.Message {
|
||||
export class BoardDetailsResponse extends jspb.Message {
|
||||
getFqbn(): string;
|
||||
setFqbn(value: string): BoardDetailsResp;
|
||||
setFqbn(value: string): BoardDetailsResponse;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): BoardDetailsResp;
|
||||
setName(value: string): BoardDetailsResponse;
|
||||
|
||||
getVersion(): string;
|
||||
setVersion(value: string): BoardDetailsResp;
|
||||
setVersion(value: string): BoardDetailsResponse;
|
||||
|
||||
getPropertiesid(): string;
|
||||
setPropertiesid(value: string): BoardDetailsResp;
|
||||
getPropertiesId(): string;
|
||||
setPropertiesId(value: string): BoardDetailsResponse;
|
||||
|
||||
getAlias(): string;
|
||||
setAlias(value: string): BoardDetailsResp;
|
||||
setAlias(value: string): BoardDetailsResponse;
|
||||
|
||||
getOfficial(): boolean;
|
||||
setOfficial(value: boolean): BoardDetailsResp;
|
||||
setOfficial(value: boolean): BoardDetailsResponse;
|
||||
|
||||
getPinout(): string;
|
||||
setPinout(value: string): BoardDetailsResp;
|
||||
setPinout(value: string): BoardDetailsResponse;
|
||||
|
||||
|
||||
hasPackage(): boolean;
|
||||
clearPackage(): void;
|
||||
getPackage(): Package | undefined;
|
||||
setPackage(value?: Package): BoardDetailsResp;
|
||||
setPackage(value?: Package): BoardDetailsResponse;
|
||||
|
||||
|
||||
hasPlatform(): boolean;
|
||||
clearPlatform(): void;
|
||||
getPlatform(): BoardPlatform | undefined;
|
||||
setPlatform(value?: BoardPlatform): BoardDetailsResp;
|
||||
setPlatform(value?: BoardPlatform): BoardDetailsResponse;
|
||||
|
||||
clearToolsdependenciesList(): void;
|
||||
getToolsdependenciesList(): Array<ToolsDependencies>;
|
||||
setToolsdependenciesList(value: Array<ToolsDependencies>): BoardDetailsResp;
|
||||
addToolsdependencies(value?: ToolsDependencies, index?: number): ToolsDependencies;
|
||||
clearToolsDependenciesList(): void;
|
||||
getToolsDependenciesList(): Array<ToolsDependencies>;
|
||||
setToolsDependenciesList(value: Array<ToolsDependencies>): BoardDetailsResponse;
|
||||
addToolsDependencies(value?: ToolsDependencies, index?: number): ToolsDependencies;
|
||||
|
||||
clearConfigOptionsList(): void;
|
||||
getConfigOptionsList(): Array<ConfigOption>;
|
||||
setConfigOptionsList(value: Array<ConfigOption>): BoardDetailsResp;
|
||||
setConfigOptionsList(value: Array<ConfigOption>): BoardDetailsResponse;
|
||||
addConfigOptions(value?: ConfigOption, index?: number): ConfigOption;
|
||||
|
||||
clearIdentificationPrefList(): void;
|
||||
getIdentificationPrefList(): Array<IdentificationPref>;
|
||||
setIdentificationPrefList(value: Array<IdentificationPref>): BoardDetailsResp;
|
||||
addIdentificationPref(value?: IdentificationPref, index?: number): IdentificationPref;
|
||||
clearIdentificationPrefsList(): void;
|
||||
getIdentificationPrefsList(): Array<IdentificationPref>;
|
||||
setIdentificationPrefsList(value: Array<IdentificationPref>): BoardDetailsResponse;
|
||||
addIdentificationPrefs(value?: IdentificationPref, index?: number): IdentificationPref;
|
||||
|
||||
clearProgrammersList(): void;
|
||||
getProgrammersList(): Array<commands_common_pb.Programmer>;
|
||||
setProgrammersList(value: Array<commands_common_pb.Programmer>): BoardDetailsResp;
|
||||
addProgrammers(value?: commands_common_pb.Programmer, index?: number): commands_common_pb.Programmer;
|
||||
getProgrammersList(): Array<cc_arduino_cli_commands_v1_common_pb.Programmer>;
|
||||
setProgrammersList(value: Array<cc_arduino_cli_commands_v1_common_pb.Programmer>): BoardDetailsResponse;
|
||||
addProgrammers(value?: cc_arduino_cli_commands_v1_common_pb.Programmer, index?: number): cc_arduino_cli_commands_v1_common_pb.Programmer;
|
||||
|
||||
getDebuggingSupported(): boolean;
|
||||
setDebuggingSupported(value: boolean): BoardDetailsResp;
|
||||
|
||||
getSerialnumber(): string;
|
||||
setSerialnumber(value: string): BoardDetailsResp;
|
||||
setDebuggingSupported(value: boolean): BoardDetailsResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BoardDetailsResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardDetailsResp): BoardDetailsResp.AsObject;
|
||||
toObject(includeInstance?: boolean): BoardDetailsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardDetailsResponse): BoardDetailsResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BoardDetailsResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardDetailsResp;
|
||||
static deserializeBinaryFromReader(message: BoardDetailsResp, reader: jspb.BinaryReader): BoardDetailsResp;
|
||||
static serializeBinaryToWriter(message: BoardDetailsResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardDetailsResponse;
|
||||
static deserializeBinaryFromReader(message: BoardDetailsResponse, reader: jspb.BinaryReader): BoardDetailsResponse;
|
||||
}
|
||||
|
||||
export namespace BoardDetailsResp {
|
||||
export namespace BoardDetailsResponse {
|
||||
export type AsObject = {
|
||||
fqbn: string,
|
||||
name: string,
|
||||
version: string,
|
||||
propertiesid: string,
|
||||
propertiesId: string,
|
||||
alias: string,
|
||||
official: boolean,
|
||||
pinout: string,
|
||||
pb_package?: Package.AsObject,
|
||||
platform?: BoardPlatform.AsObject,
|
||||
toolsdependenciesList: Array<ToolsDependencies.AsObject>,
|
||||
toolsDependenciesList: Array<ToolsDependencies.AsObject>,
|
||||
configOptionsList: Array<ConfigOption.AsObject>,
|
||||
identificationPrefList: Array<IdentificationPref.AsObject>,
|
||||
programmersList: Array<commands_common_pb.Programmer.AsObject>,
|
||||
identificationPrefsList: Array<IdentificationPref.AsObject>,
|
||||
programmersList: Array<cc_arduino_cli_commands_v1_common_pb.Programmer.AsObject>,
|
||||
debuggingSupported: boolean,
|
||||
serialnumber: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class IdentificationPref extends jspb.Message {
|
||||
|
||||
hasUsbid(): boolean;
|
||||
clearUsbid(): void;
|
||||
getUsbid(): USBID | undefined;
|
||||
setUsbid(value?: USBID): IdentificationPref;
|
||||
hasUsbId(): boolean;
|
||||
clearUsbId(): void;
|
||||
getUsbId(): USBID | undefined;
|
||||
setUsbId(value?: USBID): IdentificationPref;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
@ -146,7 +142,7 @@ export class IdentificationPref extends jspb.Message {
|
||||
|
||||
export namespace IdentificationPref {
|
||||
export type AsObject = {
|
||||
usbid?: USBID.AsObject,
|
||||
usbId?: USBID.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
@ -182,8 +178,8 @@ export class Package extends jspb.Message {
|
||||
getUrl(): string;
|
||||
setUrl(value: string): Package;
|
||||
|
||||
getWebsiteurl(): string;
|
||||
setWebsiteurl(value: string): Package;
|
||||
getWebsiteUrl(): string;
|
||||
setWebsiteUrl(value: string): Package;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): Package;
|
||||
@ -212,7 +208,7 @@ export namespace Package {
|
||||
export type AsObject = {
|
||||
maintainer: string,
|
||||
url: string,
|
||||
websiteurl: string,
|
||||
websiteUrl: string,
|
||||
email: string,
|
||||
name: string,
|
||||
help?: Help.AsObject,
|
||||
@ -250,8 +246,8 @@ export class BoardPlatform extends jspb.Message {
|
||||
getUrl(): string;
|
||||
setUrl(value: string): BoardPlatform;
|
||||
|
||||
getArchivefilename(): string;
|
||||
setArchivefilename(value: string): BoardPlatform;
|
||||
getArchiveFilename(): string;
|
||||
setArchiveFilename(value: string): BoardPlatform;
|
||||
|
||||
getChecksum(): string;
|
||||
setChecksum(value: string): BoardPlatform;
|
||||
@ -278,7 +274,7 @@ export namespace BoardPlatform {
|
||||
architecture: string,
|
||||
category: string,
|
||||
url: string,
|
||||
archivefilename: string,
|
||||
archiveFilename: string,
|
||||
checksum: string,
|
||||
size: number,
|
||||
name: string,
|
||||
@ -327,8 +323,8 @@ export class Systems extends jspb.Message {
|
||||
getHost(): string;
|
||||
setHost(value: string): Systems;
|
||||
|
||||
getArchivefilename(): string;
|
||||
setArchivefilename(value: string): Systems;
|
||||
getArchiveFilename(): string;
|
||||
setArchiveFilename(value: string): Systems;
|
||||
|
||||
getUrl(): string;
|
||||
setUrl(value: string): Systems;
|
||||
@ -351,7 +347,7 @@ export namespace Systems {
|
||||
export type AsObject = {
|
||||
checksum: string,
|
||||
host: string,
|
||||
archivefilename: string,
|
||||
archiveFilename: string,
|
||||
url: string,
|
||||
size: number,
|
||||
}
|
||||
@ -417,108 +413,108 @@ export namespace ConfigValue {
|
||||
}
|
||||
}
|
||||
|
||||
export class BoardAttachReq extends jspb.Message {
|
||||
export class BoardAttachRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): BoardAttachReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): BoardAttachRequest;
|
||||
|
||||
getBoardUri(): string;
|
||||
setBoardUri(value: string): BoardAttachReq;
|
||||
setBoardUri(value: string): BoardAttachRequest;
|
||||
|
||||
getSketchPath(): string;
|
||||
setSketchPath(value: string): BoardAttachReq;
|
||||
setSketchPath(value: string): BoardAttachRequest;
|
||||
|
||||
getSearchTimeout(): string;
|
||||
setSearchTimeout(value: string): BoardAttachReq;
|
||||
setSearchTimeout(value: string): BoardAttachRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BoardAttachReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardAttachReq): BoardAttachReq.AsObject;
|
||||
toObject(includeInstance?: boolean): BoardAttachRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardAttachRequest): BoardAttachRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BoardAttachReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardAttachReq;
|
||||
static deserializeBinaryFromReader(message: BoardAttachReq, reader: jspb.BinaryReader): BoardAttachReq;
|
||||
static serializeBinaryToWriter(message: BoardAttachRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardAttachRequest;
|
||||
static deserializeBinaryFromReader(message: BoardAttachRequest, reader: jspb.BinaryReader): BoardAttachRequest;
|
||||
}
|
||||
|
||||
export namespace BoardAttachReq {
|
||||
export namespace BoardAttachRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
boardUri: string,
|
||||
sketchPath: string,
|
||||
searchTimeout: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class BoardAttachResp extends jspb.Message {
|
||||
export class BoardAttachResponse extends jspb.Message {
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): commands_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: commands_common_pb.TaskProgress): BoardAttachResp;
|
||||
getTaskProgress(): cc_arduino_cli_commands_v1_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): BoardAttachResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BoardAttachResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardAttachResp): BoardAttachResp.AsObject;
|
||||
toObject(includeInstance?: boolean): BoardAttachResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardAttachResponse): BoardAttachResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BoardAttachResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardAttachResp;
|
||||
static deserializeBinaryFromReader(message: BoardAttachResp, reader: jspb.BinaryReader): BoardAttachResp;
|
||||
static serializeBinaryToWriter(message: BoardAttachResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardAttachResponse;
|
||||
static deserializeBinaryFromReader(message: BoardAttachResponse, reader: jspb.BinaryReader): BoardAttachResponse;
|
||||
}
|
||||
|
||||
export namespace BoardAttachResp {
|
||||
export namespace BoardAttachResponse {
|
||||
export type AsObject = {
|
||||
taskProgress?: commands_common_pb.TaskProgress.AsObject,
|
||||
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class BoardListReq extends jspb.Message {
|
||||
export class BoardListRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): BoardListReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): BoardListRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BoardListReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardListReq): BoardListReq.AsObject;
|
||||
toObject(includeInstance?: boolean): BoardListRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardListRequest): BoardListRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BoardListReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardListReq;
|
||||
static deserializeBinaryFromReader(message: BoardListReq, reader: jspb.BinaryReader): BoardListReq;
|
||||
static serializeBinaryToWriter(message: BoardListRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardListRequest;
|
||||
static deserializeBinaryFromReader(message: BoardListRequest, reader: jspb.BinaryReader): BoardListRequest;
|
||||
}
|
||||
|
||||
export namespace BoardListReq {
|
||||
export namespace BoardListRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class BoardListResp extends jspb.Message {
|
||||
export class BoardListResponse extends jspb.Message {
|
||||
clearPortsList(): void;
|
||||
getPortsList(): Array<DetectedPort>;
|
||||
setPortsList(value: Array<DetectedPort>): BoardListResp;
|
||||
setPortsList(value: Array<DetectedPort>): BoardListResponse;
|
||||
addPorts(value?: DetectedPort, index?: number): DetectedPort;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BoardListResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardListResp): BoardListResp.AsObject;
|
||||
toObject(includeInstance?: boolean): BoardListResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardListResponse): BoardListResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BoardListResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardListResp;
|
||||
static deserializeBinaryFromReader(message: BoardListResp, reader: jspb.BinaryReader): BoardListResp;
|
||||
static serializeBinaryToWriter(message: BoardListResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardListResponse;
|
||||
static deserializeBinaryFromReader(message: BoardListResponse, reader: jspb.BinaryReader): BoardListResponse;
|
||||
}
|
||||
|
||||
export namespace BoardListResp {
|
||||
export namespace BoardListResponse {
|
||||
export type AsObject = {
|
||||
portsList: Array<DetectedPort.AsObject>,
|
||||
}
|
||||
@ -563,116 +559,116 @@ export namespace DetectedPort {
|
||||
}
|
||||
}
|
||||
|
||||
export class BoardListAllReq extends jspb.Message {
|
||||
export class BoardListAllRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): BoardListAllReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): BoardListAllRequest;
|
||||
|
||||
clearSearchArgsList(): void;
|
||||
getSearchArgsList(): Array<string>;
|
||||
setSearchArgsList(value: Array<string>): BoardListAllReq;
|
||||
setSearchArgsList(value: Array<string>): BoardListAllRequest;
|
||||
addSearchArgs(value: string, index?: number): string;
|
||||
|
||||
getIncludeHiddenBoards(): boolean;
|
||||
setIncludeHiddenBoards(value: boolean): BoardListAllReq;
|
||||
setIncludeHiddenBoards(value: boolean): BoardListAllRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BoardListAllReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardListAllReq): BoardListAllReq.AsObject;
|
||||
toObject(includeInstance?: boolean): BoardListAllRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardListAllRequest): BoardListAllRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BoardListAllReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardListAllReq;
|
||||
static deserializeBinaryFromReader(message: BoardListAllReq, reader: jspb.BinaryReader): BoardListAllReq;
|
||||
static serializeBinaryToWriter(message: BoardListAllRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardListAllRequest;
|
||||
static deserializeBinaryFromReader(message: BoardListAllRequest, reader: jspb.BinaryReader): BoardListAllRequest;
|
||||
}
|
||||
|
||||
export namespace BoardListAllReq {
|
||||
export namespace BoardListAllRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
searchArgsList: Array<string>,
|
||||
includeHiddenBoards: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class BoardListAllResp extends jspb.Message {
|
||||
export class BoardListAllResponse extends jspb.Message {
|
||||
clearBoardsList(): void;
|
||||
getBoardsList(): Array<BoardListItem>;
|
||||
setBoardsList(value: Array<BoardListItem>): BoardListAllResp;
|
||||
setBoardsList(value: Array<BoardListItem>): BoardListAllResponse;
|
||||
addBoards(value?: BoardListItem, index?: number): BoardListItem;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BoardListAllResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardListAllResp): BoardListAllResp.AsObject;
|
||||
toObject(includeInstance?: boolean): BoardListAllResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardListAllResponse): BoardListAllResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BoardListAllResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardListAllResp;
|
||||
static deserializeBinaryFromReader(message: BoardListAllResp, reader: jspb.BinaryReader): BoardListAllResp;
|
||||
static serializeBinaryToWriter(message: BoardListAllResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardListAllResponse;
|
||||
static deserializeBinaryFromReader(message: BoardListAllResponse, reader: jspb.BinaryReader): BoardListAllResponse;
|
||||
}
|
||||
|
||||
export namespace BoardListAllResp {
|
||||
export namespace BoardListAllResponse {
|
||||
export type AsObject = {
|
||||
boardsList: Array<BoardListItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class BoardListWatchReq extends jspb.Message {
|
||||
export class BoardListWatchRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): BoardListWatchReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): BoardListWatchRequest;
|
||||
|
||||
getInterrupt(): boolean;
|
||||
setInterrupt(value: boolean): BoardListWatchReq;
|
||||
setInterrupt(value: boolean): BoardListWatchRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BoardListWatchReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardListWatchReq): BoardListWatchReq.AsObject;
|
||||
toObject(includeInstance?: boolean): BoardListWatchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardListWatchRequest): BoardListWatchRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BoardListWatchReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardListWatchReq;
|
||||
static deserializeBinaryFromReader(message: BoardListWatchReq, reader: jspb.BinaryReader): BoardListWatchReq;
|
||||
static serializeBinaryToWriter(message: BoardListWatchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardListWatchRequest;
|
||||
static deserializeBinaryFromReader(message: BoardListWatchRequest, reader: jspb.BinaryReader): BoardListWatchRequest;
|
||||
}
|
||||
|
||||
export namespace BoardListWatchReq {
|
||||
export namespace BoardListWatchRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
interrupt: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class BoardListWatchResp extends jspb.Message {
|
||||
export class BoardListWatchResponse extends jspb.Message {
|
||||
getEventType(): string;
|
||||
setEventType(value: string): BoardListWatchResp;
|
||||
setEventType(value: string): BoardListWatchResponse;
|
||||
|
||||
|
||||
hasPort(): boolean;
|
||||
clearPort(): void;
|
||||
getPort(): DetectedPort | undefined;
|
||||
setPort(value?: DetectedPort): BoardListWatchResp;
|
||||
setPort(value?: DetectedPort): BoardListWatchResponse;
|
||||
|
||||
getError(): string;
|
||||
setError(value: string): BoardListWatchResp;
|
||||
setError(value: string): BoardListWatchResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BoardListWatchResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardListWatchResp): BoardListWatchResp.AsObject;
|
||||
toObject(includeInstance?: boolean): BoardListWatchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardListWatchResponse): BoardListWatchResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BoardListWatchResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardListWatchResp;
|
||||
static deserializeBinaryFromReader(message: BoardListWatchResp, reader: jspb.BinaryReader): BoardListWatchResp;
|
||||
static serializeBinaryToWriter(message: BoardListWatchResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardListWatchResponse;
|
||||
static deserializeBinaryFromReader(message: BoardListWatchResponse, reader: jspb.BinaryReader): BoardListWatchResponse;
|
||||
}
|
||||
|
||||
export namespace BoardListWatchResp {
|
||||
export namespace BoardListWatchResponse {
|
||||
export type AsObject = {
|
||||
eventType: string,
|
||||
port?: DetectedPort.AsObject,
|
||||
@ -699,8 +695,8 @@ export class BoardListItem extends jspb.Message {
|
||||
|
||||
hasPlatform(): boolean;
|
||||
clearPlatform(): void;
|
||||
getPlatform(): commands_common_pb.Platform | undefined;
|
||||
setPlatform(value?: commands_common_pb.Platform): BoardListItem;
|
||||
getPlatform(): cc_arduino_cli_commands_v1_common_pb.Platform | undefined;
|
||||
setPlatform(value?: cc_arduino_cli_commands_v1_common_pb.Platform): BoardListItem;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
@ -720,60 +716,60 @@ export namespace BoardListItem {
|
||||
isHidden: boolean,
|
||||
vid: string,
|
||||
pid: string,
|
||||
platform?: commands_common_pb.Platform.AsObject,
|
||||
platform?: cc_arduino_cli_commands_v1_common_pb.Platform.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class BoardSearchReq extends jspb.Message {
|
||||
export class BoardSearchRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): BoardSearchReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): BoardSearchRequest;
|
||||
|
||||
getSearchArgs(): string;
|
||||
setSearchArgs(value: string): BoardSearchReq;
|
||||
setSearchArgs(value: string): BoardSearchRequest;
|
||||
|
||||
getIncludeHiddenBoards(): boolean;
|
||||
setIncludeHiddenBoards(value: boolean): BoardSearchReq;
|
||||
setIncludeHiddenBoards(value: boolean): BoardSearchRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BoardSearchReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardSearchReq): BoardSearchReq.AsObject;
|
||||
toObject(includeInstance?: boolean): BoardSearchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardSearchRequest): BoardSearchRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BoardSearchReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardSearchReq;
|
||||
static deserializeBinaryFromReader(message: BoardSearchReq, reader: jspb.BinaryReader): BoardSearchReq;
|
||||
static serializeBinaryToWriter(message: BoardSearchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardSearchRequest;
|
||||
static deserializeBinaryFromReader(message: BoardSearchRequest, reader: jspb.BinaryReader): BoardSearchRequest;
|
||||
}
|
||||
|
||||
export namespace BoardSearchReq {
|
||||
export namespace BoardSearchRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
searchArgs: string,
|
||||
includeHiddenBoards: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class BoardSearchResp extends jspb.Message {
|
||||
export class BoardSearchResponse extends jspb.Message {
|
||||
clearBoardsList(): void;
|
||||
getBoardsList(): Array<BoardListItem>;
|
||||
setBoardsList(value: Array<BoardListItem>): BoardSearchResp;
|
||||
setBoardsList(value: Array<BoardListItem>): BoardSearchResponse;
|
||||
addBoards(value?: BoardListItem, index?: number): BoardListItem;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BoardSearchResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardSearchResp): BoardSearchResp.AsObject;
|
||||
toObject(includeInstance?: boolean): BoardSearchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BoardSearchResponse): BoardSearchResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BoardSearchResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardSearchResp;
|
||||
static deserializeBinaryFromReader(message: BoardSearchResp, reader: jspb.BinaryReader): BoardSearchResp;
|
||||
static serializeBinaryToWriter(message: BoardSearchResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BoardSearchResponse;
|
||||
static deserializeBinaryFromReader(message: BoardSearchResponse, reader: jspb.BinaryReader): BoardSearchResponse;
|
||||
}
|
||||
|
||||
export namespace BoardSearchResp {
|
||||
export namespace BoardSearchResponse {
|
||||
export type AsObject = {
|
||||
boardsList: Array<BoardListItem.AsObject>,
|
||||
}
|
File diff suppressed because it is too large
Load Diff
619
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/commands/v1/commands_grpc_pb.d.ts
vendored
Normal file
619
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/commands/v1/commands_grpc_pb.d.ts
vendored
Normal file
@ -0,0 +1,619 @@
|
||||
// package: cc.arduino.cli.commands.v1
|
||||
// file: cc/arduino/cli/commands/v1/commands.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
|
||||
import * as cc_arduino_cli_commands_v1_commands_pb from "../../../../../cc/arduino/cli/commands/v1/commands_pb";
|
||||
import * as cc_arduino_cli_commands_v1_common_pb from "../../../../../cc/arduino/cli/commands/v1/common_pb";
|
||||
import * as cc_arduino_cli_commands_v1_board_pb from "../../../../../cc/arduino/cli/commands/v1/board_pb";
|
||||
import * as cc_arduino_cli_commands_v1_compile_pb from "../../../../../cc/arduino/cli/commands/v1/compile_pb";
|
||||
import * as cc_arduino_cli_commands_v1_core_pb from "../../../../../cc/arduino/cli/commands/v1/core_pb";
|
||||
import * as cc_arduino_cli_commands_v1_upload_pb from "../../../../../cc/arduino/cli/commands/v1/upload_pb";
|
||||
import * as cc_arduino_cli_commands_v1_lib_pb from "../../../../../cc/arduino/cli/commands/v1/lib_pb";
|
||||
|
||||
interface IArduinoCoreServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
init: IArduinoCoreServiceService_IInit;
|
||||
destroy: IArduinoCoreServiceService_IDestroy;
|
||||
rescan: IArduinoCoreServiceService_IRescan;
|
||||
updateIndex: IArduinoCoreServiceService_IUpdateIndex;
|
||||
updateLibrariesIndex: IArduinoCoreServiceService_IUpdateLibrariesIndex;
|
||||
updateCoreLibrariesIndex: IArduinoCoreServiceService_IUpdateCoreLibrariesIndex;
|
||||
outdated: IArduinoCoreServiceService_IOutdated;
|
||||
upgrade: IArduinoCoreServiceService_IUpgrade;
|
||||
version: IArduinoCoreServiceService_IVersion;
|
||||
loadSketch: IArduinoCoreServiceService_ILoadSketch;
|
||||
archiveSketch: IArduinoCoreServiceService_IArchiveSketch;
|
||||
boardDetails: IArduinoCoreServiceService_IBoardDetails;
|
||||
boardAttach: IArduinoCoreServiceService_IBoardAttach;
|
||||
boardList: IArduinoCoreServiceService_IBoardList;
|
||||
boardListAll: IArduinoCoreServiceService_IBoardListAll;
|
||||
boardSearch: IArduinoCoreServiceService_IBoardSearch;
|
||||
boardListWatch: IArduinoCoreServiceService_IBoardListWatch;
|
||||
compile: IArduinoCoreServiceService_ICompile;
|
||||
platformInstall: IArduinoCoreServiceService_IPlatformInstall;
|
||||
platformDownload: IArduinoCoreServiceService_IPlatformDownload;
|
||||
platformUninstall: IArduinoCoreServiceService_IPlatformUninstall;
|
||||
platformUpgrade: IArduinoCoreServiceService_IPlatformUpgrade;
|
||||
upload: IArduinoCoreServiceService_IUpload;
|
||||
uploadUsingProgrammer: IArduinoCoreServiceService_IUploadUsingProgrammer;
|
||||
listProgrammersAvailableForUpload: IArduinoCoreServiceService_IListProgrammersAvailableForUpload;
|
||||
burnBootloader: IArduinoCoreServiceService_IBurnBootloader;
|
||||
platformSearch: IArduinoCoreServiceService_IPlatformSearch;
|
||||
platformList: IArduinoCoreServiceService_IPlatformList;
|
||||
libraryDownload: IArduinoCoreServiceService_ILibraryDownload;
|
||||
libraryInstall: IArduinoCoreServiceService_ILibraryInstall;
|
||||
zipLibraryInstall: IArduinoCoreServiceService_IZipLibraryInstall;
|
||||
gitLibraryInstall: IArduinoCoreServiceService_IGitLibraryInstall;
|
||||
libraryUninstall: IArduinoCoreServiceService_ILibraryUninstall;
|
||||
libraryUpgradeAll: IArduinoCoreServiceService_ILibraryUpgradeAll;
|
||||
libraryResolveDependencies: IArduinoCoreServiceService_ILibraryResolveDependencies;
|
||||
librarySearch: IArduinoCoreServiceService_ILibrarySearch;
|
||||
libraryList: IArduinoCoreServiceService_ILibraryList;
|
||||
}
|
||||
|
||||
interface IArduinoCoreServiceService_IInit extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_commands_pb.InitRequest, cc_arduino_cli_commands_v1_commands_pb.InitResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/Init";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.InitRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.InitRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.InitResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.InitResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IDestroy extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_commands_pb.DestroyRequest, cc_arduino_cli_commands_v1_commands_pb.DestroyResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/Destroy";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.DestroyRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.DestroyRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.DestroyResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.DestroyResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IRescan extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_commands_pb.RescanRequest, cc_arduino_cli_commands_v1_commands_pb.RescanResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/Rescan";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.RescanRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.RescanRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.RescanResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.RescanResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IUpdateIndex extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_commands_pb.UpdateIndexRequest, cc_arduino_cli_commands_v1_commands_pb.UpdateIndexResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/UpdateIndex";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.UpdateIndexRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.UpdateIndexRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.UpdateIndexResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.UpdateIndexResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IUpdateLibrariesIndex extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexRequest, cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/UpdateLibrariesIndex";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IUpdateCoreLibrariesIndex extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexRequest, cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/UpdateCoreLibrariesIndex";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IOutdated extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_commands_pb.OutdatedRequest, cc_arduino_cli_commands_v1_commands_pb.OutdatedResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/Outdated";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.OutdatedRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.OutdatedRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.OutdatedResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.OutdatedResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IUpgrade extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_commands_pb.UpgradeRequest, cc_arduino_cli_commands_v1_commands_pb.UpgradeResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/Upgrade";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.UpgradeRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.UpgradeRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.UpgradeResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.UpgradeResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IVersion extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_commands_pb.VersionRequest, cc_arduino_cli_commands_v1_commands_pb.VersionResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/Version";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.VersionRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.VersionRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.VersionResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.VersionResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_ILoadSketch extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_commands_pb.LoadSketchRequest, cc_arduino_cli_commands_v1_commands_pb.LoadSketchResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/LoadSketch";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.LoadSketchRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.LoadSketchRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.LoadSketchResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.LoadSketchResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IArchiveSketch extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchRequest, cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/ArchiveSketch";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IBoardDetails extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_board_pb.BoardDetailsRequest, cc_arduino_cli_commands_v1_board_pb.BoardDetailsResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/BoardDetails";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_board_pb.BoardDetailsRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_board_pb.BoardDetailsRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_board_pb.BoardDetailsResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_board_pb.BoardDetailsResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IBoardAttach extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_board_pb.BoardAttachRequest, cc_arduino_cli_commands_v1_board_pb.BoardAttachResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/BoardAttach";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_board_pb.BoardAttachRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_board_pb.BoardAttachRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_board_pb.BoardAttachResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_board_pb.BoardAttachResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IBoardList extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_board_pb.BoardListRequest, cc_arduino_cli_commands_v1_board_pb.BoardListResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/BoardList";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_board_pb.BoardListRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_board_pb.BoardListRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_board_pb.BoardListResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_board_pb.BoardListResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IBoardListAll extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_board_pb.BoardListAllRequest, cc_arduino_cli_commands_v1_board_pb.BoardListAllResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/BoardListAll";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_board_pb.BoardListAllRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_board_pb.BoardListAllRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_board_pb.BoardListAllResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_board_pb.BoardListAllResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IBoardSearch extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_board_pb.BoardSearchRequest, cc_arduino_cli_commands_v1_board_pb.BoardSearchResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/BoardSearch";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_board_pb.BoardSearchRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_board_pb.BoardSearchRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_board_pb.BoardSearchResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_board_pb.BoardSearchResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IBoardListWatch extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_board_pb.BoardListWatchRequest, cc_arduino_cli_commands_v1_board_pb.BoardListWatchResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/BoardListWatch";
|
||||
requestStream: true;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_board_pb.BoardListWatchRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_board_pb.BoardListWatchRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_board_pb.BoardListWatchResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_board_pb.BoardListWatchResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_ICompile extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_compile_pb.CompileRequest, cc_arduino_cli_commands_v1_compile_pb.CompileResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/Compile";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_compile_pb.CompileRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_compile_pb.CompileRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_compile_pb.CompileResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_compile_pb.CompileResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IPlatformInstall extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_core_pb.PlatformInstallRequest, cc_arduino_cli_commands_v1_core_pb.PlatformInstallResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/PlatformInstall";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_core_pb.PlatformInstallRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_core_pb.PlatformInstallRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_core_pb.PlatformInstallResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_core_pb.PlatformInstallResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IPlatformDownload extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_core_pb.PlatformDownloadRequest, cc_arduino_cli_commands_v1_core_pb.PlatformDownloadResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/PlatformDownload";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_core_pb.PlatformDownloadRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_core_pb.PlatformDownloadRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_core_pb.PlatformDownloadResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_core_pb.PlatformDownloadResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IPlatformUninstall extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_core_pb.PlatformUninstallRequest, cc_arduino_cli_commands_v1_core_pb.PlatformUninstallResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/PlatformUninstall";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_core_pb.PlatformUninstallRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_core_pb.PlatformUninstallRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_core_pb.PlatformUninstallResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_core_pb.PlatformUninstallResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IPlatformUpgrade extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeRequest, cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/PlatformUpgrade";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IUpload extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_upload_pb.UploadRequest, cc_arduino_cli_commands_v1_upload_pb.UploadResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/Upload";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_upload_pb.UploadRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_upload_pb.UploadRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_upload_pb.UploadResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_upload_pb.UploadResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IUploadUsingProgrammer extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerRequest, cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/UploadUsingProgrammer";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IListProgrammersAvailableForUpload extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadRequest, cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/ListProgrammersAvailableForUpload";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IBurnBootloader extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderRequest, cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/BurnBootloader";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IPlatformSearch extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_core_pb.PlatformSearchRequest, cc_arduino_cli_commands_v1_core_pb.PlatformSearchResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/PlatformSearch";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_core_pb.PlatformSearchRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_core_pb.PlatformSearchRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_core_pb.PlatformSearchResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_core_pb.PlatformSearchResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IPlatformList extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_core_pb.PlatformListRequest, cc_arduino_cli_commands_v1_core_pb.PlatformListResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/PlatformList";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_core_pb.PlatformListRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_core_pb.PlatformListRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_core_pb.PlatformListResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_core_pb.PlatformListResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_ILibraryDownload extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadRequest, cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/LibraryDownload";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_ILibraryInstall extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_lib_pb.LibraryInstallRequest, cc_arduino_cli_commands_v1_lib_pb.LibraryInstallResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/LibraryInstall";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibraryInstallRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibraryInstallRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibraryInstallResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibraryInstallResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IZipLibraryInstall extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallRequest, cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/ZipLibraryInstall";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_IGitLibraryInstall extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallRequest, cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/GitLibraryInstall";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_ILibraryUninstall extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallRequest, cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/LibraryUninstall";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_ILibraryUpgradeAll extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllRequest, cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/LibraryUpgradeAll";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_ILibraryResolveDependencies extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesRequest, cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/LibraryResolveDependencies";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_ILibrarySearch extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_lib_pb.LibrarySearchRequest, cc_arduino_cli_commands_v1_lib_pb.LibrarySearchResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/LibrarySearch";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibrarySearchRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibrarySearchRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibrarySearchResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibrarySearchResponse>;
|
||||
}
|
||||
interface IArduinoCoreServiceService_ILibraryList extends grpc.MethodDefinition<cc_arduino_cli_commands_v1_lib_pb.LibraryListRequest, cc_arduino_cli_commands_v1_lib_pb.LibraryListResponse> {
|
||||
path: "/cc.arduino.cli.commands.v1.ArduinoCoreService/LibraryList";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibraryListRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibraryListRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_commands_v1_lib_pb.LibraryListResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_commands_v1_lib_pb.LibraryListResponse>;
|
||||
}
|
||||
|
||||
export const ArduinoCoreServiceService: IArduinoCoreServiceService;
|
||||
|
||||
export interface IArduinoCoreServiceServer {
|
||||
init: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_commands_pb.InitRequest, cc_arduino_cli_commands_v1_commands_pb.InitResponse>;
|
||||
destroy: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_commands_pb.DestroyRequest, cc_arduino_cli_commands_v1_commands_pb.DestroyResponse>;
|
||||
rescan: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_commands_pb.RescanRequest, cc_arduino_cli_commands_v1_commands_pb.RescanResponse>;
|
||||
updateIndex: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_commands_pb.UpdateIndexRequest, cc_arduino_cli_commands_v1_commands_pb.UpdateIndexResponse>;
|
||||
updateLibrariesIndex: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexRequest, cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexResponse>;
|
||||
updateCoreLibrariesIndex: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexRequest, cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexResponse>;
|
||||
outdated: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_commands_pb.OutdatedRequest, cc_arduino_cli_commands_v1_commands_pb.OutdatedResponse>;
|
||||
upgrade: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_commands_pb.UpgradeRequest, cc_arduino_cli_commands_v1_commands_pb.UpgradeResponse>;
|
||||
version: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_commands_pb.VersionRequest, cc_arduino_cli_commands_v1_commands_pb.VersionResponse>;
|
||||
loadSketch: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_commands_pb.LoadSketchRequest, cc_arduino_cli_commands_v1_commands_pb.LoadSketchResponse>;
|
||||
archiveSketch: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchRequest, cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchResponse>;
|
||||
boardDetails: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_board_pb.BoardDetailsRequest, cc_arduino_cli_commands_v1_board_pb.BoardDetailsResponse>;
|
||||
boardAttach: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_board_pb.BoardAttachRequest, cc_arduino_cli_commands_v1_board_pb.BoardAttachResponse>;
|
||||
boardList: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_board_pb.BoardListRequest, cc_arduino_cli_commands_v1_board_pb.BoardListResponse>;
|
||||
boardListAll: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_board_pb.BoardListAllRequest, cc_arduino_cli_commands_v1_board_pb.BoardListAllResponse>;
|
||||
boardSearch: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_board_pb.BoardSearchRequest, cc_arduino_cli_commands_v1_board_pb.BoardSearchResponse>;
|
||||
boardListWatch: grpc.handleBidiStreamingCall<cc_arduino_cli_commands_v1_board_pb.BoardListWatchRequest, cc_arduino_cli_commands_v1_board_pb.BoardListWatchResponse>;
|
||||
compile: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_compile_pb.CompileRequest, cc_arduino_cli_commands_v1_compile_pb.CompileResponse>;
|
||||
platformInstall: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_core_pb.PlatformInstallRequest, cc_arduino_cli_commands_v1_core_pb.PlatformInstallResponse>;
|
||||
platformDownload: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_core_pb.PlatformDownloadRequest, cc_arduino_cli_commands_v1_core_pb.PlatformDownloadResponse>;
|
||||
platformUninstall: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_core_pb.PlatformUninstallRequest, cc_arduino_cli_commands_v1_core_pb.PlatformUninstallResponse>;
|
||||
platformUpgrade: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeRequest, cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeResponse>;
|
||||
upload: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_upload_pb.UploadRequest, cc_arduino_cli_commands_v1_upload_pb.UploadResponse>;
|
||||
uploadUsingProgrammer: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerRequest, cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerResponse>;
|
||||
listProgrammersAvailableForUpload: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadRequest, cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadResponse>;
|
||||
burnBootloader: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderRequest, cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderResponse>;
|
||||
platformSearch: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_core_pb.PlatformSearchRequest, cc_arduino_cli_commands_v1_core_pb.PlatformSearchResponse>;
|
||||
platformList: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_core_pb.PlatformListRequest, cc_arduino_cli_commands_v1_core_pb.PlatformListResponse>;
|
||||
libraryDownload: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadRequest, cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadResponse>;
|
||||
libraryInstall: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_lib_pb.LibraryInstallRequest, cc_arduino_cli_commands_v1_lib_pb.LibraryInstallResponse>;
|
||||
zipLibraryInstall: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallRequest, cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallResponse>;
|
||||
gitLibraryInstall: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallRequest, cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallResponse>;
|
||||
libraryUninstall: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallRequest, cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallResponse>;
|
||||
libraryUpgradeAll: grpc.handleServerStreamingCall<cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllRequest, cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllResponse>;
|
||||
libraryResolveDependencies: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesRequest, cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesResponse>;
|
||||
librarySearch: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_lib_pb.LibrarySearchRequest, cc_arduino_cli_commands_v1_lib_pb.LibrarySearchResponse>;
|
||||
libraryList: grpc.handleUnaryCall<cc_arduino_cli_commands_v1_lib_pb.LibraryListRequest, cc_arduino_cli_commands_v1_lib_pb.LibraryListResponse>;
|
||||
}
|
||||
|
||||
export interface IArduinoCoreServiceClient {
|
||||
init(request: cc_arduino_cli_commands_v1_commands_pb.InitRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.InitResponse>;
|
||||
init(request: cc_arduino_cli_commands_v1_commands_pb.InitRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.InitResponse>;
|
||||
destroy(request: cc_arduino_cli_commands_v1_commands_pb.DestroyRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.DestroyResponse) => void): grpc.ClientUnaryCall;
|
||||
destroy(request: cc_arduino_cli_commands_v1_commands_pb.DestroyRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.DestroyResponse) => void): grpc.ClientUnaryCall;
|
||||
destroy(request: cc_arduino_cli_commands_v1_commands_pb.DestroyRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.DestroyResponse) => void): grpc.ClientUnaryCall;
|
||||
rescan(request: cc_arduino_cli_commands_v1_commands_pb.RescanRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.RescanResponse) => void): grpc.ClientUnaryCall;
|
||||
rescan(request: cc_arduino_cli_commands_v1_commands_pb.RescanRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.RescanResponse) => void): grpc.ClientUnaryCall;
|
||||
rescan(request: cc_arduino_cli_commands_v1_commands_pb.RescanRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.RescanResponse) => void): grpc.ClientUnaryCall;
|
||||
updateIndex(request: cc_arduino_cli_commands_v1_commands_pb.UpdateIndexRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpdateIndexResponse>;
|
||||
updateIndex(request: cc_arduino_cli_commands_v1_commands_pb.UpdateIndexRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpdateIndexResponse>;
|
||||
updateLibrariesIndex(request: cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexResponse>;
|
||||
updateLibrariesIndex(request: cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexResponse>;
|
||||
updateCoreLibrariesIndex(request: cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexResponse>;
|
||||
updateCoreLibrariesIndex(request: cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexResponse>;
|
||||
outdated(request: cc_arduino_cli_commands_v1_commands_pb.OutdatedRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.OutdatedResponse) => void): grpc.ClientUnaryCall;
|
||||
outdated(request: cc_arduino_cli_commands_v1_commands_pb.OutdatedRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.OutdatedResponse) => void): grpc.ClientUnaryCall;
|
||||
outdated(request: cc_arduino_cli_commands_v1_commands_pb.OutdatedRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.OutdatedResponse) => void): grpc.ClientUnaryCall;
|
||||
upgrade(request: cc_arduino_cli_commands_v1_commands_pb.UpgradeRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpgradeResponse>;
|
||||
upgrade(request: cc_arduino_cli_commands_v1_commands_pb.UpgradeRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpgradeResponse>;
|
||||
version(request: cc_arduino_cli_commands_v1_commands_pb.VersionRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.VersionResponse) => void): grpc.ClientUnaryCall;
|
||||
version(request: cc_arduino_cli_commands_v1_commands_pb.VersionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.VersionResponse) => void): grpc.ClientUnaryCall;
|
||||
version(request: cc_arduino_cli_commands_v1_commands_pb.VersionRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.VersionResponse) => void): grpc.ClientUnaryCall;
|
||||
loadSketch(request: cc_arduino_cli_commands_v1_commands_pb.LoadSketchRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.LoadSketchResponse) => void): grpc.ClientUnaryCall;
|
||||
loadSketch(request: cc_arduino_cli_commands_v1_commands_pb.LoadSketchRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.LoadSketchResponse) => void): grpc.ClientUnaryCall;
|
||||
loadSketch(request: cc_arduino_cli_commands_v1_commands_pb.LoadSketchRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.LoadSketchResponse) => void): grpc.ClientUnaryCall;
|
||||
archiveSketch(request: cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchResponse) => void): grpc.ClientUnaryCall;
|
||||
archiveSketch(request: cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchResponse) => void): grpc.ClientUnaryCall;
|
||||
archiveSketch(request: cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchResponse) => void): grpc.ClientUnaryCall;
|
||||
boardDetails(request: cc_arduino_cli_commands_v1_board_pb.BoardDetailsRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardDetailsResponse) => void): grpc.ClientUnaryCall;
|
||||
boardDetails(request: cc_arduino_cli_commands_v1_board_pb.BoardDetailsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardDetailsResponse) => void): grpc.ClientUnaryCall;
|
||||
boardDetails(request: cc_arduino_cli_commands_v1_board_pb.BoardDetailsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardDetailsResponse) => void): grpc.ClientUnaryCall;
|
||||
boardAttach(request: cc_arduino_cli_commands_v1_board_pb.BoardAttachRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_board_pb.BoardAttachResponse>;
|
||||
boardAttach(request: cc_arduino_cli_commands_v1_board_pb.BoardAttachRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_board_pb.BoardAttachResponse>;
|
||||
boardList(request: cc_arduino_cli_commands_v1_board_pb.BoardListRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardListResponse) => void): grpc.ClientUnaryCall;
|
||||
boardList(request: cc_arduino_cli_commands_v1_board_pb.BoardListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardListResponse) => void): grpc.ClientUnaryCall;
|
||||
boardList(request: cc_arduino_cli_commands_v1_board_pb.BoardListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardListResponse) => void): grpc.ClientUnaryCall;
|
||||
boardListAll(request: cc_arduino_cli_commands_v1_board_pb.BoardListAllRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardListAllResponse) => void): grpc.ClientUnaryCall;
|
||||
boardListAll(request: cc_arduino_cli_commands_v1_board_pb.BoardListAllRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardListAllResponse) => void): grpc.ClientUnaryCall;
|
||||
boardListAll(request: cc_arduino_cli_commands_v1_board_pb.BoardListAllRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardListAllResponse) => void): grpc.ClientUnaryCall;
|
||||
boardSearch(request: cc_arduino_cli_commands_v1_board_pb.BoardSearchRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardSearchResponse) => void): grpc.ClientUnaryCall;
|
||||
boardSearch(request: cc_arduino_cli_commands_v1_board_pb.BoardSearchRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardSearchResponse) => void): grpc.ClientUnaryCall;
|
||||
boardSearch(request: cc_arduino_cli_commands_v1_board_pb.BoardSearchRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardSearchResponse) => void): grpc.ClientUnaryCall;
|
||||
boardListWatch(): grpc.ClientDuplexStream<cc_arduino_cli_commands_v1_board_pb.BoardListWatchRequest, cc_arduino_cli_commands_v1_board_pb.BoardListWatchResponse>;
|
||||
boardListWatch(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<cc_arduino_cli_commands_v1_board_pb.BoardListWatchRequest, cc_arduino_cli_commands_v1_board_pb.BoardListWatchResponse>;
|
||||
boardListWatch(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<cc_arduino_cli_commands_v1_board_pb.BoardListWatchRequest, cc_arduino_cli_commands_v1_board_pb.BoardListWatchResponse>;
|
||||
compile(request: cc_arduino_cli_commands_v1_compile_pb.CompileRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_compile_pb.CompileResponse>;
|
||||
compile(request: cc_arduino_cli_commands_v1_compile_pb.CompileRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_compile_pb.CompileResponse>;
|
||||
platformInstall(request: cc_arduino_cli_commands_v1_core_pb.PlatformInstallRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformInstallResponse>;
|
||||
platformInstall(request: cc_arduino_cli_commands_v1_core_pb.PlatformInstallRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformInstallResponse>;
|
||||
platformDownload(request: cc_arduino_cli_commands_v1_core_pb.PlatformDownloadRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformDownloadResponse>;
|
||||
platformDownload(request: cc_arduino_cli_commands_v1_core_pb.PlatformDownloadRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformDownloadResponse>;
|
||||
platformUninstall(request: cc_arduino_cli_commands_v1_core_pb.PlatformUninstallRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformUninstallResponse>;
|
||||
platformUninstall(request: cc_arduino_cli_commands_v1_core_pb.PlatformUninstallRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformUninstallResponse>;
|
||||
platformUpgrade(request: cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeResponse>;
|
||||
platformUpgrade(request: cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeResponse>;
|
||||
upload(request: cc_arduino_cli_commands_v1_upload_pb.UploadRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_upload_pb.UploadResponse>;
|
||||
upload(request: cc_arduino_cli_commands_v1_upload_pb.UploadRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_upload_pb.UploadResponse>;
|
||||
uploadUsingProgrammer(request: cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerResponse>;
|
||||
uploadUsingProgrammer(request: cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerResponse>;
|
||||
listProgrammersAvailableForUpload(request: cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadResponse) => void): grpc.ClientUnaryCall;
|
||||
listProgrammersAvailableForUpload(request: cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadResponse) => void): grpc.ClientUnaryCall;
|
||||
listProgrammersAvailableForUpload(request: cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadResponse) => void): grpc.ClientUnaryCall;
|
||||
burnBootloader(request: cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderResponse>;
|
||||
burnBootloader(request: cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderResponse>;
|
||||
platformSearch(request: cc_arduino_cli_commands_v1_core_pb.PlatformSearchRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_core_pb.PlatformSearchResponse) => void): grpc.ClientUnaryCall;
|
||||
platformSearch(request: cc_arduino_cli_commands_v1_core_pb.PlatformSearchRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_core_pb.PlatformSearchResponse) => void): grpc.ClientUnaryCall;
|
||||
platformSearch(request: cc_arduino_cli_commands_v1_core_pb.PlatformSearchRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_core_pb.PlatformSearchResponse) => void): grpc.ClientUnaryCall;
|
||||
platformList(request: cc_arduino_cli_commands_v1_core_pb.PlatformListRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_core_pb.PlatformListResponse) => void): grpc.ClientUnaryCall;
|
||||
platformList(request: cc_arduino_cli_commands_v1_core_pb.PlatformListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_core_pb.PlatformListResponse) => void): grpc.ClientUnaryCall;
|
||||
platformList(request: cc_arduino_cli_commands_v1_core_pb.PlatformListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_core_pb.PlatformListResponse) => void): grpc.ClientUnaryCall;
|
||||
libraryDownload(request: cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadResponse>;
|
||||
libraryDownload(request: cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadResponse>;
|
||||
libraryInstall(request: cc_arduino_cli_commands_v1_lib_pb.LibraryInstallRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryInstallResponse>;
|
||||
libraryInstall(request: cc_arduino_cli_commands_v1_lib_pb.LibraryInstallRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryInstallResponse>;
|
||||
zipLibraryInstall(request: cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallResponse>;
|
||||
zipLibraryInstall(request: cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallResponse>;
|
||||
gitLibraryInstall(request: cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallResponse>;
|
||||
gitLibraryInstall(request: cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallResponse>;
|
||||
libraryUninstall(request: cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallResponse>;
|
||||
libraryUninstall(request: cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallResponse>;
|
||||
libraryUpgradeAll(request: cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllResponse>;
|
||||
libraryUpgradeAll(request: cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllResponse>;
|
||||
libraryResolveDependencies(request: cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesResponse) => void): grpc.ClientUnaryCall;
|
||||
libraryResolveDependencies(request: cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesResponse) => void): grpc.ClientUnaryCall;
|
||||
libraryResolveDependencies(request: cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesResponse) => void): grpc.ClientUnaryCall;
|
||||
librarySearch(request: cc_arduino_cli_commands_v1_lib_pb.LibrarySearchRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibrarySearchResponse) => void): grpc.ClientUnaryCall;
|
||||
librarySearch(request: cc_arduino_cli_commands_v1_lib_pb.LibrarySearchRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibrarySearchResponse) => void): grpc.ClientUnaryCall;
|
||||
librarySearch(request: cc_arduino_cli_commands_v1_lib_pb.LibrarySearchRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibrarySearchResponse) => void): grpc.ClientUnaryCall;
|
||||
libraryList(request: cc_arduino_cli_commands_v1_lib_pb.LibraryListRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibraryListResponse) => void): grpc.ClientUnaryCall;
|
||||
libraryList(request: cc_arduino_cli_commands_v1_lib_pb.LibraryListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibraryListResponse) => void): grpc.ClientUnaryCall;
|
||||
libraryList(request: cc_arduino_cli_commands_v1_lib_pb.LibraryListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibraryListResponse) => void): grpc.ClientUnaryCall;
|
||||
}
|
||||
|
||||
export class ArduinoCoreServiceClient extends grpc.Client implements IArduinoCoreServiceClient {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
||||
public init(request: cc_arduino_cli_commands_v1_commands_pb.InitRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.InitResponse>;
|
||||
public init(request: cc_arduino_cli_commands_v1_commands_pb.InitRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.InitResponse>;
|
||||
public destroy(request: cc_arduino_cli_commands_v1_commands_pb.DestroyRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.DestroyResponse) => void): grpc.ClientUnaryCall;
|
||||
public destroy(request: cc_arduino_cli_commands_v1_commands_pb.DestroyRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.DestroyResponse) => void): grpc.ClientUnaryCall;
|
||||
public destroy(request: cc_arduino_cli_commands_v1_commands_pb.DestroyRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.DestroyResponse) => void): grpc.ClientUnaryCall;
|
||||
public rescan(request: cc_arduino_cli_commands_v1_commands_pb.RescanRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.RescanResponse) => void): grpc.ClientUnaryCall;
|
||||
public rescan(request: cc_arduino_cli_commands_v1_commands_pb.RescanRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.RescanResponse) => void): grpc.ClientUnaryCall;
|
||||
public rescan(request: cc_arduino_cli_commands_v1_commands_pb.RescanRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.RescanResponse) => void): grpc.ClientUnaryCall;
|
||||
public updateIndex(request: cc_arduino_cli_commands_v1_commands_pb.UpdateIndexRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpdateIndexResponse>;
|
||||
public updateIndex(request: cc_arduino_cli_commands_v1_commands_pb.UpdateIndexRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpdateIndexResponse>;
|
||||
public updateLibrariesIndex(request: cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexResponse>;
|
||||
public updateLibrariesIndex(request: cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpdateLibrariesIndexResponse>;
|
||||
public updateCoreLibrariesIndex(request: cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexResponse>;
|
||||
public updateCoreLibrariesIndex(request: cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpdateCoreLibrariesIndexResponse>;
|
||||
public outdated(request: cc_arduino_cli_commands_v1_commands_pb.OutdatedRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.OutdatedResponse) => void): grpc.ClientUnaryCall;
|
||||
public outdated(request: cc_arduino_cli_commands_v1_commands_pb.OutdatedRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.OutdatedResponse) => void): grpc.ClientUnaryCall;
|
||||
public outdated(request: cc_arduino_cli_commands_v1_commands_pb.OutdatedRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.OutdatedResponse) => void): grpc.ClientUnaryCall;
|
||||
public upgrade(request: cc_arduino_cli_commands_v1_commands_pb.UpgradeRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpgradeResponse>;
|
||||
public upgrade(request: cc_arduino_cli_commands_v1_commands_pb.UpgradeRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_commands_pb.UpgradeResponse>;
|
||||
public version(request: cc_arduino_cli_commands_v1_commands_pb.VersionRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.VersionResponse) => void): grpc.ClientUnaryCall;
|
||||
public version(request: cc_arduino_cli_commands_v1_commands_pb.VersionRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.VersionResponse) => void): grpc.ClientUnaryCall;
|
||||
public version(request: cc_arduino_cli_commands_v1_commands_pb.VersionRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.VersionResponse) => void): grpc.ClientUnaryCall;
|
||||
public loadSketch(request: cc_arduino_cli_commands_v1_commands_pb.LoadSketchRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.LoadSketchResponse) => void): grpc.ClientUnaryCall;
|
||||
public loadSketch(request: cc_arduino_cli_commands_v1_commands_pb.LoadSketchRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.LoadSketchResponse) => void): grpc.ClientUnaryCall;
|
||||
public loadSketch(request: cc_arduino_cli_commands_v1_commands_pb.LoadSketchRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.LoadSketchResponse) => void): grpc.ClientUnaryCall;
|
||||
public archiveSketch(request: cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchResponse) => void): grpc.ClientUnaryCall;
|
||||
public archiveSketch(request: cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchResponse) => void): grpc.ClientUnaryCall;
|
||||
public archiveSketch(request: cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_commands_pb.ArchiveSketchResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardDetails(request: cc_arduino_cli_commands_v1_board_pb.BoardDetailsRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardDetailsResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardDetails(request: cc_arduino_cli_commands_v1_board_pb.BoardDetailsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardDetailsResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardDetails(request: cc_arduino_cli_commands_v1_board_pb.BoardDetailsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardDetailsResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardAttach(request: cc_arduino_cli_commands_v1_board_pb.BoardAttachRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_board_pb.BoardAttachResponse>;
|
||||
public boardAttach(request: cc_arduino_cli_commands_v1_board_pb.BoardAttachRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_board_pb.BoardAttachResponse>;
|
||||
public boardList(request: cc_arduino_cli_commands_v1_board_pb.BoardListRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardListResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardList(request: cc_arduino_cli_commands_v1_board_pb.BoardListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardListResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardList(request: cc_arduino_cli_commands_v1_board_pb.BoardListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardListResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardListAll(request: cc_arduino_cli_commands_v1_board_pb.BoardListAllRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardListAllResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardListAll(request: cc_arduino_cli_commands_v1_board_pb.BoardListAllRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardListAllResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardListAll(request: cc_arduino_cli_commands_v1_board_pb.BoardListAllRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardListAllResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardSearch(request: cc_arduino_cli_commands_v1_board_pb.BoardSearchRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardSearchResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardSearch(request: cc_arduino_cli_commands_v1_board_pb.BoardSearchRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardSearchResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardSearch(request: cc_arduino_cli_commands_v1_board_pb.BoardSearchRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_board_pb.BoardSearchResponse) => void): grpc.ClientUnaryCall;
|
||||
public boardListWatch(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<cc_arduino_cli_commands_v1_board_pb.BoardListWatchRequest, cc_arduino_cli_commands_v1_board_pb.BoardListWatchResponse>;
|
||||
public boardListWatch(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<cc_arduino_cli_commands_v1_board_pb.BoardListWatchRequest, cc_arduino_cli_commands_v1_board_pb.BoardListWatchResponse>;
|
||||
public compile(request: cc_arduino_cli_commands_v1_compile_pb.CompileRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_compile_pb.CompileResponse>;
|
||||
public compile(request: cc_arduino_cli_commands_v1_compile_pb.CompileRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_compile_pb.CompileResponse>;
|
||||
public platformInstall(request: cc_arduino_cli_commands_v1_core_pb.PlatformInstallRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformInstallResponse>;
|
||||
public platformInstall(request: cc_arduino_cli_commands_v1_core_pb.PlatformInstallRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformInstallResponse>;
|
||||
public platformDownload(request: cc_arduino_cli_commands_v1_core_pb.PlatformDownloadRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformDownloadResponse>;
|
||||
public platformDownload(request: cc_arduino_cli_commands_v1_core_pb.PlatformDownloadRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformDownloadResponse>;
|
||||
public platformUninstall(request: cc_arduino_cli_commands_v1_core_pb.PlatformUninstallRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformUninstallResponse>;
|
||||
public platformUninstall(request: cc_arduino_cli_commands_v1_core_pb.PlatformUninstallRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformUninstallResponse>;
|
||||
public platformUpgrade(request: cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeResponse>;
|
||||
public platformUpgrade(request: cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_core_pb.PlatformUpgradeResponse>;
|
||||
public upload(request: cc_arduino_cli_commands_v1_upload_pb.UploadRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_upload_pb.UploadResponse>;
|
||||
public upload(request: cc_arduino_cli_commands_v1_upload_pb.UploadRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_upload_pb.UploadResponse>;
|
||||
public uploadUsingProgrammer(request: cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerResponse>;
|
||||
public uploadUsingProgrammer(request: cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_upload_pb.UploadUsingProgrammerResponse>;
|
||||
public listProgrammersAvailableForUpload(request: cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadResponse) => void): grpc.ClientUnaryCall;
|
||||
public listProgrammersAvailableForUpload(request: cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadResponse) => void): grpc.ClientUnaryCall;
|
||||
public listProgrammersAvailableForUpload(request: cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_upload_pb.ListProgrammersAvailableForUploadResponse) => void): grpc.ClientUnaryCall;
|
||||
public burnBootloader(request: cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderResponse>;
|
||||
public burnBootloader(request: cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_upload_pb.BurnBootloaderResponse>;
|
||||
public platformSearch(request: cc_arduino_cli_commands_v1_core_pb.PlatformSearchRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_core_pb.PlatformSearchResponse) => void): grpc.ClientUnaryCall;
|
||||
public platformSearch(request: cc_arduino_cli_commands_v1_core_pb.PlatformSearchRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_core_pb.PlatformSearchResponse) => void): grpc.ClientUnaryCall;
|
||||
public platformSearch(request: cc_arduino_cli_commands_v1_core_pb.PlatformSearchRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_core_pb.PlatformSearchResponse) => void): grpc.ClientUnaryCall;
|
||||
public platformList(request: cc_arduino_cli_commands_v1_core_pb.PlatformListRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_core_pb.PlatformListResponse) => void): grpc.ClientUnaryCall;
|
||||
public platformList(request: cc_arduino_cli_commands_v1_core_pb.PlatformListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_core_pb.PlatformListResponse) => void): grpc.ClientUnaryCall;
|
||||
public platformList(request: cc_arduino_cli_commands_v1_core_pb.PlatformListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_core_pb.PlatformListResponse) => void): grpc.ClientUnaryCall;
|
||||
public libraryDownload(request: cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadResponse>;
|
||||
public libraryDownload(request: cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryDownloadResponse>;
|
||||
public libraryInstall(request: cc_arduino_cli_commands_v1_lib_pb.LibraryInstallRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryInstallResponse>;
|
||||
public libraryInstall(request: cc_arduino_cli_commands_v1_lib_pb.LibraryInstallRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryInstallResponse>;
|
||||
public zipLibraryInstall(request: cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallResponse>;
|
||||
public zipLibraryInstall(request: cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.ZipLibraryInstallResponse>;
|
||||
public gitLibraryInstall(request: cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallResponse>;
|
||||
public gitLibraryInstall(request: cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.GitLibraryInstallResponse>;
|
||||
public libraryUninstall(request: cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallResponse>;
|
||||
public libraryUninstall(request: cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryUninstallResponse>;
|
||||
public libraryUpgradeAll(request: cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllResponse>;
|
||||
public libraryUpgradeAll(request: cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<cc_arduino_cli_commands_v1_lib_pb.LibraryUpgradeAllResponse>;
|
||||
public libraryResolveDependencies(request: cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesResponse) => void): grpc.ClientUnaryCall;
|
||||
public libraryResolveDependencies(request: cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesResponse) => void): grpc.ClientUnaryCall;
|
||||
public libraryResolveDependencies(request: cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibraryResolveDependenciesResponse) => void): grpc.ClientUnaryCall;
|
||||
public librarySearch(request: cc_arduino_cli_commands_v1_lib_pb.LibrarySearchRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibrarySearchResponse) => void): grpc.ClientUnaryCall;
|
||||
public librarySearch(request: cc_arduino_cli_commands_v1_lib_pb.LibrarySearchRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibrarySearchResponse) => void): grpc.ClientUnaryCall;
|
||||
public librarySearch(request: cc_arduino_cli_commands_v1_lib_pb.LibrarySearchRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibrarySearchResponse) => void): grpc.ClientUnaryCall;
|
||||
public libraryList(request: cc_arduino_cli_commands_v1_lib_pb.LibraryListRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibraryListResponse) => void): grpc.ClientUnaryCall;
|
||||
public libraryList(request: cc_arduino_cli_commands_v1_lib_pb.LibraryListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibraryListResponse) => void): grpc.ClientUnaryCall;
|
||||
public libraryList(request: cc_arduino_cli_commands_v1_lib_pb.LibraryListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_commands_v1_lib_pb.LibraryListResponse) => void): grpc.ClientUnaryCall;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
585
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/commands/v1/commands_pb.d.ts
vendored
Normal file
585
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/commands/v1/commands_pb.d.ts
vendored
Normal file
@ -0,0 +1,585 @@
|
||||
// package: cc.arduino.cli.commands.v1
|
||||
// file: cc/arduino/cli/commands/v1/commands.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as cc_arduino_cli_commands_v1_common_pb from "../../../../../cc/arduino/cli/commands/v1/common_pb";
|
||||
import * as cc_arduino_cli_commands_v1_board_pb from "../../../../../cc/arduino/cli/commands/v1/board_pb";
|
||||
import * as cc_arduino_cli_commands_v1_compile_pb from "../../../../../cc/arduino/cli/commands/v1/compile_pb";
|
||||
import * as cc_arduino_cli_commands_v1_core_pb from "../../../../../cc/arduino/cli/commands/v1/core_pb";
|
||||
import * as cc_arduino_cli_commands_v1_upload_pb from "../../../../../cc/arduino/cli/commands/v1/upload_pb";
|
||||
import * as cc_arduino_cli_commands_v1_lib_pb from "../../../../../cc/arduino/cli/commands/v1/lib_pb";
|
||||
|
||||
export class InitRequest extends jspb.Message {
|
||||
getLibraryManagerOnly(): boolean;
|
||||
setLibraryManagerOnly(value: boolean): InitRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): InitRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: InitRequest): InitRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: InitRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): InitRequest;
|
||||
static deserializeBinaryFromReader(message: InitRequest, reader: jspb.BinaryReader): InitRequest;
|
||||
}
|
||||
|
||||
export namespace InitRequest {
|
||||
export type AsObject = {
|
||||
libraryManagerOnly: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class InitResponse extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): InitResponse;
|
||||
|
||||
clearPlatformsIndexErrorsList(): void;
|
||||
getPlatformsIndexErrorsList(): Array<string>;
|
||||
setPlatformsIndexErrorsList(value: Array<string>): InitResponse;
|
||||
addPlatformsIndexErrors(value: string, index?: number): string;
|
||||
|
||||
getLibrariesIndexError(): string;
|
||||
setLibrariesIndexError(value: string): InitResponse;
|
||||
|
||||
|
||||
hasDownloadProgress(): boolean;
|
||||
clearDownloadProgress(): void;
|
||||
getDownloadProgress(): cc_arduino_cli_commands_v1_common_pb.DownloadProgress | undefined;
|
||||
setDownloadProgress(value?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress): InitResponse;
|
||||
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): cc_arduino_cli_commands_v1_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): InitResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): InitResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: InitResponse): InitResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: InitResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): InitResponse;
|
||||
static deserializeBinaryFromReader(message: InitResponse, reader: jspb.BinaryReader): InitResponse;
|
||||
}
|
||||
|
||||
export namespace InitResponse {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
platformsIndexErrorsList: Array<string>,
|
||||
librariesIndexError: string,
|
||||
downloadProgress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
|
||||
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class DestroyRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): DestroyRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DestroyRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DestroyRequest): DestroyRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DestroyRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DestroyRequest;
|
||||
static deserializeBinaryFromReader(message: DestroyRequest, reader: jspb.BinaryReader): DestroyRequest;
|
||||
}
|
||||
|
||||
export namespace DestroyRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class DestroyResponse extends jspb.Message {
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DestroyResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DestroyResponse): DestroyResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DestroyResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DestroyResponse;
|
||||
static deserializeBinaryFromReader(message: DestroyResponse, reader: jspb.BinaryReader): DestroyResponse;
|
||||
}
|
||||
|
||||
export namespace DestroyResponse {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
||||
|
||||
export class RescanRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): RescanRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RescanRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RescanRequest): RescanRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RescanRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RescanRequest;
|
||||
static deserializeBinaryFromReader(message: RescanRequest, reader: jspb.BinaryReader): RescanRequest;
|
||||
}
|
||||
|
||||
export namespace RescanRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class RescanResponse extends jspb.Message {
|
||||
clearPlatformsIndexErrorsList(): void;
|
||||
getPlatformsIndexErrorsList(): Array<string>;
|
||||
setPlatformsIndexErrorsList(value: Array<string>): RescanResponse;
|
||||
addPlatformsIndexErrors(value: string, index?: number): string;
|
||||
|
||||
getLibrariesIndexError(): string;
|
||||
setLibrariesIndexError(value: string): RescanResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RescanResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RescanResponse): RescanResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RescanResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RescanResponse;
|
||||
static deserializeBinaryFromReader(message: RescanResponse, reader: jspb.BinaryReader): RescanResponse;
|
||||
}
|
||||
|
||||
export namespace RescanResponse {
|
||||
export type AsObject = {
|
||||
platformsIndexErrorsList: Array<string>,
|
||||
librariesIndexError: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateIndexRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): UpdateIndexRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateIndexRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateIndexRequest): UpdateIndexRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateIndexRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateIndexRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateIndexRequest, reader: jspb.BinaryReader): UpdateIndexRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateIndexRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateIndexResponse extends jspb.Message {
|
||||
|
||||
hasDownloadProgress(): boolean;
|
||||
clearDownloadProgress(): void;
|
||||
getDownloadProgress(): cc_arduino_cli_commands_v1_common_pb.DownloadProgress | undefined;
|
||||
setDownloadProgress(value?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress): UpdateIndexResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateIndexResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateIndexResponse): UpdateIndexResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateIndexResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateIndexResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateIndexResponse, reader: jspb.BinaryReader): UpdateIndexResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateIndexResponse {
|
||||
export type AsObject = {
|
||||
downloadProgress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateLibrariesIndexRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): UpdateLibrariesIndexRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateLibrariesIndexRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateLibrariesIndexRequest): UpdateLibrariesIndexRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateLibrariesIndexRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateLibrariesIndexRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateLibrariesIndexRequest, reader: jspb.BinaryReader): UpdateLibrariesIndexRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateLibrariesIndexRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateLibrariesIndexResponse extends jspb.Message {
|
||||
|
||||
hasDownloadProgress(): boolean;
|
||||
clearDownloadProgress(): void;
|
||||
getDownloadProgress(): cc_arduino_cli_commands_v1_common_pb.DownloadProgress | undefined;
|
||||
setDownloadProgress(value?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress): UpdateLibrariesIndexResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateLibrariesIndexResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateLibrariesIndexResponse): UpdateLibrariesIndexResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateLibrariesIndexResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateLibrariesIndexResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateLibrariesIndexResponse, reader: jspb.BinaryReader): UpdateLibrariesIndexResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateLibrariesIndexResponse {
|
||||
export type AsObject = {
|
||||
downloadProgress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateCoreLibrariesIndexRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): UpdateCoreLibrariesIndexRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateCoreLibrariesIndexRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateCoreLibrariesIndexRequest): UpdateCoreLibrariesIndexRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateCoreLibrariesIndexRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateCoreLibrariesIndexRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateCoreLibrariesIndexRequest, reader: jspb.BinaryReader): UpdateCoreLibrariesIndexRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateCoreLibrariesIndexRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateCoreLibrariesIndexResponse extends jspb.Message {
|
||||
|
||||
hasDownloadProgress(): boolean;
|
||||
clearDownloadProgress(): void;
|
||||
getDownloadProgress(): cc_arduino_cli_commands_v1_common_pb.DownloadProgress | undefined;
|
||||
setDownloadProgress(value?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress): UpdateCoreLibrariesIndexResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateCoreLibrariesIndexResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateCoreLibrariesIndexResponse): UpdateCoreLibrariesIndexResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateCoreLibrariesIndexResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateCoreLibrariesIndexResponse;
|
||||
static deserializeBinaryFromReader(message: UpdateCoreLibrariesIndexResponse, reader: jspb.BinaryReader): UpdateCoreLibrariesIndexResponse;
|
||||
}
|
||||
|
||||
export namespace UpdateCoreLibrariesIndexResponse {
|
||||
export type AsObject = {
|
||||
downloadProgress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class OutdatedRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): OutdatedRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OutdatedRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OutdatedRequest): OutdatedRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: OutdatedRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OutdatedRequest;
|
||||
static deserializeBinaryFromReader(message: OutdatedRequest, reader: jspb.BinaryReader): OutdatedRequest;
|
||||
}
|
||||
|
||||
export namespace OutdatedRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class OutdatedResponse extends jspb.Message {
|
||||
clearOutdatedLibrariesList(): void;
|
||||
getOutdatedLibrariesList(): Array<cc_arduino_cli_commands_v1_lib_pb.InstalledLibrary>;
|
||||
setOutdatedLibrariesList(value: Array<cc_arduino_cli_commands_v1_lib_pb.InstalledLibrary>): OutdatedResponse;
|
||||
addOutdatedLibraries(value?: cc_arduino_cli_commands_v1_lib_pb.InstalledLibrary, index?: number): cc_arduino_cli_commands_v1_lib_pb.InstalledLibrary;
|
||||
|
||||
clearOutdatedPlatformsList(): void;
|
||||
getOutdatedPlatformsList(): Array<cc_arduino_cli_commands_v1_common_pb.Platform>;
|
||||
setOutdatedPlatformsList(value: Array<cc_arduino_cli_commands_v1_common_pb.Platform>): OutdatedResponse;
|
||||
addOutdatedPlatforms(value?: cc_arduino_cli_commands_v1_common_pb.Platform, index?: number): cc_arduino_cli_commands_v1_common_pb.Platform;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OutdatedResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OutdatedResponse): OutdatedResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: OutdatedResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OutdatedResponse;
|
||||
static deserializeBinaryFromReader(message: OutdatedResponse, reader: jspb.BinaryReader): OutdatedResponse;
|
||||
}
|
||||
|
||||
export namespace OutdatedResponse {
|
||||
export type AsObject = {
|
||||
outdatedLibrariesList: Array<cc_arduino_cli_commands_v1_lib_pb.InstalledLibrary.AsObject>,
|
||||
outdatedPlatformsList: Array<cc_arduino_cli_commands_v1_common_pb.Platform.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpgradeRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): UpgradeRequest;
|
||||
|
||||
getSkipPostInstall(): boolean;
|
||||
setSkipPostInstall(value: boolean): UpgradeRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpgradeRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpgradeRequest): UpgradeRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpgradeRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpgradeRequest;
|
||||
static deserializeBinaryFromReader(message: UpgradeRequest, reader: jspb.BinaryReader): UpgradeRequest;
|
||||
}
|
||||
|
||||
export namespace UpgradeRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
skipPostInstall: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpgradeResponse extends jspb.Message {
|
||||
|
||||
hasProgress(): boolean;
|
||||
clearProgress(): void;
|
||||
getProgress(): cc_arduino_cli_commands_v1_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress): UpgradeResponse;
|
||||
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): cc_arduino_cli_commands_v1_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): UpgradeResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpgradeResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpgradeResponse): UpgradeResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpgradeResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpgradeResponse;
|
||||
static deserializeBinaryFromReader(message: UpgradeResponse, reader: jspb.BinaryReader): UpgradeResponse;
|
||||
}
|
||||
|
||||
export namespace UpgradeResponse {
|
||||
export type AsObject = {
|
||||
progress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
|
||||
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class VersionRequest extends jspb.Message {
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): VersionRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: VersionRequest): VersionRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: VersionRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): VersionRequest;
|
||||
static deserializeBinaryFromReader(message: VersionRequest, reader: jspb.BinaryReader): VersionRequest;
|
||||
}
|
||||
|
||||
export namespace VersionRequest {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
||||
|
||||
export class VersionResponse extends jspb.Message {
|
||||
getVersion(): string;
|
||||
setVersion(value: string): VersionResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): VersionResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: VersionResponse): VersionResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: VersionResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): VersionResponse;
|
||||
static deserializeBinaryFromReader(message: VersionResponse, reader: jspb.BinaryReader): VersionResponse;
|
||||
}
|
||||
|
||||
export namespace VersionResponse {
|
||||
export type AsObject = {
|
||||
version: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class LoadSketchRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): LoadSketchRequest;
|
||||
|
||||
getSketchPath(): string;
|
||||
setSketchPath(value: string): LoadSketchRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LoadSketchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LoadSketchRequest): LoadSketchRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LoadSketchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LoadSketchRequest;
|
||||
static deserializeBinaryFromReader(message: LoadSketchRequest, reader: jspb.BinaryReader): LoadSketchRequest;
|
||||
}
|
||||
|
||||
export namespace LoadSketchRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
sketchPath: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class LoadSketchResponse extends jspb.Message {
|
||||
getMainFile(): string;
|
||||
setMainFile(value: string): LoadSketchResponse;
|
||||
|
||||
getLocationPath(): string;
|
||||
setLocationPath(value: string): LoadSketchResponse;
|
||||
|
||||
clearOtherSketchFilesList(): void;
|
||||
getOtherSketchFilesList(): Array<string>;
|
||||
setOtherSketchFilesList(value: Array<string>): LoadSketchResponse;
|
||||
addOtherSketchFiles(value: string, index?: number): string;
|
||||
|
||||
clearAdditionalFilesList(): void;
|
||||
getAdditionalFilesList(): Array<string>;
|
||||
setAdditionalFilesList(value: Array<string>): LoadSketchResponse;
|
||||
addAdditionalFiles(value: string, index?: number): string;
|
||||
|
||||
clearRootFolderFilesList(): void;
|
||||
getRootFolderFilesList(): Array<string>;
|
||||
setRootFolderFilesList(value: Array<string>): LoadSketchResponse;
|
||||
addRootFolderFiles(value: string, index?: number): string;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LoadSketchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LoadSketchResponse): LoadSketchResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LoadSketchResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LoadSketchResponse;
|
||||
static deserializeBinaryFromReader(message: LoadSketchResponse, reader: jspb.BinaryReader): LoadSketchResponse;
|
||||
}
|
||||
|
||||
export namespace LoadSketchResponse {
|
||||
export type AsObject = {
|
||||
mainFile: string,
|
||||
locationPath: string,
|
||||
otherSketchFilesList: Array<string>,
|
||||
additionalFilesList: Array<string>,
|
||||
rootFolderFilesList: Array<string>,
|
||||
}
|
||||
}
|
||||
|
||||
export class ArchiveSketchRequest extends jspb.Message {
|
||||
getSketchPath(): string;
|
||||
setSketchPath(value: string): ArchiveSketchRequest;
|
||||
|
||||
getArchivePath(): string;
|
||||
setArchivePath(value: string): ArchiveSketchRequest;
|
||||
|
||||
getIncludeBuildDir(): boolean;
|
||||
setIncludeBuildDir(value: boolean): ArchiveSketchRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ArchiveSketchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ArchiveSketchRequest): ArchiveSketchRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ArchiveSketchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ArchiveSketchRequest;
|
||||
static deserializeBinaryFromReader(message: ArchiveSketchRequest, reader: jspb.BinaryReader): ArchiveSketchRequest;
|
||||
}
|
||||
|
||||
export namespace ArchiveSketchRequest {
|
||||
export type AsObject = {
|
||||
sketchPath: string,
|
||||
archivePath: string,
|
||||
includeBuildDir: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class ArchiveSketchResponse extends jspb.Message {
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ArchiveSketchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ArchiveSketchResponse): ArchiveSketchResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ArchiveSketchResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ArchiveSketchResponse;
|
||||
static deserializeBinaryFromReader(message: ArchiveSketchResponse, reader: jspb.BinaryReader): ArchiveSketchResponse;
|
||||
}
|
||||
|
||||
export namespace ArchiveSketchResponse {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
// package: cc.arduino.cli.commands
|
||||
// file: commands/common.proto
|
||||
// package: cc.arduino.cli.commands.v1
|
||||
// file: cc/arduino/cli/commands/v1/common.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
@ -149,8 +149,8 @@ export class Platform extends jspb.Message {
|
||||
setBoardsList(value: Array<Board>): Platform;
|
||||
addBoards(value?: Board, index?: number): Board;
|
||||
|
||||
getManuallyinstalled(): boolean;
|
||||
setManuallyinstalled(value: boolean): Platform;
|
||||
getManuallyInstalled(): boolean;
|
||||
setManuallyInstalled(value: boolean): Platform;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
@ -173,7 +173,7 @@ export namespace Platform {
|
||||
website: string,
|
||||
email: string,
|
||||
boardsList: Array<Board.AsObject>,
|
||||
manuallyinstalled: boolean,
|
||||
manuallyInstalled: boolean,
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,75 +1,75 @@
|
||||
// package: cc.arduino.cli.commands
|
||||
// file: commands/compile.proto
|
||||
// package: cc.arduino.cli.commands.v1
|
||||
// file: cc/arduino/cli/commands/v1/compile.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
|
||||
import * as commands_common_pb from "../commands/common_pb";
|
||||
import * as commands_lib_pb from "../commands/lib_pb";
|
||||
import * as cc_arduino_cli_commands_v1_common_pb from "../../../../../cc/arduino/cli/commands/v1/common_pb";
|
||||
import * as cc_arduino_cli_commands_v1_lib_pb from "../../../../../cc/arduino/cli/commands/v1/lib_pb";
|
||||
|
||||
export class CompileReq extends jspb.Message {
|
||||
export class CompileRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): CompileReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): CompileRequest;
|
||||
|
||||
getFqbn(): string;
|
||||
setFqbn(value: string): CompileReq;
|
||||
setFqbn(value: string): CompileRequest;
|
||||
|
||||
getSketchpath(): string;
|
||||
setSketchpath(value: string): CompileReq;
|
||||
getSketchPath(): string;
|
||||
setSketchPath(value: string): CompileRequest;
|
||||
|
||||
getShowproperties(): boolean;
|
||||
setShowproperties(value: boolean): CompileReq;
|
||||
getShowProperties(): boolean;
|
||||
setShowProperties(value: boolean): CompileRequest;
|
||||
|
||||
getPreprocess(): boolean;
|
||||
setPreprocess(value: boolean): CompileReq;
|
||||
setPreprocess(value: boolean): CompileRequest;
|
||||
|
||||
getBuildcachepath(): string;
|
||||
setBuildcachepath(value: string): CompileReq;
|
||||
getBuildCachePath(): string;
|
||||
setBuildCachePath(value: string): CompileRequest;
|
||||
|
||||
getBuildpath(): string;
|
||||
setBuildpath(value: string): CompileReq;
|
||||
getBuildPath(): string;
|
||||
setBuildPath(value: string): CompileRequest;
|
||||
|
||||
clearBuildpropertiesList(): void;
|
||||
getBuildpropertiesList(): Array<string>;
|
||||
setBuildpropertiesList(value: Array<string>): CompileReq;
|
||||
addBuildproperties(value: string, index?: number): string;
|
||||
clearBuildPropertiesList(): void;
|
||||
getBuildPropertiesList(): Array<string>;
|
||||
setBuildPropertiesList(value: Array<string>): CompileRequest;
|
||||
addBuildProperties(value: string, index?: number): string;
|
||||
|
||||
getWarnings(): string;
|
||||
setWarnings(value: string): CompileReq;
|
||||
setWarnings(value: string): CompileRequest;
|
||||
|
||||
getVerbose(): boolean;
|
||||
setVerbose(value: boolean): CompileReq;
|
||||
setVerbose(value: boolean): CompileRequest;
|
||||
|
||||
getQuiet(): boolean;
|
||||
setQuiet(value: boolean): CompileReq;
|
||||
setQuiet(value: boolean): CompileRequest;
|
||||
|
||||
getVidpid(): string;
|
||||
setVidpid(value: string): CompileReq;
|
||||
getVidPid(): string;
|
||||
setVidPid(value: string): CompileRequest;
|
||||
|
||||
getJobs(): number;
|
||||
setJobs(value: number): CompileReq;
|
||||
setJobs(value: number): CompileRequest;
|
||||
|
||||
clearLibrariesList(): void;
|
||||
getLibrariesList(): Array<string>;
|
||||
setLibrariesList(value: Array<string>): CompileReq;
|
||||
setLibrariesList(value: Array<string>): CompileRequest;
|
||||
addLibraries(value: string, index?: number): string;
|
||||
|
||||
getOptimizefordebug(): boolean;
|
||||
setOptimizefordebug(value: boolean): CompileReq;
|
||||
getOptimizeForDebug(): boolean;
|
||||
setOptimizeForDebug(value: boolean): CompileRequest;
|
||||
|
||||
getExportDir(): string;
|
||||
setExportDir(value: string): CompileReq;
|
||||
setExportDir(value: string): CompileRequest;
|
||||
|
||||
getClean(): boolean;
|
||||
setClean(value: boolean): CompileReq;
|
||||
setClean(value: boolean): CompileRequest;
|
||||
|
||||
getCreateCompilationDatabaseOnly(): boolean;
|
||||
setCreateCompilationDatabaseOnly(value: boolean): CompileReq;
|
||||
setCreateCompilationDatabaseOnly(value: boolean): CompileRequest;
|
||||
|
||||
|
||||
getSourceOverrideMap(): jspb.Map<string, string>;
|
||||
@ -79,36 +79,36 @@ export class CompileReq extends jspb.Message {
|
||||
hasExportBinaries(): boolean;
|
||||
clearExportBinaries(): void;
|
||||
getExportBinaries(): google_protobuf_wrappers_pb.BoolValue | undefined;
|
||||
setExportBinaries(value?: google_protobuf_wrappers_pb.BoolValue): CompileReq;
|
||||
setExportBinaries(value?: google_protobuf_wrappers_pb.BoolValue): CompileRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CompileReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CompileReq): CompileReq.AsObject;
|
||||
toObject(includeInstance?: boolean): CompileRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CompileRequest): CompileRequest.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;
|
||||
static serializeBinaryToWriter(message: CompileRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CompileRequest;
|
||||
static deserializeBinaryFromReader(message: CompileRequest, reader: jspb.BinaryReader): CompileRequest;
|
||||
}
|
||||
|
||||
export namespace CompileReq {
|
||||
export namespace CompileRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
fqbn: string,
|
||||
sketchpath: string,
|
||||
showproperties: boolean,
|
||||
sketchPath: string,
|
||||
showProperties: boolean,
|
||||
preprocess: boolean,
|
||||
buildcachepath: string,
|
||||
buildpath: string,
|
||||
buildpropertiesList: Array<string>,
|
||||
buildCachePath: string,
|
||||
buildPath: string,
|
||||
buildPropertiesList: Array<string>,
|
||||
warnings: string,
|
||||
verbose: boolean,
|
||||
quiet: boolean,
|
||||
vidpid: string,
|
||||
vidPid: string,
|
||||
jobs: number,
|
||||
librariesList: Array<string>,
|
||||
optimizefordebug: boolean,
|
||||
optimizeForDebug: boolean,
|
||||
exportDir: string,
|
||||
clean: boolean,
|
||||
createCompilationDatabaseOnly: boolean,
|
||||
@ -118,47 +118,47 @@ export namespace CompileReq {
|
||||
}
|
||||
}
|
||||
|
||||
export class CompileResp extends jspb.Message {
|
||||
export class CompileResponse extends jspb.Message {
|
||||
getOutStream(): Uint8Array | string;
|
||||
getOutStream_asU8(): Uint8Array;
|
||||
getOutStream_asB64(): string;
|
||||
setOutStream(value: Uint8Array | string): CompileResp;
|
||||
setOutStream(value: Uint8Array | string): CompileResponse;
|
||||
|
||||
getErrStream(): Uint8Array | string;
|
||||
getErrStream_asU8(): Uint8Array;
|
||||
getErrStream_asB64(): string;
|
||||
setErrStream(value: Uint8Array | string): CompileResp;
|
||||
setErrStream(value: Uint8Array | string): CompileResponse;
|
||||
|
||||
getBuildPath(): string;
|
||||
setBuildPath(value: string): CompileResp;
|
||||
setBuildPath(value: string): CompileResponse;
|
||||
|
||||
clearUsedLibrariesList(): void;
|
||||
getUsedLibrariesList(): Array<commands_lib_pb.Library>;
|
||||
setUsedLibrariesList(value: Array<commands_lib_pb.Library>): CompileResp;
|
||||
addUsedLibraries(value?: commands_lib_pb.Library, index?: number): commands_lib_pb.Library;
|
||||
getUsedLibrariesList(): Array<cc_arduino_cli_commands_v1_lib_pb.Library>;
|
||||
setUsedLibrariesList(value: Array<cc_arduino_cli_commands_v1_lib_pb.Library>): CompileResponse;
|
||||
addUsedLibraries(value?: cc_arduino_cli_commands_v1_lib_pb.Library, index?: number): cc_arduino_cli_commands_v1_lib_pb.Library;
|
||||
|
||||
clearExecutableSectionsSizeList(): void;
|
||||
getExecutableSectionsSizeList(): Array<ExecutableSectionSize>;
|
||||
setExecutableSectionsSizeList(value: Array<ExecutableSectionSize>): CompileResp;
|
||||
setExecutableSectionsSizeList(value: Array<ExecutableSectionSize>): CompileResponse;
|
||||
addExecutableSectionsSize(value?: ExecutableSectionSize, index?: number): ExecutableSectionSize;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CompileResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CompileResp): CompileResp.AsObject;
|
||||
toObject(includeInstance?: boolean): CompileResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CompileResponse): CompileResponse.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;
|
||||
static serializeBinaryToWriter(message: CompileResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CompileResponse;
|
||||
static deserializeBinaryFromReader(message: CompileResponse, reader: jspb.BinaryReader): CompileResponse;
|
||||
}
|
||||
|
||||
export namespace CompileResp {
|
||||
export namespace CompileResponse {
|
||||
export type AsObject = {
|
||||
outStream: Uint8Array | string,
|
||||
errStream: Uint8Array | string,
|
||||
buildPath: string,
|
||||
usedLibrariesList: Array<commands_lib_pb.Library.AsObject>,
|
||||
usedLibrariesList: Array<cc_arduino_cli_commands_v1_lib_pb.Library.AsObject>,
|
||||
executableSectionsSizeList: Array<ExecutableSectionSize.AsObject>,
|
||||
}
|
||||
}
|
||||
@ -170,8 +170,8 @@ export class ExecutableSectionSize extends jspb.Message {
|
||||
getSize(): number;
|
||||
setSize(value: number): ExecutableSectionSize;
|
||||
|
||||
getMaxsize(): number;
|
||||
setMaxsize(value: number): ExecutableSectionSize;
|
||||
getMaxSize(): number;
|
||||
setMaxSize(value: number): ExecutableSectionSize;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
@ -188,6 +188,6 @@ export namespace ExecutableSectionSize {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
size: number,
|
||||
maxsize: number,
|
||||
maxSize: number,
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
372
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/commands/v1/core_pb.d.ts
vendored
Normal file
372
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/commands/v1/core_pb.d.ts
vendored
Normal file
@ -0,0 +1,372 @@
|
||||
// package: cc.arduino.cli.commands.v1
|
||||
// file: cc/arduino/cli/commands/v1/core.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as cc_arduino_cli_commands_v1_common_pb from "../../../../../cc/arduino/cli/commands/v1/common_pb";
|
||||
|
||||
export class PlatformInstallRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): PlatformInstallRequest;
|
||||
|
||||
getPlatformPackage(): string;
|
||||
setPlatformPackage(value: string): PlatformInstallRequest;
|
||||
|
||||
getArchitecture(): string;
|
||||
setArchitecture(value: string): PlatformInstallRequest;
|
||||
|
||||
getVersion(): string;
|
||||
setVersion(value: string): PlatformInstallRequest;
|
||||
|
||||
getSkipPostInstall(): boolean;
|
||||
setSkipPostInstall(value: boolean): PlatformInstallRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformInstallRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformInstallRequest): PlatformInstallRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformInstallRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformInstallRequest;
|
||||
static deserializeBinaryFromReader(message: PlatformInstallRequest, reader: jspb.BinaryReader): PlatformInstallRequest;
|
||||
}
|
||||
|
||||
export namespace PlatformInstallRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
platformPackage: string,
|
||||
architecture: string,
|
||||
version: string,
|
||||
skipPostInstall: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformInstallResponse extends jspb.Message {
|
||||
|
||||
hasProgress(): boolean;
|
||||
clearProgress(): void;
|
||||
getProgress(): cc_arduino_cli_commands_v1_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress): PlatformInstallResponse;
|
||||
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): cc_arduino_cli_commands_v1_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): PlatformInstallResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformInstallResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformInstallResponse): PlatformInstallResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformInstallResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformInstallResponse;
|
||||
static deserializeBinaryFromReader(message: PlatformInstallResponse, reader: jspb.BinaryReader): PlatformInstallResponse;
|
||||
}
|
||||
|
||||
export namespace PlatformInstallResponse {
|
||||
export type AsObject = {
|
||||
progress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
|
||||
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformDownloadRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): PlatformDownloadRequest;
|
||||
|
||||
getPlatformPackage(): string;
|
||||
setPlatformPackage(value: string): PlatformDownloadRequest;
|
||||
|
||||
getArchitecture(): string;
|
||||
setArchitecture(value: string): PlatformDownloadRequest;
|
||||
|
||||
getVersion(): string;
|
||||
setVersion(value: string): PlatformDownloadRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformDownloadRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformDownloadRequest): PlatformDownloadRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformDownloadRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformDownloadRequest;
|
||||
static deserializeBinaryFromReader(message: PlatformDownloadRequest, reader: jspb.BinaryReader): PlatformDownloadRequest;
|
||||
}
|
||||
|
||||
export namespace PlatformDownloadRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
platformPackage: string,
|
||||
architecture: string,
|
||||
version: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformDownloadResponse extends jspb.Message {
|
||||
|
||||
hasProgress(): boolean;
|
||||
clearProgress(): void;
|
||||
getProgress(): cc_arduino_cli_commands_v1_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress): PlatformDownloadResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformDownloadResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformDownloadResponse): PlatformDownloadResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformDownloadResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformDownloadResponse;
|
||||
static deserializeBinaryFromReader(message: PlatformDownloadResponse, reader: jspb.BinaryReader): PlatformDownloadResponse;
|
||||
}
|
||||
|
||||
export namespace PlatformDownloadResponse {
|
||||
export type AsObject = {
|
||||
progress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformUninstallRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): PlatformUninstallRequest;
|
||||
|
||||
getPlatformPackage(): string;
|
||||
setPlatformPackage(value: string): PlatformUninstallRequest;
|
||||
|
||||
getArchitecture(): string;
|
||||
setArchitecture(value: string): PlatformUninstallRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformUninstallRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformUninstallRequest): PlatformUninstallRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformUninstallRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformUninstallRequest;
|
||||
static deserializeBinaryFromReader(message: PlatformUninstallRequest, reader: jspb.BinaryReader): PlatformUninstallRequest;
|
||||
}
|
||||
|
||||
export namespace PlatformUninstallRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
platformPackage: string,
|
||||
architecture: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformUninstallResponse extends jspb.Message {
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): cc_arduino_cli_commands_v1_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): PlatformUninstallResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformUninstallResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformUninstallResponse): PlatformUninstallResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformUninstallResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformUninstallResponse;
|
||||
static deserializeBinaryFromReader(message: PlatformUninstallResponse, reader: jspb.BinaryReader): PlatformUninstallResponse;
|
||||
}
|
||||
|
||||
export namespace PlatformUninstallResponse {
|
||||
export type AsObject = {
|
||||
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformUpgradeRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): PlatformUpgradeRequest;
|
||||
|
||||
getPlatformPackage(): string;
|
||||
setPlatformPackage(value: string): PlatformUpgradeRequest;
|
||||
|
||||
getArchitecture(): string;
|
||||
setArchitecture(value: string): PlatformUpgradeRequest;
|
||||
|
||||
getSkipPostInstall(): boolean;
|
||||
setSkipPostInstall(value: boolean): PlatformUpgradeRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformUpgradeRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformUpgradeRequest): PlatformUpgradeRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformUpgradeRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformUpgradeRequest;
|
||||
static deserializeBinaryFromReader(message: PlatformUpgradeRequest, reader: jspb.BinaryReader): PlatformUpgradeRequest;
|
||||
}
|
||||
|
||||
export namespace PlatformUpgradeRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
platformPackage: string,
|
||||
architecture: string,
|
||||
skipPostInstall: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformUpgradeResponse extends jspb.Message {
|
||||
|
||||
hasProgress(): boolean;
|
||||
clearProgress(): void;
|
||||
getProgress(): cc_arduino_cli_commands_v1_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress): PlatformUpgradeResponse;
|
||||
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): cc_arduino_cli_commands_v1_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): PlatformUpgradeResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformUpgradeResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformUpgradeResponse): PlatformUpgradeResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformUpgradeResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformUpgradeResponse;
|
||||
static deserializeBinaryFromReader(message: PlatformUpgradeResponse, reader: jspb.BinaryReader): PlatformUpgradeResponse;
|
||||
}
|
||||
|
||||
export namespace PlatformUpgradeResponse {
|
||||
export type AsObject = {
|
||||
progress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
|
||||
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformSearchRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): PlatformSearchRequest;
|
||||
|
||||
getSearchArgs(): string;
|
||||
setSearchArgs(value: string): PlatformSearchRequest;
|
||||
|
||||
getAllVersions(): boolean;
|
||||
setAllVersions(value: boolean): PlatformSearchRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformSearchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformSearchRequest): PlatformSearchRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformSearchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformSearchRequest;
|
||||
static deserializeBinaryFromReader(message: PlatformSearchRequest, reader: jspb.BinaryReader): PlatformSearchRequest;
|
||||
}
|
||||
|
||||
export namespace PlatformSearchRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
searchArgs: string,
|
||||
allVersions: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformSearchResponse extends jspb.Message {
|
||||
clearSearchOutputList(): void;
|
||||
getSearchOutputList(): Array<cc_arduino_cli_commands_v1_common_pb.Platform>;
|
||||
setSearchOutputList(value: Array<cc_arduino_cli_commands_v1_common_pb.Platform>): PlatformSearchResponse;
|
||||
addSearchOutput(value?: cc_arduino_cli_commands_v1_common_pb.Platform, index?: number): cc_arduino_cli_commands_v1_common_pb.Platform;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformSearchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformSearchResponse): PlatformSearchResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformSearchResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformSearchResponse;
|
||||
static deserializeBinaryFromReader(message: PlatformSearchResponse, reader: jspb.BinaryReader): PlatformSearchResponse;
|
||||
}
|
||||
|
||||
export namespace PlatformSearchResponse {
|
||||
export type AsObject = {
|
||||
searchOutputList: Array<cc_arduino_cli_commands_v1_common_pb.Platform.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformListRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): PlatformListRequest;
|
||||
|
||||
getUpdatableOnly(): boolean;
|
||||
setUpdatableOnly(value: boolean): PlatformListRequest;
|
||||
|
||||
getAll(): boolean;
|
||||
setAll(value: boolean): PlatformListRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformListRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformListRequest): PlatformListRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformListRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformListRequest;
|
||||
static deserializeBinaryFromReader(message: PlatformListRequest, reader: jspb.BinaryReader): PlatformListRequest;
|
||||
}
|
||||
|
||||
export namespace PlatformListRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
updatableOnly: boolean,
|
||||
all: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformListResponse extends jspb.Message {
|
||||
clearInstalledPlatformsList(): void;
|
||||
getInstalledPlatformsList(): Array<cc_arduino_cli_commands_v1_common_pb.Platform>;
|
||||
setInstalledPlatformsList(value: Array<cc_arduino_cli_commands_v1_common_pb.Platform>): PlatformListResponse;
|
||||
addInstalledPlatforms(value?: cc_arduino_cli_commands_v1_common_pb.Platform, index?: number): cc_arduino_cli_commands_v1_common_pb.Platform;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformListResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformListResponse): PlatformListResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformListResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformListResponse;
|
||||
static deserializeBinaryFromReader(message: PlatformListResponse, reader: jspb.BinaryReader): PlatformListResponse;
|
||||
}
|
||||
|
||||
export namespace PlatformListResponse {
|
||||
export type AsObject = {
|
||||
installedPlatformsList: Array<cc_arduino_cli_commands_v1_common_pb.Platform.AsObject>,
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,296 +1,296 @@
|
||||
// package: cc.arduino.cli.commands
|
||||
// file: commands/lib.proto
|
||||
// package: cc.arduino.cli.commands.v1
|
||||
// file: cc/arduino/cli/commands/v1/lib.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as commands_common_pb from "../commands/common_pb";
|
||||
import * as cc_arduino_cli_commands_v1_common_pb from "../../../../../cc/arduino/cli/commands/v1/common_pb";
|
||||
|
||||
export class LibraryDownloadReq extends jspb.Message {
|
||||
export class LibraryDownloadRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): LibraryDownloadReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): LibraryDownloadRequest;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): LibraryDownloadReq;
|
||||
setName(value: string): LibraryDownloadRequest;
|
||||
|
||||
getVersion(): string;
|
||||
setVersion(value: string): LibraryDownloadReq;
|
||||
setVersion(value: string): LibraryDownloadRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibraryDownloadReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryDownloadReq): LibraryDownloadReq.AsObject;
|
||||
toObject(includeInstance?: boolean): LibraryDownloadRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryDownloadRequest): LibraryDownloadRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibraryDownloadReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryDownloadReq;
|
||||
static deserializeBinaryFromReader(message: LibraryDownloadReq, reader: jspb.BinaryReader): LibraryDownloadReq;
|
||||
static serializeBinaryToWriter(message: LibraryDownloadRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryDownloadRequest;
|
||||
static deserializeBinaryFromReader(message: LibraryDownloadRequest, reader: jspb.BinaryReader): LibraryDownloadRequest;
|
||||
}
|
||||
|
||||
export namespace LibraryDownloadReq {
|
||||
export namespace LibraryDownloadRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
name: string,
|
||||
version: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class LibraryDownloadResp extends jspb.Message {
|
||||
export class LibraryDownloadResponse extends jspb.Message {
|
||||
|
||||
hasProgress(): boolean;
|
||||
clearProgress(): void;
|
||||
getProgress(): commands_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: commands_common_pb.DownloadProgress): LibraryDownloadResp;
|
||||
getProgress(): cc_arduino_cli_commands_v1_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress): LibraryDownloadResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibraryDownloadResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryDownloadResp): LibraryDownloadResp.AsObject;
|
||||
toObject(includeInstance?: boolean): LibraryDownloadResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryDownloadResponse): LibraryDownloadResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibraryDownloadResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryDownloadResp;
|
||||
static deserializeBinaryFromReader(message: LibraryDownloadResp, reader: jspb.BinaryReader): LibraryDownloadResp;
|
||||
static serializeBinaryToWriter(message: LibraryDownloadResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryDownloadResponse;
|
||||
static deserializeBinaryFromReader(message: LibraryDownloadResponse, reader: jspb.BinaryReader): LibraryDownloadResponse;
|
||||
}
|
||||
|
||||
export namespace LibraryDownloadResp {
|
||||
export namespace LibraryDownloadResponse {
|
||||
export type AsObject = {
|
||||
progress?: commands_common_pb.DownloadProgress.AsObject,
|
||||
progress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class LibraryInstallReq extends jspb.Message {
|
||||
export class LibraryInstallRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): LibraryInstallReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): LibraryInstallRequest;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): LibraryInstallReq;
|
||||
setName(value: string): LibraryInstallRequest;
|
||||
|
||||
getVersion(): string;
|
||||
setVersion(value: string): LibraryInstallReq;
|
||||
setVersion(value: string): LibraryInstallRequest;
|
||||
|
||||
getNodeps(): boolean;
|
||||
setNodeps(value: boolean): LibraryInstallReq;
|
||||
getNoDeps(): boolean;
|
||||
setNoDeps(value: boolean): LibraryInstallRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibraryInstallReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryInstallReq): LibraryInstallReq.AsObject;
|
||||
toObject(includeInstance?: boolean): LibraryInstallRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryInstallRequest): LibraryInstallRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibraryInstallReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryInstallReq;
|
||||
static deserializeBinaryFromReader(message: LibraryInstallReq, reader: jspb.BinaryReader): LibraryInstallReq;
|
||||
static serializeBinaryToWriter(message: LibraryInstallRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryInstallRequest;
|
||||
static deserializeBinaryFromReader(message: LibraryInstallRequest, reader: jspb.BinaryReader): LibraryInstallRequest;
|
||||
}
|
||||
|
||||
export namespace LibraryInstallReq {
|
||||
export namespace LibraryInstallRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
name: string,
|
||||
version: string,
|
||||
nodeps: boolean,
|
||||
noDeps: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class LibraryInstallResp extends jspb.Message {
|
||||
export class LibraryInstallResponse extends jspb.Message {
|
||||
|
||||
hasProgress(): boolean;
|
||||
clearProgress(): void;
|
||||
getProgress(): commands_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: commands_common_pb.DownloadProgress): LibraryInstallResp;
|
||||
getProgress(): cc_arduino_cli_commands_v1_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress): LibraryInstallResponse;
|
||||
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): commands_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: commands_common_pb.TaskProgress): LibraryInstallResp;
|
||||
getTaskProgress(): cc_arduino_cli_commands_v1_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): LibraryInstallResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibraryInstallResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryInstallResp): LibraryInstallResp.AsObject;
|
||||
toObject(includeInstance?: boolean): LibraryInstallResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryInstallResponse): LibraryInstallResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibraryInstallResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryInstallResp;
|
||||
static deserializeBinaryFromReader(message: LibraryInstallResp, reader: jspb.BinaryReader): LibraryInstallResp;
|
||||
static serializeBinaryToWriter(message: LibraryInstallResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryInstallResponse;
|
||||
static deserializeBinaryFromReader(message: LibraryInstallResponse, reader: jspb.BinaryReader): LibraryInstallResponse;
|
||||
}
|
||||
|
||||
export namespace LibraryInstallResp {
|
||||
export namespace LibraryInstallResponse {
|
||||
export type AsObject = {
|
||||
progress?: commands_common_pb.DownloadProgress.AsObject,
|
||||
taskProgress?: commands_common_pb.TaskProgress.AsObject,
|
||||
progress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
|
||||
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class LibraryUninstallReq extends jspb.Message {
|
||||
export class LibraryUninstallRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): LibraryUninstallReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): LibraryUninstallRequest;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): LibraryUninstallReq;
|
||||
setName(value: string): LibraryUninstallRequest;
|
||||
|
||||
getVersion(): string;
|
||||
setVersion(value: string): LibraryUninstallReq;
|
||||
setVersion(value: string): LibraryUninstallRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibraryUninstallReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryUninstallReq): LibraryUninstallReq.AsObject;
|
||||
toObject(includeInstance?: boolean): LibraryUninstallRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryUninstallRequest): LibraryUninstallRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibraryUninstallReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryUninstallReq;
|
||||
static deserializeBinaryFromReader(message: LibraryUninstallReq, reader: jspb.BinaryReader): LibraryUninstallReq;
|
||||
static serializeBinaryToWriter(message: LibraryUninstallRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryUninstallRequest;
|
||||
static deserializeBinaryFromReader(message: LibraryUninstallRequest, reader: jspb.BinaryReader): LibraryUninstallRequest;
|
||||
}
|
||||
|
||||
export namespace LibraryUninstallReq {
|
||||
export namespace LibraryUninstallRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
name: string,
|
||||
version: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class LibraryUninstallResp extends jspb.Message {
|
||||
export class LibraryUninstallResponse extends jspb.Message {
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): commands_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: commands_common_pb.TaskProgress): LibraryUninstallResp;
|
||||
getTaskProgress(): cc_arduino_cli_commands_v1_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): LibraryUninstallResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibraryUninstallResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryUninstallResp): LibraryUninstallResp.AsObject;
|
||||
toObject(includeInstance?: boolean): LibraryUninstallResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryUninstallResponse): LibraryUninstallResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibraryUninstallResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryUninstallResp;
|
||||
static deserializeBinaryFromReader(message: LibraryUninstallResp, reader: jspb.BinaryReader): LibraryUninstallResp;
|
||||
static serializeBinaryToWriter(message: LibraryUninstallResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryUninstallResponse;
|
||||
static deserializeBinaryFromReader(message: LibraryUninstallResponse, reader: jspb.BinaryReader): LibraryUninstallResponse;
|
||||
}
|
||||
|
||||
export namespace LibraryUninstallResp {
|
||||
export namespace LibraryUninstallResponse {
|
||||
export type AsObject = {
|
||||
taskProgress?: commands_common_pb.TaskProgress.AsObject,
|
||||
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class LibraryUpgradeAllReq extends jspb.Message {
|
||||
export class LibraryUpgradeAllRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): LibraryUpgradeAllReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): LibraryUpgradeAllRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibraryUpgradeAllReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryUpgradeAllReq): LibraryUpgradeAllReq.AsObject;
|
||||
toObject(includeInstance?: boolean): LibraryUpgradeAllRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryUpgradeAllRequest): LibraryUpgradeAllRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibraryUpgradeAllReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryUpgradeAllReq;
|
||||
static deserializeBinaryFromReader(message: LibraryUpgradeAllReq, reader: jspb.BinaryReader): LibraryUpgradeAllReq;
|
||||
static serializeBinaryToWriter(message: LibraryUpgradeAllRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryUpgradeAllRequest;
|
||||
static deserializeBinaryFromReader(message: LibraryUpgradeAllRequest, reader: jspb.BinaryReader): LibraryUpgradeAllRequest;
|
||||
}
|
||||
|
||||
export namespace LibraryUpgradeAllReq {
|
||||
export namespace LibraryUpgradeAllRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class LibraryUpgradeAllResp extends jspb.Message {
|
||||
export class LibraryUpgradeAllResponse extends jspb.Message {
|
||||
|
||||
hasProgress(): boolean;
|
||||
clearProgress(): void;
|
||||
getProgress(): commands_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: commands_common_pb.DownloadProgress): LibraryUpgradeAllResp;
|
||||
getProgress(): cc_arduino_cli_commands_v1_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress): LibraryUpgradeAllResponse;
|
||||
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): commands_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: commands_common_pb.TaskProgress): LibraryUpgradeAllResp;
|
||||
getTaskProgress(): cc_arduino_cli_commands_v1_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): LibraryUpgradeAllResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibraryUpgradeAllResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryUpgradeAllResp): LibraryUpgradeAllResp.AsObject;
|
||||
toObject(includeInstance?: boolean): LibraryUpgradeAllResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryUpgradeAllResponse): LibraryUpgradeAllResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibraryUpgradeAllResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryUpgradeAllResp;
|
||||
static deserializeBinaryFromReader(message: LibraryUpgradeAllResp, reader: jspb.BinaryReader): LibraryUpgradeAllResp;
|
||||
static serializeBinaryToWriter(message: LibraryUpgradeAllResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryUpgradeAllResponse;
|
||||
static deserializeBinaryFromReader(message: LibraryUpgradeAllResponse, reader: jspb.BinaryReader): LibraryUpgradeAllResponse;
|
||||
}
|
||||
|
||||
export namespace LibraryUpgradeAllResp {
|
||||
export namespace LibraryUpgradeAllResponse {
|
||||
export type AsObject = {
|
||||
progress?: commands_common_pb.DownloadProgress.AsObject,
|
||||
taskProgress?: commands_common_pb.TaskProgress.AsObject,
|
||||
progress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
|
||||
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class LibraryResolveDependenciesReq extends jspb.Message {
|
||||
export class LibraryResolveDependenciesRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): LibraryResolveDependenciesReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): LibraryResolveDependenciesRequest;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): LibraryResolveDependenciesReq;
|
||||
setName(value: string): LibraryResolveDependenciesRequest;
|
||||
|
||||
getVersion(): string;
|
||||
setVersion(value: string): LibraryResolveDependenciesReq;
|
||||
setVersion(value: string): LibraryResolveDependenciesRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibraryResolveDependenciesReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryResolveDependenciesReq): LibraryResolveDependenciesReq.AsObject;
|
||||
toObject(includeInstance?: boolean): LibraryResolveDependenciesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryResolveDependenciesRequest): LibraryResolveDependenciesRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibraryResolveDependenciesReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryResolveDependenciesReq;
|
||||
static deserializeBinaryFromReader(message: LibraryResolveDependenciesReq, reader: jspb.BinaryReader): LibraryResolveDependenciesReq;
|
||||
static serializeBinaryToWriter(message: LibraryResolveDependenciesRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryResolveDependenciesRequest;
|
||||
static deserializeBinaryFromReader(message: LibraryResolveDependenciesRequest, reader: jspb.BinaryReader): LibraryResolveDependenciesRequest;
|
||||
}
|
||||
|
||||
export namespace LibraryResolveDependenciesReq {
|
||||
export namespace LibraryResolveDependenciesRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
name: string,
|
||||
version: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class LibraryResolveDependenciesResp extends jspb.Message {
|
||||
export class LibraryResolveDependenciesResponse extends jspb.Message {
|
||||
clearDependenciesList(): void;
|
||||
getDependenciesList(): Array<LibraryDependencyStatus>;
|
||||
setDependenciesList(value: Array<LibraryDependencyStatus>): LibraryResolveDependenciesResp;
|
||||
setDependenciesList(value: Array<LibraryDependencyStatus>): LibraryResolveDependenciesResponse;
|
||||
addDependencies(value?: LibraryDependencyStatus, index?: number): LibraryDependencyStatus;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibraryResolveDependenciesResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryResolveDependenciesResp): LibraryResolveDependenciesResp.AsObject;
|
||||
toObject(includeInstance?: boolean): LibraryResolveDependenciesResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryResolveDependenciesResponse): LibraryResolveDependenciesResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibraryResolveDependenciesResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryResolveDependenciesResp;
|
||||
static deserializeBinaryFromReader(message: LibraryResolveDependenciesResp, reader: jspb.BinaryReader): LibraryResolveDependenciesResp;
|
||||
static serializeBinaryToWriter(message: LibraryResolveDependenciesResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryResolveDependenciesResponse;
|
||||
static deserializeBinaryFromReader(message: LibraryResolveDependenciesResponse, reader: jspb.BinaryReader): LibraryResolveDependenciesResponse;
|
||||
}
|
||||
|
||||
export namespace LibraryResolveDependenciesResp {
|
||||
export namespace LibraryResolveDependenciesResponse {
|
||||
export type AsObject = {
|
||||
dependenciesList: Array<LibraryDependencyStatus.AsObject>,
|
||||
}
|
||||
@ -300,11 +300,11 @@ export class LibraryDependencyStatus extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): LibraryDependencyStatus;
|
||||
|
||||
getVersionrequired(): string;
|
||||
setVersionrequired(value: string): LibraryDependencyStatus;
|
||||
getVersionRequired(): string;
|
||||
setVersionRequired(value: string): LibraryDependencyStatus;
|
||||
|
||||
getVersioninstalled(): string;
|
||||
setVersioninstalled(value: string): LibraryDependencyStatus;
|
||||
getVersionInstalled(): string;
|
||||
setVersionInstalled(value: string): LibraryDependencyStatus;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
@ -320,60 +320,60 @@ export class LibraryDependencyStatus extends jspb.Message {
|
||||
export namespace LibraryDependencyStatus {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
versionrequired: string,
|
||||
versioninstalled: string,
|
||||
versionRequired: string,
|
||||
versionInstalled: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class LibrarySearchReq extends jspb.Message {
|
||||
export class LibrarySearchRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): LibrarySearchReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): LibrarySearchRequest;
|
||||
|
||||
getQuery(): string;
|
||||
setQuery(value: string): LibrarySearchReq;
|
||||
setQuery(value: string): LibrarySearchRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibrarySearchReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibrarySearchReq): LibrarySearchReq.AsObject;
|
||||
toObject(includeInstance?: boolean): LibrarySearchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibrarySearchRequest): LibrarySearchRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibrarySearchReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibrarySearchReq;
|
||||
static deserializeBinaryFromReader(message: LibrarySearchReq, reader: jspb.BinaryReader): LibrarySearchReq;
|
||||
static serializeBinaryToWriter(message: LibrarySearchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibrarySearchRequest;
|
||||
static deserializeBinaryFromReader(message: LibrarySearchRequest, reader: jspb.BinaryReader): LibrarySearchRequest;
|
||||
}
|
||||
|
||||
export namespace LibrarySearchReq {
|
||||
export namespace LibrarySearchRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
query: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class LibrarySearchResp extends jspb.Message {
|
||||
export class LibrarySearchResponse extends jspb.Message {
|
||||
clearLibrariesList(): void;
|
||||
getLibrariesList(): Array<SearchedLibrary>;
|
||||
setLibrariesList(value: Array<SearchedLibrary>): LibrarySearchResp;
|
||||
setLibrariesList(value: Array<SearchedLibrary>): LibrarySearchResponse;
|
||||
addLibraries(value?: SearchedLibrary, index?: number): SearchedLibrary;
|
||||
|
||||
getStatus(): LibrarySearchStatus;
|
||||
setStatus(value: LibrarySearchStatus): LibrarySearchResp;
|
||||
setStatus(value: LibrarySearchStatus): LibrarySearchResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibrarySearchResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibrarySearchResp): LibrarySearchResp.AsObject;
|
||||
toObject(includeInstance?: boolean): LibrarySearchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibrarySearchResponse): LibrarySearchResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibrarySearchResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibrarySearchResp;
|
||||
static deserializeBinaryFromReader(message: LibrarySearchResp, reader: jspb.BinaryReader): LibrarySearchResp;
|
||||
static serializeBinaryToWriter(message: LibrarySearchResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibrarySearchResponse;
|
||||
static deserializeBinaryFromReader(message: LibrarySearchResponse, reader: jspb.BinaryReader): LibrarySearchResponse;
|
||||
}
|
||||
|
||||
export namespace LibrarySearchResp {
|
||||
export namespace LibrarySearchResponse {
|
||||
export type AsObject = {
|
||||
librariesList: Array<SearchedLibrary.AsObject>,
|
||||
status: LibrarySearchStatus,
|
||||
@ -523,8 +523,8 @@ export class DownloadResource extends jspb.Message {
|
||||
getUrl(): string;
|
||||
setUrl(value: string): DownloadResource;
|
||||
|
||||
getArchivefilename(): string;
|
||||
setArchivefilename(value: string): DownloadResource;
|
||||
getArchiveFilename(): string;
|
||||
setArchiveFilename(value: string): DownloadResource;
|
||||
|
||||
getChecksum(): string;
|
||||
setChecksum(value: string): DownloadResource;
|
||||
@ -532,8 +532,8 @@ export class DownloadResource extends jspb.Message {
|
||||
getSize(): number;
|
||||
setSize(value: number): DownloadResource;
|
||||
|
||||
getCachepath(): string;
|
||||
setCachepath(value: string): DownloadResource;
|
||||
getCachePath(): string;
|
||||
setCachePath(value: string): DownloadResource;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
@ -549,46 +549,46 @@ export class DownloadResource extends jspb.Message {
|
||||
export namespace DownloadResource {
|
||||
export type AsObject = {
|
||||
url: string,
|
||||
archivefilename: string,
|
||||
archiveFilename: string,
|
||||
checksum: string,
|
||||
size: number,
|
||||
cachepath: string,
|
||||
cachePath: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class LibraryListReq extends jspb.Message {
|
||||
export class LibraryListRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): LibraryListReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): LibraryListRequest;
|
||||
|
||||
getAll(): boolean;
|
||||
setAll(value: boolean): LibraryListReq;
|
||||
setAll(value: boolean): LibraryListRequest;
|
||||
|
||||
getUpdatable(): boolean;
|
||||
setUpdatable(value: boolean): LibraryListReq;
|
||||
setUpdatable(value: boolean): LibraryListRequest;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): LibraryListReq;
|
||||
setName(value: string): LibraryListRequest;
|
||||
|
||||
getFqbn(): string;
|
||||
setFqbn(value: string): LibraryListReq;
|
||||
setFqbn(value: string): LibraryListRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibraryListReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryListReq): LibraryListReq.AsObject;
|
||||
toObject(includeInstance?: boolean): LibraryListRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryListRequest): LibraryListRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibraryListReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryListReq;
|
||||
static deserializeBinaryFromReader(message: LibraryListReq, reader: jspb.BinaryReader): LibraryListReq;
|
||||
static serializeBinaryToWriter(message: LibraryListRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryListRequest;
|
||||
static deserializeBinaryFromReader(message: LibraryListRequest, reader: jspb.BinaryReader): LibraryListRequest;
|
||||
}
|
||||
|
||||
export namespace LibraryListReq {
|
||||
export namespace LibraryListRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
all: boolean,
|
||||
updatable: boolean,
|
||||
name: string,
|
||||
@ -596,26 +596,26 @@ export namespace LibraryListReq {
|
||||
}
|
||||
}
|
||||
|
||||
export class LibraryListResp extends jspb.Message {
|
||||
clearInstalledLibraryList(): void;
|
||||
getInstalledLibraryList(): Array<InstalledLibrary>;
|
||||
setInstalledLibraryList(value: Array<InstalledLibrary>): LibraryListResp;
|
||||
addInstalledLibrary(value?: InstalledLibrary, index?: number): InstalledLibrary;
|
||||
export class LibraryListResponse extends jspb.Message {
|
||||
clearInstalledLibrariesList(): void;
|
||||
getInstalledLibrariesList(): Array<InstalledLibrary>;
|
||||
setInstalledLibrariesList(value: Array<InstalledLibrary>): LibraryListResponse;
|
||||
addInstalledLibraries(value?: InstalledLibrary, index?: number): InstalledLibrary;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LibraryListResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryListResp): LibraryListResp.AsObject;
|
||||
toObject(includeInstance?: boolean): LibraryListResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LibraryListResponse): LibraryListResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LibraryListResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryListResp;
|
||||
static deserializeBinaryFromReader(message: LibraryListResp, reader: jspb.BinaryReader): LibraryListResp;
|
||||
static serializeBinaryToWriter(message: LibraryListResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LibraryListResponse;
|
||||
static deserializeBinaryFromReader(message: LibraryListResponse, reader: jspb.BinaryReader): LibraryListResponse;
|
||||
}
|
||||
|
||||
export namespace LibraryListResp {
|
||||
export namespace LibraryListResponse {
|
||||
export type AsObject = {
|
||||
installedLibraryList: Array<InstalledLibrary.AsObject>,
|
||||
installedLibrariesList: Array<InstalledLibrary.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
@ -783,131 +783,131 @@ export namespace Library {
|
||||
}
|
||||
}
|
||||
|
||||
export class ZipLibraryInstallReq extends jspb.Message {
|
||||
export class ZipLibraryInstallRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): ZipLibraryInstallReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): ZipLibraryInstallRequest;
|
||||
|
||||
getPath(): string;
|
||||
setPath(value: string): ZipLibraryInstallReq;
|
||||
setPath(value: string): ZipLibraryInstallRequest;
|
||||
|
||||
getOverwrite(): boolean;
|
||||
setOverwrite(value: boolean): ZipLibraryInstallReq;
|
||||
setOverwrite(value: boolean): ZipLibraryInstallRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ZipLibraryInstallReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ZipLibraryInstallReq): ZipLibraryInstallReq.AsObject;
|
||||
toObject(includeInstance?: boolean): ZipLibraryInstallRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ZipLibraryInstallRequest): ZipLibraryInstallRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ZipLibraryInstallReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ZipLibraryInstallReq;
|
||||
static deserializeBinaryFromReader(message: ZipLibraryInstallReq, reader: jspb.BinaryReader): ZipLibraryInstallReq;
|
||||
static serializeBinaryToWriter(message: ZipLibraryInstallRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ZipLibraryInstallRequest;
|
||||
static deserializeBinaryFromReader(message: ZipLibraryInstallRequest, reader: jspb.BinaryReader): ZipLibraryInstallRequest;
|
||||
}
|
||||
|
||||
export namespace ZipLibraryInstallReq {
|
||||
export namespace ZipLibraryInstallRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
path: string,
|
||||
overwrite: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class ZipLibraryInstallResp extends jspb.Message {
|
||||
export class ZipLibraryInstallResponse extends jspb.Message {
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): commands_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: commands_common_pb.TaskProgress): ZipLibraryInstallResp;
|
||||
getTaskProgress(): cc_arduino_cli_commands_v1_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): ZipLibraryInstallResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ZipLibraryInstallResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ZipLibraryInstallResp): ZipLibraryInstallResp.AsObject;
|
||||
toObject(includeInstance?: boolean): ZipLibraryInstallResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ZipLibraryInstallResponse): ZipLibraryInstallResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ZipLibraryInstallResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ZipLibraryInstallResp;
|
||||
static deserializeBinaryFromReader(message: ZipLibraryInstallResp, reader: jspb.BinaryReader): ZipLibraryInstallResp;
|
||||
static serializeBinaryToWriter(message: ZipLibraryInstallResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ZipLibraryInstallResponse;
|
||||
static deserializeBinaryFromReader(message: ZipLibraryInstallResponse, reader: jspb.BinaryReader): ZipLibraryInstallResponse;
|
||||
}
|
||||
|
||||
export namespace ZipLibraryInstallResp {
|
||||
export namespace ZipLibraryInstallResponse {
|
||||
export type AsObject = {
|
||||
taskProgress?: commands_common_pb.TaskProgress.AsObject,
|
||||
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class GitLibraryInstallReq extends jspb.Message {
|
||||
export class GitLibraryInstallRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): GitLibraryInstallReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): GitLibraryInstallRequest;
|
||||
|
||||
getUrl(): string;
|
||||
setUrl(value: string): GitLibraryInstallReq;
|
||||
setUrl(value: string): GitLibraryInstallRequest;
|
||||
|
||||
getOverwrite(): boolean;
|
||||
setOverwrite(value: boolean): GitLibraryInstallReq;
|
||||
setOverwrite(value: boolean): GitLibraryInstallRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GitLibraryInstallReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GitLibraryInstallReq): GitLibraryInstallReq.AsObject;
|
||||
toObject(includeInstance?: boolean): GitLibraryInstallRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GitLibraryInstallRequest): GitLibraryInstallRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GitLibraryInstallReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GitLibraryInstallReq;
|
||||
static deserializeBinaryFromReader(message: GitLibraryInstallReq, reader: jspb.BinaryReader): GitLibraryInstallReq;
|
||||
static serializeBinaryToWriter(message: GitLibraryInstallRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GitLibraryInstallRequest;
|
||||
static deserializeBinaryFromReader(message: GitLibraryInstallRequest, reader: jspb.BinaryReader): GitLibraryInstallRequest;
|
||||
}
|
||||
|
||||
export namespace GitLibraryInstallReq {
|
||||
export namespace GitLibraryInstallRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
url: string,
|
||||
overwrite: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class GitLibraryInstallResp extends jspb.Message {
|
||||
export class GitLibraryInstallResponse extends jspb.Message {
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): commands_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: commands_common_pb.TaskProgress): GitLibraryInstallResp;
|
||||
getTaskProgress(): cc_arduino_cli_commands_v1_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): GitLibraryInstallResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GitLibraryInstallResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GitLibraryInstallResp): GitLibraryInstallResp.AsObject;
|
||||
toObject(includeInstance?: boolean): GitLibraryInstallResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GitLibraryInstallResponse): GitLibraryInstallResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GitLibraryInstallResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GitLibraryInstallResp;
|
||||
static deserializeBinaryFromReader(message: GitLibraryInstallResp, reader: jspb.BinaryReader): GitLibraryInstallResp;
|
||||
static serializeBinaryToWriter(message: GitLibraryInstallResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GitLibraryInstallResponse;
|
||||
static deserializeBinaryFromReader(message: GitLibraryInstallResponse, reader: jspb.BinaryReader): GitLibraryInstallResponse;
|
||||
}
|
||||
|
||||
export namespace GitLibraryInstallResp {
|
||||
export namespace GitLibraryInstallResponse {
|
||||
export type AsObject = {
|
||||
taskProgress?: commands_common_pb.TaskProgress.AsObject,
|
||||
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export enum LibrarySearchStatus {
|
||||
FAILED = 0,
|
||||
SUCCESS = 1,
|
||||
LIBRARY_SEARCH_STATUS_FAILED = 0,
|
||||
LIBRARY_SEARCH_STATUS_SUCCESS = 1,
|
||||
}
|
||||
|
||||
export enum LibraryLayout {
|
||||
FLAT_LAYOUT = 0,
|
||||
RECURSIVE_LAYOUT = 1,
|
||||
LIBRARY_LAYOUT_FLAT = 0,
|
||||
LIBRARY_LAYOUT_RECURSIVE = 1,
|
||||
}
|
||||
|
||||
export enum LibraryLocation {
|
||||
IDE_BUILTIN = 0,
|
||||
USER = 1,
|
||||
PLATFORM_BUILTIN = 2,
|
||||
REFERENCED_PLATFORM_BUILTIN = 3,
|
||||
LIBRARY_LOCATION_IDE_BUILTIN = 0,
|
||||
LIBRARY_LOCATION_USER = 1,
|
||||
LIBRARY_LOCATION_PLATFORM_BUILTIN = 2,
|
||||
LIBRARY_LOCATION_REFERENCED_PLATFORM_BUILTIN = 3,
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,57 +1,57 @@
|
||||
// package: cc.arduino.cli.commands
|
||||
// file: commands/upload.proto
|
||||
// package: cc.arduino.cli.commands.v1
|
||||
// file: cc/arduino/cli/commands/v1/upload.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as commands_common_pb from "../commands/common_pb";
|
||||
import * as cc_arduino_cli_commands_v1_common_pb from "../../../../../cc/arduino/cli/commands/v1/common_pb";
|
||||
|
||||
export class UploadReq extends jspb.Message {
|
||||
export class UploadRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): UploadReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): UploadRequest;
|
||||
|
||||
getFqbn(): string;
|
||||
setFqbn(value: string): UploadReq;
|
||||
setFqbn(value: string): UploadRequest;
|
||||
|
||||
getSketchPath(): string;
|
||||
setSketchPath(value: string): UploadReq;
|
||||
setSketchPath(value: string): UploadRequest;
|
||||
|
||||
getPort(): string;
|
||||
setPort(value: string): UploadReq;
|
||||
setPort(value: string): UploadRequest;
|
||||
|
||||
getVerbose(): boolean;
|
||||
setVerbose(value: boolean): UploadReq;
|
||||
setVerbose(value: boolean): UploadRequest;
|
||||
|
||||
getVerify(): boolean;
|
||||
setVerify(value: boolean): UploadReq;
|
||||
setVerify(value: boolean): UploadRequest;
|
||||
|
||||
getImportFile(): string;
|
||||
setImportFile(value: string): UploadReq;
|
||||
setImportFile(value: string): UploadRequest;
|
||||
|
||||
getImportDir(): string;
|
||||
setImportDir(value: string): UploadReq;
|
||||
setImportDir(value: string): UploadRequest;
|
||||
|
||||
getProgrammer(): string;
|
||||
setProgrammer(value: string): UploadReq;
|
||||
setProgrammer(value: string): UploadRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UploadReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UploadReq): UploadReq.AsObject;
|
||||
toObject(includeInstance?: boolean): UploadRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UploadRequest): UploadRequest.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;
|
||||
static serializeBinaryToWriter(message: UploadRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UploadRequest;
|
||||
static deserializeBinaryFromReader(message: UploadRequest, reader: jspb.BinaryReader): UploadRequest;
|
||||
}
|
||||
|
||||
export namespace UploadReq {
|
||||
export namespace UploadRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
fqbn: string,
|
||||
sketchPath: string,
|
||||
port: string,
|
||||
@ -63,80 +63,80 @@ export namespace UploadReq {
|
||||
}
|
||||
}
|
||||
|
||||
export class UploadResp extends jspb.Message {
|
||||
export class UploadResponse extends jspb.Message {
|
||||
getOutStream(): Uint8Array | string;
|
||||
getOutStream_asU8(): Uint8Array;
|
||||
getOutStream_asB64(): string;
|
||||
setOutStream(value: Uint8Array | string): UploadResp;
|
||||
setOutStream(value: Uint8Array | string): UploadResponse;
|
||||
|
||||
getErrStream(): Uint8Array | string;
|
||||
getErrStream_asU8(): Uint8Array;
|
||||
getErrStream_asB64(): string;
|
||||
setErrStream(value: Uint8Array | string): UploadResp;
|
||||
setErrStream(value: Uint8Array | string): UploadResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UploadResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UploadResp): UploadResp.AsObject;
|
||||
toObject(includeInstance?: boolean): UploadResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UploadResponse): UploadResponse.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;
|
||||
static serializeBinaryToWriter(message: UploadResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UploadResponse;
|
||||
static deserializeBinaryFromReader(message: UploadResponse, reader: jspb.BinaryReader): UploadResponse;
|
||||
}
|
||||
|
||||
export namespace UploadResp {
|
||||
export namespace UploadResponse {
|
||||
export type AsObject = {
|
||||
outStream: Uint8Array | string,
|
||||
errStream: Uint8Array | string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UploadUsingProgrammerReq extends jspb.Message {
|
||||
export class UploadUsingProgrammerRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): UploadUsingProgrammerReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): UploadUsingProgrammerRequest;
|
||||
|
||||
getFqbn(): string;
|
||||
setFqbn(value: string): UploadUsingProgrammerReq;
|
||||
setFqbn(value: string): UploadUsingProgrammerRequest;
|
||||
|
||||
getSketchPath(): string;
|
||||
setSketchPath(value: string): UploadUsingProgrammerReq;
|
||||
setSketchPath(value: string): UploadUsingProgrammerRequest;
|
||||
|
||||
getPort(): string;
|
||||
setPort(value: string): UploadUsingProgrammerReq;
|
||||
setPort(value: string): UploadUsingProgrammerRequest;
|
||||
|
||||
getVerbose(): boolean;
|
||||
setVerbose(value: boolean): UploadUsingProgrammerReq;
|
||||
setVerbose(value: boolean): UploadUsingProgrammerRequest;
|
||||
|
||||
getVerify(): boolean;
|
||||
setVerify(value: boolean): UploadUsingProgrammerReq;
|
||||
setVerify(value: boolean): UploadUsingProgrammerRequest;
|
||||
|
||||
getImportFile(): string;
|
||||
setImportFile(value: string): UploadUsingProgrammerReq;
|
||||
setImportFile(value: string): UploadUsingProgrammerRequest;
|
||||
|
||||
getImportDir(): string;
|
||||
setImportDir(value: string): UploadUsingProgrammerReq;
|
||||
setImportDir(value: string): UploadUsingProgrammerRequest;
|
||||
|
||||
getProgrammer(): string;
|
||||
setProgrammer(value: string): UploadUsingProgrammerReq;
|
||||
setProgrammer(value: string): UploadUsingProgrammerRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UploadUsingProgrammerReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UploadUsingProgrammerReq): UploadUsingProgrammerReq.AsObject;
|
||||
toObject(includeInstance?: boolean): UploadUsingProgrammerRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UploadUsingProgrammerRequest): UploadUsingProgrammerRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UploadUsingProgrammerReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UploadUsingProgrammerReq;
|
||||
static deserializeBinaryFromReader(message: UploadUsingProgrammerReq, reader: jspb.BinaryReader): UploadUsingProgrammerReq;
|
||||
static serializeBinaryToWriter(message: UploadUsingProgrammerRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UploadUsingProgrammerRequest;
|
||||
static deserializeBinaryFromReader(message: UploadUsingProgrammerRequest, reader: jspb.BinaryReader): UploadUsingProgrammerRequest;
|
||||
}
|
||||
|
||||
export namespace UploadUsingProgrammerReq {
|
||||
export namespace UploadUsingProgrammerRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
fqbn: string,
|
||||
sketchPath: string,
|
||||
port: string,
|
||||
@ -148,71 +148,71 @@ export namespace UploadUsingProgrammerReq {
|
||||
}
|
||||
}
|
||||
|
||||
export class UploadUsingProgrammerResp extends jspb.Message {
|
||||
export class UploadUsingProgrammerResponse extends jspb.Message {
|
||||
getOutStream(): Uint8Array | string;
|
||||
getOutStream_asU8(): Uint8Array;
|
||||
getOutStream_asB64(): string;
|
||||
setOutStream(value: Uint8Array | string): UploadUsingProgrammerResp;
|
||||
setOutStream(value: Uint8Array | string): UploadUsingProgrammerResponse;
|
||||
|
||||
getErrStream(): Uint8Array | string;
|
||||
getErrStream_asU8(): Uint8Array;
|
||||
getErrStream_asB64(): string;
|
||||
setErrStream(value: Uint8Array | string): UploadUsingProgrammerResp;
|
||||
setErrStream(value: Uint8Array | string): UploadUsingProgrammerResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UploadUsingProgrammerResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UploadUsingProgrammerResp): UploadUsingProgrammerResp.AsObject;
|
||||
toObject(includeInstance?: boolean): UploadUsingProgrammerResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UploadUsingProgrammerResponse): UploadUsingProgrammerResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UploadUsingProgrammerResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UploadUsingProgrammerResp;
|
||||
static deserializeBinaryFromReader(message: UploadUsingProgrammerResp, reader: jspb.BinaryReader): UploadUsingProgrammerResp;
|
||||
static serializeBinaryToWriter(message: UploadUsingProgrammerResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UploadUsingProgrammerResponse;
|
||||
static deserializeBinaryFromReader(message: UploadUsingProgrammerResponse, reader: jspb.BinaryReader): UploadUsingProgrammerResponse;
|
||||
}
|
||||
|
||||
export namespace UploadUsingProgrammerResp {
|
||||
export namespace UploadUsingProgrammerResponse {
|
||||
export type AsObject = {
|
||||
outStream: Uint8Array | string,
|
||||
errStream: Uint8Array | string,
|
||||
}
|
||||
}
|
||||
|
||||
export class BurnBootloaderReq extends jspb.Message {
|
||||
export class BurnBootloaderRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): BurnBootloaderReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): BurnBootloaderRequest;
|
||||
|
||||
getFqbn(): string;
|
||||
setFqbn(value: string): BurnBootloaderReq;
|
||||
setFqbn(value: string): BurnBootloaderRequest;
|
||||
|
||||
getPort(): string;
|
||||
setPort(value: string): BurnBootloaderReq;
|
||||
setPort(value: string): BurnBootloaderRequest;
|
||||
|
||||
getVerbose(): boolean;
|
||||
setVerbose(value: boolean): BurnBootloaderReq;
|
||||
setVerbose(value: boolean): BurnBootloaderRequest;
|
||||
|
||||
getVerify(): boolean;
|
||||
setVerify(value: boolean): BurnBootloaderReq;
|
||||
setVerify(value: boolean): BurnBootloaderRequest;
|
||||
|
||||
getProgrammer(): string;
|
||||
setProgrammer(value: string): BurnBootloaderReq;
|
||||
setProgrammer(value: string): BurnBootloaderRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BurnBootloaderReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BurnBootloaderReq): BurnBootloaderReq.AsObject;
|
||||
toObject(includeInstance?: boolean): BurnBootloaderRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BurnBootloaderRequest): BurnBootloaderRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BurnBootloaderReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BurnBootloaderReq;
|
||||
static deserializeBinaryFromReader(message: BurnBootloaderReq, reader: jspb.BinaryReader): BurnBootloaderReq;
|
||||
static serializeBinaryToWriter(message: BurnBootloaderRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BurnBootloaderRequest;
|
||||
static deserializeBinaryFromReader(message: BurnBootloaderRequest, reader: jspb.BinaryReader): BurnBootloaderRequest;
|
||||
}
|
||||
|
||||
export namespace BurnBootloaderReq {
|
||||
export namespace BurnBootloaderRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
fqbn: string,
|
||||
port: string,
|
||||
verbose: boolean,
|
||||
@ -221,82 +221,82 @@ export namespace BurnBootloaderReq {
|
||||
}
|
||||
}
|
||||
|
||||
export class BurnBootloaderResp extends jspb.Message {
|
||||
export class BurnBootloaderResponse extends jspb.Message {
|
||||
getOutStream(): Uint8Array | string;
|
||||
getOutStream_asU8(): Uint8Array;
|
||||
getOutStream_asB64(): string;
|
||||
setOutStream(value: Uint8Array | string): BurnBootloaderResp;
|
||||
setOutStream(value: Uint8Array | string): BurnBootloaderResponse;
|
||||
|
||||
getErrStream(): Uint8Array | string;
|
||||
getErrStream_asU8(): Uint8Array;
|
||||
getErrStream_asB64(): string;
|
||||
setErrStream(value: Uint8Array | string): BurnBootloaderResp;
|
||||
setErrStream(value: Uint8Array | string): BurnBootloaderResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BurnBootloaderResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BurnBootloaderResp): BurnBootloaderResp.AsObject;
|
||||
toObject(includeInstance?: boolean): BurnBootloaderResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BurnBootloaderResponse): BurnBootloaderResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BurnBootloaderResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BurnBootloaderResp;
|
||||
static deserializeBinaryFromReader(message: BurnBootloaderResp, reader: jspb.BinaryReader): BurnBootloaderResp;
|
||||
static serializeBinaryToWriter(message: BurnBootloaderResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BurnBootloaderResponse;
|
||||
static deserializeBinaryFromReader(message: BurnBootloaderResponse, reader: jspb.BinaryReader): BurnBootloaderResponse;
|
||||
}
|
||||
|
||||
export namespace BurnBootloaderResp {
|
||||
export namespace BurnBootloaderResponse {
|
||||
export type AsObject = {
|
||||
outStream: Uint8Array | string,
|
||||
errStream: Uint8Array | string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListProgrammersAvailableForUploadReq extends jspb.Message {
|
||||
export class ListProgrammersAvailableForUploadRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): ListProgrammersAvailableForUploadReq;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): ListProgrammersAvailableForUploadRequest;
|
||||
|
||||
getFqbn(): string;
|
||||
setFqbn(value: string): ListProgrammersAvailableForUploadReq;
|
||||
setFqbn(value: string): ListProgrammersAvailableForUploadRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListProgrammersAvailableForUploadReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListProgrammersAvailableForUploadReq): ListProgrammersAvailableForUploadReq.AsObject;
|
||||
toObject(includeInstance?: boolean): ListProgrammersAvailableForUploadRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListProgrammersAvailableForUploadRequest): ListProgrammersAvailableForUploadRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListProgrammersAvailableForUploadReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListProgrammersAvailableForUploadReq;
|
||||
static deserializeBinaryFromReader(message: ListProgrammersAvailableForUploadReq, reader: jspb.BinaryReader): ListProgrammersAvailableForUploadReq;
|
||||
static serializeBinaryToWriter(message: ListProgrammersAvailableForUploadRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListProgrammersAvailableForUploadRequest;
|
||||
static deserializeBinaryFromReader(message: ListProgrammersAvailableForUploadRequest, reader: jspb.BinaryReader): ListProgrammersAvailableForUploadRequest;
|
||||
}
|
||||
|
||||
export namespace ListProgrammersAvailableForUploadReq {
|
||||
export namespace ListProgrammersAvailableForUploadRequest {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
fqbn: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListProgrammersAvailableForUploadResp extends jspb.Message {
|
||||
export class ListProgrammersAvailableForUploadResponse extends jspb.Message {
|
||||
clearProgrammersList(): void;
|
||||
getProgrammersList(): Array<commands_common_pb.Programmer>;
|
||||
setProgrammersList(value: Array<commands_common_pb.Programmer>): ListProgrammersAvailableForUploadResp;
|
||||
addProgrammers(value?: commands_common_pb.Programmer, index?: number): commands_common_pb.Programmer;
|
||||
getProgrammersList(): Array<cc_arduino_cli_commands_v1_common_pb.Programmer>;
|
||||
setProgrammersList(value: Array<cc_arduino_cli_commands_v1_common_pb.Programmer>): ListProgrammersAvailableForUploadResponse;
|
||||
addProgrammers(value?: cc_arduino_cli_commands_v1_common_pb.Programmer, index?: number): cc_arduino_cli_commands_v1_common_pb.Programmer;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListProgrammersAvailableForUploadResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListProgrammersAvailableForUploadResp): ListProgrammersAvailableForUploadResp.AsObject;
|
||||
toObject(includeInstance?: boolean): ListProgrammersAvailableForUploadResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListProgrammersAvailableForUploadResponse): ListProgrammersAvailableForUploadResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListProgrammersAvailableForUploadResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListProgrammersAvailableForUploadResp;
|
||||
static deserializeBinaryFromReader(message: ListProgrammersAvailableForUploadResp, reader: jspb.BinaryReader): ListProgrammersAvailableForUploadResp;
|
||||
static serializeBinaryToWriter(message: ListProgrammersAvailableForUploadResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListProgrammersAvailableForUploadResponse;
|
||||
static deserializeBinaryFromReader(message: ListProgrammersAvailableForUploadResponse, reader: jspb.BinaryReader): ListProgrammersAvailableForUploadResponse;
|
||||
}
|
||||
|
||||
export namespace ListProgrammersAvailableForUploadResp {
|
||||
export namespace ListProgrammersAvailableForUploadResponse {
|
||||
export type AsObject = {
|
||||
programmersList: Array<commands_common_pb.Programmer.AsObject>,
|
||||
programmersList: Array<cc_arduino_cli_commands_v1_common_pb.Programmer.AsObject>,
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
59
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/debug/v1/debug_grpc_pb.d.ts
vendored
Normal file
59
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/debug/v1/debug_grpc_pb.d.ts
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
// package: cc.arduino.cli.debug.v1
|
||||
// file: cc/arduino/cli/debug/v1/debug.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
|
||||
import * as cc_arduino_cli_debug_v1_debug_pb from "../../../../../cc/arduino/cli/debug/v1/debug_pb";
|
||||
import * as cc_arduino_cli_commands_v1_common_pb from "../../../../../cc/arduino/cli/commands/v1/common_pb";
|
||||
|
||||
interface IDebugServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
debug: IDebugServiceService_IDebug;
|
||||
getDebugConfig: IDebugServiceService_IGetDebugConfig;
|
||||
}
|
||||
|
||||
interface IDebugServiceService_IDebug extends grpc.MethodDefinition<cc_arduino_cli_debug_v1_debug_pb.DebugRequest, cc_arduino_cli_debug_v1_debug_pb.DebugResponse> {
|
||||
path: "/cc.arduino.cli.debug.v1.DebugService/Debug";
|
||||
requestStream: true;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_debug_v1_debug_pb.DebugRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_debug_v1_debug_pb.DebugRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_debug_v1_debug_pb.DebugResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_debug_v1_debug_pb.DebugResponse>;
|
||||
}
|
||||
interface IDebugServiceService_IGetDebugConfig extends grpc.MethodDefinition<cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest, cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse> {
|
||||
path: "/cc.arduino.cli.debug.v1.DebugService/GetDebugConfig";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse>;
|
||||
}
|
||||
|
||||
export const DebugServiceService: IDebugServiceService;
|
||||
|
||||
export interface IDebugServiceServer {
|
||||
debug: grpc.handleBidiStreamingCall<cc_arduino_cli_debug_v1_debug_pb.DebugRequest, cc_arduino_cli_debug_v1_debug_pb.DebugResponse>;
|
||||
getDebugConfig: grpc.handleUnaryCall<cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest, cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse>;
|
||||
}
|
||||
|
||||
export interface IDebugServiceClient {
|
||||
debug(): grpc.ClientDuplexStream<cc_arduino_cli_debug_v1_debug_pb.DebugRequest, cc_arduino_cli_debug_v1_debug_pb.DebugResponse>;
|
||||
debug(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<cc_arduino_cli_debug_v1_debug_pb.DebugRequest, cc_arduino_cli_debug_v1_debug_pb.DebugResponse>;
|
||||
debug(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<cc_arduino_cli_debug_v1_debug_pb.DebugRequest, cc_arduino_cli_debug_v1_debug_pb.DebugResponse>;
|
||||
getDebugConfig(request: cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse) => void): grpc.ClientUnaryCall;
|
||||
getDebugConfig(request: cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse) => void): grpc.ClientUnaryCall;
|
||||
getDebugConfig(request: cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse) => void): grpc.ClientUnaryCall;
|
||||
}
|
||||
|
||||
export class DebugServiceClient extends grpc.Client implements IDebugServiceClient {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
||||
public debug(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<cc_arduino_cli_debug_v1_debug_pb.DebugRequest, cc_arduino_cli_debug_v1_debug_pb.DebugResponse>;
|
||||
public debug(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<cc_arduino_cli_debug_v1_debug_pb.DebugRequest, cc_arduino_cli_debug_v1_debug_pb.DebugResponse>;
|
||||
public getDebugConfig(request: cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse) => void): grpc.ClientUnaryCall;
|
||||
public getDebugConfig(request: cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse) => void): grpc.ClientUnaryCall;
|
||||
public getDebugConfig(request: cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse) => void): grpc.ClientUnaryCall;
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// Original file comments:
|
||||
// This file is part of arduino-cli.
|
||||
//
|
||||
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
|
||||
//
|
||||
// This software is released under the GNU General Public License version 3,
|
||||
// which covers the main part of arduino-cli.
|
||||
// The terms of this license can be found at:
|
||||
// https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
//
|
||||
// You can be released from the requirements of the above licenses by purchasing
|
||||
// a commercial license. Buying such a license is mandatory if you want to
|
||||
// modify or otherwise use the software for commercial activities involving the
|
||||
// Arduino software without disclosing the source code of your own applications.
|
||||
// To purchase a commercial license, send an email to license@arduino.cc.
|
||||
//
|
||||
'use strict';
|
||||
var cc_arduino_cli_debug_v1_debug_pb = require('../../../../../cc/arduino/cli/debug/v1/debug_pb.js');
|
||||
var cc_arduino_cli_commands_v1_common_pb = require('../../../../../cc/arduino/cli/commands/v1/common_pb.js');
|
||||
|
||||
function serialize_cc_arduino_cli_debug_v1_DebugConfigRequest(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.debug.v1.DebugConfigRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_debug_v1_DebugConfigRequest(buffer_arg) {
|
||||
return cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_debug_v1_DebugRequest(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_debug_v1_debug_pb.DebugRequest)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.debug.v1.DebugRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_debug_v1_DebugRequest(buffer_arg) {
|
||||
return cc_arduino_cli_debug_v1_debug_pb.DebugRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_debug_v1_DebugResponse(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_debug_v1_debug_pb.DebugResponse)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.debug.v1.DebugResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_debug_v1_DebugResponse(buffer_arg) {
|
||||
return cc_arduino_cli_debug_v1_debug_pb.DebugResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_debug_v1_GetDebugConfigResponse(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.debug.v1.GetDebugConfigResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_debug_v1_GetDebugConfigResponse(buffer_arg) {
|
||||
return cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// DebugService abstracts a debug Session usage
|
||||
var DebugServiceService = exports['cc.arduino.cli.debug.v1.DebugService'] = {
|
||||
// Start a debug session and communicate with the debugger tool.
|
||||
debug: {
|
||||
path: '/cc.arduino.cli.debug.v1.DebugService/Debug',
|
||||
requestStream: true,
|
||||
responseStream: true,
|
||||
requestType: cc_arduino_cli_debug_v1_debug_pb.DebugRequest,
|
||||
responseType: cc_arduino_cli_debug_v1_debug_pb.DebugResponse,
|
||||
requestSerialize: serialize_cc_arduino_cli_debug_v1_DebugRequest,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_debug_v1_DebugRequest,
|
||||
responseSerialize: serialize_cc_arduino_cli_debug_v1_DebugResponse,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_debug_v1_DebugResponse,
|
||||
},
|
||||
getDebugConfig: {
|
||||
path: '/cc.arduino.cli.debug.v1.DebugService/GetDebugConfig',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: cc_arduino_cli_debug_v1_debug_pb.DebugConfigRequest,
|
||||
responseType: cc_arduino_cli_debug_v1_debug_pb.GetDebugConfigResponse,
|
||||
requestSerialize: serialize_cc_arduino_cli_debug_v1_DebugConfigRequest,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_debug_v1_DebugConfigRequest,
|
||||
responseSerialize: serialize_cc_arduino_cli_debug_v1_GetDebugConfigResponse,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_debug_v1_GetDebugConfigResponse,
|
||||
},
|
||||
};
|
||||
|
170
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/debug/v1/debug_pb.d.ts
vendored
Normal file
170
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/debug/v1/debug_pb.d.ts
vendored
Normal file
@ -0,0 +1,170 @@
|
||||
// package: cc.arduino.cli.debug.v1
|
||||
// file: cc/arduino/cli/debug/v1/debug.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as cc_arduino_cli_commands_v1_common_pb from "../../../../../cc/arduino/cli/commands/v1/common_pb";
|
||||
|
||||
export class DebugRequest extends jspb.Message {
|
||||
|
||||
hasDebugRequest(): boolean;
|
||||
clearDebugRequest(): void;
|
||||
getDebugRequest(): DebugConfigRequest | undefined;
|
||||
setDebugRequest(value?: DebugConfigRequest): DebugRequest;
|
||||
|
||||
getData(): Uint8Array | string;
|
||||
getData_asU8(): Uint8Array;
|
||||
getData_asB64(): string;
|
||||
setData(value: Uint8Array | string): DebugRequest;
|
||||
|
||||
getSendInterrupt(): boolean;
|
||||
setSendInterrupt(value: boolean): DebugRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DebugRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DebugRequest): DebugRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DebugRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DebugRequest;
|
||||
static deserializeBinaryFromReader(message: DebugRequest, reader: jspb.BinaryReader): DebugRequest;
|
||||
}
|
||||
|
||||
export namespace DebugRequest {
|
||||
export type AsObject = {
|
||||
debugRequest?: DebugConfigRequest.AsObject,
|
||||
data: Uint8Array | string,
|
||||
sendInterrupt: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class DebugConfigRequest extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): cc_arduino_cli_commands_v1_common_pb.Instance | undefined;
|
||||
setInstance(value?: cc_arduino_cli_commands_v1_common_pb.Instance): DebugConfigRequest;
|
||||
|
||||
getFqbn(): string;
|
||||
setFqbn(value: string): DebugConfigRequest;
|
||||
|
||||
getSketchPath(): string;
|
||||
setSketchPath(value: string): DebugConfigRequest;
|
||||
|
||||
getPort(): string;
|
||||
setPort(value: string): DebugConfigRequest;
|
||||
|
||||
getInterpreter(): string;
|
||||
setInterpreter(value: string): DebugConfigRequest;
|
||||
|
||||
getImportDir(): string;
|
||||
setImportDir(value: string): DebugConfigRequest;
|
||||
|
||||
getProgrammer(): string;
|
||||
setProgrammer(value: string): DebugConfigRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DebugConfigRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DebugConfigRequest): DebugConfigRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DebugConfigRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DebugConfigRequest;
|
||||
static deserializeBinaryFromReader(message: DebugConfigRequest, reader: jspb.BinaryReader): DebugConfigRequest;
|
||||
}
|
||||
|
||||
export namespace DebugConfigRequest {
|
||||
export type AsObject = {
|
||||
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
|
||||
fqbn: string,
|
||||
sketchPath: string,
|
||||
port: string,
|
||||
interpreter: string,
|
||||
importDir: string,
|
||||
programmer: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class DebugResponse extends jspb.Message {
|
||||
getData(): Uint8Array | string;
|
||||
getData_asU8(): Uint8Array;
|
||||
getData_asB64(): string;
|
||||
setData(value: Uint8Array | string): DebugResponse;
|
||||
|
||||
getError(): string;
|
||||
setError(value: string): DebugResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DebugResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DebugResponse): DebugResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DebugResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DebugResponse;
|
||||
static deserializeBinaryFromReader(message: DebugResponse, reader: jspb.BinaryReader): DebugResponse;
|
||||
}
|
||||
|
||||
export namespace DebugResponse {
|
||||
export type AsObject = {
|
||||
data: Uint8Array | string,
|
||||
error: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetDebugConfigResponse extends jspb.Message {
|
||||
getExecutable(): string;
|
||||
setExecutable(value: string): GetDebugConfigResponse;
|
||||
|
||||
getToolchain(): string;
|
||||
setToolchain(value: string): GetDebugConfigResponse;
|
||||
|
||||
getToolchainPath(): string;
|
||||
setToolchainPath(value: string): GetDebugConfigResponse;
|
||||
|
||||
getToolchainPrefix(): string;
|
||||
setToolchainPrefix(value: string): GetDebugConfigResponse;
|
||||
|
||||
getServer(): string;
|
||||
setServer(value: string): GetDebugConfigResponse;
|
||||
|
||||
getServerPath(): string;
|
||||
setServerPath(value: string): GetDebugConfigResponse;
|
||||
|
||||
|
||||
getToolchainConfigurationMap(): jspb.Map<string, string>;
|
||||
clearToolchainConfigurationMap(): void;
|
||||
|
||||
|
||||
getServerConfigurationMap(): jspb.Map<string, string>;
|
||||
clearServerConfigurationMap(): void;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDebugConfigResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDebugConfigResponse): GetDebugConfigResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetDebugConfigResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetDebugConfigResponse;
|
||||
static deserializeBinaryFromReader(message: GetDebugConfigResponse, reader: jspb.BinaryReader): GetDebugConfigResponse;
|
||||
}
|
||||
|
||||
export namespace GetDebugConfigResponse {
|
||||
export type AsObject = {
|
||||
executable: string,
|
||||
toolchain: string,
|
||||
toolchainPath: string,
|
||||
toolchainPrefix: string,
|
||||
server: string,
|
||||
serverPath: string,
|
||||
|
||||
toolchainConfigurationMap: Array<[string, string]>,
|
||||
|
||||
serverConfigurationMap: Array<[string, string]>,
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
// source: debug/debug.proto
|
||||
// source: cc/arduino/cli/debug/v1/debug.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
@ -15,12 +15,12 @@ var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
var commands_common_pb = require('../commands/common_pb.js');
|
||||
goog.object.extend(proto, commands_common_pb);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.debug.DebugConfigReq', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.debug.DebugReq', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.debug.DebugResp', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.debug.GetDebugConfigResp', null, global);
|
||||
var cc_arduino_cli_commands_v1_common_pb = require('../../../../../cc/arduino/cli/commands/v1/common_pb.js');
|
||||
goog.object.extend(proto, cc_arduino_cli_commands_v1_common_pb);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.debug.v1.DebugConfigRequest', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.debug.v1.DebugRequest', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.debug.v1.DebugResponse', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse', null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
@ -31,16 +31,16 @@ goog.exportSymbol('proto.cc.arduino.cli.debug.GetDebugConfigResp', null, global)
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq = function(opt_data) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.cc.arduino.cli.debug.DebugReq, jspb.Message);
|
||||
goog.inherits(proto.cc.arduino.cli.debug.v1.DebugRequest, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.displayName = 'proto.cc.arduino.cli.debug.DebugReq';
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.displayName = 'proto.cc.arduino.cli.debug.v1.DebugRequest';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -52,16 +52,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq = function(opt_data) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.cc.arduino.cli.debug.DebugConfigReq, jspb.Message);
|
||||
goog.inherits(proto.cc.arduino.cli.debug.v1.DebugConfigRequest, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.displayName = 'proto.cc.arduino.cli.debug.DebugConfigReq';
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.displayName = 'proto.cc.arduino.cli.debug.v1.DebugConfigRequest';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -73,16 +73,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp = function(opt_data) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.cc.arduino.cli.debug.DebugResp, jspb.Message);
|
||||
goog.inherits(proto.cc.arduino.cli.debug.v1.DebugResponse, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.displayName = 'proto.cc.arduino.cli.debug.DebugResp';
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.displayName = 'proto.cc.arduino.cli.debug.v1.DebugResponse';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -94,16 +94,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp = function(opt_data) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.cc.arduino.cli.debug.GetDebugConfigResp, jspb.Message);
|
||||
goog.inherits(proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.displayName = 'proto.cc.arduino.cli.debug.GetDebugConfigResp';
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.displayName = 'proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse';
|
||||
}
|
||||
|
||||
|
||||
@ -121,8 +121,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.debug.DebugReq.toObject(opt_includeInstance, this);
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.debug.v1.DebugRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -131,13 +131,13 @@ proto.cc.arduino.cli.debug.DebugReq.prototype.toObject = function(opt_includeIns
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.cc.arduino.cli.debug.DebugReq} msg The msg instance to transform.
|
||||
* @param {!proto.cc.arduino.cli.debug.v1.DebugRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.toObject = function(includeInstance, msg) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
debugreq: (f = msg.getDebugreq()) && proto.cc.arduino.cli.debug.DebugConfigReq.toObject(includeInstance, f),
|
||||
debugRequest: (f = msg.getDebugRequest()) && proto.cc.arduino.cli.debug.v1.DebugConfigRequest.toObject(includeInstance, f),
|
||||
data: msg.getData_asB64(),
|
||||
sendInterrupt: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
||||
};
|
||||
@ -153,23 +153,23 @@ proto.cc.arduino.cli.debug.DebugReq.toObject = function(includeInstance, msg) {
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugReq}
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugRequest}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.deserializeBinary = function(bytes) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.cc.arduino.cli.debug.DebugReq;
|
||||
return proto.cc.arduino.cli.debug.DebugReq.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.cc.arduino.cli.debug.v1.DebugRequest;
|
||||
return proto.cc.arduino.cli.debug.v1.DebugRequest.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.cc.arduino.cli.debug.DebugReq} msg The message object to deserialize into.
|
||||
* @param {!proto.cc.arduino.cli.debug.v1.DebugRequest} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugReq}
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugRequest}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -177,9 +177,9 @@ proto.cc.arduino.cli.debug.DebugReq.deserializeBinaryFromReader = function(msg,
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new proto.cc.arduino.cli.debug.DebugConfigReq;
|
||||
reader.readMessage(value,proto.cc.arduino.cli.debug.DebugConfigReq.deserializeBinaryFromReader);
|
||||
msg.setDebugreq(value);
|
||||
var value = new proto.cc.arduino.cli.debug.v1.DebugConfigRequest;
|
||||
reader.readMessage(value,proto.cc.arduino.cli.debug.v1.DebugConfigRequest.deserializeBinaryFromReader);
|
||||
msg.setDebugRequest(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
@ -202,9 +202,9 @@ proto.cc.arduino.cli.debug.DebugReq.deserializeBinaryFromReader = function(msg,
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.prototype.serializeBinary = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.cc.arduino.cli.debug.DebugReq.serializeBinaryToWriter(this, writer);
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -212,18 +212,18 @@ proto.cc.arduino.cli.debug.DebugReq.prototype.serializeBinary = function() {
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.cc.arduino.cli.debug.DebugReq} message
|
||||
* @param {!proto.cc.arduino.cli.debug.v1.DebugRequest} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getDebugreq();
|
||||
f = message.getDebugRequest();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
1,
|
||||
f,
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.serializeBinaryToWriter
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getData_asU8();
|
||||
@ -244,30 +244,30 @@ proto.cc.arduino.cli.debug.DebugReq.serializeBinaryToWriter = function(message,
|
||||
|
||||
|
||||
/**
|
||||
* optional DebugConfigReq debugReq = 1;
|
||||
* @return {?proto.cc.arduino.cli.debug.DebugConfigReq}
|
||||
* optional DebugConfigRequest debug_request = 1;
|
||||
* @return {?proto.cc.arduino.cli.debug.v1.DebugConfigRequest}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.prototype.getDebugreq = function() {
|
||||
return /** @type{?proto.cc.arduino.cli.debug.DebugConfigReq} */ (
|
||||
jspb.Message.getWrapperField(this, proto.cc.arduino.cli.debug.DebugConfigReq, 1));
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.prototype.getDebugRequest = function() {
|
||||
return /** @type{?proto.cc.arduino.cli.debug.v1.DebugConfigRequest} */ (
|
||||
jspb.Message.getWrapperField(this, proto.cc.arduino.cli.debug.v1.DebugConfigRequest, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.cc.arduino.cli.debug.DebugConfigReq|undefined} value
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugReq} returns this
|
||||
* @param {?proto.cc.arduino.cli.debug.v1.DebugConfigRequest|undefined} value
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.prototype.setDebugreq = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.prototype.setDebugRequest = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.prototype.clearDebugreq = function() {
|
||||
return this.setDebugreq(undefined);
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.prototype.clearDebugRequest = function() {
|
||||
return this.setDebugRequest(undefined);
|
||||
};
|
||||
|
||||
|
||||
@ -275,7 +275,7 @@ proto.cc.arduino.cli.debug.DebugReq.prototype.clearDebugreq = function() {
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.prototype.hasDebugreq = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.prototype.hasDebugRequest = function() {
|
||||
return jspb.Message.getField(this, 1) != null;
|
||||
};
|
||||
|
||||
@ -284,7 +284,7 @@ proto.cc.arduino.cli.debug.DebugReq.prototype.hasDebugreq = function() {
|
||||
* optional bytes data = 2;
|
||||
* @return {!(string|Uint8Array)}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.prototype.getData = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.prototype.getData = function() {
|
||||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
@ -294,7 +294,7 @@ proto.cc.arduino.cli.debug.DebugReq.prototype.getData = function() {
|
||||
* This is a type-conversion wrapper around `getData()`
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.prototype.getData_asB64 = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.prototype.getData_asB64 = function() {
|
||||
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
||||
this.getData()));
|
||||
};
|
||||
@ -307,7 +307,7 @@ proto.cc.arduino.cli.debug.DebugReq.prototype.getData_asB64 = function() {
|
||||
* This is a type-conversion wrapper around `getData()`
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.prototype.getData_asU8 = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.prototype.getData_asU8 = function() {
|
||||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
||||
this.getData()));
|
||||
};
|
||||
@ -315,9 +315,9 @@ proto.cc.arduino.cli.debug.DebugReq.prototype.getData_asU8 = function() {
|
||||
|
||||
/**
|
||||
* @param {!(string|Uint8Array)} value
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.prototype.setData = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.prototype.setData = function(value) {
|
||||
return jspb.Message.setProto3BytesField(this, 2, value);
|
||||
};
|
||||
|
||||
@ -326,16 +326,16 @@ proto.cc.arduino.cli.debug.DebugReq.prototype.setData = function(value) {
|
||||
* optional bool send_interrupt = 3;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.prototype.getSendInterrupt = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.prototype.getSendInterrupt = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugReq.prototype.setSendInterrupt = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugRequest.prototype.setSendInterrupt = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 3, value);
|
||||
};
|
||||
|
||||
@ -356,8 +356,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.debug.DebugConfigReq.toObject(opt_includeInstance, this);
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.debug.v1.DebugConfigRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -366,13 +366,13 @@ proto.cc.arduino.cli.debug.DebugConfigReq.prototype.toObject = function(opt_incl
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.cc.arduino.cli.debug.DebugConfigReq} msg The msg instance to transform.
|
||||
* @param {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.toObject = function(includeInstance, msg) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
instance: (f = msg.getInstance()) && commands_common_pb.Instance.toObject(includeInstance, f),
|
||||
instance: (f = msg.getInstance()) && cc_arduino_cli_commands_v1_common_pb.Instance.toObject(includeInstance, f),
|
||||
fqbn: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
sketchPath: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
port: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
@ -392,23 +392,23 @@ proto.cc.arduino.cli.debug.DebugConfigReq.toObject = function(includeInstance, m
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugConfigReq}
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.deserializeBinary = function(bytes) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.cc.arduino.cli.debug.DebugConfigReq;
|
||||
return proto.cc.arduino.cli.debug.DebugConfigReq.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.cc.arduino.cli.debug.v1.DebugConfigRequest;
|
||||
return proto.cc.arduino.cli.debug.v1.DebugConfigRequest.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.cc.arduino.cli.debug.DebugConfigReq} msg The message object to deserialize into.
|
||||
* @param {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugConfigReq}
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -416,8 +416,8 @@ proto.cc.arduino.cli.debug.DebugConfigReq.deserializeBinaryFromReader = function
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new commands_common_pb.Instance;
|
||||
reader.readMessage(value,commands_common_pb.Instance.deserializeBinaryFromReader);
|
||||
var value = new cc_arduino_cli_commands_v1_common_pb.Instance;
|
||||
reader.readMessage(value,cc_arduino_cli_commands_v1_common_pb.Instance.deserializeBinaryFromReader);
|
||||
msg.setInstance(value);
|
||||
break;
|
||||
case 2:
|
||||
@ -457,9 +457,9 @@ proto.cc.arduino.cli.debug.DebugConfigReq.deserializeBinaryFromReader = function
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.serializeBinary = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.serializeBinaryToWriter(this, writer);
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -467,18 +467,18 @@ proto.cc.arduino.cli.debug.DebugConfigReq.prototype.serializeBinary = function()
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.cc.arduino.cli.debug.DebugConfigReq} message
|
||||
* @param {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getInstance();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
1,
|
||||
f,
|
||||
commands_common_pb.Instance.serializeBinaryToWriter
|
||||
cc_arduino_cli_commands_v1_common_pb.Instance.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getFqbn();
|
||||
@ -527,29 +527,29 @@ proto.cc.arduino.cli.debug.DebugConfigReq.serializeBinaryToWriter = function(mes
|
||||
|
||||
|
||||
/**
|
||||
* optional cc.arduino.cli.commands.Instance instance = 1;
|
||||
* @return {?proto.cc.arduino.cli.commands.Instance}
|
||||
* optional cc.arduino.cli.commands.v1.Instance instance = 1;
|
||||
* @return {?proto.cc.arduino.cli.commands.v1.Instance}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.getInstance = function() {
|
||||
return /** @type{?proto.cc.arduino.cli.commands.Instance} */ (
|
||||
jspb.Message.getWrapperField(this, commands_common_pb.Instance, 1));
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.getInstance = function() {
|
||||
return /** @type{?proto.cc.arduino.cli.commands.v1.Instance} */ (
|
||||
jspb.Message.getWrapperField(this, cc_arduino_cli_commands_v1_common_pb.Instance, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.cc.arduino.cli.commands.Instance|undefined} value
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugConfigReq} returns this
|
||||
* @param {?proto.cc.arduino.cli.commands.v1.Instance|undefined} value
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.setInstance = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.setInstance = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugConfigReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.clearInstance = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.clearInstance = function() {
|
||||
return this.setInstance(undefined);
|
||||
};
|
||||
|
||||
@ -558,7 +558,7 @@ proto.cc.arduino.cli.debug.DebugConfigReq.prototype.clearInstance = function() {
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.hasInstance = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.hasInstance = function() {
|
||||
return jspb.Message.getField(this, 1) != null;
|
||||
};
|
||||
|
||||
@ -567,16 +567,16 @@ proto.cc.arduino.cli.debug.DebugConfigReq.prototype.hasInstance = function() {
|
||||
* optional string fqbn = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.getFqbn = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.getFqbn = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugConfigReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.setFqbn = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.setFqbn = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
@ -585,16 +585,16 @@ proto.cc.arduino.cli.debug.DebugConfigReq.prototype.setFqbn = function(value) {
|
||||
* optional string sketch_path = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.getSketchPath = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.getSketchPath = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugConfigReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.setSketchPath = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.setSketchPath = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
@ -603,16 +603,16 @@ proto.cc.arduino.cli.debug.DebugConfigReq.prototype.setSketchPath = function(val
|
||||
* optional string port = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.getPort = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.getPort = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugConfigReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.setPort = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.setPort = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
@ -621,16 +621,16 @@ proto.cc.arduino.cli.debug.DebugConfigReq.prototype.setPort = function(value) {
|
||||
* optional string interpreter = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.getInterpreter = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.getInterpreter = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugConfigReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.setInterpreter = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.setInterpreter = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
};
|
||||
|
||||
@ -639,16 +639,16 @@ proto.cc.arduino.cli.debug.DebugConfigReq.prototype.setInterpreter = function(va
|
||||
* optional string import_dir = 8;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.getImportDir = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.getImportDir = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugConfigReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.setImportDir = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.setImportDir = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 8, value);
|
||||
};
|
||||
|
||||
@ -657,16 +657,16 @@ proto.cc.arduino.cli.debug.DebugConfigReq.prototype.setImportDir = function(valu
|
||||
* optional string programmer = 9;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.getProgrammer = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.getProgrammer = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugConfigReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugConfigRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugConfigReq.prototype.setProgrammer = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugConfigRequest.prototype.setProgrammer = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 9, value);
|
||||
};
|
||||
|
||||
@ -687,8 +687,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.debug.DebugResp.toObject(opt_includeInstance, this);
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.debug.v1.DebugResponse.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -697,11 +697,11 @@ proto.cc.arduino.cli.debug.DebugResp.prototype.toObject = function(opt_includeIn
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.cc.arduino.cli.debug.DebugResp} msg The msg instance to transform.
|
||||
* @param {!proto.cc.arduino.cli.debug.v1.DebugResponse} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.toObject = function(includeInstance, msg) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
data: msg.getData_asB64(),
|
||||
error: jspb.Message.getFieldWithDefault(msg, 2, "")
|
||||
@ -718,23 +718,23 @@ proto.cc.arduino.cli.debug.DebugResp.toObject = function(includeInstance, msg) {
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugResp}
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugResponse}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.deserializeBinary = function(bytes) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.cc.arduino.cli.debug.DebugResp;
|
||||
return proto.cc.arduino.cli.debug.DebugResp.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.cc.arduino.cli.debug.v1.DebugResponse;
|
||||
return proto.cc.arduino.cli.debug.v1.DebugResponse.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.cc.arduino.cli.debug.DebugResp} msg The message object to deserialize into.
|
||||
* @param {!proto.cc.arduino.cli.debug.v1.DebugResponse} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugResp}
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugResponse}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -762,9 +762,9 @@ proto.cc.arduino.cli.debug.DebugResp.deserializeBinaryFromReader = function(msg,
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.prototype.serializeBinary = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.cc.arduino.cli.debug.DebugResp.serializeBinaryToWriter(this, writer);
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -772,11 +772,11 @@ proto.cc.arduino.cli.debug.DebugResp.prototype.serializeBinary = function() {
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.cc.arduino.cli.debug.DebugResp} message
|
||||
* @param {!proto.cc.arduino.cli.debug.v1.DebugResponse} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getData_asU8();
|
||||
if (f.length > 0) {
|
||||
@ -799,7 +799,7 @@ proto.cc.arduino.cli.debug.DebugResp.serializeBinaryToWriter = function(message,
|
||||
* optional bytes data = 1;
|
||||
* @return {!(string|Uint8Array)}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.prototype.getData = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.prototype.getData = function() {
|
||||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
@ -809,7 +809,7 @@ proto.cc.arduino.cli.debug.DebugResp.prototype.getData = function() {
|
||||
* This is a type-conversion wrapper around `getData()`
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.prototype.getData_asB64 = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.prototype.getData_asB64 = function() {
|
||||
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
||||
this.getData()));
|
||||
};
|
||||
@ -822,7 +822,7 @@ proto.cc.arduino.cli.debug.DebugResp.prototype.getData_asB64 = function() {
|
||||
* This is a type-conversion wrapper around `getData()`
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.prototype.getData_asU8 = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.prototype.getData_asU8 = function() {
|
||||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
||||
this.getData()));
|
||||
};
|
||||
@ -830,9 +830,9 @@ proto.cc.arduino.cli.debug.DebugResp.prototype.getData_asU8 = function() {
|
||||
|
||||
/**
|
||||
* @param {!(string|Uint8Array)} value
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugResp} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugResponse} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.prototype.setData = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.prototype.setData = function(value) {
|
||||
return jspb.Message.setProto3BytesField(this, 1, value);
|
||||
};
|
||||
|
||||
@ -841,16 +841,16 @@ proto.cc.arduino.cli.debug.DebugResp.prototype.setData = function(value) {
|
||||
* optional string error = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.prototype.getError = function() {
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.prototype.getError = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.DebugResp} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.DebugResponse} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.DebugResp.prototype.setError = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.DebugResponse.prototype.setError = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
@ -871,8 +871,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.debug.GetDebugConfigResp.toObject(opt_includeInstance, this);
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -881,11 +881,11 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.toObject = function(opt_
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.cc.arduino.cli.debug.GetDebugConfigResp} msg The msg instance to transform.
|
||||
* @param {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.toObject = function(includeInstance, msg) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
executable: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
toolchain: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
@ -908,23 +908,23 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.toObject = function(includeInstanc
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.cc.arduino.cli.debug.GetDebugConfigResp}
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.deserializeBinary = function(bytes) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.cc.arduino.cli.debug.GetDebugConfigResp;
|
||||
return proto.cc.arduino.cli.debug.GetDebugConfigResp.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse;
|
||||
return proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.cc.arduino.cli.debug.GetDebugConfigResp} msg The message object to deserialize into.
|
||||
* @param {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.cc.arduino.cli.debug.GetDebugConfigResp}
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -980,9 +980,9 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.deserializeBinaryFromReader = func
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.serializeBinary = function() {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.serializeBinaryToWriter(this, writer);
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -990,11 +990,11 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.serializeBinary = functi
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.cc.arduino.cli.debug.GetDebugConfigResp} message
|
||||
* @param {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getExecutable();
|
||||
if (f.length > 0) {
|
||||
@ -1053,16 +1053,16 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.serializeBinaryToWriter = function
|
||||
* optional string executable = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.getExecutable = function() {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.getExecutable = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.GetDebugConfigResp} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.setExecutable = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.setExecutable = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
@ -1071,16 +1071,16 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.setExecutable = function
|
||||
* optional string toolchain = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.getToolchain = function() {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.getToolchain = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.GetDebugConfigResp} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.setToolchain = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.setToolchain = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
@ -1089,16 +1089,16 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.setToolchain = function(
|
||||
* optional string toolchain_path = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.getToolchainPath = function() {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.getToolchainPath = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.GetDebugConfigResp} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.setToolchainPath = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.setToolchainPath = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
@ -1107,16 +1107,16 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.setToolchainPath = funct
|
||||
* optional string toolchain_prefix = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.getToolchainPrefix = function() {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.getToolchainPrefix = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.GetDebugConfigResp} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.setToolchainPrefix = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.setToolchainPrefix = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
@ -1125,16 +1125,16 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.setToolchainPrefix = fun
|
||||
* optional string server = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.getServer = function() {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.getServer = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.GetDebugConfigResp} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.setServer = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.setServer = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
};
|
||||
|
||||
@ -1143,16 +1143,16 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.setServer = function(val
|
||||
* optional string server_path = 6;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.getServerPath = function() {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.getServerPath = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.debug.GetDebugConfigResp} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.setServerPath = function(value) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.setServerPath = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 6, value);
|
||||
};
|
||||
|
||||
@ -1163,7 +1163,7 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.setServerPath = function
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,string>}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.getToolchainConfigurationMap = function(opt_noLazyCreate) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.getToolchainConfigurationMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,string>} */ (
|
||||
jspb.Message.getMapField(this, 7, opt_noLazyCreate,
|
||||
null));
|
||||
@ -1172,9 +1172,9 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.getToolchainConfiguratio
|
||||
|
||||
/**
|
||||
* Clears values from the map. The map will be non-null.
|
||||
* @return {!proto.cc.arduino.cli.debug.GetDebugConfigResp} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.clearToolchainConfigurationMap = function() {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.clearToolchainConfigurationMap = function() {
|
||||
this.getToolchainConfigurationMap().clear();
|
||||
return this;};
|
||||
|
||||
@ -1185,7 +1185,7 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.clearToolchainConfigurat
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,string>}
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.getServerConfigurationMap = function(opt_noLazyCreate) {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.getServerConfigurationMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,string>} */ (
|
||||
jspb.Message.getMapField(this, 8, opt_noLazyCreate,
|
||||
null));
|
||||
@ -1194,11 +1194,11 @@ proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.getServerConfigurationMa
|
||||
|
||||
/**
|
||||
* Clears values from the map. The map will be non-null.
|
||||
* @return {!proto.cc.arduino.cli.debug.GetDebugConfigResp} returns this
|
||||
* @return {!proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.debug.GetDebugConfigResp.prototype.clearServerConfigurationMap = function() {
|
||||
proto.cc.arduino.cli.debug.v1.GetDebugConfigResponse.prototype.clearServerConfigurationMap = function() {
|
||||
this.getServerConfigurationMap().clear();
|
||||
return this;};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.cc.arduino.cli.debug);
|
||||
goog.object.extend(exports, proto.cc.arduino.cli.debug.v1);
|
42
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/monitor/v1/monitor_grpc_pb.d.ts
vendored
Normal file
42
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/monitor/v1/monitor_grpc_pb.d.ts
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
// package: cc.arduino.cli.monitor.v1
|
||||
// file: cc/arduino/cli/monitor/v1/monitor.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
|
||||
import * as cc_arduino_cli_monitor_v1_monitor_pb from "../../../../../cc/arduino/cli/monitor/v1/monitor_pb";
|
||||
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
||||
|
||||
interface IMonitorServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
streamingOpen: IMonitorServiceService_IStreamingOpen;
|
||||
}
|
||||
|
||||
interface IMonitorServiceService_IStreamingOpen extends grpc.MethodDefinition<cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenRequest, cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenResponse> {
|
||||
path: "/cc.arduino.cli.monitor.v1.MonitorService/StreamingOpen";
|
||||
requestStream: true;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenResponse>;
|
||||
}
|
||||
|
||||
export const MonitorServiceService: IMonitorServiceService;
|
||||
|
||||
export interface IMonitorServiceServer {
|
||||
streamingOpen: grpc.handleBidiStreamingCall<cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenRequest, cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenResponse>;
|
||||
}
|
||||
|
||||
export interface IMonitorServiceClient {
|
||||
streamingOpen(): grpc.ClientDuplexStream<cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenRequest, cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenResponse>;
|
||||
streamingOpen(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenRequest, cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenResponse>;
|
||||
streamingOpen(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenRequest, cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenResponse>;
|
||||
}
|
||||
|
||||
export class MonitorServiceClient extends grpc.Client implements IMonitorServiceClient {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
||||
public streamingOpen(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenRequest, cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenResponse>;
|
||||
public streamingOpen(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenRequest, cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenResponse>;
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// Original file comments:
|
||||
// This file is part of arduino-cli.
|
||||
//
|
||||
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
|
||||
//
|
||||
// This software is released under the GNU General Public License version 3,
|
||||
// which covers the main part of arduino-cli.
|
||||
// The terms of this license can be found at:
|
||||
// https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
//
|
||||
// You can be released from the requirements of the above licenses by purchasing
|
||||
// a commercial license. Buying such a license is mandatory if you want to
|
||||
// modify or otherwise use the software for commercial activities involving the
|
||||
// Arduino software without disclosing the source code of your own applications.
|
||||
// To purchase a commercial license, send an email to license@arduino.cc.
|
||||
//
|
||||
'use strict';
|
||||
var cc_arduino_cli_monitor_v1_monitor_pb = require('../../../../../cc/arduino/cli/monitor/v1/monitor_pb.js');
|
||||
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
||||
|
||||
function serialize_cc_arduino_cli_monitor_v1_StreamingOpenRequest(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenRequest)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.monitor.v1.StreamingOpenRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_monitor_v1_StreamingOpenRequest(buffer_arg) {
|
||||
return cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_monitor_v1_StreamingOpenResponse(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenResponse)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.monitor.v1.StreamingOpenResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_monitor_v1_StreamingOpenResponse(buffer_arg) {
|
||||
return cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// MonitorService provides services for boards monitor
|
||||
var MonitorServiceService = exports['cc.arduino.cli.monitor.v1.MonitorService'] = {
|
||||
// Open a bidirectional monitor stream. This can be used to implement
|
||||
// something similar to the Arduino IDE's Serial Monitor.
|
||||
streamingOpen: {
|
||||
path: '/cc.arduino.cli.monitor.v1.MonitorService/StreamingOpen',
|
||||
requestStream: true,
|
||||
responseStream: true,
|
||||
requestType: cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenRequest,
|
||||
responseType: cc_arduino_cli_monitor_v1_monitor_pb.StreamingOpenResponse,
|
||||
requestSerialize: serialize_cc_arduino_cli_monitor_v1_StreamingOpenRequest,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_monitor_v1_StreamingOpenRequest,
|
||||
responseSerialize: serialize_cc_arduino_cli_monitor_v1_StreamingOpenResponse,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_monitor_v1_StreamingOpenResponse,
|
||||
},
|
||||
};
|
||||
|
@ -1,5 +1,5 @@
|
||||
// package: cc.arduino.cli.monitor
|
||||
// file: monitor/monitor.proto
|
||||
// package: cc.arduino.cli.monitor.v1
|
||||
// file: cc/arduino/cli/monitor/v1/monitor.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
@ -7,12 +7,12 @@
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
||||
|
||||
export class StreamingOpenReq extends jspb.Message {
|
||||
export class StreamingOpenRequest extends jspb.Message {
|
||||
|
||||
hasMonitorconfig(): boolean;
|
||||
clearMonitorconfig(): void;
|
||||
getMonitorconfig(): MonitorConfig | undefined;
|
||||
setMonitorconfig(value?: MonitorConfig): StreamingOpenReq;
|
||||
hasConfig(): boolean;
|
||||
clearConfig(): void;
|
||||
getConfig(): MonitorConfig | undefined;
|
||||
setConfig(value?: MonitorConfig): StreamingOpenRequest;
|
||||
|
||||
|
||||
hasData(): boolean;
|
||||
@ -20,30 +20,30 @@ export class StreamingOpenReq extends jspb.Message {
|
||||
getData(): Uint8Array | string;
|
||||
getData_asU8(): Uint8Array;
|
||||
getData_asB64(): string;
|
||||
setData(value: Uint8Array | string): StreamingOpenReq;
|
||||
setData(value: Uint8Array | string): StreamingOpenRequest;
|
||||
|
||||
|
||||
hasRecvAcknowledge(): boolean;
|
||||
clearRecvAcknowledge(): void;
|
||||
getRecvAcknowledge(): number;
|
||||
setRecvAcknowledge(value: number): StreamingOpenReq;
|
||||
setRecvAcknowledge(value: number): StreamingOpenRequest;
|
||||
|
||||
|
||||
getContentCase(): StreamingOpenReq.ContentCase;
|
||||
getContentCase(): StreamingOpenRequest.ContentCase;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): StreamingOpenReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StreamingOpenReq): StreamingOpenReq.AsObject;
|
||||
toObject(includeInstance?: boolean): StreamingOpenRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StreamingOpenRequest): StreamingOpenRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: StreamingOpenReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StreamingOpenReq;
|
||||
static deserializeBinaryFromReader(message: StreamingOpenReq, reader: jspb.BinaryReader): StreamingOpenReq;
|
||||
static serializeBinaryToWriter(message: StreamingOpenRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StreamingOpenRequest;
|
||||
static deserializeBinaryFromReader(message: StreamingOpenRequest, reader: jspb.BinaryReader): StreamingOpenRequest;
|
||||
}
|
||||
|
||||
export namespace StreamingOpenReq {
|
||||
export namespace StreamingOpenRequest {
|
||||
export type AsObject = {
|
||||
monitorconfig?: MonitorConfig.AsObject,
|
||||
config?: MonitorConfig.AsObject,
|
||||
data: Uint8Array | string,
|
||||
recvAcknowledge: number,
|
||||
}
|
||||
@ -51,7 +51,7 @@ export namespace StreamingOpenReq {
|
||||
export enum ContentCase {
|
||||
CONTENT_NOT_SET = 0,
|
||||
|
||||
MONITORCONFIG = 1,
|
||||
CONFIG = 1,
|
||||
|
||||
DATA = 2,
|
||||
|
||||
@ -69,10 +69,10 @@ export class MonitorConfig extends jspb.Message {
|
||||
setType(value: MonitorConfig.TargetType): MonitorConfig;
|
||||
|
||||
|
||||
hasAdditionalconfig(): boolean;
|
||||
clearAdditionalconfig(): void;
|
||||
getAdditionalconfig(): google_protobuf_struct_pb.Struct | undefined;
|
||||
setAdditionalconfig(value?: google_protobuf_struct_pb.Struct): MonitorConfig;
|
||||
hasAdditionalConfig(): boolean;
|
||||
clearAdditionalConfig(): void;
|
||||
getAdditionalConfig(): google_protobuf_struct_pb.Struct | undefined;
|
||||
setAdditionalConfig(value?: google_protobuf_struct_pb.Struct): MonitorConfig;
|
||||
|
||||
getRecvRateLimitBuffer(): number;
|
||||
setRecvRateLimitBuffer(value: number): MonitorConfig;
|
||||
@ -92,38 +92,38 @@ export namespace MonitorConfig {
|
||||
export type AsObject = {
|
||||
target: string,
|
||||
type: MonitorConfig.TargetType,
|
||||
additionalconfig?: google_protobuf_struct_pb.Struct.AsObject,
|
||||
additionalConfig?: google_protobuf_struct_pb.Struct.AsObject,
|
||||
recvRateLimitBuffer: number,
|
||||
}
|
||||
|
||||
export enum TargetType {
|
||||
SERIAL = 0,
|
||||
NULL = 99,
|
||||
TARGET_TYPE_SERIAL = 0,
|
||||
TARGET_TYPE_NULL = 99,
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export class StreamingOpenResp extends jspb.Message {
|
||||
export class StreamingOpenResponse extends jspb.Message {
|
||||
getData(): Uint8Array | string;
|
||||
getData_asU8(): Uint8Array;
|
||||
getData_asB64(): string;
|
||||
setData(value: Uint8Array | string): StreamingOpenResp;
|
||||
setData(value: Uint8Array | string): StreamingOpenResponse;
|
||||
|
||||
getDropped(): number;
|
||||
setDropped(value: number): StreamingOpenResp;
|
||||
setDropped(value: number): StreamingOpenResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): StreamingOpenResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StreamingOpenResp): StreamingOpenResp.AsObject;
|
||||
toObject(includeInstance?: boolean): StreamingOpenResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StreamingOpenResponse): StreamingOpenResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: StreamingOpenResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StreamingOpenResp;
|
||||
static deserializeBinaryFromReader(message: StreamingOpenResp, reader: jspb.BinaryReader): StreamingOpenResp;
|
||||
static serializeBinaryToWriter(message: StreamingOpenResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StreamingOpenResponse;
|
||||
static deserializeBinaryFromReader(message: StreamingOpenResponse, reader: jspb.BinaryReader): StreamingOpenResponse;
|
||||
}
|
||||
|
||||
export namespace StreamingOpenResp {
|
||||
export namespace StreamingOpenResponse {
|
||||
export type AsObject = {
|
||||
data: Uint8Array | string,
|
||||
dropped: number,
|
@ -1,4 +1,4 @@
|
||||
// source: monitor/monitor.proto
|
||||
// source: cc/arduino/cli/monitor/v1/monitor.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
@ -17,11 +17,11 @@ var global = Function('return this')();
|
||||
|
||||
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
||||
goog.object.extend(proto, google_protobuf_struct_pb);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.monitor.MonitorConfig', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.monitor.MonitorConfig.TargetType', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.monitor.StreamingOpenReq', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.monitor.StreamingOpenReq.ContentCase', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.monitor.StreamingOpenResp', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.monitor.v1.MonitorConfig', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.monitor.v1.MonitorConfig.TargetType', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.ContentCase', null, global);
|
||||
goog.exportSymbol('proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse', null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
* @param {Array=} opt_data Optional initial data array, typically from a
|
||||
@ -32,16 +32,16 @@ goog.exportSymbol('proto.cc.arduino.cli.monitor.StreamingOpenResp', null, global
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.cc.arduino.cli.monitor.StreamingOpenReq.oneofGroups_);
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.oneofGroups_);
|
||||
};
|
||||
goog.inherits(proto.cc.arduino.cli.monitor.StreamingOpenReq, jspb.Message);
|
||||
goog.inherits(proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.displayName = 'proto.cc.arduino.cli.monitor.StreamingOpenReq';
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.displayName = 'proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -53,16 +53,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig = function(opt_data) {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.cc.arduino.cli.monitor.MonitorConfig, jspb.Message);
|
||||
goog.inherits(proto.cc.arduino.cli.monitor.v1.MonitorConfig, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.displayName = 'proto.cc.arduino.cli.monitor.MonitorConfig';
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.displayName = 'proto.cc.arduino.cli.monitor.v1.MonitorConfig';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -74,16 +74,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp = function(opt_data) {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.cc.arduino.cli.monitor.StreamingOpenResp, jspb.Message);
|
||||
goog.inherits(proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.displayName = 'proto.cc.arduino.cli.monitor.StreamingOpenResp';
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.displayName = 'proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse';
|
||||
}
|
||||
|
||||
/**
|
||||
@ -94,23 +94,23 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @private {!Array<!Array<number>>}
|
||||
* @const
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.oneofGroups_ = [[1,2,3]];
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.oneofGroups_ = [[1,2,3]];
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.ContentCase = {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.ContentCase = {
|
||||
CONTENT_NOT_SET: 0,
|
||||
MONITORCONFIG: 1,
|
||||
CONFIG: 1,
|
||||
DATA: 2,
|
||||
RECV_ACKNOWLEDGE: 3
|
||||
};
|
||||
|
||||
/**
|
||||
* @return {proto.cc.arduino.cli.monitor.StreamingOpenReq.ContentCase}
|
||||
* @return {proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.ContentCase}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.getContentCase = function() {
|
||||
return /** @type {proto.cc.arduino.cli.monitor.StreamingOpenReq.ContentCase} */(jspb.Message.computeOneofCase(this, proto.cc.arduino.cli.monitor.StreamingOpenReq.oneofGroups_[0]));
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.getContentCase = function() {
|
||||
return /** @type {proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.ContentCase} */(jspb.Message.computeOneofCase(this, proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.oneofGroups_[0]));
|
||||
};
|
||||
|
||||
|
||||
@ -128,8 +128,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.monitor.StreamingOpenReq.toObject(opt_includeInstance, this);
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -138,13 +138,13 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.toObject = function(opt_
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.cc.arduino.cli.monitor.StreamingOpenReq} msg The msg instance to transform.
|
||||
* @param {!proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.toObject = function(includeInstance, msg) {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
monitorconfig: (f = msg.getMonitorconfig()) && proto.cc.arduino.cli.monitor.MonitorConfig.toObject(includeInstance, f),
|
||||
config: (f = msg.getConfig()) && proto.cc.arduino.cli.monitor.v1.MonitorConfig.toObject(includeInstance, f),
|
||||
data: msg.getData_asB64(),
|
||||
recvAcknowledge: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
||||
};
|
||||
@ -160,23 +160,23 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.toObject = function(includeInstanc
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.cc.arduino.cli.monitor.StreamingOpenReq}
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.deserializeBinary = function(bytes) {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.cc.arduino.cli.monitor.StreamingOpenReq;
|
||||
return proto.cc.arduino.cli.monitor.StreamingOpenReq.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest;
|
||||
return proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.cc.arduino.cli.monitor.StreamingOpenReq} msg The message object to deserialize into.
|
||||
* @param {!proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.cc.arduino.cli.monitor.StreamingOpenReq}
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -184,9 +184,9 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.deserializeBinaryFromReader = func
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new proto.cc.arduino.cli.monitor.MonitorConfig;
|
||||
reader.readMessage(value,proto.cc.arduino.cli.monitor.MonitorConfig.deserializeBinaryFromReader);
|
||||
msg.setMonitorconfig(value);
|
||||
var value = new proto.cc.arduino.cli.monitor.v1.MonitorConfig;
|
||||
reader.readMessage(value,proto.cc.arduino.cli.monitor.v1.MonitorConfig.deserializeBinaryFromReader);
|
||||
msg.setConfig(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
@ -209,9 +209,9 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.deserializeBinaryFromReader = func
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.serializeBinary = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.serializeBinaryToWriter(this, writer);
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -219,18 +219,18 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.serializeBinary = functi
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.cc.arduino.cli.monitor.StreamingOpenReq} message
|
||||
* @param {!proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getMonitorconfig();
|
||||
f = message.getConfig();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
1,
|
||||
f,
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.serializeBinaryToWriter
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
|
||||
@ -251,30 +251,30 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.serializeBinaryToWriter = function
|
||||
|
||||
|
||||
/**
|
||||
* optional MonitorConfig monitorConfig = 1;
|
||||
* @return {?proto.cc.arduino.cli.monitor.MonitorConfig}
|
||||
* optional MonitorConfig config = 1;
|
||||
* @return {?proto.cc.arduino.cli.monitor.v1.MonitorConfig}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.getMonitorconfig = function() {
|
||||
return /** @type{?proto.cc.arduino.cli.monitor.MonitorConfig} */ (
|
||||
jspb.Message.getWrapperField(this, proto.cc.arduino.cli.monitor.MonitorConfig, 1));
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.getConfig = function() {
|
||||
return /** @type{?proto.cc.arduino.cli.monitor.v1.MonitorConfig} */ (
|
||||
jspb.Message.getWrapperField(this, proto.cc.arduino.cli.monitor.v1.MonitorConfig, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.cc.arduino.cli.monitor.MonitorConfig|undefined} value
|
||||
* @return {!proto.cc.arduino.cli.monitor.StreamingOpenReq} returns this
|
||||
* @param {?proto.cc.arduino.cli.monitor.v1.MonitorConfig|undefined} value
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.setMonitorconfig = function(value) {
|
||||
return jspb.Message.setOneofWrapperField(this, 1, proto.cc.arduino.cli.monitor.StreamingOpenReq.oneofGroups_[0], value);
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.setConfig = function(value) {
|
||||
return jspb.Message.setOneofWrapperField(this, 1, proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.oneofGroups_[0], value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.cc.arduino.cli.monitor.StreamingOpenReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.clearMonitorconfig = function() {
|
||||
return this.setMonitorconfig(undefined);
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.clearConfig = function() {
|
||||
return this.setConfig(undefined);
|
||||
};
|
||||
|
||||
|
||||
@ -282,7 +282,7 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.clearMonitorconfig = fun
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.hasMonitorconfig = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.hasConfig = function() {
|
||||
return jspb.Message.getField(this, 1) != null;
|
||||
};
|
||||
|
||||
@ -291,7 +291,7 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.hasMonitorconfig = funct
|
||||
* optional bytes data = 2;
|
||||
* @return {!(string|Uint8Array)}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.getData = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.getData = function() {
|
||||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
@ -301,7 +301,7 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.getData = function() {
|
||||
* This is a type-conversion wrapper around `getData()`
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.getData_asB64 = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.getData_asB64 = function() {
|
||||
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
||||
this.getData()));
|
||||
};
|
||||
@ -314,7 +314,7 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.getData_asB64 = function
|
||||
* This is a type-conversion wrapper around `getData()`
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.getData_asU8 = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.getData_asU8 = function() {
|
||||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
||||
this.getData()));
|
||||
};
|
||||
@ -322,19 +322,19 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.getData_asU8 = function(
|
||||
|
||||
/**
|
||||
* @param {!(string|Uint8Array)} value
|
||||
* @return {!proto.cc.arduino.cli.monitor.StreamingOpenReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.setData = function(value) {
|
||||
return jspb.Message.setOneofField(this, 2, proto.cc.arduino.cli.monitor.StreamingOpenReq.oneofGroups_[0], value);
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.setData = function(value) {
|
||||
return jspb.Message.setOneofField(this, 2, proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.oneofGroups_[0], value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.cc.arduino.cli.monitor.StreamingOpenReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.clearData = function() {
|
||||
return jspb.Message.setOneofField(this, 2, proto.cc.arduino.cli.monitor.StreamingOpenReq.oneofGroups_[0], undefined);
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.clearData = function() {
|
||||
return jspb.Message.setOneofField(this, 2, proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.oneofGroups_[0], undefined);
|
||||
};
|
||||
|
||||
|
||||
@ -342,7 +342,7 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.clearData = function() {
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.hasData = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.hasData = function() {
|
||||
return jspb.Message.getField(this, 2) != null;
|
||||
};
|
||||
|
||||
@ -351,26 +351,26 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.hasData = function() {
|
||||
* optional int32 recv_acknowledge = 3;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.getRecvAcknowledge = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.getRecvAcknowledge = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.cc.arduino.cli.monitor.StreamingOpenReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.setRecvAcknowledge = function(value) {
|
||||
return jspb.Message.setOneofField(this, 3, proto.cc.arduino.cli.monitor.StreamingOpenReq.oneofGroups_[0], value);
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.setRecvAcknowledge = function(value) {
|
||||
return jspb.Message.setOneofField(this, 3, proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.oneofGroups_[0], value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.cc.arduino.cli.monitor.StreamingOpenReq} returns this
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.clearRecvAcknowledge = function() {
|
||||
return jspb.Message.setOneofField(this, 3, proto.cc.arduino.cli.monitor.StreamingOpenReq.oneofGroups_[0], undefined);
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.clearRecvAcknowledge = function() {
|
||||
return jspb.Message.setOneofField(this, 3, proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.oneofGroups_[0], undefined);
|
||||
};
|
||||
|
||||
|
||||
@ -378,7 +378,7 @@ proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.clearRecvAcknowledge = f
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenReq.prototype.hasRecvAcknowledge = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenRequest.prototype.hasRecvAcknowledge = function() {
|
||||
return jspb.Message.getField(this, 3) != null;
|
||||
};
|
||||
|
||||
@ -399,8 +399,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.monitor.MonitorConfig.toObject(opt_includeInstance, this);
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.monitor.v1.MonitorConfig.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -409,15 +409,15 @@ proto.cc.arduino.cli.monitor.MonitorConfig.prototype.toObject = function(opt_inc
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.cc.arduino.cli.monitor.MonitorConfig} msg The msg instance to transform.
|
||||
* @param {!proto.cc.arduino.cli.monitor.v1.MonitorConfig} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.toObject = function(includeInstance, msg) {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
target: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
type: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
||||
additionalconfig: (f = msg.getAdditionalconfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
||||
additionalConfig: (f = msg.getAdditionalConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
||||
recvRateLimitBuffer: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
||||
};
|
||||
|
||||
@ -432,23 +432,23 @@ proto.cc.arduino.cli.monitor.MonitorConfig.toObject = function(includeInstance,
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.cc.arduino.cli.monitor.MonitorConfig}
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.MonitorConfig}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.deserializeBinary = function(bytes) {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.cc.arduino.cli.monitor.MonitorConfig;
|
||||
return proto.cc.arduino.cli.monitor.MonitorConfig.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.cc.arduino.cli.monitor.v1.MonitorConfig;
|
||||
return proto.cc.arduino.cli.monitor.v1.MonitorConfig.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.cc.arduino.cli.monitor.MonitorConfig} msg The message object to deserialize into.
|
||||
* @param {!proto.cc.arduino.cli.monitor.v1.MonitorConfig} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.cc.arduino.cli.monitor.MonitorConfig}
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.MonitorConfig}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -460,13 +460,13 @@ proto.cc.arduino.cli.monitor.MonitorConfig.deserializeBinaryFromReader = functio
|
||||
msg.setTarget(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {!proto.cc.arduino.cli.monitor.MonitorConfig.TargetType} */ (reader.readEnum());
|
||||
var value = /** @type {!proto.cc.arduino.cli.monitor.v1.MonitorConfig.TargetType} */ (reader.readEnum());
|
||||
msg.setType(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = new google_protobuf_struct_pb.Struct;
|
||||
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
||||
msg.setAdditionalconfig(value);
|
||||
msg.setAdditionalConfig(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {number} */ (reader.readInt32());
|
||||
@ -485,9 +485,9 @@ proto.cc.arduino.cli.monitor.MonitorConfig.deserializeBinaryFromReader = functio
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.prototype.serializeBinary = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.serializeBinaryToWriter(this, writer);
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -495,11 +495,11 @@ proto.cc.arduino.cli.monitor.MonitorConfig.prototype.serializeBinary = function(
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.cc.arduino.cli.monitor.MonitorConfig} message
|
||||
* @param {!proto.cc.arduino.cli.monitor.v1.MonitorConfig} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getTarget();
|
||||
if (f.length > 0) {
|
||||
@ -515,7 +515,7 @@ proto.cc.arduino.cli.monitor.MonitorConfig.serializeBinaryToWriter = function(me
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAdditionalconfig();
|
||||
f = message.getAdditionalConfig();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
3,
|
||||
@ -536,52 +536,52 @@ proto.cc.arduino.cli.monitor.MonitorConfig.serializeBinaryToWriter = function(me
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.TargetType = {
|
||||
SERIAL: 0,
|
||||
NULL: 99
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.TargetType = {
|
||||
TARGET_TYPE_SERIAL: 0,
|
||||
TARGET_TYPE_NULL: 99
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string target = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.prototype.getTarget = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.prototype.getTarget = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.monitor.MonitorConfig} returns this
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.MonitorConfig} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.prototype.setTarget = function(value) {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.prototype.setTarget = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional TargetType type = 2;
|
||||
* @return {!proto.cc.arduino.cli.monitor.MonitorConfig.TargetType}
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.MonitorConfig.TargetType}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.prototype.getType = function() {
|
||||
return /** @type {!proto.cc.arduino.cli.monitor.MonitorConfig.TargetType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.prototype.getType = function() {
|
||||
return /** @type {!proto.cc.arduino.cli.monitor.v1.MonitorConfig.TargetType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.cc.arduino.cli.monitor.MonitorConfig.TargetType} value
|
||||
* @return {!proto.cc.arduino.cli.monitor.MonitorConfig} returns this
|
||||
* @param {!proto.cc.arduino.cli.monitor.v1.MonitorConfig.TargetType} value
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.MonitorConfig} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.prototype.setType = function(value) {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.prototype.setType = function(value) {
|
||||
return jspb.Message.setProto3EnumField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional google.protobuf.Struct additionalConfig = 3;
|
||||
* optional google.protobuf.Struct additional_config = 3;
|
||||
* @return {?proto.google.protobuf.Struct}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.prototype.getAdditionalconfig = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.prototype.getAdditionalConfig = function() {
|
||||
return /** @type{?proto.google.protobuf.Struct} */ (
|
||||
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 3));
|
||||
};
|
||||
@ -589,19 +589,19 @@ proto.cc.arduino.cli.monitor.MonitorConfig.prototype.getAdditionalconfig = funct
|
||||
|
||||
/**
|
||||
* @param {?proto.google.protobuf.Struct|undefined} value
|
||||
* @return {!proto.cc.arduino.cli.monitor.MonitorConfig} returns this
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.MonitorConfig} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.prototype.setAdditionalconfig = function(value) {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.prototype.setAdditionalConfig = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.cc.arduino.cli.monitor.MonitorConfig} returns this
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.MonitorConfig} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.prototype.clearAdditionalconfig = function() {
|
||||
return this.setAdditionalconfig(undefined);
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.prototype.clearAdditionalConfig = function() {
|
||||
return this.setAdditionalConfig(undefined);
|
||||
};
|
||||
|
||||
|
||||
@ -609,7 +609,7 @@ proto.cc.arduino.cli.monitor.MonitorConfig.prototype.clearAdditionalconfig = fun
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.prototype.hasAdditionalconfig = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.prototype.hasAdditionalConfig = function() {
|
||||
return jspb.Message.getField(this, 3) != null;
|
||||
};
|
||||
|
||||
@ -618,16 +618,16 @@ proto.cc.arduino.cli.monitor.MonitorConfig.prototype.hasAdditionalconfig = funct
|
||||
* optional int32 recv_rate_limit_buffer = 4;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.prototype.getRecvRateLimitBuffer = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.prototype.getRecvRateLimitBuffer = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.cc.arduino.cli.monitor.MonitorConfig} returns this
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.MonitorConfig} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.MonitorConfig.prototype.setRecvRateLimitBuffer = function(value) {
|
||||
proto.cc.arduino.cli.monitor.v1.MonitorConfig.prototype.setRecvRateLimitBuffer = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 4, value);
|
||||
};
|
||||
|
||||
@ -648,8 +648,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.monitor.StreamingOpenResp.toObject(opt_includeInstance, this);
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -658,11 +658,11 @@ proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.toObject = function(opt
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.cc.arduino.cli.monitor.StreamingOpenResp} msg The msg instance to transform.
|
||||
* @param {!proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.toObject = function(includeInstance, msg) {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
data: msg.getData_asB64(),
|
||||
dropped: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
||||
@ -679,23 +679,23 @@ proto.cc.arduino.cli.monitor.StreamingOpenResp.toObject = function(includeInstan
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.cc.arduino.cli.monitor.StreamingOpenResp}
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.deserializeBinary = function(bytes) {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.cc.arduino.cli.monitor.StreamingOpenResp;
|
||||
return proto.cc.arduino.cli.monitor.StreamingOpenResp.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse;
|
||||
return proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.cc.arduino.cli.monitor.StreamingOpenResp} msg The message object to deserialize into.
|
||||
* @param {!proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.cc.arduino.cli.monitor.StreamingOpenResp}
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -723,9 +723,9 @@ proto.cc.arduino.cli.monitor.StreamingOpenResp.deserializeBinaryFromReader = fun
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.serializeBinary = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.serializeBinaryToWriter(this, writer);
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -733,11 +733,11 @@ proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.serializeBinary = funct
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.cc.arduino.cli.monitor.StreamingOpenResp} message
|
||||
* @param {!proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getData_asU8();
|
||||
if (f.length > 0) {
|
||||
@ -760,7 +760,7 @@ proto.cc.arduino.cli.monitor.StreamingOpenResp.serializeBinaryToWriter = functio
|
||||
* optional bytes data = 1;
|
||||
* @return {!(string|Uint8Array)}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.getData = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.prototype.getData = function() {
|
||||
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
@ -770,7 +770,7 @@ proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.getData = function() {
|
||||
* This is a type-conversion wrapper around `getData()`
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.getData_asB64 = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.prototype.getData_asB64 = function() {
|
||||
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
||||
this.getData()));
|
||||
};
|
||||
@ -783,7 +783,7 @@ proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.getData_asB64 = functio
|
||||
* This is a type-conversion wrapper around `getData()`
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.getData_asU8 = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.prototype.getData_asU8 = function() {
|
||||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
||||
this.getData()));
|
||||
};
|
||||
@ -791,9 +791,9 @@ proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.getData_asU8 = function
|
||||
|
||||
/**
|
||||
* @param {!(string|Uint8Array)} value
|
||||
* @return {!proto.cc.arduino.cli.monitor.StreamingOpenResp} returns this
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.setData = function(value) {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.prototype.setData = function(value) {
|
||||
return jspb.Message.setProto3BytesField(this, 1, value);
|
||||
};
|
||||
|
||||
@ -802,18 +802,18 @@ proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.setData = function(valu
|
||||
* optional int32 dropped = 2;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.getDropped = function() {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.prototype.getDropped = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.cc.arduino.cli.monitor.StreamingOpenResp} returns this
|
||||
* @return {!proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.monitor.StreamingOpenResp.prototype.setDropped = function(value) {
|
||||
proto.cc.arduino.cli.monitor.v1.StreamingOpenResponse.prototype.setDropped = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.cc.arduino.cli.monitor);
|
||||
goog.object.extend(exports, proto.cc.arduino.cli.monitor.v1);
|
110
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/settings/v1/settings_grpc_pb.d.ts
vendored
Normal file
110
arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/settings/v1/settings_grpc_pb.d.ts
vendored
Normal file
@ -0,0 +1,110 @@
|
||||
// package: cc.arduino.cli.settings.v1
|
||||
// file: cc/arduino/cli/settings/v1/settings.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
|
||||
import * as cc_arduino_cli_settings_v1_settings_pb from "../../../../../cc/arduino/cli/settings/v1/settings_pb";
|
||||
|
||||
interface ISettingsServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
getAll: ISettingsServiceService_IGetAll;
|
||||
merge: ISettingsServiceService_IMerge;
|
||||
getValue: ISettingsServiceService_IGetValue;
|
||||
setValue: ISettingsServiceService_ISetValue;
|
||||
write: ISettingsServiceService_IWrite;
|
||||
}
|
||||
|
||||
interface ISettingsServiceService_IGetAll extends grpc.MethodDefinition<cc_arduino_cli_settings_v1_settings_pb.GetAllRequest, cc_arduino_cli_settings_v1_settings_pb.GetAllResponse> {
|
||||
path: "/cc.arduino.cli.settings.v1.SettingsService/GetAll";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_settings_v1_settings_pb.GetAllRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_settings_v1_settings_pb.GetAllRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_settings_v1_settings_pb.GetAllResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_settings_v1_settings_pb.GetAllResponse>;
|
||||
}
|
||||
interface ISettingsServiceService_IMerge extends grpc.MethodDefinition<cc_arduino_cli_settings_v1_settings_pb.MergeRequest, cc_arduino_cli_settings_v1_settings_pb.MergeResponse> {
|
||||
path: "/cc.arduino.cli.settings.v1.SettingsService/Merge";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_settings_v1_settings_pb.MergeRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_settings_v1_settings_pb.MergeRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_settings_v1_settings_pb.MergeResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_settings_v1_settings_pb.MergeResponse>;
|
||||
}
|
||||
interface ISettingsServiceService_IGetValue extends grpc.MethodDefinition<cc_arduino_cli_settings_v1_settings_pb.GetValueRequest, cc_arduino_cli_settings_v1_settings_pb.GetValueResponse> {
|
||||
path: "/cc.arduino.cli.settings.v1.SettingsService/GetValue";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_settings_v1_settings_pb.GetValueRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_settings_v1_settings_pb.GetValueRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_settings_v1_settings_pb.GetValueResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_settings_v1_settings_pb.GetValueResponse>;
|
||||
}
|
||||
interface ISettingsServiceService_ISetValue extends grpc.MethodDefinition<cc_arduino_cli_settings_v1_settings_pb.SetValueRequest, cc_arduino_cli_settings_v1_settings_pb.SetValueResponse> {
|
||||
path: "/cc.arduino.cli.settings.v1.SettingsService/SetValue";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_settings_v1_settings_pb.SetValueRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_settings_v1_settings_pb.SetValueRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_settings_v1_settings_pb.SetValueResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_settings_v1_settings_pb.SetValueResponse>;
|
||||
}
|
||||
interface ISettingsServiceService_IWrite extends grpc.MethodDefinition<cc_arduino_cli_settings_v1_settings_pb.WriteRequest, cc_arduino_cli_settings_v1_settings_pb.WriteResponse> {
|
||||
path: "/cc.arduino.cli.settings.v1.SettingsService/Write";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<cc_arduino_cli_settings_v1_settings_pb.WriteRequest>;
|
||||
requestDeserialize: grpc.deserialize<cc_arduino_cli_settings_v1_settings_pb.WriteRequest>;
|
||||
responseSerialize: grpc.serialize<cc_arduino_cli_settings_v1_settings_pb.WriteResponse>;
|
||||
responseDeserialize: grpc.deserialize<cc_arduino_cli_settings_v1_settings_pb.WriteResponse>;
|
||||
}
|
||||
|
||||
export const SettingsServiceService: ISettingsServiceService;
|
||||
|
||||
export interface ISettingsServiceServer {
|
||||
getAll: grpc.handleUnaryCall<cc_arduino_cli_settings_v1_settings_pb.GetAllRequest, cc_arduino_cli_settings_v1_settings_pb.GetAllResponse>;
|
||||
merge: grpc.handleUnaryCall<cc_arduino_cli_settings_v1_settings_pb.MergeRequest, cc_arduino_cli_settings_v1_settings_pb.MergeResponse>;
|
||||
getValue: grpc.handleUnaryCall<cc_arduino_cli_settings_v1_settings_pb.GetValueRequest, cc_arduino_cli_settings_v1_settings_pb.GetValueResponse>;
|
||||
setValue: grpc.handleUnaryCall<cc_arduino_cli_settings_v1_settings_pb.SetValueRequest, cc_arduino_cli_settings_v1_settings_pb.SetValueResponse>;
|
||||
write: grpc.handleUnaryCall<cc_arduino_cli_settings_v1_settings_pb.WriteRequest, cc_arduino_cli_settings_v1_settings_pb.WriteResponse>;
|
||||
}
|
||||
|
||||
export interface ISettingsServiceClient {
|
||||
getAll(request: cc_arduino_cli_settings_v1_settings_pb.GetAllRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.GetAllResponse) => void): grpc.ClientUnaryCall;
|
||||
getAll(request: cc_arduino_cli_settings_v1_settings_pb.GetAllRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.GetAllResponse) => void): grpc.ClientUnaryCall;
|
||||
getAll(request: cc_arduino_cli_settings_v1_settings_pb.GetAllRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.GetAllResponse) => void): grpc.ClientUnaryCall;
|
||||
merge(request: cc_arduino_cli_settings_v1_settings_pb.MergeRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.MergeResponse) => void): grpc.ClientUnaryCall;
|
||||
merge(request: cc_arduino_cli_settings_v1_settings_pb.MergeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.MergeResponse) => void): grpc.ClientUnaryCall;
|
||||
merge(request: cc_arduino_cli_settings_v1_settings_pb.MergeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.MergeResponse) => void): grpc.ClientUnaryCall;
|
||||
getValue(request: cc_arduino_cli_settings_v1_settings_pb.GetValueRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.GetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
getValue(request: cc_arduino_cli_settings_v1_settings_pb.GetValueRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.GetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
getValue(request: cc_arduino_cli_settings_v1_settings_pb.GetValueRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.GetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
setValue(request: cc_arduino_cli_settings_v1_settings_pb.SetValueRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.SetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
setValue(request: cc_arduino_cli_settings_v1_settings_pb.SetValueRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.SetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
setValue(request: cc_arduino_cli_settings_v1_settings_pb.SetValueRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.SetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
write(request: cc_arduino_cli_settings_v1_settings_pb.WriteRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.WriteResponse) => void): grpc.ClientUnaryCall;
|
||||
write(request: cc_arduino_cli_settings_v1_settings_pb.WriteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.WriteResponse) => void): grpc.ClientUnaryCall;
|
||||
write(request: cc_arduino_cli_settings_v1_settings_pb.WriteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.WriteResponse) => void): grpc.ClientUnaryCall;
|
||||
}
|
||||
|
||||
export class SettingsServiceClient extends grpc.Client implements ISettingsServiceClient {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
||||
public getAll(request: cc_arduino_cli_settings_v1_settings_pb.GetAllRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.GetAllResponse) => void): grpc.ClientUnaryCall;
|
||||
public getAll(request: cc_arduino_cli_settings_v1_settings_pb.GetAllRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.GetAllResponse) => void): grpc.ClientUnaryCall;
|
||||
public getAll(request: cc_arduino_cli_settings_v1_settings_pb.GetAllRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.GetAllResponse) => void): grpc.ClientUnaryCall;
|
||||
public merge(request: cc_arduino_cli_settings_v1_settings_pb.MergeRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.MergeResponse) => void): grpc.ClientUnaryCall;
|
||||
public merge(request: cc_arduino_cli_settings_v1_settings_pb.MergeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.MergeResponse) => void): grpc.ClientUnaryCall;
|
||||
public merge(request: cc_arduino_cli_settings_v1_settings_pb.MergeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.MergeResponse) => void): grpc.ClientUnaryCall;
|
||||
public getValue(request: cc_arduino_cli_settings_v1_settings_pb.GetValueRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.GetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
public getValue(request: cc_arduino_cli_settings_v1_settings_pb.GetValueRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.GetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
public getValue(request: cc_arduino_cli_settings_v1_settings_pb.GetValueRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.GetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
public setValue(request: cc_arduino_cli_settings_v1_settings_pb.SetValueRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.SetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
public setValue(request: cc_arduino_cli_settings_v1_settings_pb.SetValueRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.SetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
public setValue(request: cc_arduino_cli_settings_v1_settings_pb.SetValueRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.SetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
public write(request: cc_arduino_cli_settings_v1_settings_pb.WriteRequest, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.WriteResponse) => void): grpc.ClientUnaryCall;
|
||||
public write(request: cc_arduino_cli_settings_v1_settings_pb.WriteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.WriteResponse) => void): grpc.ClientUnaryCall;
|
||||
public write(request: cc_arduino_cli_settings_v1_settings_pb.WriteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: cc_arduino_cli_settings_v1_settings_pb.WriteResponse) => void): grpc.ClientUnaryCall;
|
||||
}
|
@ -0,0 +1,197 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// Original file comments:
|
||||
// This file is part of arduino-cli.
|
||||
//
|
||||
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
|
||||
//
|
||||
// This software is released under the GNU General Public License version 3,
|
||||
// which covers the main part of arduino-cli.
|
||||
// The terms of this license can be found at:
|
||||
// https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
//
|
||||
// You can be released from the requirements of the above licenses by purchasing
|
||||
// a commercial license. Buying such a license is mandatory if you want to
|
||||
// modify or otherwise use the software for commercial activities involving the
|
||||
// Arduino software without disclosing the source code of your own applications.
|
||||
// To purchase a commercial license, send an email to license@arduino.cc.
|
||||
//
|
||||
'use strict';
|
||||
var cc_arduino_cli_settings_v1_settings_pb = require('../../../../../cc/arduino/cli/settings/v1/settings_pb.js');
|
||||
|
||||
function serialize_cc_arduino_cli_settings_v1_GetAllRequest(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_settings_v1_settings_pb.GetAllRequest)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.v1.GetAllRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_v1_GetAllRequest(buffer_arg) {
|
||||
return cc_arduino_cli_settings_v1_settings_pb.GetAllRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_v1_GetAllResponse(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_settings_v1_settings_pb.GetAllResponse)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.v1.GetAllResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_v1_GetAllResponse(buffer_arg) {
|
||||
return cc_arduino_cli_settings_v1_settings_pb.GetAllResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_v1_GetValueRequest(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_settings_v1_settings_pb.GetValueRequest)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.v1.GetValueRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_v1_GetValueRequest(buffer_arg) {
|
||||
return cc_arduino_cli_settings_v1_settings_pb.GetValueRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_v1_GetValueResponse(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_settings_v1_settings_pb.GetValueResponse)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.v1.GetValueResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_v1_GetValueResponse(buffer_arg) {
|
||||
return cc_arduino_cli_settings_v1_settings_pb.GetValueResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_v1_MergeRequest(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_settings_v1_settings_pb.MergeRequest)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.v1.MergeRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_v1_MergeRequest(buffer_arg) {
|
||||
return cc_arduino_cli_settings_v1_settings_pb.MergeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_v1_MergeResponse(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_settings_v1_settings_pb.MergeResponse)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.v1.MergeResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_v1_MergeResponse(buffer_arg) {
|
||||
return cc_arduino_cli_settings_v1_settings_pb.MergeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_v1_SetValueRequest(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_settings_v1_settings_pb.SetValueRequest)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.v1.SetValueRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_v1_SetValueRequest(buffer_arg) {
|
||||
return cc_arduino_cli_settings_v1_settings_pb.SetValueRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_v1_SetValueResponse(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_settings_v1_settings_pb.SetValueResponse)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.v1.SetValueResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_v1_SetValueResponse(buffer_arg) {
|
||||
return cc_arduino_cli_settings_v1_settings_pb.SetValueResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_v1_WriteRequest(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_settings_v1_settings_pb.WriteRequest)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.v1.WriteRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_v1_WriteRequest(buffer_arg) {
|
||||
return cc_arduino_cli_settings_v1_settings_pb.WriteRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_v1_WriteResponse(arg) {
|
||||
if (!(arg instanceof cc_arduino_cli_settings_v1_settings_pb.WriteResponse)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.v1.WriteResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_v1_WriteResponse(buffer_arg) {
|
||||
return cc_arduino_cli_settings_v1_settings_pb.WriteResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// The SettingsService provides an interface to Arduino CLI configuration
|
||||
// options
|
||||
var SettingsServiceService = exports['cc.arduino.cli.settings.v1.SettingsService'] = {
|
||||
// List all the settings.
|
||||
getAll: {
|
||||
path: '/cc.arduino.cli.settings.v1.SettingsService/GetAll',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: cc_arduino_cli_settings_v1_settings_pb.GetAllRequest,
|
||||
responseType: cc_arduino_cli_settings_v1_settings_pb.GetAllResponse,
|
||||
requestSerialize: serialize_cc_arduino_cli_settings_v1_GetAllRequest,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_settings_v1_GetAllRequest,
|
||||
responseSerialize: serialize_cc_arduino_cli_settings_v1_GetAllResponse,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_settings_v1_GetAllResponse,
|
||||
},
|
||||
// Set multiple settings values at once.
|
||||
merge: {
|
||||
path: '/cc.arduino.cli.settings.v1.SettingsService/Merge',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: cc_arduino_cli_settings_v1_settings_pb.MergeRequest,
|
||||
responseType: cc_arduino_cli_settings_v1_settings_pb.MergeResponse,
|
||||
requestSerialize: serialize_cc_arduino_cli_settings_v1_MergeRequest,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_settings_v1_MergeRequest,
|
||||
responseSerialize: serialize_cc_arduino_cli_settings_v1_MergeResponse,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_settings_v1_MergeResponse,
|
||||
},
|
||||
// Get the value of a specific setting.
|
||||
getValue: {
|
||||
path: '/cc.arduino.cli.settings.v1.SettingsService/GetValue',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: cc_arduino_cli_settings_v1_settings_pb.GetValueRequest,
|
||||
responseType: cc_arduino_cli_settings_v1_settings_pb.GetValueResponse,
|
||||
requestSerialize: serialize_cc_arduino_cli_settings_v1_GetValueRequest,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_settings_v1_GetValueRequest,
|
||||
responseSerialize: serialize_cc_arduino_cli_settings_v1_GetValueResponse,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_settings_v1_GetValueResponse,
|
||||
},
|
||||
// Set the value of a specific setting.
|
||||
setValue: {
|
||||
path: '/cc.arduino.cli.settings.v1.SettingsService/SetValue',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: cc_arduino_cli_settings_v1_settings_pb.SetValueRequest,
|
||||
responseType: cc_arduino_cli_settings_v1_settings_pb.SetValueResponse,
|
||||
requestSerialize: serialize_cc_arduino_cli_settings_v1_SetValueRequest,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_settings_v1_SetValueRequest,
|
||||
responseSerialize: serialize_cc_arduino_cli_settings_v1_SetValueResponse,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_settings_v1_SetValueResponse,
|
||||
},
|
||||
// Writes to file settings currently stored in memory
|
||||
write: {
|
||||
path: '/cc.arduino.cli.settings.v1.SettingsService/Write',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: cc_arduino_cli_settings_v1_settings_pb.WriteRequest,
|
||||
responseType: cc_arduino_cli_settings_v1_settings_pb.WriteResponse,
|
||||
requestSerialize: serialize_cc_arduino_cli_settings_v1_WriteRequest,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_settings_v1_WriteRequest,
|
||||
responseSerialize: serialize_cc_arduino_cli_settings_v1_WriteResponse,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_settings_v1_WriteResponse,
|
||||
},
|
||||
};
|
||||
|
@ -1,54 +1,100 @@
|
||||
// package: cc.arduino.cli.settings
|
||||
// file: settings/settings.proto
|
||||
// package: cc.arduino.cli.settings.v1
|
||||
// file: cc/arduino/cli/settings/v1/settings.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class RawData extends jspb.Message {
|
||||
getJsondata(): string;
|
||||
setJsondata(value: string): RawData;
|
||||
export class GetAllResponse extends jspb.Message {
|
||||
getJsonData(): string;
|
||||
setJsonData(value: string): GetAllResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RawData.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RawData): RawData.AsObject;
|
||||
toObject(includeInstance?: boolean): GetAllResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetAllResponse): GetAllResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RawData, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RawData;
|
||||
static deserializeBinaryFromReader(message: RawData, reader: jspb.BinaryReader): RawData;
|
||||
static serializeBinaryToWriter(message: GetAllResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetAllResponse;
|
||||
static deserializeBinaryFromReader(message: GetAllResponse, reader: jspb.BinaryReader): GetAllResponse;
|
||||
}
|
||||
|
||||
export namespace RawData {
|
||||
export namespace GetAllResponse {
|
||||
export type AsObject = {
|
||||
jsondata: string,
|
||||
jsonData: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class Value extends jspb.Message {
|
||||
getKey(): string;
|
||||
setKey(value: string): Value;
|
||||
|
||||
getJsondata(): string;
|
||||
setJsondata(value: string): Value;
|
||||
export class MergeRequest extends jspb.Message {
|
||||
getJsonData(): string;
|
||||
setJsonData(value: string): MergeRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Value.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Value): Value.AsObject;
|
||||
toObject(includeInstance?: boolean): MergeRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MergeRequest): MergeRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Value, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Value;
|
||||
static deserializeBinaryFromReader(message: Value, reader: jspb.BinaryReader): Value;
|
||||
static serializeBinaryToWriter(message: MergeRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MergeRequest;
|
||||
static deserializeBinaryFromReader(message: MergeRequest, reader: jspb.BinaryReader): MergeRequest;
|
||||
}
|
||||
|
||||
export namespace Value {
|
||||
export namespace MergeRequest {
|
||||
export type AsObject = {
|
||||
jsonData: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetValueResponse extends jspb.Message {
|
||||
getKey(): string;
|
||||
setKey(value: string): GetValueResponse;
|
||||
|
||||
getJsonData(): string;
|
||||
setJsonData(value: string): GetValueResponse;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetValueResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetValueResponse): GetValueResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetValueResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetValueResponse;
|
||||
static deserializeBinaryFromReader(message: GetValueResponse, reader: jspb.BinaryReader): GetValueResponse;
|
||||
}
|
||||
|
||||
export namespace GetValueResponse {
|
||||
export type AsObject = {
|
||||
key: string,
|
||||
jsondata: string,
|
||||
jsonData: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class SetValueRequest extends jspb.Message {
|
||||
getKey(): string;
|
||||
setKey(value: string): SetValueRequest;
|
||||
|
||||
getJsonData(): string;
|
||||
setJsonData(value: string): SetValueRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): SetValueRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: SetValueRequest): SetValueRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: SetValueRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): SetValueRequest;
|
||||
static deserializeBinaryFromReader(message: SetValueRequest, reader: jspb.BinaryReader): SetValueRequest;
|
||||
}
|
||||
|
||||
export namespace SetValueRequest {
|
||||
export type AsObject = {
|
||||
key: string,
|
||||
jsonData: string,
|
||||
}
|
||||
}
|
||||
|
||||
@ -125,8 +171,8 @@ export namespace SetValueResponse {
|
||||
}
|
||||
|
||||
export class WriteRequest extends jspb.Message {
|
||||
getFilepath(): string;
|
||||
setFilepath(value: string): WriteRequest;
|
||||
getFilePath(): string;
|
||||
setFilePath(value: string): WriteRequest;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
@ -141,7 +187,7 @@ export class WriteRequest extends jspb.Message {
|
||||
|
||||
export namespace WriteRequest {
|
||||
export type AsObject = {
|
||||
filepath: string,
|
||||
filePath: string,
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,619 +0,0 @@
|
||||
// package: cc.arduino.cli.commands
|
||||
// file: commands/commands.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
|
||||
import * as commands_commands_pb from "../commands/commands_pb";
|
||||
import * as commands_common_pb from "../commands/common_pb";
|
||||
import * as commands_board_pb from "../commands/board_pb";
|
||||
import * as commands_compile_pb from "../commands/compile_pb";
|
||||
import * as commands_core_pb from "../commands/core_pb";
|
||||
import * as commands_upload_pb from "../commands/upload_pb";
|
||||
import * as commands_lib_pb from "../commands/lib_pb";
|
||||
|
||||
interface IArduinoCoreService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
init: IArduinoCoreService_IInit;
|
||||
destroy: IArduinoCoreService_IDestroy;
|
||||
rescan: IArduinoCoreService_IRescan;
|
||||
updateIndex: IArduinoCoreService_IUpdateIndex;
|
||||
updateLibrariesIndex: IArduinoCoreService_IUpdateLibrariesIndex;
|
||||
updateCoreLibrariesIndex: IArduinoCoreService_IUpdateCoreLibrariesIndex;
|
||||
outdated: IArduinoCoreService_IOutdated;
|
||||
upgrade: IArduinoCoreService_IUpgrade;
|
||||
version: IArduinoCoreService_IVersion;
|
||||
loadSketch: IArduinoCoreService_ILoadSketch;
|
||||
archiveSketch: IArduinoCoreService_IArchiveSketch;
|
||||
boardDetails: IArduinoCoreService_IBoardDetails;
|
||||
boardAttach: IArduinoCoreService_IBoardAttach;
|
||||
boardList: IArduinoCoreService_IBoardList;
|
||||
boardListAll: IArduinoCoreService_IBoardListAll;
|
||||
boardSearch: IArduinoCoreService_IBoardSearch;
|
||||
boardListWatch: IArduinoCoreService_IBoardListWatch;
|
||||
compile: IArduinoCoreService_ICompile;
|
||||
platformInstall: IArduinoCoreService_IPlatformInstall;
|
||||
platformDownload: IArduinoCoreService_IPlatformDownload;
|
||||
platformUninstall: IArduinoCoreService_IPlatformUninstall;
|
||||
platformUpgrade: IArduinoCoreService_IPlatformUpgrade;
|
||||
upload: IArduinoCoreService_IUpload;
|
||||
uploadUsingProgrammer: IArduinoCoreService_IUploadUsingProgrammer;
|
||||
listProgrammersAvailableForUpload: IArduinoCoreService_IListProgrammersAvailableForUpload;
|
||||
burnBootloader: IArduinoCoreService_IBurnBootloader;
|
||||
platformSearch: IArduinoCoreService_IPlatformSearch;
|
||||
platformList: IArduinoCoreService_IPlatformList;
|
||||
libraryDownload: IArduinoCoreService_ILibraryDownload;
|
||||
libraryInstall: IArduinoCoreService_ILibraryInstall;
|
||||
zipLibraryInstall: IArduinoCoreService_IZipLibraryInstall;
|
||||
gitLibraryInstall: IArduinoCoreService_IGitLibraryInstall;
|
||||
libraryUninstall: IArduinoCoreService_ILibraryUninstall;
|
||||
libraryUpgradeAll: IArduinoCoreService_ILibraryUpgradeAll;
|
||||
libraryResolveDependencies: IArduinoCoreService_ILibraryResolveDependencies;
|
||||
librarySearch: IArduinoCoreService_ILibrarySearch;
|
||||
libraryList: IArduinoCoreService_ILibraryList;
|
||||
}
|
||||
|
||||
interface IArduinoCoreService_IInit extends grpc.MethodDefinition<commands_commands_pb.InitReq, commands_commands_pb.InitResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/Init";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_commands_pb.InitReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_commands_pb.InitReq>;
|
||||
responseSerialize: grpc.serialize<commands_commands_pb.InitResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_commands_pb.InitResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IDestroy extends grpc.MethodDefinition<commands_commands_pb.DestroyReq, commands_commands_pb.DestroyResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/Destroy";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_commands_pb.DestroyReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_commands_pb.DestroyReq>;
|
||||
responseSerialize: grpc.serialize<commands_commands_pb.DestroyResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_commands_pb.DestroyResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IRescan extends grpc.MethodDefinition<commands_commands_pb.RescanReq, commands_commands_pb.RescanResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/Rescan";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_commands_pb.RescanReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_commands_pb.RescanReq>;
|
||||
responseSerialize: grpc.serialize<commands_commands_pb.RescanResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_commands_pb.RescanResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IUpdateIndex extends grpc.MethodDefinition<commands_commands_pb.UpdateIndexReq, commands_commands_pb.UpdateIndexResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/UpdateIndex";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_commands_pb.UpdateIndexReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_commands_pb.UpdateIndexReq>;
|
||||
responseSerialize: grpc.serialize<commands_commands_pb.UpdateIndexResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_commands_pb.UpdateIndexResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IUpdateLibrariesIndex extends grpc.MethodDefinition<commands_commands_pb.UpdateLibrariesIndexReq, commands_commands_pb.UpdateLibrariesIndexResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/UpdateLibrariesIndex";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_commands_pb.UpdateLibrariesIndexReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_commands_pb.UpdateLibrariesIndexReq>;
|
||||
responseSerialize: grpc.serialize<commands_commands_pb.UpdateLibrariesIndexResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_commands_pb.UpdateLibrariesIndexResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IUpdateCoreLibrariesIndex extends grpc.MethodDefinition<commands_commands_pb.UpdateCoreLibrariesIndexReq, commands_commands_pb.UpdateCoreLibrariesIndexResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/UpdateCoreLibrariesIndex";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_commands_pb.UpdateCoreLibrariesIndexReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_commands_pb.UpdateCoreLibrariesIndexReq>;
|
||||
responseSerialize: grpc.serialize<commands_commands_pb.UpdateCoreLibrariesIndexResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_commands_pb.UpdateCoreLibrariesIndexResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IOutdated extends grpc.MethodDefinition<commands_commands_pb.OutdatedReq, commands_commands_pb.OutdatedResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/Outdated";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_commands_pb.OutdatedReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_commands_pb.OutdatedReq>;
|
||||
responseSerialize: grpc.serialize<commands_commands_pb.OutdatedResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_commands_pb.OutdatedResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IUpgrade extends grpc.MethodDefinition<commands_commands_pb.UpgradeReq, commands_commands_pb.UpgradeResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/Upgrade";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_commands_pb.UpgradeReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_commands_pb.UpgradeReq>;
|
||||
responseSerialize: grpc.serialize<commands_commands_pb.UpgradeResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_commands_pb.UpgradeResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IVersion extends grpc.MethodDefinition<commands_commands_pb.VersionReq, commands_commands_pb.VersionResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/Version";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_commands_pb.VersionReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_commands_pb.VersionReq>;
|
||||
responseSerialize: grpc.serialize<commands_commands_pb.VersionResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_commands_pb.VersionResp>;
|
||||
}
|
||||
interface IArduinoCoreService_ILoadSketch extends grpc.MethodDefinition<commands_commands_pb.LoadSketchReq, commands_commands_pb.LoadSketchResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/LoadSketch";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_commands_pb.LoadSketchReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_commands_pb.LoadSketchReq>;
|
||||
responseSerialize: grpc.serialize<commands_commands_pb.LoadSketchResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_commands_pb.LoadSketchResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IArchiveSketch extends grpc.MethodDefinition<commands_commands_pb.ArchiveSketchReq, commands_commands_pb.ArchiveSketchResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/ArchiveSketch";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_commands_pb.ArchiveSketchReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_commands_pb.ArchiveSketchReq>;
|
||||
responseSerialize: grpc.serialize<commands_commands_pb.ArchiveSketchResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_commands_pb.ArchiveSketchResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IBoardDetails extends grpc.MethodDefinition<commands_board_pb.BoardDetailsReq, commands_board_pb.BoardDetailsResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/BoardDetails";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_board_pb.BoardDetailsReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_board_pb.BoardDetailsReq>;
|
||||
responseSerialize: grpc.serialize<commands_board_pb.BoardDetailsResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_board_pb.BoardDetailsResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IBoardAttach extends grpc.MethodDefinition<commands_board_pb.BoardAttachReq, commands_board_pb.BoardAttachResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/BoardAttach";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_board_pb.BoardAttachReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_board_pb.BoardAttachReq>;
|
||||
responseSerialize: grpc.serialize<commands_board_pb.BoardAttachResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_board_pb.BoardAttachResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IBoardList extends grpc.MethodDefinition<commands_board_pb.BoardListReq, commands_board_pb.BoardListResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/BoardList";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_board_pb.BoardListReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_board_pb.BoardListReq>;
|
||||
responseSerialize: grpc.serialize<commands_board_pb.BoardListResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_board_pb.BoardListResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IBoardListAll extends grpc.MethodDefinition<commands_board_pb.BoardListAllReq, commands_board_pb.BoardListAllResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/BoardListAll";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_board_pb.BoardListAllReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_board_pb.BoardListAllReq>;
|
||||
responseSerialize: grpc.serialize<commands_board_pb.BoardListAllResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_board_pb.BoardListAllResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IBoardSearch extends grpc.MethodDefinition<commands_board_pb.BoardSearchReq, commands_board_pb.BoardSearchResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/BoardSearch";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_board_pb.BoardSearchReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_board_pb.BoardSearchReq>;
|
||||
responseSerialize: grpc.serialize<commands_board_pb.BoardSearchResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_board_pb.BoardSearchResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IBoardListWatch extends grpc.MethodDefinition<commands_board_pb.BoardListWatchReq, commands_board_pb.BoardListWatchResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/BoardListWatch";
|
||||
requestStream: true;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_board_pb.BoardListWatchReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_board_pb.BoardListWatchReq>;
|
||||
responseSerialize: grpc.serialize<commands_board_pb.BoardListWatchResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_board_pb.BoardListWatchResp>;
|
||||
}
|
||||
interface IArduinoCoreService_ICompile extends grpc.MethodDefinition<commands_compile_pb.CompileReq, commands_compile_pb.CompileResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/Compile";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_compile_pb.CompileReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_compile_pb.CompileReq>;
|
||||
responseSerialize: grpc.serialize<commands_compile_pb.CompileResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_compile_pb.CompileResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IPlatformInstall extends grpc.MethodDefinition<commands_core_pb.PlatformInstallReq, commands_core_pb.PlatformInstallResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/PlatformInstall";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_core_pb.PlatformInstallReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_core_pb.PlatformInstallReq>;
|
||||
responseSerialize: grpc.serialize<commands_core_pb.PlatformInstallResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_core_pb.PlatformInstallResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IPlatformDownload extends grpc.MethodDefinition<commands_core_pb.PlatformDownloadReq, commands_core_pb.PlatformDownloadResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/PlatformDownload";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_core_pb.PlatformDownloadReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_core_pb.PlatformDownloadReq>;
|
||||
responseSerialize: grpc.serialize<commands_core_pb.PlatformDownloadResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_core_pb.PlatformDownloadResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IPlatformUninstall extends grpc.MethodDefinition<commands_core_pb.PlatformUninstallReq, commands_core_pb.PlatformUninstallResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/PlatformUninstall";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_core_pb.PlatformUninstallReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_core_pb.PlatformUninstallReq>;
|
||||
responseSerialize: grpc.serialize<commands_core_pb.PlatformUninstallResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_core_pb.PlatformUninstallResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IPlatformUpgrade extends grpc.MethodDefinition<commands_core_pb.PlatformUpgradeReq, commands_core_pb.PlatformUpgradeResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/PlatformUpgrade";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_core_pb.PlatformUpgradeReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_core_pb.PlatformUpgradeReq>;
|
||||
responseSerialize: grpc.serialize<commands_core_pb.PlatformUpgradeResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_core_pb.PlatformUpgradeResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IUpload extends grpc.MethodDefinition<commands_upload_pb.UploadReq, commands_upload_pb.UploadResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/Upload";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_upload_pb.UploadReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_upload_pb.UploadReq>;
|
||||
responseSerialize: grpc.serialize<commands_upload_pb.UploadResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_upload_pb.UploadResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IUploadUsingProgrammer extends grpc.MethodDefinition<commands_upload_pb.UploadUsingProgrammerReq, commands_upload_pb.UploadUsingProgrammerResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/UploadUsingProgrammer";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_upload_pb.UploadUsingProgrammerReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_upload_pb.UploadUsingProgrammerReq>;
|
||||
responseSerialize: grpc.serialize<commands_upload_pb.UploadUsingProgrammerResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_upload_pb.UploadUsingProgrammerResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IListProgrammersAvailableForUpload extends grpc.MethodDefinition<commands_upload_pb.ListProgrammersAvailableForUploadReq, commands_upload_pb.ListProgrammersAvailableForUploadResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/ListProgrammersAvailableForUpload";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_upload_pb.ListProgrammersAvailableForUploadReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_upload_pb.ListProgrammersAvailableForUploadReq>;
|
||||
responseSerialize: grpc.serialize<commands_upload_pb.ListProgrammersAvailableForUploadResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_upload_pb.ListProgrammersAvailableForUploadResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IBurnBootloader extends grpc.MethodDefinition<commands_upload_pb.BurnBootloaderReq, commands_upload_pb.BurnBootloaderResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/BurnBootloader";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_upload_pb.BurnBootloaderReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_upload_pb.BurnBootloaderReq>;
|
||||
responseSerialize: grpc.serialize<commands_upload_pb.BurnBootloaderResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_upload_pb.BurnBootloaderResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IPlatformSearch extends grpc.MethodDefinition<commands_core_pb.PlatformSearchReq, commands_core_pb.PlatformSearchResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/PlatformSearch";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_core_pb.PlatformSearchReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_core_pb.PlatformSearchReq>;
|
||||
responseSerialize: grpc.serialize<commands_core_pb.PlatformSearchResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_core_pb.PlatformSearchResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IPlatformList extends grpc.MethodDefinition<commands_core_pb.PlatformListReq, commands_core_pb.PlatformListResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/PlatformList";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_core_pb.PlatformListReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_core_pb.PlatformListReq>;
|
||||
responseSerialize: grpc.serialize<commands_core_pb.PlatformListResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_core_pb.PlatformListResp>;
|
||||
}
|
||||
interface IArduinoCoreService_ILibraryDownload extends grpc.MethodDefinition<commands_lib_pb.LibraryDownloadReq, commands_lib_pb.LibraryDownloadResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/LibraryDownload";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_lib_pb.LibraryDownloadReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_lib_pb.LibraryDownloadReq>;
|
||||
responseSerialize: grpc.serialize<commands_lib_pb.LibraryDownloadResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_lib_pb.LibraryDownloadResp>;
|
||||
}
|
||||
interface IArduinoCoreService_ILibraryInstall extends grpc.MethodDefinition<commands_lib_pb.LibraryInstallReq, commands_lib_pb.LibraryInstallResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/LibraryInstall";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_lib_pb.LibraryInstallReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_lib_pb.LibraryInstallReq>;
|
||||
responseSerialize: grpc.serialize<commands_lib_pb.LibraryInstallResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_lib_pb.LibraryInstallResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IZipLibraryInstall extends grpc.MethodDefinition<commands_lib_pb.ZipLibraryInstallReq, commands_lib_pb.ZipLibraryInstallResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/ZipLibraryInstall";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_lib_pb.ZipLibraryInstallReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_lib_pb.ZipLibraryInstallReq>;
|
||||
responseSerialize: grpc.serialize<commands_lib_pb.ZipLibraryInstallResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_lib_pb.ZipLibraryInstallResp>;
|
||||
}
|
||||
interface IArduinoCoreService_IGitLibraryInstall extends grpc.MethodDefinition<commands_lib_pb.GitLibraryInstallReq, commands_lib_pb.GitLibraryInstallResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/GitLibraryInstall";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_lib_pb.GitLibraryInstallReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_lib_pb.GitLibraryInstallReq>;
|
||||
responseSerialize: grpc.serialize<commands_lib_pb.GitLibraryInstallResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_lib_pb.GitLibraryInstallResp>;
|
||||
}
|
||||
interface IArduinoCoreService_ILibraryUninstall extends grpc.MethodDefinition<commands_lib_pb.LibraryUninstallReq, commands_lib_pb.LibraryUninstallResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/LibraryUninstall";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_lib_pb.LibraryUninstallReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_lib_pb.LibraryUninstallReq>;
|
||||
responseSerialize: grpc.serialize<commands_lib_pb.LibraryUninstallResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_lib_pb.LibraryUninstallResp>;
|
||||
}
|
||||
interface IArduinoCoreService_ILibraryUpgradeAll extends grpc.MethodDefinition<commands_lib_pb.LibraryUpgradeAllReq, commands_lib_pb.LibraryUpgradeAllResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/LibraryUpgradeAll";
|
||||
requestStream: false;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<commands_lib_pb.LibraryUpgradeAllReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_lib_pb.LibraryUpgradeAllReq>;
|
||||
responseSerialize: grpc.serialize<commands_lib_pb.LibraryUpgradeAllResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_lib_pb.LibraryUpgradeAllResp>;
|
||||
}
|
||||
interface IArduinoCoreService_ILibraryResolveDependencies extends grpc.MethodDefinition<commands_lib_pb.LibraryResolveDependenciesReq, commands_lib_pb.LibraryResolveDependenciesResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/LibraryResolveDependencies";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_lib_pb.LibraryResolveDependenciesReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_lib_pb.LibraryResolveDependenciesReq>;
|
||||
responseSerialize: grpc.serialize<commands_lib_pb.LibraryResolveDependenciesResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_lib_pb.LibraryResolveDependenciesResp>;
|
||||
}
|
||||
interface IArduinoCoreService_ILibrarySearch extends grpc.MethodDefinition<commands_lib_pb.LibrarySearchReq, commands_lib_pb.LibrarySearchResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/LibrarySearch";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_lib_pb.LibrarySearchReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_lib_pb.LibrarySearchReq>;
|
||||
responseSerialize: grpc.serialize<commands_lib_pb.LibrarySearchResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_lib_pb.LibrarySearchResp>;
|
||||
}
|
||||
interface IArduinoCoreService_ILibraryList extends grpc.MethodDefinition<commands_lib_pb.LibraryListReq, commands_lib_pb.LibraryListResp> {
|
||||
path: "/cc.arduino.cli.commands.ArduinoCore/LibraryList";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<commands_lib_pb.LibraryListReq>;
|
||||
requestDeserialize: grpc.deserialize<commands_lib_pb.LibraryListReq>;
|
||||
responseSerialize: grpc.serialize<commands_lib_pb.LibraryListResp>;
|
||||
responseDeserialize: grpc.deserialize<commands_lib_pb.LibraryListResp>;
|
||||
}
|
||||
|
||||
export const ArduinoCoreService: IArduinoCoreService;
|
||||
|
||||
export interface IArduinoCoreServer {
|
||||
init: grpc.handleServerStreamingCall<commands_commands_pb.InitReq, commands_commands_pb.InitResp>;
|
||||
destroy: grpc.handleUnaryCall<commands_commands_pb.DestroyReq, commands_commands_pb.DestroyResp>;
|
||||
rescan: grpc.handleUnaryCall<commands_commands_pb.RescanReq, commands_commands_pb.RescanResp>;
|
||||
updateIndex: grpc.handleServerStreamingCall<commands_commands_pb.UpdateIndexReq, commands_commands_pb.UpdateIndexResp>;
|
||||
updateLibrariesIndex: grpc.handleServerStreamingCall<commands_commands_pb.UpdateLibrariesIndexReq, commands_commands_pb.UpdateLibrariesIndexResp>;
|
||||
updateCoreLibrariesIndex: grpc.handleServerStreamingCall<commands_commands_pb.UpdateCoreLibrariesIndexReq, commands_commands_pb.UpdateCoreLibrariesIndexResp>;
|
||||
outdated: grpc.handleUnaryCall<commands_commands_pb.OutdatedReq, commands_commands_pb.OutdatedResp>;
|
||||
upgrade: grpc.handleServerStreamingCall<commands_commands_pb.UpgradeReq, commands_commands_pb.UpgradeResp>;
|
||||
version: grpc.handleUnaryCall<commands_commands_pb.VersionReq, commands_commands_pb.VersionResp>;
|
||||
loadSketch: grpc.handleUnaryCall<commands_commands_pb.LoadSketchReq, commands_commands_pb.LoadSketchResp>;
|
||||
archiveSketch: grpc.handleUnaryCall<commands_commands_pb.ArchiveSketchReq, commands_commands_pb.ArchiveSketchResp>;
|
||||
boardDetails: grpc.handleUnaryCall<commands_board_pb.BoardDetailsReq, commands_board_pb.BoardDetailsResp>;
|
||||
boardAttach: grpc.handleServerStreamingCall<commands_board_pb.BoardAttachReq, commands_board_pb.BoardAttachResp>;
|
||||
boardList: grpc.handleUnaryCall<commands_board_pb.BoardListReq, commands_board_pb.BoardListResp>;
|
||||
boardListAll: grpc.handleUnaryCall<commands_board_pb.BoardListAllReq, commands_board_pb.BoardListAllResp>;
|
||||
boardSearch: grpc.handleUnaryCall<commands_board_pb.BoardSearchReq, commands_board_pb.BoardSearchResp>;
|
||||
boardListWatch: grpc.handleBidiStreamingCall<commands_board_pb.BoardListWatchReq, commands_board_pb.BoardListWatchResp>;
|
||||
compile: grpc.handleServerStreamingCall<commands_compile_pb.CompileReq, commands_compile_pb.CompileResp>;
|
||||
platformInstall: grpc.handleServerStreamingCall<commands_core_pb.PlatformInstallReq, commands_core_pb.PlatformInstallResp>;
|
||||
platformDownload: grpc.handleServerStreamingCall<commands_core_pb.PlatformDownloadReq, commands_core_pb.PlatformDownloadResp>;
|
||||
platformUninstall: grpc.handleServerStreamingCall<commands_core_pb.PlatformUninstallReq, commands_core_pb.PlatformUninstallResp>;
|
||||
platformUpgrade: grpc.handleServerStreamingCall<commands_core_pb.PlatformUpgradeReq, commands_core_pb.PlatformUpgradeResp>;
|
||||
upload: grpc.handleServerStreamingCall<commands_upload_pb.UploadReq, commands_upload_pb.UploadResp>;
|
||||
uploadUsingProgrammer: grpc.handleServerStreamingCall<commands_upload_pb.UploadUsingProgrammerReq, commands_upload_pb.UploadUsingProgrammerResp>;
|
||||
listProgrammersAvailableForUpload: grpc.handleUnaryCall<commands_upload_pb.ListProgrammersAvailableForUploadReq, commands_upload_pb.ListProgrammersAvailableForUploadResp>;
|
||||
burnBootloader: grpc.handleServerStreamingCall<commands_upload_pb.BurnBootloaderReq, commands_upload_pb.BurnBootloaderResp>;
|
||||
platformSearch: grpc.handleUnaryCall<commands_core_pb.PlatformSearchReq, commands_core_pb.PlatformSearchResp>;
|
||||
platformList: grpc.handleUnaryCall<commands_core_pb.PlatformListReq, commands_core_pb.PlatformListResp>;
|
||||
libraryDownload: grpc.handleServerStreamingCall<commands_lib_pb.LibraryDownloadReq, commands_lib_pb.LibraryDownloadResp>;
|
||||
libraryInstall: grpc.handleServerStreamingCall<commands_lib_pb.LibraryInstallReq, commands_lib_pb.LibraryInstallResp>;
|
||||
zipLibraryInstall: grpc.handleServerStreamingCall<commands_lib_pb.ZipLibraryInstallReq, commands_lib_pb.ZipLibraryInstallResp>;
|
||||
gitLibraryInstall: grpc.handleServerStreamingCall<commands_lib_pb.GitLibraryInstallReq, commands_lib_pb.GitLibraryInstallResp>;
|
||||
libraryUninstall: grpc.handleServerStreamingCall<commands_lib_pb.LibraryUninstallReq, commands_lib_pb.LibraryUninstallResp>;
|
||||
libraryUpgradeAll: grpc.handleServerStreamingCall<commands_lib_pb.LibraryUpgradeAllReq, commands_lib_pb.LibraryUpgradeAllResp>;
|
||||
libraryResolveDependencies: grpc.handleUnaryCall<commands_lib_pb.LibraryResolveDependenciesReq, commands_lib_pb.LibraryResolveDependenciesResp>;
|
||||
librarySearch: grpc.handleUnaryCall<commands_lib_pb.LibrarySearchReq, commands_lib_pb.LibrarySearchResp>;
|
||||
libraryList: grpc.handleUnaryCall<commands_lib_pb.LibraryListReq, commands_lib_pb.LibraryListResp>;
|
||||
}
|
||||
|
||||
export interface IArduinoCoreClient {
|
||||
init(request: commands_commands_pb.InitReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.InitResp>;
|
||||
init(request: commands_commands_pb.InitReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.InitResp>;
|
||||
destroy(request: commands_commands_pb.DestroyReq, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.DestroyResp) => void): grpc.ClientUnaryCall;
|
||||
destroy(request: commands_commands_pb.DestroyReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.DestroyResp) => void): grpc.ClientUnaryCall;
|
||||
destroy(request: commands_commands_pb.DestroyReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.DestroyResp) => void): grpc.ClientUnaryCall;
|
||||
rescan(request: commands_commands_pb.RescanReq, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.RescanResp) => void): grpc.ClientUnaryCall;
|
||||
rescan(request: commands_commands_pb.RescanReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.RescanResp) => void): grpc.ClientUnaryCall;
|
||||
rescan(request: commands_commands_pb.RescanReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.RescanResp) => void): grpc.ClientUnaryCall;
|
||||
updateIndex(request: commands_commands_pb.UpdateIndexReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpdateIndexResp>;
|
||||
updateIndex(request: commands_commands_pb.UpdateIndexReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpdateIndexResp>;
|
||||
updateLibrariesIndex(request: commands_commands_pb.UpdateLibrariesIndexReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpdateLibrariesIndexResp>;
|
||||
updateLibrariesIndex(request: commands_commands_pb.UpdateLibrariesIndexReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpdateLibrariesIndexResp>;
|
||||
updateCoreLibrariesIndex(request: commands_commands_pb.UpdateCoreLibrariesIndexReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpdateCoreLibrariesIndexResp>;
|
||||
updateCoreLibrariesIndex(request: commands_commands_pb.UpdateCoreLibrariesIndexReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpdateCoreLibrariesIndexResp>;
|
||||
outdated(request: commands_commands_pb.OutdatedReq, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.OutdatedResp) => void): grpc.ClientUnaryCall;
|
||||
outdated(request: commands_commands_pb.OutdatedReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.OutdatedResp) => void): grpc.ClientUnaryCall;
|
||||
outdated(request: commands_commands_pb.OutdatedReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.OutdatedResp) => void): grpc.ClientUnaryCall;
|
||||
upgrade(request: commands_commands_pb.UpgradeReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpgradeResp>;
|
||||
upgrade(request: commands_commands_pb.UpgradeReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpgradeResp>;
|
||||
version(request: commands_commands_pb.VersionReq, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.VersionResp) => void): grpc.ClientUnaryCall;
|
||||
version(request: commands_commands_pb.VersionReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.VersionResp) => void): grpc.ClientUnaryCall;
|
||||
version(request: commands_commands_pb.VersionReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.VersionResp) => void): grpc.ClientUnaryCall;
|
||||
loadSketch(request: commands_commands_pb.LoadSketchReq, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.LoadSketchResp) => void): grpc.ClientUnaryCall;
|
||||
loadSketch(request: commands_commands_pb.LoadSketchReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.LoadSketchResp) => void): grpc.ClientUnaryCall;
|
||||
loadSketch(request: commands_commands_pb.LoadSketchReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.LoadSketchResp) => void): grpc.ClientUnaryCall;
|
||||
archiveSketch(request: commands_commands_pb.ArchiveSketchReq, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.ArchiveSketchResp) => void): grpc.ClientUnaryCall;
|
||||
archiveSketch(request: commands_commands_pb.ArchiveSketchReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.ArchiveSketchResp) => void): grpc.ClientUnaryCall;
|
||||
archiveSketch(request: commands_commands_pb.ArchiveSketchReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.ArchiveSketchResp) => void): grpc.ClientUnaryCall;
|
||||
boardDetails(request: commands_board_pb.BoardDetailsReq, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardDetailsResp) => void): grpc.ClientUnaryCall;
|
||||
boardDetails(request: commands_board_pb.BoardDetailsReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardDetailsResp) => void): grpc.ClientUnaryCall;
|
||||
boardDetails(request: commands_board_pb.BoardDetailsReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardDetailsResp) => void): grpc.ClientUnaryCall;
|
||||
boardAttach(request: commands_board_pb.BoardAttachReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_board_pb.BoardAttachResp>;
|
||||
boardAttach(request: commands_board_pb.BoardAttachReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_board_pb.BoardAttachResp>;
|
||||
boardList(request: commands_board_pb.BoardListReq, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardListResp) => void): grpc.ClientUnaryCall;
|
||||
boardList(request: commands_board_pb.BoardListReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardListResp) => void): grpc.ClientUnaryCall;
|
||||
boardList(request: commands_board_pb.BoardListReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardListResp) => void): grpc.ClientUnaryCall;
|
||||
boardListAll(request: commands_board_pb.BoardListAllReq, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardListAllResp) => void): grpc.ClientUnaryCall;
|
||||
boardListAll(request: commands_board_pb.BoardListAllReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardListAllResp) => void): grpc.ClientUnaryCall;
|
||||
boardListAll(request: commands_board_pb.BoardListAllReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardListAllResp) => void): grpc.ClientUnaryCall;
|
||||
boardSearch(request: commands_board_pb.BoardSearchReq, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardSearchResp) => void): grpc.ClientUnaryCall;
|
||||
boardSearch(request: commands_board_pb.BoardSearchReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardSearchResp) => void): grpc.ClientUnaryCall;
|
||||
boardSearch(request: commands_board_pb.BoardSearchReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardSearchResp) => void): grpc.ClientUnaryCall;
|
||||
boardListWatch(): grpc.ClientDuplexStream<commands_board_pb.BoardListWatchReq, commands_board_pb.BoardListWatchResp>;
|
||||
boardListWatch(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<commands_board_pb.BoardListWatchReq, commands_board_pb.BoardListWatchResp>;
|
||||
boardListWatch(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<commands_board_pb.BoardListWatchReq, commands_board_pb.BoardListWatchResp>;
|
||||
compile(request: commands_compile_pb.CompileReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_compile_pb.CompileResp>;
|
||||
compile(request: commands_compile_pb.CompileReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_compile_pb.CompileResp>;
|
||||
platformInstall(request: commands_core_pb.PlatformInstallReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformInstallResp>;
|
||||
platformInstall(request: commands_core_pb.PlatformInstallReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformInstallResp>;
|
||||
platformDownload(request: commands_core_pb.PlatformDownloadReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformDownloadResp>;
|
||||
platformDownload(request: commands_core_pb.PlatformDownloadReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformDownloadResp>;
|
||||
platformUninstall(request: commands_core_pb.PlatformUninstallReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformUninstallResp>;
|
||||
platformUninstall(request: commands_core_pb.PlatformUninstallReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformUninstallResp>;
|
||||
platformUpgrade(request: commands_core_pb.PlatformUpgradeReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformUpgradeResp>;
|
||||
platformUpgrade(request: commands_core_pb.PlatformUpgradeReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformUpgradeResp>;
|
||||
upload(request: commands_upload_pb.UploadReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_upload_pb.UploadResp>;
|
||||
upload(request: commands_upload_pb.UploadReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_upload_pb.UploadResp>;
|
||||
uploadUsingProgrammer(request: commands_upload_pb.UploadUsingProgrammerReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_upload_pb.UploadUsingProgrammerResp>;
|
||||
uploadUsingProgrammer(request: commands_upload_pb.UploadUsingProgrammerReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_upload_pb.UploadUsingProgrammerResp>;
|
||||
listProgrammersAvailableForUpload(request: commands_upload_pb.ListProgrammersAvailableForUploadReq, callback: (error: grpc.ServiceError | null, response: commands_upload_pb.ListProgrammersAvailableForUploadResp) => void): grpc.ClientUnaryCall;
|
||||
listProgrammersAvailableForUpload(request: commands_upload_pb.ListProgrammersAvailableForUploadReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_upload_pb.ListProgrammersAvailableForUploadResp) => void): grpc.ClientUnaryCall;
|
||||
listProgrammersAvailableForUpload(request: commands_upload_pb.ListProgrammersAvailableForUploadReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_upload_pb.ListProgrammersAvailableForUploadResp) => void): grpc.ClientUnaryCall;
|
||||
burnBootloader(request: commands_upload_pb.BurnBootloaderReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_upload_pb.BurnBootloaderResp>;
|
||||
burnBootloader(request: commands_upload_pb.BurnBootloaderReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_upload_pb.BurnBootloaderResp>;
|
||||
platformSearch(request: commands_core_pb.PlatformSearchReq, callback: (error: grpc.ServiceError | null, response: commands_core_pb.PlatformSearchResp) => void): grpc.ClientUnaryCall;
|
||||
platformSearch(request: commands_core_pb.PlatformSearchReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_core_pb.PlatformSearchResp) => void): grpc.ClientUnaryCall;
|
||||
platformSearch(request: commands_core_pb.PlatformSearchReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_core_pb.PlatformSearchResp) => void): grpc.ClientUnaryCall;
|
||||
platformList(request: commands_core_pb.PlatformListReq, callback: (error: grpc.ServiceError | null, response: commands_core_pb.PlatformListResp) => void): grpc.ClientUnaryCall;
|
||||
platformList(request: commands_core_pb.PlatformListReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_core_pb.PlatformListResp) => void): grpc.ClientUnaryCall;
|
||||
platformList(request: commands_core_pb.PlatformListReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_core_pb.PlatformListResp) => void): grpc.ClientUnaryCall;
|
||||
libraryDownload(request: commands_lib_pb.LibraryDownloadReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryDownloadResp>;
|
||||
libraryDownload(request: commands_lib_pb.LibraryDownloadReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryDownloadResp>;
|
||||
libraryInstall(request: commands_lib_pb.LibraryInstallReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryInstallResp>;
|
||||
libraryInstall(request: commands_lib_pb.LibraryInstallReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryInstallResp>;
|
||||
zipLibraryInstall(request: commands_lib_pb.ZipLibraryInstallReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.ZipLibraryInstallResp>;
|
||||
zipLibraryInstall(request: commands_lib_pb.ZipLibraryInstallReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.ZipLibraryInstallResp>;
|
||||
gitLibraryInstall(request: commands_lib_pb.GitLibraryInstallReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.GitLibraryInstallResp>;
|
||||
gitLibraryInstall(request: commands_lib_pb.GitLibraryInstallReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.GitLibraryInstallResp>;
|
||||
libraryUninstall(request: commands_lib_pb.LibraryUninstallReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryUninstallResp>;
|
||||
libraryUninstall(request: commands_lib_pb.LibraryUninstallReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryUninstallResp>;
|
||||
libraryUpgradeAll(request: commands_lib_pb.LibraryUpgradeAllReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryUpgradeAllResp>;
|
||||
libraryUpgradeAll(request: commands_lib_pb.LibraryUpgradeAllReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryUpgradeAllResp>;
|
||||
libraryResolveDependencies(request: commands_lib_pb.LibraryResolveDependenciesReq, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibraryResolveDependenciesResp) => void): grpc.ClientUnaryCall;
|
||||
libraryResolveDependencies(request: commands_lib_pb.LibraryResolveDependenciesReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibraryResolveDependenciesResp) => void): grpc.ClientUnaryCall;
|
||||
libraryResolveDependencies(request: commands_lib_pb.LibraryResolveDependenciesReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibraryResolveDependenciesResp) => void): grpc.ClientUnaryCall;
|
||||
librarySearch(request: commands_lib_pb.LibrarySearchReq, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibrarySearchResp) => void): grpc.ClientUnaryCall;
|
||||
librarySearch(request: commands_lib_pb.LibrarySearchReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibrarySearchResp) => void): grpc.ClientUnaryCall;
|
||||
librarySearch(request: commands_lib_pb.LibrarySearchReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibrarySearchResp) => void): grpc.ClientUnaryCall;
|
||||
libraryList(request: commands_lib_pb.LibraryListReq, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibraryListResp) => void): grpc.ClientUnaryCall;
|
||||
libraryList(request: commands_lib_pb.LibraryListReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibraryListResp) => void): grpc.ClientUnaryCall;
|
||||
libraryList(request: commands_lib_pb.LibraryListReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibraryListResp) => void): grpc.ClientUnaryCall;
|
||||
}
|
||||
|
||||
export class ArduinoCoreClient extends grpc.Client implements IArduinoCoreClient {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
||||
public init(request: commands_commands_pb.InitReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.InitResp>;
|
||||
public init(request: commands_commands_pb.InitReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.InitResp>;
|
||||
public destroy(request: commands_commands_pb.DestroyReq, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.DestroyResp) => void): grpc.ClientUnaryCall;
|
||||
public destroy(request: commands_commands_pb.DestroyReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.DestroyResp) => void): grpc.ClientUnaryCall;
|
||||
public destroy(request: commands_commands_pb.DestroyReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.DestroyResp) => void): grpc.ClientUnaryCall;
|
||||
public rescan(request: commands_commands_pb.RescanReq, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.RescanResp) => void): grpc.ClientUnaryCall;
|
||||
public rescan(request: commands_commands_pb.RescanReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.RescanResp) => void): grpc.ClientUnaryCall;
|
||||
public rescan(request: commands_commands_pb.RescanReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.RescanResp) => void): grpc.ClientUnaryCall;
|
||||
public updateIndex(request: commands_commands_pb.UpdateIndexReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpdateIndexResp>;
|
||||
public updateIndex(request: commands_commands_pb.UpdateIndexReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpdateIndexResp>;
|
||||
public updateLibrariesIndex(request: commands_commands_pb.UpdateLibrariesIndexReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpdateLibrariesIndexResp>;
|
||||
public updateLibrariesIndex(request: commands_commands_pb.UpdateLibrariesIndexReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpdateLibrariesIndexResp>;
|
||||
public updateCoreLibrariesIndex(request: commands_commands_pb.UpdateCoreLibrariesIndexReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpdateCoreLibrariesIndexResp>;
|
||||
public updateCoreLibrariesIndex(request: commands_commands_pb.UpdateCoreLibrariesIndexReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpdateCoreLibrariesIndexResp>;
|
||||
public outdated(request: commands_commands_pb.OutdatedReq, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.OutdatedResp) => void): grpc.ClientUnaryCall;
|
||||
public outdated(request: commands_commands_pb.OutdatedReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.OutdatedResp) => void): grpc.ClientUnaryCall;
|
||||
public outdated(request: commands_commands_pb.OutdatedReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.OutdatedResp) => void): grpc.ClientUnaryCall;
|
||||
public upgrade(request: commands_commands_pb.UpgradeReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpgradeResp>;
|
||||
public upgrade(request: commands_commands_pb.UpgradeReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_commands_pb.UpgradeResp>;
|
||||
public version(request: commands_commands_pb.VersionReq, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.VersionResp) => void): grpc.ClientUnaryCall;
|
||||
public version(request: commands_commands_pb.VersionReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.VersionResp) => void): grpc.ClientUnaryCall;
|
||||
public version(request: commands_commands_pb.VersionReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.VersionResp) => void): grpc.ClientUnaryCall;
|
||||
public loadSketch(request: commands_commands_pb.LoadSketchReq, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.LoadSketchResp) => void): grpc.ClientUnaryCall;
|
||||
public loadSketch(request: commands_commands_pb.LoadSketchReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.LoadSketchResp) => void): grpc.ClientUnaryCall;
|
||||
public loadSketch(request: commands_commands_pb.LoadSketchReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.LoadSketchResp) => void): grpc.ClientUnaryCall;
|
||||
public archiveSketch(request: commands_commands_pb.ArchiveSketchReq, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.ArchiveSketchResp) => void): grpc.ClientUnaryCall;
|
||||
public archiveSketch(request: commands_commands_pb.ArchiveSketchReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.ArchiveSketchResp) => void): grpc.ClientUnaryCall;
|
||||
public archiveSketch(request: commands_commands_pb.ArchiveSketchReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_commands_pb.ArchiveSketchResp) => void): grpc.ClientUnaryCall;
|
||||
public boardDetails(request: commands_board_pb.BoardDetailsReq, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardDetailsResp) => void): grpc.ClientUnaryCall;
|
||||
public boardDetails(request: commands_board_pb.BoardDetailsReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardDetailsResp) => void): grpc.ClientUnaryCall;
|
||||
public boardDetails(request: commands_board_pb.BoardDetailsReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardDetailsResp) => void): grpc.ClientUnaryCall;
|
||||
public boardAttach(request: commands_board_pb.BoardAttachReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_board_pb.BoardAttachResp>;
|
||||
public boardAttach(request: commands_board_pb.BoardAttachReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_board_pb.BoardAttachResp>;
|
||||
public boardList(request: commands_board_pb.BoardListReq, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardListResp) => void): grpc.ClientUnaryCall;
|
||||
public boardList(request: commands_board_pb.BoardListReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardListResp) => void): grpc.ClientUnaryCall;
|
||||
public boardList(request: commands_board_pb.BoardListReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardListResp) => void): grpc.ClientUnaryCall;
|
||||
public boardListAll(request: commands_board_pb.BoardListAllReq, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardListAllResp) => void): grpc.ClientUnaryCall;
|
||||
public boardListAll(request: commands_board_pb.BoardListAllReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardListAllResp) => void): grpc.ClientUnaryCall;
|
||||
public boardListAll(request: commands_board_pb.BoardListAllReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardListAllResp) => void): grpc.ClientUnaryCall;
|
||||
public boardSearch(request: commands_board_pb.BoardSearchReq, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardSearchResp) => void): grpc.ClientUnaryCall;
|
||||
public boardSearch(request: commands_board_pb.BoardSearchReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardSearchResp) => void): grpc.ClientUnaryCall;
|
||||
public boardSearch(request: commands_board_pb.BoardSearchReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_board_pb.BoardSearchResp) => void): grpc.ClientUnaryCall;
|
||||
public boardListWatch(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<commands_board_pb.BoardListWatchReq, commands_board_pb.BoardListWatchResp>;
|
||||
public boardListWatch(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<commands_board_pb.BoardListWatchReq, commands_board_pb.BoardListWatchResp>;
|
||||
public compile(request: commands_compile_pb.CompileReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_compile_pb.CompileResp>;
|
||||
public compile(request: commands_compile_pb.CompileReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_compile_pb.CompileResp>;
|
||||
public platformInstall(request: commands_core_pb.PlatformInstallReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformInstallResp>;
|
||||
public platformInstall(request: commands_core_pb.PlatformInstallReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformInstallResp>;
|
||||
public platformDownload(request: commands_core_pb.PlatformDownloadReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformDownloadResp>;
|
||||
public platformDownload(request: commands_core_pb.PlatformDownloadReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformDownloadResp>;
|
||||
public platformUninstall(request: commands_core_pb.PlatformUninstallReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformUninstallResp>;
|
||||
public platformUninstall(request: commands_core_pb.PlatformUninstallReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformUninstallResp>;
|
||||
public platformUpgrade(request: commands_core_pb.PlatformUpgradeReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformUpgradeResp>;
|
||||
public platformUpgrade(request: commands_core_pb.PlatformUpgradeReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_core_pb.PlatformUpgradeResp>;
|
||||
public upload(request: commands_upload_pb.UploadReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_upload_pb.UploadResp>;
|
||||
public upload(request: commands_upload_pb.UploadReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_upload_pb.UploadResp>;
|
||||
public uploadUsingProgrammer(request: commands_upload_pb.UploadUsingProgrammerReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_upload_pb.UploadUsingProgrammerResp>;
|
||||
public uploadUsingProgrammer(request: commands_upload_pb.UploadUsingProgrammerReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_upload_pb.UploadUsingProgrammerResp>;
|
||||
public listProgrammersAvailableForUpload(request: commands_upload_pb.ListProgrammersAvailableForUploadReq, callback: (error: grpc.ServiceError | null, response: commands_upload_pb.ListProgrammersAvailableForUploadResp) => void): grpc.ClientUnaryCall;
|
||||
public listProgrammersAvailableForUpload(request: commands_upload_pb.ListProgrammersAvailableForUploadReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_upload_pb.ListProgrammersAvailableForUploadResp) => void): grpc.ClientUnaryCall;
|
||||
public listProgrammersAvailableForUpload(request: commands_upload_pb.ListProgrammersAvailableForUploadReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_upload_pb.ListProgrammersAvailableForUploadResp) => void): grpc.ClientUnaryCall;
|
||||
public burnBootloader(request: commands_upload_pb.BurnBootloaderReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_upload_pb.BurnBootloaderResp>;
|
||||
public burnBootloader(request: commands_upload_pb.BurnBootloaderReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_upload_pb.BurnBootloaderResp>;
|
||||
public platformSearch(request: commands_core_pb.PlatformSearchReq, callback: (error: grpc.ServiceError | null, response: commands_core_pb.PlatformSearchResp) => void): grpc.ClientUnaryCall;
|
||||
public platformSearch(request: commands_core_pb.PlatformSearchReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_core_pb.PlatformSearchResp) => void): grpc.ClientUnaryCall;
|
||||
public platformSearch(request: commands_core_pb.PlatformSearchReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_core_pb.PlatformSearchResp) => void): grpc.ClientUnaryCall;
|
||||
public platformList(request: commands_core_pb.PlatformListReq, callback: (error: grpc.ServiceError | null, response: commands_core_pb.PlatformListResp) => void): grpc.ClientUnaryCall;
|
||||
public platformList(request: commands_core_pb.PlatformListReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_core_pb.PlatformListResp) => void): grpc.ClientUnaryCall;
|
||||
public platformList(request: commands_core_pb.PlatformListReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_core_pb.PlatformListResp) => void): grpc.ClientUnaryCall;
|
||||
public libraryDownload(request: commands_lib_pb.LibraryDownloadReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryDownloadResp>;
|
||||
public libraryDownload(request: commands_lib_pb.LibraryDownloadReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryDownloadResp>;
|
||||
public libraryInstall(request: commands_lib_pb.LibraryInstallReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryInstallResp>;
|
||||
public libraryInstall(request: commands_lib_pb.LibraryInstallReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryInstallResp>;
|
||||
public zipLibraryInstall(request: commands_lib_pb.ZipLibraryInstallReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.ZipLibraryInstallResp>;
|
||||
public zipLibraryInstall(request: commands_lib_pb.ZipLibraryInstallReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.ZipLibraryInstallResp>;
|
||||
public gitLibraryInstall(request: commands_lib_pb.GitLibraryInstallReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.GitLibraryInstallResp>;
|
||||
public gitLibraryInstall(request: commands_lib_pb.GitLibraryInstallReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.GitLibraryInstallResp>;
|
||||
public libraryUninstall(request: commands_lib_pb.LibraryUninstallReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryUninstallResp>;
|
||||
public libraryUninstall(request: commands_lib_pb.LibraryUninstallReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryUninstallResp>;
|
||||
public libraryUpgradeAll(request: commands_lib_pb.LibraryUpgradeAllReq, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryUpgradeAllResp>;
|
||||
public libraryUpgradeAll(request: commands_lib_pb.LibraryUpgradeAllReq, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<commands_lib_pb.LibraryUpgradeAllResp>;
|
||||
public libraryResolveDependencies(request: commands_lib_pb.LibraryResolveDependenciesReq, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibraryResolveDependenciesResp) => void): grpc.ClientUnaryCall;
|
||||
public libraryResolveDependencies(request: commands_lib_pb.LibraryResolveDependenciesReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibraryResolveDependenciesResp) => void): grpc.ClientUnaryCall;
|
||||
public libraryResolveDependencies(request: commands_lib_pb.LibraryResolveDependenciesReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibraryResolveDependenciesResp) => void): grpc.ClientUnaryCall;
|
||||
public librarySearch(request: commands_lib_pb.LibrarySearchReq, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibrarySearchResp) => void): grpc.ClientUnaryCall;
|
||||
public librarySearch(request: commands_lib_pb.LibrarySearchReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibrarySearchResp) => void): grpc.ClientUnaryCall;
|
||||
public librarySearch(request: commands_lib_pb.LibrarySearchReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibrarySearchResp) => void): grpc.ClientUnaryCall;
|
||||
public libraryList(request: commands_lib_pb.LibraryListReq, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibraryListResp) => void): grpc.ClientUnaryCall;
|
||||
public libraryList(request: commands_lib_pb.LibraryListReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibraryListResp) => void): grpc.ClientUnaryCall;
|
||||
public libraryList(request: commands_lib_pb.LibraryListReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: commands_lib_pb.LibraryListResp) => void): grpc.ClientUnaryCall;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,585 +0,0 @@
|
||||
// package: cc.arduino.cli.commands
|
||||
// file: commands/commands.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as commands_common_pb from "../commands/common_pb";
|
||||
import * as commands_board_pb from "../commands/board_pb";
|
||||
import * as commands_compile_pb from "../commands/compile_pb";
|
||||
import * as commands_core_pb from "../commands/core_pb";
|
||||
import * as commands_upload_pb from "../commands/upload_pb";
|
||||
import * as commands_lib_pb from "../commands/lib_pb";
|
||||
|
||||
export class InitReq extends jspb.Message {
|
||||
getLibraryManagerOnly(): boolean;
|
||||
setLibraryManagerOnly(value: boolean): InitReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): InitReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: InitReq): InitReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: InitReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): InitReq;
|
||||
static deserializeBinaryFromReader(message: InitReq, reader: jspb.BinaryReader): InitReq;
|
||||
}
|
||||
|
||||
export namespace InitReq {
|
||||
export type AsObject = {
|
||||
libraryManagerOnly: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class InitResp extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): InitResp;
|
||||
|
||||
clearPlatformsIndexErrorsList(): void;
|
||||
getPlatformsIndexErrorsList(): Array<string>;
|
||||
setPlatformsIndexErrorsList(value: Array<string>): InitResp;
|
||||
addPlatformsIndexErrors(value: string, index?: number): string;
|
||||
|
||||
getLibrariesIndexError(): string;
|
||||
setLibrariesIndexError(value: string): InitResp;
|
||||
|
||||
|
||||
hasDownloadProgress(): boolean;
|
||||
clearDownloadProgress(): void;
|
||||
getDownloadProgress(): commands_common_pb.DownloadProgress | undefined;
|
||||
setDownloadProgress(value?: commands_common_pb.DownloadProgress): InitResp;
|
||||
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): commands_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: commands_common_pb.TaskProgress): InitResp;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): InitResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: InitResp): InitResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: InitResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): InitResp;
|
||||
static deserializeBinaryFromReader(message: InitResp, reader: jspb.BinaryReader): InitResp;
|
||||
}
|
||||
|
||||
export namespace InitResp {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
platformsIndexErrorsList: Array<string>,
|
||||
librariesIndexError: string,
|
||||
downloadProgress?: commands_common_pb.DownloadProgress.AsObject,
|
||||
taskProgress?: commands_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class DestroyReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): DestroyReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DestroyReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DestroyReq): DestroyReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DestroyReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DestroyReq;
|
||||
static deserializeBinaryFromReader(message: DestroyReq, reader: jspb.BinaryReader): DestroyReq;
|
||||
}
|
||||
|
||||
export namespace DestroyReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class DestroyResp extends jspb.Message {
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DestroyResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DestroyResp): DestroyResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DestroyResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DestroyResp;
|
||||
static deserializeBinaryFromReader(message: DestroyResp, reader: jspb.BinaryReader): DestroyResp;
|
||||
}
|
||||
|
||||
export namespace DestroyResp {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
||||
|
||||
export class RescanReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): RescanReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RescanReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RescanReq): RescanReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RescanReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RescanReq;
|
||||
static deserializeBinaryFromReader(message: RescanReq, reader: jspb.BinaryReader): RescanReq;
|
||||
}
|
||||
|
||||
export namespace RescanReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class RescanResp extends jspb.Message {
|
||||
clearPlatformsIndexErrorsList(): void;
|
||||
getPlatformsIndexErrorsList(): Array<string>;
|
||||
setPlatformsIndexErrorsList(value: Array<string>): RescanResp;
|
||||
addPlatformsIndexErrors(value: string, index?: number): string;
|
||||
|
||||
getLibrariesIndexError(): string;
|
||||
setLibrariesIndexError(value: string): RescanResp;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RescanResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RescanResp): RescanResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RescanResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RescanResp;
|
||||
static deserializeBinaryFromReader(message: RescanResp, reader: jspb.BinaryReader): RescanResp;
|
||||
}
|
||||
|
||||
export namespace RescanResp {
|
||||
export type AsObject = {
|
||||
platformsIndexErrorsList: Array<string>,
|
||||
librariesIndexError: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateIndexReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): UpdateIndexReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateIndexReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateIndexReq): UpdateIndexReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateIndexReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateIndexReq;
|
||||
static deserializeBinaryFromReader(message: UpdateIndexReq, reader: jspb.BinaryReader): UpdateIndexReq;
|
||||
}
|
||||
|
||||
export namespace UpdateIndexReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateIndexResp extends jspb.Message {
|
||||
|
||||
hasDownloadProgress(): boolean;
|
||||
clearDownloadProgress(): void;
|
||||
getDownloadProgress(): commands_common_pb.DownloadProgress | undefined;
|
||||
setDownloadProgress(value?: commands_common_pb.DownloadProgress): UpdateIndexResp;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateIndexResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateIndexResp): UpdateIndexResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateIndexResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateIndexResp;
|
||||
static deserializeBinaryFromReader(message: UpdateIndexResp, reader: jspb.BinaryReader): UpdateIndexResp;
|
||||
}
|
||||
|
||||
export namespace UpdateIndexResp {
|
||||
export type AsObject = {
|
||||
downloadProgress?: commands_common_pb.DownloadProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateLibrariesIndexReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): UpdateLibrariesIndexReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateLibrariesIndexReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateLibrariesIndexReq): UpdateLibrariesIndexReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateLibrariesIndexReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateLibrariesIndexReq;
|
||||
static deserializeBinaryFromReader(message: UpdateLibrariesIndexReq, reader: jspb.BinaryReader): UpdateLibrariesIndexReq;
|
||||
}
|
||||
|
||||
export namespace UpdateLibrariesIndexReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateLibrariesIndexResp extends jspb.Message {
|
||||
|
||||
hasDownloadProgress(): boolean;
|
||||
clearDownloadProgress(): void;
|
||||
getDownloadProgress(): commands_common_pb.DownloadProgress | undefined;
|
||||
setDownloadProgress(value?: commands_common_pb.DownloadProgress): UpdateLibrariesIndexResp;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateLibrariesIndexResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateLibrariesIndexResp): UpdateLibrariesIndexResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateLibrariesIndexResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateLibrariesIndexResp;
|
||||
static deserializeBinaryFromReader(message: UpdateLibrariesIndexResp, reader: jspb.BinaryReader): UpdateLibrariesIndexResp;
|
||||
}
|
||||
|
||||
export namespace UpdateLibrariesIndexResp {
|
||||
export type AsObject = {
|
||||
downloadProgress?: commands_common_pb.DownloadProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateCoreLibrariesIndexReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): UpdateCoreLibrariesIndexReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateCoreLibrariesIndexReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateCoreLibrariesIndexReq): UpdateCoreLibrariesIndexReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateCoreLibrariesIndexReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateCoreLibrariesIndexReq;
|
||||
static deserializeBinaryFromReader(message: UpdateCoreLibrariesIndexReq, reader: jspb.BinaryReader): UpdateCoreLibrariesIndexReq;
|
||||
}
|
||||
|
||||
export namespace UpdateCoreLibrariesIndexReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateCoreLibrariesIndexResp extends jspb.Message {
|
||||
|
||||
hasDownloadProgress(): boolean;
|
||||
clearDownloadProgress(): void;
|
||||
getDownloadProgress(): commands_common_pb.DownloadProgress | undefined;
|
||||
setDownloadProgress(value?: commands_common_pb.DownloadProgress): UpdateCoreLibrariesIndexResp;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateCoreLibrariesIndexResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateCoreLibrariesIndexResp): UpdateCoreLibrariesIndexResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateCoreLibrariesIndexResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateCoreLibrariesIndexResp;
|
||||
static deserializeBinaryFromReader(message: UpdateCoreLibrariesIndexResp, reader: jspb.BinaryReader): UpdateCoreLibrariesIndexResp;
|
||||
}
|
||||
|
||||
export namespace UpdateCoreLibrariesIndexResp {
|
||||
export type AsObject = {
|
||||
downloadProgress?: commands_common_pb.DownloadProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class OutdatedReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): OutdatedReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OutdatedReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OutdatedReq): OutdatedReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: OutdatedReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OutdatedReq;
|
||||
static deserializeBinaryFromReader(message: OutdatedReq, reader: jspb.BinaryReader): OutdatedReq;
|
||||
}
|
||||
|
||||
export namespace OutdatedReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class OutdatedResp extends jspb.Message {
|
||||
clearOutdatedLibraryList(): void;
|
||||
getOutdatedLibraryList(): Array<commands_lib_pb.InstalledLibrary>;
|
||||
setOutdatedLibraryList(value: Array<commands_lib_pb.InstalledLibrary>): OutdatedResp;
|
||||
addOutdatedLibrary(value?: commands_lib_pb.InstalledLibrary, index?: number): commands_lib_pb.InstalledLibrary;
|
||||
|
||||
clearOutdatedPlatformList(): void;
|
||||
getOutdatedPlatformList(): Array<commands_common_pb.Platform>;
|
||||
setOutdatedPlatformList(value: Array<commands_common_pb.Platform>): OutdatedResp;
|
||||
addOutdatedPlatform(value?: commands_common_pb.Platform, index?: number): commands_common_pb.Platform;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OutdatedResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OutdatedResp): OutdatedResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: OutdatedResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OutdatedResp;
|
||||
static deserializeBinaryFromReader(message: OutdatedResp, reader: jspb.BinaryReader): OutdatedResp;
|
||||
}
|
||||
|
||||
export namespace OutdatedResp {
|
||||
export type AsObject = {
|
||||
outdatedLibraryList: Array<commands_lib_pb.InstalledLibrary.AsObject>,
|
||||
outdatedPlatformList: Array<commands_common_pb.Platform.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpgradeReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): UpgradeReq;
|
||||
|
||||
getSkippostinstall(): boolean;
|
||||
setSkippostinstall(value: boolean): UpgradeReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpgradeReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpgradeReq): UpgradeReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpgradeReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpgradeReq;
|
||||
static deserializeBinaryFromReader(message: UpgradeReq, reader: jspb.BinaryReader): UpgradeReq;
|
||||
}
|
||||
|
||||
export namespace UpgradeReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
skippostinstall: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpgradeResp extends jspb.Message {
|
||||
|
||||
hasProgress(): boolean;
|
||||
clearProgress(): void;
|
||||
getProgress(): commands_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: commands_common_pb.DownloadProgress): UpgradeResp;
|
||||
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): commands_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: commands_common_pb.TaskProgress): UpgradeResp;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpgradeResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpgradeResp): UpgradeResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpgradeResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpgradeResp;
|
||||
static deserializeBinaryFromReader(message: UpgradeResp, reader: jspb.BinaryReader): UpgradeResp;
|
||||
}
|
||||
|
||||
export namespace UpgradeResp {
|
||||
export type AsObject = {
|
||||
progress?: commands_common_pb.DownloadProgress.AsObject,
|
||||
taskProgress?: commands_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class VersionReq extends jspb.Message {
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): VersionReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: VersionReq): VersionReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: VersionReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): VersionReq;
|
||||
static deserializeBinaryFromReader(message: VersionReq, reader: jspb.BinaryReader): VersionReq;
|
||||
}
|
||||
|
||||
export namespace VersionReq {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
||||
|
||||
export class VersionResp extends jspb.Message {
|
||||
getVersion(): string;
|
||||
setVersion(value: string): VersionResp;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): VersionResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: VersionResp): VersionResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: VersionResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): VersionResp;
|
||||
static deserializeBinaryFromReader(message: VersionResp, reader: jspb.BinaryReader): VersionResp;
|
||||
}
|
||||
|
||||
export namespace VersionResp {
|
||||
export type AsObject = {
|
||||
version: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class LoadSketchReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): LoadSketchReq;
|
||||
|
||||
getSketchPath(): string;
|
||||
setSketchPath(value: string): LoadSketchReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LoadSketchReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LoadSketchReq): LoadSketchReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LoadSketchReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LoadSketchReq;
|
||||
static deserializeBinaryFromReader(message: LoadSketchReq, reader: jspb.BinaryReader): LoadSketchReq;
|
||||
}
|
||||
|
||||
export namespace LoadSketchReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
sketchPath: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class LoadSketchResp extends jspb.Message {
|
||||
getMainFile(): string;
|
||||
setMainFile(value: string): LoadSketchResp;
|
||||
|
||||
getLocationPath(): string;
|
||||
setLocationPath(value: string): LoadSketchResp;
|
||||
|
||||
clearOtherSketchFilesList(): void;
|
||||
getOtherSketchFilesList(): Array<string>;
|
||||
setOtherSketchFilesList(value: Array<string>): LoadSketchResp;
|
||||
addOtherSketchFiles(value: string, index?: number): string;
|
||||
|
||||
clearAdditionalFilesList(): void;
|
||||
getAdditionalFilesList(): Array<string>;
|
||||
setAdditionalFilesList(value: Array<string>): LoadSketchResp;
|
||||
addAdditionalFiles(value: string, index?: number): string;
|
||||
|
||||
clearRootFolderFilesList(): void;
|
||||
getRootFolderFilesList(): Array<string>;
|
||||
setRootFolderFilesList(value: Array<string>): LoadSketchResp;
|
||||
addRootFolderFiles(value: string, index?: number): string;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LoadSketchResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LoadSketchResp): LoadSketchResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LoadSketchResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LoadSketchResp;
|
||||
static deserializeBinaryFromReader(message: LoadSketchResp, reader: jspb.BinaryReader): LoadSketchResp;
|
||||
}
|
||||
|
||||
export namespace LoadSketchResp {
|
||||
export type AsObject = {
|
||||
mainFile: string,
|
||||
locationPath: string,
|
||||
otherSketchFilesList: Array<string>,
|
||||
additionalFilesList: Array<string>,
|
||||
rootFolderFilesList: Array<string>,
|
||||
}
|
||||
}
|
||||
|
||||
export class ArchiveSketchReq extends jspb.Message {
|
||||
getSketchPath(): string;
|
||||
setSketchPath(value: string): ArchiveSketchReq;
|
||||
|
||||
getArchivePath(): string;
|
||||
setArchivePath(value: string): ArchiveSketchReq;
|
||||
|
||||
getIncludeBuildDir(): boolean;
|
||||
setIncludeBuildDir(value: boolean): ArchiveSketchReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ArchiveSketchReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ArchiveSketchReq): ArchiveSketchReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ArchiveSketchReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ArchiveSketchReq;
|
||||
static deserializeBinaryFromReader(message: ArchiveSketchReq, reader: jspb.BinaryReader): ArchiveSketchReq;
|
||||
}
|
||||
|
||||
export namespace ArchiveSketchReq {
|
||||
export type AsObject = {
|
||||
sketchPath: string,
|
||||
archivePath: string,
|
||||
includeBuildDir: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class ArchiveSketchResp extends jspb.Message {
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ArchiveSketchResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ArchiveSketchResp): ArchiveSketchResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ArchiveSketchResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ArchiveSketchResp;
|
||||
static deserializeBinaryFromReader(message: ArchiveSketchResp, reader: jspb.BinaryReader): ArchiveSketchResp;
|
||||
}
|
||||
|
||||
export namespace ArchiveSketchResp {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
@ -1,372 +0,0 @@
|
||||
// package: cc.arduino.cli.commands
|
||||
// file: commands/core.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as commands_common_pb from "../commands/common_pb";
|
||||
|
||||
export class PlatformInstallReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): PlatformInstallReq;
|
||||
|
||||
getPlatformPackage(): string;
|
||||
setPlatformPackage(value: string): PlatformInstallReq;
|
||||
|
||||
getArchitecture(): string;
|
||||
setArchitecture(value: string): PlatformInstallReq;
|
||||
|
||||
getVersion(): string;
|
||||
setVersion(value: string): PlatformInstallReq;
|
||||
|
||||
getSkippostinstall(): boolean;
|
||||
setSkippostinstall(value: boolean): PlatformInstallReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformInstallReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformInstallReq): PlatformInstallReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformInstallReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformInstallReq;
|
||||
static deserializeBinaryFromReader(message: PlatformInstallReq, reader: jspb.BinaryReader): PlatformInstallReq;
|
||||
}
|
||||
|
||||
export namespace PlatformInstallReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
platformPackage: string,
|
||||
architecture: string,
|
||||
version: string,
|
||||
skippostinstall: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformInstallResp extends jspb.Message {
|
||||
|
||||
hasProgress(): boolean;
|
||||
clearProgress(): void;
|
||||
getProgress(): commands_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: commands_common_pb.DownloadProgress): PlatformInstallResp;
|
||||
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): commands_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: commands_common_pb.TaskProgress): PlatformInstallResp;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformInstallResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformInstallResp): PlatformInstallResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformInstallResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformInstallResp;
|
||||
static deserializeBinaryFromReader(message: PlatformInstallResp, reader: jspb.BinaryReader): PlatformInstallResp;
|
||||
}
|
||||
|
||||
export namespace PlatformInstallResp {
|
||||
export type AsObject = {
|
||||
progress?: commands_common_pb.DownloadProgress.AsObject,
|
||||
taskProgress?: commands_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformDownloadReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): PlatformDownloadReq;
|
||||
|
||||
getPlatformPackage(): string;
|
||||
setPlatformPackage(value: string): PlatformDownloadReq;
|
||||
|
||||
getArchitecture(): string;
|
||||
setArchitecture(value: string): PlatformDownloadReq;
|
||||
|
||||
getVersion(): string;
|
||||
setVersion(value: string): PlatformDownloadReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformDownloadReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformDownloadReq): PlatformDownloadReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformDownloadReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformDownloadReq;
|
||||
static deserializeBinaryFromReader(message: PlatformDownloadReq, reader: jspb.BinaryReader): PlatformDownloadReq;
|
||||
}
|
||||
|
||||
export namespace PlatformDownloadReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
platformPackage: string,
|
||||
architecture: string,
|
||||
version: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformDownloadResp extends jspb.Message {
|
||||
|
||||
hasProgress(): boolean;
|
||||
clearProgress(): void;
|
||||
getProgress(): commands_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: commands_common_pb.DownloadProgress): PlatformDownloadResp;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformDownloadResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformDownloadResp): PlatformDownloadResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformDownloadResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformDownloadResp;
|
||||
static deserializeBinaryFromReader(message: PlatformDownloadResp, reader: jspb.BinaryReader): PlatformDownloadResp;
|
||||
}
|
||||
|
||||
export namespace PlatformDownloadResp {
|
||||
export type AsObject = {
|
||||
progress?: commands_common_pb.DownloadProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformUninstallReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): PlatformUninstallReq;
|
||||
|
||||
getPlatformPackage(): string;
|
||||
setPlatformPackage(value: string): PlatformUninstallReq;
|
||||
|
||||
getArchitecture(): string;
|
||||
setArchitecture(value: string): PlatformUninstallReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformUninstallReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformUninstallReq): PlatformUninstallReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformUninstallReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformUninstallReq;
|
||||
static deserializeBinaryFromReader(message: PlatformUninstallReq, reader: jspb.BinaryReader): PlatformUninstallReq;
|
||||
}
|
||||
|
||||
export namespace PlatformUninstallReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
platformPackage: string,
|
||||
architecture: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformUninstallResp extends jspb.Message {
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): commands_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: commands_common_pb.TaskProgress): PlatformUninstallResp;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformUninstallResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformUninstallResp): PlatformUninstallResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformUninstallResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformUninstallResp;
|
||||
static deserializeBinaryFromReader(message: PlatformUninstallResp, reader: jspb.BinaryReader): PlatformUninstallResp;
|
||||
}
|
||||
|
||||
export namespace PlatformUninstallResp {
|
||||
export type AsObject = {
|
||||
taskProgress?: commands_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformUpgradeReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): PlatformUpgradeReq;
|
||||
|
||||
getPlatformPackage(): string;
|
||||
setPlatformPackage(value: string): PlatformUpgradeReq;
|
||||
|
||||
getArchitecture(): string;
|
||||
setArchitecture(value: string): PlatformUpgradeReq;
|
||||
|
||||
getSkippostinstall(): boolean;
|
||||
setSkippostinstall(value: boolean): PlatformUpgradeReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformUpgradeReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformUpgradeReq): PlatformUpgradeReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformUpgradeReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformUpgradeReq;
|
||||
static deserializeBinaryFromReader(message: PlatformUpgradeReq, reader: jspb.BinaryReader): PlatformUpgradeReq;
|
||||
}
|
||||
|
||||
export namespace PlatformUpgradeReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
platformPackage: string,
|
||||
architecture: string,
|
||||
skippostinstall: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformUpgradeResp extends jspb.Message {
|
||||
|
||||
hasProgress(): boolean;
|
||||
clearProgress(): void;
|
||||
getProgress(): commands_common_pb.DownloadProgress | undefined;
|
||||
setProgress(value?: commands_common_pb.DownloadProgress): PlatformUpgradeResp;
|
||||
|
||||
|
||||
hasTaskProgress(): boolean;
|
||||
clearTaskProgress(): void;
|
||||
getTaskProgress(): commands_common_pb.TaskProgress | undefined;
|
||||
setTaskProgress(value?: commands_common_pb.TaskProgress): PlatformUpgradeResp;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformUpgradeResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformUpgradeResp): PlatformUpgradeResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformUpgradeResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformUpgradeResp;
|
||||
static deserializeBinaryFromReader(message: PlatformUpgradeResp, reader: jspb.BinaryReader): PlatformUpgradeResp;
|
||||
}
|
||||
|
||||
export namespace PlatformUpgradeResp {
|
||||
export type AsObject = {
|
||||
progress?: commands_common_pb.DownloadProgress.AsObject,
|
||||
taskProgress?: commands_common_pb.TaskProgress.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformSearchReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): PlatformSearchReq;
|
||||
|
||||
getSearchArgs(): string;
|
||||
setSearchArgs(value: string): PlatformSearchReq;
|
||||
|
||||
getAllVersions(): boolean;
|
||||
setAllVersions(value: boolean): PlatformSearchReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformSearchReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformSearchReq): PlatformSearchReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformSearchReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformSearchReq;
|
||||
static deserializeBinaryFromReader(message: PlatformSearchReq, reader: jspb.BinaryReader): PlatformSearchReq;
|
||||
}
|
||||
|
||||
export namespace PlatformSearchReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
searchArgs: string,
|
||||
allVersions: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformSearchResp extends jspb.Message {
|
||||
clearSearchOutputList(): void;
|
||||
getSearchOutputList(): Array<commands_common_pb.Platform>;
|
||||
setSearchOutputList(value: Array<commands_common_pb.Platform>): PlatformSearchResp;
|
||||
addSearchOutput(value?: commands_common_pb.Platform, index?: number): commands_common_pb.Platform;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformSearchResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformSearchResp): PlatformSearchResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformSearchResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformSearchResp;
|
||||
static deserializeBinaryFromReader(message: PlatformSearchResp, reader: jspb.BinaryReader): PlatformSearchResp;
|
||||
}
|
||||
|
||||
export namespace PlatformSearchResp {
|
||||
export type AsObject = {
|
||||
searchOutputList: Array<commands_common_pb.Platform.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformListReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): PlatformListReq;
|
||||
|
||||
getUpdatableOnly(): boolean;
|
||||
setUpdatableOnly(value: boolean): PlatformListReq;
|
||||
|
||||
getAll(): boolean;
|
||||
setAll(value: boolean): PlatformListReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformListReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformListReq): PlatformListReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformListReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformListReq;
|
||||
static deserializeBinaryFromReader(message: PlatformListReq, reader: jspb.BinaryReader): PlatformListReq;
|
||||
}
|
||||
|
||||
export namespace PlatformListReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
updatableOnly: boolean,
|
||||
all: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class PlatformListResp extends jspb.Message {
|
||||
clearInstalledPlatformList(): void;
|
||||
getInstalledPlatformList(): Array<commands_common_pb.Platform>;
|
||||
setInstalledPlatformList(value: Array<commands_common_pb.Platform>): PlatformListResp;
|
||||
addInstalledPlatform(value?: commands_common_pb.Platform, index?: number): commands_common_pb.Platform;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformListResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PlatformListResp): PlatformListResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PlatformListResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PlatformListResp;
|
||||
static deserializeBinaryFromReader(message: PlatformListResp, reader: jspb.BinaryReader): PlatformListResp;
|
||||
}
|
||||
|
||||
export namespace PlatformListResp {
|
||||
export type AsObject = {
|
||||
installedPlatformList: Array<commands_common_pb.Platform.AsObject>,
|
||||
}
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
// package: cc.arduino.cli.debug
|
||||
// file: debug/debug.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
|
||||
import * as debug_debug_pb from "../debug/debug_pb";
|
||||
import * as commands_common_pb from "../commands/common_pb";
|
||||
|
||||
interface IDebugService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
debug: IDebugService_IDebug;
|
||||
getDebugConfig: IDebugService_IGetDebugConfig;
|
||||
}
|
||||
|
||||
interface IDebugService_IDebug extends grpc.MethodDefinition<debug_debug_pb.DebugReq, debug_debug_pb.DebugResp> {
|
||||
path: "/cc.arduino.cli.debug.Debug/Debug";
|
||||
requestStream: true;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<debug_debug_pb.DebugReq>;
|
||||
requestDeserialize: grpc.deserialize<debug_debug_pb.DebugReq>;
|
||||
responseSerialize: grpc.serialize<debug_debug_pb.DebugResp>;
|
||||
responseDeserialize: grpc.deserialize<debug_debug_pb.DebugResp>;
|
||||
}
|
||||
interface IDebugService_IGetDebugConfig extends grpc.MethodDefinition<debug_debug_pb.DebugConfigReq, debug_debug_pb.GetDebugConfigResp> {
|
||||
path: "/cc.arduino.cli.debug.Debug/GetDebugConfig";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<debug_debug_pb.DebugConfigReq>;
|
||||
requestDeserialize: grpc.deserialize<debug_debug_pb.DebugConfigReq>;
|
||||
responseSerialize: grpc.serialize<debug_debug_pb.GetDebugConfigResp>;
|
||||
responseDeserialize: grpc.deserialize<debug_debug_pb.GetDebugConfigResp>;
|
||||
}
|
||||
|
||||
export const DebugService: IDebugService;
|
||||
|
||||
export interface IDebugServer {
|
||||
debug: grpc.handleBidiStreamingCall<debug_debug_pb.DebugReq, debug_debug_pb.DebugResp>;
|
||||
getDebugConfig: grpc.handleUnaryCall<debug_debug_pb.DebugConfigReq, debug_debug_pb.GetDebugConfigResp>;
|
||||
}
|
||||
|
||||
export interface IDebugClient {
|
||||
debug(): grpc.ClientDuplexStream<debug_debug_pb.DebugReq, debug_debug_pb.DebugResp>;
|
||||
debug(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<debug_debug_pb.DebugReq, debug_debug_pb.DebugResp>;
|
||||
debug(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<debug_debug_pb.DebugReq, debug_debug_pb.DebugResp>;
|
||||
getDebugConfig(request: debug_debug_pb.DebugConfigReq, callback: (error: grpc.ServiceError | null, response: debug_debug_pb.GetDebugConfigResp) => void): grpc.ClientUnaryCall;
|
||||
getDebugConfig(request: debug_debug_pb.DebugConfigReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: debug_debug_pb.GetDebugConfigResp) => void): grpc.ClientUnaryCall;
|
||||
getDebugConfig(request: debug_debug_pb.DebugConfigReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: debug_debug_pb.GetDebugConfigResp) => void): grpc.ClientUnaryCall;
|
||||
}
|
||||
|
||||
export class DebugClient extends grpc.Client implements IDebugClient {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
||||
public debug(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<debug_debug_pb.DebugReq, debug_debug_pb.DebugResp>;
|
||||
public debug(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<debug_debug_pb.DebugReq, debug_debug_pb.DebugResp>;
|
||||
public getDebugConfig(request: debug_debug_pb.DebugConfigReq, callback: (error: grpc.ServiceError | null, response: debug_debug_pb.GetDebugConfigResp) => void): grpc.ClientUnaryCall;
|
||||
public getDebugConfig(request: debug_debug_pb.DebugConfigReq, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: debug_debug_pb.GetDebugConfigResp) => void): grpc.ClientUnaryCall;
|
||||
public getDebugConfig(request: debug_debug_pb.DebugConfigReq, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: debug_debug_pb.GetDebugConfigResp) => void): grpc.ClientUnaryCall;
|
||||
}
|
@ -1,94 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// Original file comments:
|
||||
// This file is part of arduino-cli.
|
||||
//
|
||||
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
|
||||
//
|
||||
// This software is released under the GNU General Public License version 3,
|
||||
// which covers the main part of arduino-cli.
|
||||
// The terms of this license can be found at:
|
||||
// https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
//
|
||||
// You can be released from the requirements of the above licenses by purchasing
|
||||
// a commercial license. Buying such a license is mandatory if you want to
|
||||
// modify or otherwise use the software for commercial activities involving the
|
||||
// Arduino software without disclosing the source code of your own applications.
|
||||
// To purchase a commercial license, send an email to license@arduino.cc.
|
||||
//
|
||||
'use strict';
|
||||
var debug_debug_pb = require('../debug/debug_pb.js');
|
||||
var commands_common_pb = require('../commands/common_pb.js');
|
||||
|
||||
function serialize_cc_arduino_cli_debug_DebugConfigReq(arg) {
|
||||
if (!(arg instanceof debug_debug_pb.DebugConfigReq)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.debug.DebugConfigReq');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_debug_DebugConfigReq(buffer_arg) {
|
||||
return debug_debug_pb.DebugConfigReq.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_debug_DebugReq(arg) {
|
||||
if (!(arg instanceof debug_debug_pb.DebugReq)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.debug.DebugReq');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_debug_DebugReq(buffer_arg) {
|
||||
return debug_debug_pb.DebugReq.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_debug_DebugResp(arg) {
|
||||
if (!(arg instanceof debug_debug_pb.DebugResp)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.debug.DebugResp');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_debug_DebugResp(buffer_arg) {
|
||||
return debug_debug_pb.DebugResp.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_debug_GetDebugConfigResp(arg) {
|
||||
if (!(arg instanceof debug_debug_pb.GetDebugConfigResp)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.debug.GetDebugConfigResp');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_debug_GetDebugConfigResp(buffer_arg) {
|
||||
return debug_debug_pb.GetDebugConfigResp.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// Service that abstract a debug Session usage
|
||||
var DebugService = exports['cc.arduino.cli.debug.Debug'] = {
|
||||
// Start a debug session and communicate with the debugger tool.
|
||||
debug: {
|
||||
path: '/cc.arduino.cli.debug.Debug/Debug',
|
||||
requestStream: true,
|
||||
responseStream: true,
|
||||
requestType: debug_debug_pb.DebugReq,
|
||||
responseType: debug_debug_pb.DebugResp,
|
||||
requestSerialize: serialize_cc_arduino_cli_debug_DebugReq,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_debug_DebugReq,
|
||||
responseSerialize: serialize_cc_arduino_cli_debug_DebugResp,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_debug_DebugResp,
|
||||
},
|
||||
getDebugConfig: {
|
||||
path: '/cc.arduino.cli.debug.Debug/GetDebugConfig',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: debug_debug_pb.DebugConfigReq,
|
||||
responseType: debug_debug_pb.GetDebugConfigResp,
|
||||
requestSerialize: serialize_cc_arduino_cli_debug_DebugConfigReq,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_debug_DebugConfigReq,
|
||||
responseSerialize: serialize_cc_arduino_cli_debug_GetDebugConfigResp,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_debug_GetDebugConfigResp,
|
||||
},
|
||||
};
|
||||
|
@ -1,170 +0,0 @@
|
||||
// package: cc.arduino.cli.debug
|
||||
// file: debug/debug.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as commands_common_pb from "../commands/common_pb";
|
||||
|
||||
export class DebugReq extends jspb.Message {
|
||||
|
||||
hasDebugreq(): boolean;
|
||||
clearDebugreq(): void;
|
||||
getDebugreq(): DebugConfigReq | undefined;
|
||||
setDebugreq(value?: DebugConfigReq): DebugReq;
|
||||
|
||||
getData(): Uint8Array | string;
|
||||
getData_asU8(): Uint8Array;
|
||||
getData_asB64(): string;
|
||||
setData(value: Uint8Array | string): DebugReq;
|
||||
|
||||
getSendInterrupt(): boolean;
|
||||
setSendInterrupt(value: boolean): DebugReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DebugReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DebugReq): DebugReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DebugReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DebugReq;
|
||||
static deserializeBinaryFromReader(message: DebugReq, reader: jspb.BinaryReader): DebugReq;
|
||||
}
|
||||
|
||||
export namespace DebugReq {
|
||||
export type AsObject = {
|
||||
debugreq?: DebugConfigReq.AsObject,
|
||||
data: Uint8Array | string,
|
||||
sendInterrupt: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class DebugConfigReq extends jspb.Message {
|
||||
|
||||
hasInstance(): boolean;
|
||||
clearInstance(): void;
|
||||
getInstance(): commands_common_pb.Instance | undefined;
|
||||
setInstance(value?: commands_common_pb.Instance): DebugConfigReq;
|
||||
|
||||
getFqbn(): string;
|
||||
setFqbn(value: string): DebugConfigReq;
|
||||
|
||||
getSketchPath(): string;
|
||||
setSketchPath(value: string): DebugConfigReq;
|
||||
|
||||
getPort(): string;
|
||||
setPort(value: string): DebugConfigReq;
|
||||
|
||||
getInterpreter(): string;
|
||||
setInterpreter(value: string): DebugConfigReq;
|
||||
|
||||
getImportDir(): string;
|
||||
setImportDir(value: string): DebugConfigReq;
|
||||
|
||||
getProgrammer(): string;
|
||||
setProgrammer(value: string): DebugConfigReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DebugConfigReq.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DebugConfigReq): DebugConfigReq.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DebugConfigReq, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DebugConfigReq;
|
||||
static deserializeBinaryFromReader(message: DebugConfigReq, reader: jspb.BinaryReader): DebugConfigReq;
|
||||
}
|
||||
|
||||
export namespace DebugConfigReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
fqbn: string,
|
||||
sketchPath: string,
|
||||
port: string,
|
||||
interpreter: string,
|
||||
importDir: string,
|
||||
programmer: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class DebugResp extends jspb.Message {
|
||||
getData(): Uint8Array | string;
|
||||
getData_asU8(): Uint8Array;
|
||||
getData_asB64(): string;
|
||||
setData(value: Uint8Array | string): DebugResp;
|
||||
|
||||
getError(): string;
|
||||
setError(value: string): DebugResp;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DebugResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DebugResp): DebugResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DebugResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DebugResp;
|
||||
static deserializeBinaryFromReader(message: DebugResp, reader: jspb.BinaryReader): DebugResp;
|
||||
}
|
||||
|
||||
export namespace DebugResp {
|
||||
export type AsObject = {
|
||||
data: Uint8Array | string,
|
||||
error: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetDebugConfigResp extends jspb.Message {
|
||||
getExecutable(): string;
|
||||
setExecutable(value: string): GetDebugConfigResp;
|
||||
|
||||
getToolchain(): string;
|
||||
setToolchain(value: string): GetDebugConfigResp;
|
||||
|
||||
getToolchainPath(): string;
|
||||
setToolchainPath(value: string): GetDebugConfigResp;
|
||||
|
||||
getToolchainPrefix(): string;
|
||||
setToolchainPrefix(value: string): GetDebugConfigResp;
|
||||
|
||||
getServer(): string;
|
||||
setServer(value: string): GetDebugConfigResp;
|
||||
|
||||
getServerPath(): string;
|
||||
setServerPath(value: string): GetDebugConfigResp;
|
||||
|
||||
|
||||
getToolchainConfigurationMap(): jspb.Map<string, string>;
|
||||
clearToolchainConfigurationMap(): void;
|
||||
|
||||
|
||||
getServerConfigurationMap(): jspb.Map<string, string>;
|
||||
clearServerConfigurationMap(): void;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDebugConfigResp.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDebugConfigResp): GetDebugConfigResp.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetDebugConfigResp, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetDebugConfigResp;
|
||||
static deserializeBinaryFromReader(message: GetDebugConfigResp, reader: jspb.BinaryReader): GetDebugConfigResp;
|
||||
}
|
||||
|
||||
export namespace GetDebugConfigResp {
|
||||
export type AsObject = {
|
||||
executable: string,
|
||||
toolchain: string,
|
||||
toolchainPath: string,
|
||||
toolchainPrefix: string,
|
||||
server: string,
|
||||
serverPath: string,
|
||||
|
||||
toolchainConfigurationMap: Array<[string, string]>,
|
||||
|
||||
serverConfigurationMap: Array<[string, string]>,
|
||||
}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
// package: cc.arduino.cli.monitor
|
||||
// file: monitor/monitor.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
|
||||
import * as monitor_monitor_pb from "../monitor/monitor_pb";
|
||||
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
||||
|
||||
interface IMonitorService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
streamingOpen: IMonitorService_IStreamingOpen;
|
||||
}
|
||||
|
||||
interface IMonitorService_IStreamingOpen extends grpc.MethodDefinition<monitor_monitor_pb.StreamingOpenReq, monitor_monitor_pb.StreamingOpenResp> {
|
||||
path: "/cc.arduino.cli.monitor.Monitor/StreamingOpen";
|
||||
requestStream: true;
|
||||
responseStream: true;
|
||||
requestSerialize: grpc.serialize<monitor_monitor_pb.StreamingOpenReq>;
|
||||
requestDeserialize: grpc.deserialize<monitor_monitor_pb.StreamingOpenReq>;
|
||||
responseSerialize: grpc.serialize<monitor_monitor_pb.StreamingOpenResp>;
|
||||
responseDeserialize: grpc.deserialize<monitor_monitor_pb.StreamingOpenResp>;
|
||||
}
|
||||
|
||||
export const MonitorService: IMonitorService;
|
||||
|
||||
export interface IMonitorServer {
|
||||
streamingOpen: grpc.handleBidiStreamingCall<monitor_monitor_pb.StreamingOpenReq, monitor_monitor_pb.StreamingOpenResp>;
|
||||
}
|
||||
|
||||
export interface IMonitorClient {
|
||||
streamingOpen(): grpc.ClientDuplexStream<monitor_monitor_pb.StreamingOpenReq, monitor_monitor_pb.StreamingOpenResp>;
|
||||
streamingOpen(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<monitor_monitor_pb.StreamingOpenReq, monitor_monitor_pb.StreamingOpenResp>;
|
||||
streamingOpen(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<monitor_monitor_pb.StreamingOpenReq, monitor_monitor_pb.StreamingOpenResp>;
|
||||
}
|
||||
|
||||
export class MonitorClient extends grpc.Client implements IMonitorClient {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
||||
public streamingOpen(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<monitor_monitor_pb.StreamingOpenReq, monitor_monitor_pb.StreamingOpenResp>;
|
||||
public streamingOpen(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<monitor_monitor_pb.StreamingOpenReq, monitor_monitor_pb.StreamingOpenResp>;
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// Original file comments:
|
||||
// This file is part of arduino-cli.
|
||||
//
|
||||
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
|
||||
//
|
||||
// This software is released under the GNU General Public License version 3,
|
||||
// which covers the main part of arduino-cli.
|
||||
// The terms of this license can be found at:
|
||||
// https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
//
|
||||
// You can be released from the requirements of the above licenses by purchasing
|
||||
// a commercial license. Buying such a license is mandatory if you want to
|
||||
// modify or otherwise use the software for commercial activities involving the
|
||||
// Arduino software without disclosing the source code of your own applications.
|
||||
// To purchase a commercial license, send an email to license@arduino.cc.
|
||||
//
|
||||
'use strict';
|
||||
var monitor_monitor_pb = require('../monitor/monitor_pb.js');
|
||||
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
||||
|
||||
function serialize_cc_arduino_cli_monitor_StreamingOpenReq(arg) {
|
||||
if (!(arg instanceof monitor_monitor_pb.StreamingOpenReq)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.monitor.StreamingOpenReq');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_monitor_StreamingOpenReq(buffer_arg) {
|
||||
return monitor_monitor_pb.StreamingOpenReq.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_monitor_StreamingOpenResp(arg) {
|
||||
if (!(arg instanceof monitor_monitor_pb.StreamingOpenResp)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.monitor.StreamingOpenResp');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_monitor_StreamingOpenResp(buffer_arg) {
|
||||
return monitor_monitor_pb.StreamingOpenResp.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// Service that abstracts a Monitor usage
|
||||
var MonitorService = exports['cc.arduino.cli.monitor.Monitor'] = {
|
||||
// Open a bidirectional monitor stream. This can be used to implement
|
||||
// something similar to the Arduino IDE's Serial Monitor.
|
||||
streamingOpen: {
|
||||
path: '/cc.arduino.cli.monitor.Monitor/StreamingOpen',
|
||||
requestStream: true,
|
||||
responseStream: true,
|
||||
requestType: monitor_monitor_pb.StreamingOpenReq,
|
||||
responseType: monitor_monitor_pb.StreamingOpenResp,
|
||||
requestSerialize: serialize_cc_arduino_cli_monitor_StreamingOpenReq,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_monitor_StreamingOpenReq,
|
||||
responseSerialize: serialize_cc_arduino_cli_monitor_StreamingOpenResp,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_monitor_StreamingOpenResp,
|
||||
},
|
||||
};
|
||||
|
@ -1,110 +0,0 @@
|
||||
// package: cc.arduino.cli.settings
|
||||
// file: settings/settings.proto
|
||||
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
|
||||
import * as settings_settings_pb from "../settings/settings_pb";
|
||||
|
||||
interface ISettingsService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
getAll: ISettingsService_IGetAll;
|
||||
merge: ISettingsService_IMerge;
|
||||
getValue: ISettingsService_IGetValue;
|
||||
setValue: ISettingsService_ISetValue;
|
||||
write: ISettingsService_IWrite;
|
||||
}
|
||||
|
||||
interface ISettingsService_IGetAll extends grpc.MethodDefinition<settings_settings_pb.GetAllRequest, settings_settings_pb.RawData> {
|
||||
path: "/cc.arduino.cli.settings.Settings/GetAll";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<settings_settings_pb.GetAllRequest>;
|
||||
requestDeserialize: grpc.deserialize<settings_settings_pb.GetAllRequest>;
|
||||
responseSerialize: grpc.serialize<settings_settings_pb.RawData>;
|
||||
responseDeserialize: grpc.deserialize<settings_settings_pb.RawData>;
|
||||
}
|
||||
interface ISettingsService_IMerge extends grpc.MethodDefinition<settings_settings_pb.RawData, settings_settings_pb.MergeResponse> {
|
||||
path: "/cc.arduino.cli.settings.Settings/Merge";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<settings_settings_pb.RawData>;
|
||||
requestDeserialize: grpc.deserialize<settings_settings_pb.RawData>;
|
||||
responseSerialize: grpc.serialize<settings_settings_pb.MergeResponse>;
|
||||
responseDeserialize: grpc.deserialize<settings_settings_pb.MergeResponse>;
|
||||
}
|
||||
interface ISettingsService_IGetValue extends grpc.MethodDefinition<settings_settings_pb.GetValueRequest, settings_settings_pb.Value> {
|
||||
path: "/cc.arduino.cli.settings.Settings/GetValue";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<settings_settings_pb.GetValueRequest>;
|
||||
requestDeserialize: grpc.deserialize<settings_settings_pb.GetValueRequest>;
|
||||
responseSerialize: grpc.serialize<settings_settings_pb.Value>;
|
||||
responseDeserialize: grpc.deserialize<settings_settings_pb.Value>;
|
||||
}
|
||||
interface ISettingsService_ISetValue extends grpc.MethodDefinition<settings_settings_pb.Value, settings_settings_pb.SetValueResponse> {
|
||||
path: "/cc.arduino.cli.settings.Settings/SetValue";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<settings_settings_pb.Value>;
|
||||
requestDeserialize: grpc.deserialize<settings_settings_pb.Value>;
|
||||
responseSerialize: grpc.serialize<settings_settings_pb.SetValueResponse>;
|
||||
responseDeserialize: grpc.deserialize<settings_settings_pb.SetValueResponse>;
|
||||
}
|
||||
interface ISettingsService_IWrite extends grpc.MethodDefinition<settings_settings_pb.WriteRequest, settings_settings_pb.WriteResponse> {
|
||||
path: "/cc.arduino.cli.settings.Settings/Write";
|
||||
requestStream: false;
|
||||
responseStream: false;
|
||||
requestSerialize: grpc.serialize<settings_settings_pb.WriteRequest>;
|
||||
requestDeserialize: grpc.deserialize<settings_settings_pb.WriteRequest>;
|
||||
responseSerialize: grpc.serialize<settings_settings_pb.WriteResponse>;
|
||||
responseDeserialize: grpc.deserialize<settings_settings_pb.WriteResponse>;
|
||||
}
|
||||
|
||||
export const SettingsService: ISettingsService;
|
||||
|
||||
export interface ISettingsServer {
|
||||
getAll: grpc.handleUnaryCall<settings_settings_pb.GetAllRequest, settings_settings_pb.RawData>;
|
||||
merge: grpc.handleUnaryCall<settings_settings_pb.RawData, settings_settings_pb.MergeResponse>;
|
||||
getValue: grpc.handleUnaryCall<settings_settings_pb.GetValueRequest, settings_settings_pb.Value>;
|
||||
setValue: grpc.handleUnaryCall<settings_settings_pb.Value, settings_settings_pb.SetValueResponse>;
|
||||
write: grpc.handleUnaryCall<settings_settings_pb.WriteRequest, settings_settings_pb.WriteResponse>;
|
||||
}
|
||||
|
||||
export interface ISettingsClient {
|
||||
getAll(request: settings_settings_pb.GetAllRequest, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.RawData) => void): grpc.ClientUnaryCall;
|
||||
getAll(request: settings_settings_pb.GetAllRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.RawData) => void): grpc.ClientUnaryCall;
|
||||
getAll(request: settings_settings_pb.GetAllRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.RawData) => void): grpc.ClientUnaryCall;
|
||||
merge(request: settings_settings_pb.RawData, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.MergeResponse) => void): grpc.ClientUnaryCall;
|
||||
merge(request: settings_settings_pb.RawData, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.MergeResponse) => void): grpc.ClientUnaryCall;
|
||||
merge(request: settings_settings_pb.RawData, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.MergeResponse) => void): grpc.ClientUnaryCall;
|
||||
getValue(request: settings_settings_pb.GetValueRequest, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.Value) => void): grpc.ClientUnaryCall;
|
||||
getValue(request: settings_settings_pb.GetValueRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.Value) => void): grpc.ClientUnaryCall;
|
||||
getValue(request: settings_settings_pb.GetValueRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.Value) => void): grpc.ClientUnaryCall;
|
||||
setValue(request: settings_settings_pb.Value, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.SetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
setValue(request: settings_settings_pb.Value, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.SetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
setValue(request: settings_settings_pb.Value, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.SetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
write(request: settings_settings_pb.WriteRequest, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.WriteResponse) => void): grpc.ClientUnaryCall;
|
||||
write(request: settings_settings_pb.WriteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.WriteResponse) => void): grpc.ClientUnaryCall;
|
||||
write(request: settings_settings_pb.WriteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.WriteResponse) => void): grpc.ClientUnaryCall;
|
||||
}
|
||||
|
||||
export class SettingsClient extends grpc.Client implements ISettingsClient {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
||||
public getAll(request: settings_settings_pb.GetAllRequest, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.RawData) => void): grpc.ClientUnaryCall;
|
||||
public getAll(request: settings_settings_pb.GetAllRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.RawData) => void): grpc.ClientUnaryCall;
|
||||
public getAll(request: settings_settings_pb.GetAllRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.RawData) => void): grpc.ClientUnaryCall;
|
||||
public merge(request: settings_settings_pb.RawData, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.MergeResponse) => void): grpc.ClientUnaryCall;
|
||||
public merge(request: settings_settings_pb.RawData, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.MergeResponse) => void): grpc.ClientUnaryCall;
|
||||
public merge(request: settings_settings_pb.RawData, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.MergeResponse) => void): grpc.ClientUnaryCall;
|
||||
public getValue(request: settings_settings_pb.GetValueRequest, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.Value) => void): grpc.ClientUnaryCall;
|
||||
public getValue(request: settings_settings_pb.GetValueRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.Value) => void): grpc.ClientUnaryCall;
|
||||
public getValue(request: settings_settings_pb.GetValueRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.Value) => void): grpc.ClientUnaryCall;
|
||||
public setValue(request: settings_settings_pb.Value, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.SetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
public setValue(request: settings_settings_pb.Value, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.SetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
public setValue(request: settings_settings_pb.Value, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.SetValueResponse) => void): grpc.ClientUnaryCall;
|
||||
public write(request: settings_settings_pb.WriteRequest, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.WriteResponse) => void): grpc.ClientUnaryCall;
|
||||
public write(request: settings_settings_pb.WriteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.WriteResponse) => void): grpc.ClientUnaryCall;
|
||||
public write(request: settings_settings_pb.WriteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: settings_settings_pb.WriteResponse) => void): grpc.ClientUnaryCall;
|
||||
}
|
@ -1,175 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// Original file comments:
|
||||
// This file is part of arduino-cli.
|
||||
//
|
||||
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
|
||||
//
|
||||
// This software is released under the GNU General Public License version 3,
|
||||
// which covers the main part of arduino-cli.
|
||||
// The terms of this license can be found at:
|
||||
// https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
//
|
||||
// You can be released from the requirements of the above licenses by purchasing
|
||||
// a commercial license. Buying such a license is mandatory if you want to
|
||||
// modify or otherwise use the software for commercial activities involving the
|
||||
// Arduino software without disclosing the source code of your own applications.
|
||||
// To purchase a commercial license, send an email to license@arduino.cc.
|
||||
//
|
||||
'use strict';
|
||||
var settings_settings_pb = require('../settings/settings_pb.js');
|
||||
|
||||
function serialize_cc_arduino_cli_settings_GetAllRequest(arg) {
|
||||
if (!(arg instanceof settings_settings_pb.GetAllRequest)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.GetAllRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_GetAllRequest(buffer_arg) {
|
||||
return settings_settings_pb.GetAllRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_GetValueRequest(arg) {
|
||||
if (!(arg instanceof settings_settings_pb.GetValueRequest)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.GetValueRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_GetValueRequest(buffer_arg) {
|
||||
return settings_settings_pb.GetValueRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_MergeResponse(arg) {
|
||||
if (!(arg instanceof settings_settings_pb.MergeResponse)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.MergeResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_MergeResponse(buffer_arg) {
|
||||
return settings_settings_pb.MergeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_RawData(arg) {
|
||||
if (!(arg instanceof settings_settings_pb.RawData)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.RawData');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_RawData(buffer_arg) {
|
||||
return settings_settings_pb.RawData.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_SetValueResponse(arg) {
|
||||
if (!(arg instanceof settings_settings_pb.SetValueResponse)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.SetValueResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_SetValueResponse(buffer_arg) {
|
||||
return settings_settings_pb.SetValueResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_Value(arg) {
|
||||
if (!(arg instanceof settings_settings_pb.Value)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.Value');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_Value(buffer_arg) {
|
||||
return settings_settings_pb.Value.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_WriteRequest(arg) {
|
||||
if (!(arg instanceof settings_settings_pb.WriteRequest)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.WriteRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_WriteRequest(buffer_arg) {
|
||||
return settings_settings_pb.WriteRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_cc_arduino_cli_settings_WriteResponse(arg) {
|
||||
if (!(arg instanceof settings_settings_pb.WriteResponse)) {
|
||||
throw new Error('Expected argument of type cc.arduino.cli.settings.WriteResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_cc_arduino_cli_settings_WriteResponse(buffer_arg) {
|
||||
return settings_settings_pb.WriteResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// The Settings service provides an interface to Arduino CLI's configuration
|
||||
// options
|
||||
var SettingsService = exports['cc.arduino.cli.settings.Settings'] = {
|
||||
// List all the settings.
|
||||
getAll: {
|
||||
path: '/cc.arduino.cli.settings.Settings/GetAll',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: settings_settings_pb.GetAllRequest,
|
||||
responseType: settings_settings_pb.RawData,
|
||||
requestSerialize: serialize_cc_arduino_cli_settings_GetAllRequest,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_settings_GetAllRequest,
|
||||
responseSerialize: serialize_cc_arduino_cli_settings_RawData,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_settings_RawData,
|
||||
},
|
||||
// Set multiple settings values at once.
|
||||
merge: {
|
||||
path: '/cc.arduino.cli.settings.Settings/Merge',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: settings_settings_pb.RawData,
|
||||
responseType: settings_settings_pb.MergeResponse,
|
||||
requestSerialize: serialize_cc_arduino_cli_settings_RawData,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_settings_RawData,
|
||||
responseSerialize: serialize_cc_arduino_cli_settings_MergeResponse,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_settings_MergeResponse,
|
||||
},
|
||||
// Get the value of a specific setting.
|
||||
getValue: {
|
||||
path: '/cc.arduino.cli.settings.Settings/GetValue',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: settings_settings_pb.GetValueRequest,
|
||||
responseType: settings_settings_pb.Value,
|
||||
requestSerialize: serialize_cc_arduino_cli_settings_GetValueRequest,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_settings_GetValueRequest,
|
||||
responseSerialize: serialize_cc_arduino_cli_settings_Value,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_settings_Value,
|
||||
},
|
||||
// Set the value of a specific setting.
|
||||
setValue: {
|
||||
path: '/cc.arduino.cli.settings.Settings/SetValue',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: settings_settings_pb.Value,
|
||||
responseType: settings_settings_pb.SetValueResponse,
|
||||
requestSerialize: serialize_cc_arduino_cli_settings_Value,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_settings_Value,
|
||||
responseSerialize: serialize_cc_arduino_cli_settings_SetValueResponse,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_settings_SetValueResponse,
|
||||
},
|
||||
// Writes to file settings currently stored in memory
|
||||
write: {
|
||||
path: '/cc.arduino.cli.settings.Settings/Write',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: settings_settings_pb.WriteRequest,
|
||||
responseType: settings_settings_pb.WriteResponse,
|
||||
requestSerialize: serialize_cc_arduino_cli_settings_WriteRequest,
|
||||
requestDeserialize: deserialize_cc_arduino_cli_settings_WriteRequest,
|
||||
responseSerialize: serialize_cc_arduino_cli_settings_WriteResponse,
|
||||
responseDeserialize: deserialize_cc_arduino_cli_settings_WriteResponse,
|
||||
},
|
||||
};
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -13,9 +13,9 @@ import { Event, Emitter } from '@theia/core/lib/common/event';
|
||||
import { BackendApplicationContribution } from '@theia/core/lib/node/backend-application';
|
||||
import { ConfigService, Config, NotificationServiceServer, Network } from '../common/protocol';
|
||||
import { spawnCommand } from './exec-util';
|
||||
import { WriteRequest, RawData } from './cli-protocol/settings/settings_pb';
|
||||
import { SettingsClient } from './cli-protocol/settings/settings_grpc_pb';
|
||||
import * as serviceGrpcPb from './cli-protocol/settings/settings_grpc_pb';
|
||||
import { MergeRequest, WriteRequest } from './cli-protocol/cc/arduino/cli/settings/v1/settings_pb';
|
||||
import { SettingsServiceClient } from './cli-protocol/cc/arduino/cli/settings/v1/settings_grpc_pb';
|
||||
import * as serviceGrpcPb from './cli-protocol/cc/arduino/cli/settings/v1/settings_grpc_pb';
|
||||
import { ArduinoDaemonImpl } from './arduino-daemon-impl';
|
||||
import { DefaultCliConfig, CLI_CONFIG } from './cli-config';
|
||||
import { Deferred } from '@theia/core/lib/common/promise-util';
|
||||
@ -198,12 +198,12 @@ export class ConfigServiceImpl implements BackendApplicationContribution, Config
|
||||
|
||||
protected async updateDaemon(port: string | number, config: DefaultCliConfig): Promise<void> {
|
||||
const client = this.createClient(port);
|
||||
const data = new RawData();
|
||||
const req = new MergeRequest();
|
||||
const json = JSON.stringify(config, null, 2);
|
||||
data.setJsondata(json);
|
||||
req.setJsonData(json);
|
||||
console.log(`Updating daemon with 'data': ${json}`);
|
||||
return new Promise<void>((resolve, reject) => {
|
||||
client.merge(data, error => {
|
||||
client.merge(req, error => {
|
||||
try {
|
||||
if (error) {
|
||||
reject(error);
|
||||
@ -222,7 +222,7 @@ export class ConfigServiceImpl implements BackendApplicationContribution, Config
|
||||
const req = new WriteRequest();
|
||||
const cliConfigUri = await this.getCliConfigFileUri();
|
||||
const cliConfigPath = FileUri.fsPath(cliConfigUri);
|
||||
req.setFilepath(cliConfigPath);
|
||||
req.setFilePath(cliConfigPath);
|
||||
return new Promise<void>((resolve, reject) => {
|
||||
client.write(req, error => {
|
||||
try {
|
||||
@ -238,11 +238,11 @@ export class ConfigServiceImpl implements BackendApplicationContribution, Config
|
||||
});
|
||||
}
|
||||
|
||||
private createClient(port: string | number): SettingsClient {
|
||||
private createClient(port: string | number): SettingsServiceClient {
|
||||
// https://github.com/agreatfool/grpc_tools_node_protoc_ts/blob/master/doc/grpcjs_support.md#usage
|
||||
// @ts-ignore
|
||||
const SettingsClient = grpc.makeClientConstructor(serviceGrpcPb['cc.arduino.cli.settings.Settings'], 'SettingsService') as any;
|
||||
return new SettingsClient(`localhost:${port}`, grpc.credentials.createInsecure()) as SettingsClient;
|
||||
const SettingsServiceClient = grpc.makeClientConstructor(serviceGrpcPb['cc.arduino.cli.settings.v1.SettingsService'], 'SettingsServiceService') as any;
|
||||
return new SettingsServiceClient(`localhost:${port}`, grpc.credentials.createInsecure()) as SettingsServiceClient;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -3,10 +3,10 @@ import { inject, injectable } from 'inversify';
|
||||
import { Event, Emitter } from '@theia/core/lib/common/event';
|
||||
import { DisposableCollection } from '@theia/core/lib/common/disposable';
|
||||
import { GrpcClientProvider } from './grpc-client-provider';
|
||||
import { ArduinoCoreClient } from './cli-protocol/commands/commands_grpc_pb';
|
||||
import * as commandsGrpcPb from './cli-protocol/commands/commands_grpc_pb';
|
||||
import { Instance } from './cli-protocol/commands/common_pb';
|
||||
import { InitReq, InitResp, UpdateIndexReq, UpdateIndexResp, UpdateLibrariesIndexResp, UpdateLibrariesIndexReq } from './cli-protocol/commands/commands_pb';
|
||||
import { ArduinoCoreServiceClient } from './cli-protocol/cc/arduino/cli/commands/v1/commands_grpc_pb';
|
||||
import { Instance } from './cli-protocol/cc/arduino/cli/commands/v1/common_pb';
|
||||
import { InitRequest, InitResponse, UpdateIndexRequest, UpdateIndexResponse, UpdateLibrariesIndexRequest, UpdateLibrariesIndexResponse } from './cli-protocol/cc/arduino/cli/commands/v1/commands_pb';
|
||||
import * as commandsGrpcPb from './cli-protocol/cc/arduino/cli/commands/v1/commands_grpc_pb';
|
||||
import { NotificationServiceServer } from '../common/protocol';
|
||||
|
||||
@injectable()
|
||||
@ -41,14 +41,14 @@ export class CoreClientProvider extends GrpcClientProvider<CoreClientProvider.Cl
|
||||
protected async createClient(port: string | number): Promise<CoreClientProvider.Client> {
|
||||
// https://github.com/agreatfool/grpc_tools_node_protoc_ts/blob/master/doc/grpcjs_support.md#usage
|
||||
// @ts-ignore
|
||||
const ArduinoCoreClient = grpc.makeClientConstructor(commandsGrpcPb['cc.arduino.cli.commands.ArduinoCore'], 'ArduinoCoreService') as any;
|
||||
const client = new ArduinoCoreClient(`localhost:${port}`, grpc.credentials.createInsecure(), this.channelOptions) as ArduinoCoreClient;
|
||||
const initReq = new InitReq();
|
||||
const ArduinoCoreServiceClient = grpc.makeClientConstructor(commandsGrpcPb['cc.arduino.cli.commands.v1.ArduinoCoreService'], 'ArduinoCoreServiceService') as any;
|
||||
const client = new ArduinoCoreServiceClient(`localhost:${port}`, grpc.credentials.createInsecure(), this.channelOptions) as ArduinoCoreServiceClient;
|
||||
const initReq = new InitRequest();
|
||||
initReq.setLibraryManagerOnly(false);
|
||||
const initResp = await new Promise<InitResp>((resolve, reject) => {
|
||||
let resp: InitResp | undefined = undefined;
|
||||
const initResp = await new Promise<InitResponse>((resolve, reject) => {
|
||||
let resp: InitResponse | undefined = undefined;
|
||||
const stream = client.init(initReq);
|
||||
stream.on('data', (data: InitResp) => resp = data);
|
||||
stream.on('data', (data: InitResponse) => resp = data);
|
||||
stream.on('end', () => resolve(resp!));
|
||||
stream.on('error', err => reject(err));
|
||||
});
|
||||
@ -100,11 +100,11 @@ export class CoreClientProvider extends GrpcClientProvider<CoreClientProvider.Cl
|
||||
}
|
||||
|
||||
protected async updateLibraryIndex({ client, instance }: CoreClientProvider.Client): Promise<void> {
|
||||
const req = new UpdateLibrariesIndexReq();
|
||||
const req = new UpdateLibrariesIndexRequest();
|
||||
req.setInstance(instance);
|
||||
const resp = client.updateLibrariesIndex(req);
|
||||
let file: string | undefined;
|
||||
resp.on('data', (data: UpdateLibrariesIndexResp) => {
|
||||
resp.on('data', (data: UpdateLibrariesIndexResponse) => {
|
||||
const progress = data.getDownloadProgress();
|
||||
if (progress) {
|
||||
if (!file && progress.getFile()) {
|
||||
@ -131,11 +131,11 @@ export class CoreClientProvider extends GrpcClientProvider<CoreClientProvider.Cl
|
||||
}
|
||||
|
||||
protected async updateIndex({ client, instance }: CoreClientProvider.Client): Promise<void> {
|
||||
const updateReq = new UpdateIndexReq();
|
||||
const updateReq = new UpdateIndexRequest();
|
||||
updateReq.setInstance(instance);
|
||||
const updateResp = client.updateIndex(updateReq);
|
||||
let file: string | undefined;
|
||||
updateResp.on('data', (o: UpdateIndexResp) => {
|
||||
updateResp.on('data', (o: UpdateIndexResponse) => {
|
||||
const progress = o.getDownloadProgress();
|
||||
if (progress) {
|
||||
if (!file && progress.getFile()) {
|
||||
@ -164,7 +164,7 @@ export class CoreClientProvider extends GrpcClientProvider<CoreClientProvider.Cl
|
||||
}
|
||||
export namespace CoreClientProvider {
|
||||
export interface Client {
|
||||
readonly client: ArduinoCoreClient;
|
||||
readonly client: ArduinoCoreServiceClient;
|
||||
readonly instance: Instance;
|
||||
}
|
||||
}
|
||||
|
@ -3,13 +3,13 @@ import { inject, injectable } from 'inversify';
|
||||
import { relative } from 'path';
|
||||
import * as jspb from 'google-protobuf';
|
||||
import { CompilerWarnings, CoreService } from '../common/protocol/core-service';
|
||||
import { CompileReq, CompileResp } from './cli-protocol/commands/compile_pb';
|
||||
import { CompileRequest, CompileResponse } from './cli-protocol/cc/arduino/cli/commands/v1/compile_pb';
|
||||
import { CoreClientAware } from './core-client-provider';
|
||||
import { UploadReq, UploadResp, BurnBootloaderReq, BurnBootloaderResp, UploadUsingProgrammerReq, UploadUsingProgrammerResp } from './cli-protocol/commands/upload_pb';
|
||||
import { BurnBootloaderRequest, BurnBootloaderResponse, UploadRequest, UploadResponse, UploadUsingProgrammerRequest, UploadUsingProgrammerResponse } from './cli-protocol/cc/arduino/cli/commands/v1/upload_pb';
|
||||
import { OutputService } from '../common/protocol/output-service';
|
||||
import { NotificationServiceServer } from '../common/protocol';
|
||||
import { ClientReadableStream } from '@grpc/grpc-js';
|
||||
import { ArduinoCoreClient } from './cli-protocol/commands/commands_grpc_pb';
|
||||
import { ArduinoCoreServiceClient } from './cli-protocol/cc/arduino/cli/commands/v1/commands_grpc_pb';
|
||||
import { firstToUpperCase, firstToLowerCase } from '../common/utils';
|
||||
import { BoolValue } from 'google-protobuf/google/protobuf/wrappers_pb';
|
||||
|
||||
@ -29,16 +29,16 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
||||
const coreClient = await this.coreClient();
|
||||
const { client, instance } = coreClient;
|
||||
|
||||
const compileReq = new CompileReq();
|
||||
const compileReq = new CompileRequest();
|
||||
compileReq.setInstance(instance);
|
||||
compileReq.setSketchpath(sketchPath);
|
||||
compileReq.setSketchPath(sketchPath);
|
||||
if (fqbn) {
|
||||
compileReq.setFqbn(fqbn);
|
||||
}
|
||||
if (compilerWarnings) {
|
||||
compileReq.setWarnings(compilerWarnings.toLowerCase());
|
||||
}
|
||||
compileReq.setOptimizefordebug(options.optimizeForDebug);
|
||||
compileReq.setOptimizeForDebug(options.optimizeForDebug);
|
||||
compileReq.setPreprocess(false);
|
||||
compileReq.setVerbose(options.verbose);
|
||||
compileReq.setQuiet(false);
|
||||
@ -52,7 +52,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
||||
const result = client.compile(compileReq);
|
||||
try {
|
||||
await new Promise<void>((resolve, reject) => {
|
||||
result.on('data', (cr: CompileResp) => {
|
||||
result.on('data', (cr: CompileResponse) => {
|
||||
this.outputService.append({ chunk: Buffer.from(cr.getOutStream_asU8()).toString() });
|
||||
this.outputService.append({ chunk: Buffer.from(cr.getErrStream_asU8()).toString() });
|
||||
});
|
||||
@ -67,17 +67,18 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
||||
}
|
||||
|
||||
async upload(options: CoreService.Upload.Options): Promise<void> {
|
||||
await this.doUpload(options, () => new UploadReq(), (client, req) => client.upload(req));
|
||||
await this.doUpload(options, () => new UploadRequest(), (client, req) => client.upload(req));
|
||||
}
|
||||
|
||||
async uploadUsingProgrammer(options: CoreService.Upload.Options): Promise<void> {
|
||||
await this.doUpload(options, () => new UploadUsingProgrammerReq(), (client, req) => client.uploadUsingProgrammer(req), 'upload using programmer');
|
||||
await this.doUpload(options, () => new UploadUsingProgrammerRequest(), (client, req) => client.uploadUsingProgrammer(req), 'upload using programmer');
|
||||
}
|
||||
|
||||
protected async doUpload(
|
||||
options: CoreService.Upload.Options,
|
||||
requestProvider: () => UploadReq | UploadUsingProgrammerReq,
|
||||
responseHandler: (client: ArduinoCoreClient, req: UploadReq | UploadUsingProgrammerReq) => ClientReadableStream<UploadResp | UploadUsingProgrammerResp>,
|
||||
requestProvider: () => UploadRequest | UploadUsingProgrammerRequest,
|
||||
// tslint:disable-next-line:max-line-length
|
||||
responseHandler: (client: ArduinoCoreServiceClient, req: UploadRequest | UploadUsingProgrammerRequest) => ClientReadableStream<UploadResponse | UploadUsingProgrammerResponse>,
|
||||
task: string = 'upload'): Promise<void> {
|
||||
|
||||
await this.compile(Object.assign(options, { exportBinaries: false }));
|
||||
@ -105,7 +106,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
||||
|
||||
try {
|
||||
await new Promise<void>((resolve, reject) => {
|
||||
result.on('data', (resp: UploadResp) => {
|
||||
result.on('data', (resp: UploadResponse) => {
|
||||
this.outputService.append({ chunk: Buffer.from(resp.getOutStream_asU8()).toString() });
|
||||
this.outputService.append({ chunk: Buffer.from(resp.getErrStream_asU8()).toString() });
|
||||
});
|
||||
@ -123,7 +124,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
||||
const coreClient = await this.coreClient();
|
||||
const { client, instance } = coreClient;
|
||||
const { fqbn, port, programmer } = options;
|
||||
const burnReq = new BurnBootloaderReq();
|
||||
const burnReq = new BurnBootloaderRequest();
|
||||
burnReq.setInstance(instance);
|
||||
if (fqbn) {
|
||||
burnReq.setFqbn(fqbn);
|
||||
@ -139,7 +140,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
||||
const result = client.burnBootloader(burnReq);
|
||||
try {
|
||||
await new Promise<void>((resolve, reject) => {
|
||||
result.on('data', (resp: BurnBootloaderResp) => {
|
||||
result.on('data', (resp: BurnBootloaderResponse) => {
|
||||
this.outputService.append({ chunk: Buffer.from(resp.getOutStream_asU8()).toString() });
|
||||
this.outputService.append({ chunk: Buffer.from(resp.getErrStream_asU8()).toString() });
|
||||
});
|
||||
|
@ -1,28 +1,16 @@
|
||||
import { injectable, inject } from 'inversify';
|
||||
import { LibraryDependency, LibraryPackage, LibraryService } from '../common/protocol/library-service';
|
||||
import { LibraryDependency, LibraryLocation, LibraryPackage, LibraryService } from '../common/protocol/library-service';
|
||||
import { CoreClientAware } from './core-client-provider';
|
||||
import {
|
||||
LibrarySearchReq,
|
||||
LibrarySearchResp,
|
||||
LibraryListReq,
|
||||
LibraryListResp,
|
||||
LibraryRelease,
|
||||
InstalledLibrary,
|
||||
LibraryInstallReq,
|
||||
LibraryInstallResp,
|
||||
LibraryUninstallReq,
|
||||
LibraryUninstallResp,
|
||||
Library,
|
||||
LibraryResolveDependenciesReq,
|
||||
ZipLibraryInstallReq,
|
||||
ZipLibraryInstallResp
|
||||
} from './cli-protocol/commands/lib_pb';
|
||||
InstalledLibrary, Library, LibraryInstallRequest, LibraryInstallResponse, LibraryListRequest, LibraryListResponse, LibraryLocation as GrpcLibraryLocation, LibraryRelease,
|
||||
LibraryResolveDependenciesRequest, LibraryUninstallRequest, LibraryUninstallResponse, ZipLibraryInstallRequest, ZipLibraryInstallResponse, LibrarySearchRequest,
|
||||
LibrarySearchResponse
|
||||
} from './cli-protocol/cc/arduino/cli/commands/v1/lib_pb';
|
||||
import { Installable } from '../common/protocol/installable';
|
||||
import { ILogger, notEmpty } from '@theia/core';
|
||||
import { FileUri } from '@theia/core/lib/node';
|
||||
import { OutputService, NotificationServiceServer } from '../common/protocol';
|
||||
|
||||
|
||||
@injectable()
|
||||
export class LibraryServiceImpl extends CoreClientAware implements LibraryService {
|
||||
|
||||
@ -39,10 +27,10 @@ export class LibraryServiceImpl extends CoreClientAware implements LibraryServic
|
||||
const coreClient = await this.coreClient();
|
||||
const { client, instance } = coreClient;
|
||||
|
||||
const listReq = new LibraryListReq();
|
||||
const listReq = new LibraryListRequest();
|
||||
listReq.setInstance(instance);
|
||||
const installedLibsResp = await new Promise<LibraryListResp>((resolve, reject) => client.libraryList(listReq, (err, resp) => !!err ? reject(err) : resolve(resp)));
|
||||
const installedLibs = installedLibsResp.getInstalledLibraryList();
|
||||
const installedLibsResp = await new Promise<LibraryListResponse>((resolve, reject) => client.libraryList(listReq, (err, resp) => !!err ? reject(err) : resolve(resp)));
|
||||
const installedLibs = installedLibsResp.getInstalledLibrariesList();
|
||||
const installedLibsIdx = new Map<string, InstalledLibrary>();
|
||||
for (const installedLib of installedLibs) {
|
||||
if (installedLib.hasLibrary()) {
|
||||
@ -53,10 +41,10 @@ export class LibraryServiceImpl extends CoreClientAware implements LibraryServic
|
||||
}
|
||||
}
|
||||
|
||||
const req = new LibrarySearchReq();
|
||||
const req = new LibrarySearchRequest();
|
||||
req.setQuery(options.query || '');
|
||||
req.setInstance(instance);
|
||||
const resp = await new Promise<LibrarySearchResp>((resolve, reject) => client.librarySearch(req, (err, resp) => !!err ? reject(err) : resolve(resp)));
|
||||
const resp = await new Promise<LibrarySearchResponse>((resolve, reject) => client.librarySearch(req, (err, resp) => !!err ? reject(err) : resolve(resp)));
|
||||
const items = resp.getLibrariesList()
|
||||
.filter(item => !!item.getLatest())
|
||||
.slice(0, 50)
|
||||
@ -81,7 +69,7 @@ export class LibraryServiceImpl extends CoreClientAware implements LibraryServic
|
||||
async list({ fqbn }: { fqbn?: string | undefined }): Promise<LibraryPackage[]> {
|
||||
const coreClient = await this.coreClient();
|
||||
const { client, instance } = coreClient;
|
||||
const req = new LibraryListReq();
|
||||
const req = new LibraryListRequest();
|
||||
req.setInstance(instance);
|
||||
if (fqbn) {
|
||||
// Only get libraries from the cores when the FQBN is defined. Otherwise, we retrieve user installed libraries only.
|
||||
@ -89,7 +77,7 @@ export class LibraryServiceImpl extends CoreClientAware implements LibraryServic
|
||||
req.setFqbn(fqbn);
|
||||
}
|
||||
|
||||
const resp = await new Promise<LibraryListResp | undefined>((resolve, reject) => {
|
||||
const resp = await new Promise<LibraryListResponse | undefined>((resolve, reject) => {
|
||||
client.libraryList(req, ((error, r) => {
|
||||
if (error) {
|
||||
const { message } = error;
|
||||
@ -114,7 +102,7 @@ export class LibraryServiceImpl extends CoreClientAware implements LibraryServic
|
||||
if (!resp) {
|
||||
return [];
|
||||
}
|
||||
return resp.getInstalledLibraryList().map(item => {
|
||||
return resp.getInstalledLibrariesList().map(item => {
|
||||
const library = item.getLibrary();
|
||||
if (!library) {
|
||||
return undefined;
|
||||
@ -129,17 +117,27 @@ export class LibraryServiceImpl extends CoreClientAware implements LibraryServic
|
||||
summary: library.getParagraph(),
|
||||
moreInfoLink: library.getWebsite(),
|
||||
includes: library.getProvidesIncludesList(),
|
||||
location: library.getLocation(),
|
||||
location: this.mapLocation(library.getLocation()),
|
||||
installDirUri: FileUri.create(library.getInstallDir()).toString(),
|
||||
exampleUris: library.getExamplesList().map(fsPath => FileUri.create(fsPath).toString())
|
||||
}, library, [library.getVersion()]);
|
||||
}).filter(notEmpty);
|
||||
}
|
||||
|
||||
private mapLocation(location: GrpcLibraryLocation): LibraryLocation {
|
||||
switch (location) {
|
||||
case GrpcLibraryLocation.LIBRARY_LOCATION_IDE_BUILTIN: return LibraryLocation.IDE_BUILTIN;
|
||||
case GrpcLibraryLocation.LIBRARY_LOCATION_USER: return LibraryLocation.USER;
|
||||
case GrpcLibraryLocation.LIBRARY_LOCATION_PLATFORM_BUILTIN: return LibraryLocation.PLATFORM_BUILTIN;
|
||||
case GrpcLibraryLocation.LIBRARY_LOCATION_REFERENCED_PLATFORM_BUILTIN: return LibraryLocation.REFERENCED_PLATFORM_BUILTIN;
|
||||
default: throw new Error(`Unexpected location ${location}.`);
|
||||
}
|
||||
}
|
||||
|
||||
async listDependencies({ item, version, filterSelf }: { item: LibraryPackage, version: Installable.Version, filterSelf?: boolean }): Promise<LibraryDependency[]> {
|
||||
const coreClient = await this.coreClient();
|
||||
const { client, instance } = coreClient;
|
||||
const req = new LibraryResolveDependenciesReq();
|
||||
const req = new LibraryResolveDependenciesRequest();
|
||||
req.setInstance(instance);
|
||||
req.setName(item.name);
|
||||
req.setVersion(version);
|
||||
@ -151,8 +149,8 @@ export class LibraryServiceImpl extends CoreClientAware implements LibraryServic
|
||||
}
|
||||
resolve(resp.getDependenciesList().map(dep => <LibraryDependency>{
|
||||
name: dep.getName(),
|
||||
installedVersion: dep.getVersioninstalled(),
|
||||
requiredVersion: dep.getVersionrequired()
|
||||
installedVersion: dep.getVersionInstalled(),
|
||||
requiredVersion: dep.getVersionRequired()
|
||||
}));
|
||||
})
|
||||
});
|
||||
@ -165,17 +163,17 @@ export class LibraryServiceImpl extends CoreClientAware implements LibraryServic
|
||||
const coreClient = await this.coreClient();
|
||||
const { client, instance } = coreClient;
|
||||
|
||||
const req = new LibraryInstallReq();
|
||||
const req = new LibraryInstallRequest();
|
||||
req.setInstance(instance);
|
||||
req.setName(item.name);
|
||||
req.setVersion(version);
|
||||
if (options.installDependencies === false) {
|
||||
req.setNodeps(true);
|
||||
req.setNoDeps(true);
|
||||
}
|
||||
|
||||
console.info('>>> Starting library package installation...', item);
|
||||
const resp = client.libraryInstall(req);
|
||||
resp.on('data', (r: LibraryInstallResp) => {
|
||||
resp.on('data', (r: LibraryInstallResponse) => {
|
||||
const prog = r.getProgress();
|
||||
if (prog) {
|
||||
this.outputService.append({ chunk: `downloading ${prog.getFile()}: ${prog.getCompleted()}%\n` });
|
||||
@ -199,14 +197,14 @@ export class LibraryServiceImpl extends CoreClientAware implements LibraryServic
|
||||
async installZip({ zipUri, overwrite }: { zipUri: string, overwrite?: boolean }): Promise<void> {
|
||||
const coreClient = await this.coreClient();
|
||||
const { client, instance } = coreClient;
|
||||
const req = new ZipLibraryInstallReq();
|
||||
const req = new ZipLibraryInstallRequest();
|
||||
req.setPath(FileUri.fsPath(zipUri));
|
||||
req.setInstance(instance);
|
||||
if (typeof overwrite === 'boolean') {
|
||||
req.setOverwrite(overwrite);
|
||||
}
|
||||
const resp = client.zipLibraryInstall(req);
|
||||
resp.on('data', (r: ZipLibraryInstallResp) => {
|
||||
resp.on('data', (r: ZipLibraryInstallResponse) => {
|
||||
const task = r.getTaskProgress();
|
||||
if (task && task.getMessage()) {
|
||||
this.outputService.append({ chunk: task.getMessage() });
|
||||
@ -223,7 +221,7 @@ export class LibraryServiceImpl extends CoreClientAware implements LibraryServic
|
||||
const coreClient = await this.coreClient();
|
||||
const { client, instance } = coreClient;
|
||||
|
||||
const req = new LibraryUninstallReq();
|
||||
const req = new LibraryUninstallRequest();
|
||||
req.setInstance(instance);
|
||||
req.setName(item.name);
|
||||
req.setVersion(item.installedVersion!);
|
||||
@ -231,7 +229,7 @@ export class LibraryServiceImpl extends CoreClientAware implements LibraryServic
|
||||
console.info('>>> Starting library package uninstallation...', item);
|
||||
let logged = false;
|
||||
const resp = client.libraryUninstall(req);
|
||||
resp.on('data', (_: LibraryUninstallResp) => {
|
||||
resp.on('data', (_: LibraryUninstallResponse) => {
|
||||
if (!logged) {
|
||||
this.outputService.append({ chunk: `uninstalling ${item.name}:${item.installedVersion}%\n` });
|
||||
logged = true;
|
||||
|
@ -1,20 +1,20 @@
|
||||
import * as grpc from '@grpc/grpc-js';
|
||||
import { injectable } from 'inversify';
|
||||
import { MonitorClient } from '../cli-protocol/monitor/monitor_grpc_pb';
|
||||
import * as monitorGrpcPb from '../cli-protocol/monitor/monitor_grpc_pb';
|
||||
import { MonitorServiceClient } from '../cli-protocol/cc/arduino/cli/monitor/v1/monitor_grpc_pb';
|
||||
import * as monitorGrpcPb from '../cli-protocol/cc/arduino/cli/monitor/v1/monitor_grpc_pb';
|
||||
import { GrpcClientProvider } from '../grpc-client-provider';
|
||||
|
||||
@injectable()
|
||||
export class MonitorClientProvider extends GrpcClientProvider<MonitorClient> {
|
||||
export class MonitorClientProvider extends GrpcClientProvider<MonitorServiceClient> {
|
||||
|
||||
createClient(port: string | number): MonitorClient {
|
||||
createClient(port: string | number): MonitorServiceClient {
|
||||
// https://github.com/agreatfool/grpc_tools_node_protoc_ts/blob/master/doc/grpcjs_support.md#usage
|
||||
// @ts-ignore
|
||||
const MonitorClient = grpc.makeClientConstructor(monitorGrpcPb['cc.arduino.cli.monitor.Monitor'], 'MonitorService') as any;
|
||||
return new MonitorClient(`localhost:${port}`, grpc.credentials.createInsecure(), this.channelOptions);
|
||||
const MonitorServiceClient = grpc.makeClientConstructor(monitorGrpcPb['cc.arduino.cli.monitor.v1.MonitorService'], 'MonitorServiceService') as any;
|
||||
return new MonitorServiceClient(`localhost:${port}`, grpc.credentials.createInsecure(), this.channelOptions);
|
||||
}
|
||||
|
||||
close(client: MonitorClient): void {
|
||||
close(client: MonitorServiceClient): void {
|
||||
client.close();
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@ import { Struct } from 'google-protobuf/google/protobuf/struct_pb';
|
||||
import { Emitter } from '@theia/core/lib/common/event';
|
||||
import { ILogger } from '@theia/core/lib/common/logger';
|
||||
import { MonitorService, MonitorServiceClient, MonitorConfig, MonitorError, Status } from '../../common/protocol/monitor-service';
|
||||
import { StreamingOpenReq, StreamingOpenResp, MonitorConfig as GrpcMonitorConfig } from '../cli-protocol/monitor/monitor_pb';
|
||||
import { StreamingOpenRequest, StreamingOpenResponse, MonitorConfig as GrpcMonitorConfig } from '../cli-protocol/cc/arduino/cli/monitor/v1/monitor_pb';
|
||||
import { MonitorClientProvider } from './monitor-client-provider';
|
||||
import { Board, Port } from '../../common/protocol/boards-service';
|
||||
|
||||
@ -46,7 +46,7 @@ export class MonitorServiceImpl implements MonitorService {
|
||||
protected readonly monitorClientProvider: MonitorClientProvider;
|
||||
|
||||
protected client?: MonitorServiceClient;
|
||||
protected connection?: { duplex: ClientDuplexStream<StreamingOpenReq, StreamingOpenResp>, config: MonitorConfig };
|
||||
protected connection?: { duplex: ClientDuplexStream<StreamingOpenRequest, StreamingOpenResponse>, config: MonitorConfig };
|
||||
protected messages: string[] = [];
|
||||
protected onMessageDidReadEmitter = new Emitter<void>();
|
||||
|
||||
@ -91,7 +91,7 @@ export class MonitorServiceImpl implements MonitorService {
|
||||
});
|
||||
}).bind(this));
|
||||
|
||||
duplex.on('data', ((resp: StreamingOpenResp) => {
|
||||
duplex.on('data', ((resp: StreamingOpenResponse) => {
|
||||
const raw = resp.getData();
|
||||
const message = typeof raw === 'string' ? raw : new TextDecoder('utf8').decode(raw);
|
||||
this.messages.push(message);
|
||||
@ -99,14 +99,14 @@ export class MonitorServiceImpl implements MonitorService {
|
||||
}).bind(this));
|
||||
|
||||
const { type, port } = config;
|
||||
const req = new StreamingOpenReq();
|
||||
const req = new StreamingOpenRequest();
|
||||
const monitorConfig = new GrpcMonitorConfig();
|
||||
monitorConfig.setType(this.mapType(type));
|
||||
monitorConfig.setTarget(port.address);
|
||||
if (config.baudRate !== undefined) {
|
||||
monitorConfig.setAdditionalconfig(Struct.fromJavaScript({ 'BaudRate': config.baudRate }));
|
||||
monitorConfig.setAdditionalConfig(Struct.fromJavaScript({ 'BaudRate': config.baudRate }));
|
||||
}
|
||||
req.setMonitorconfig(monitorConfig);
|
||||
req.setConfig(monitorConfig);
|
||||
|
||||
return new Promise<Status>(resolve => {
|
||||
if (this.connection) {
|
||||
@ -144,7 +144,7 @@ export class MonitorServiceImpl implements MonitorService {
|
||||
if (!this.connection) {
|
||||
return Status.NOT_CONNECTED;
|
||||
}
|
||||
const req = new StreamingOpenReq();
|
||||
const req = new StreamingOpenRequest();
|
||||
req.setData(new TextEncoder().encode(message));
|
||||
return new Promise<Status>(resolve => {
|
||||
if (this.connection) {
|
||||
@ -172,8 +172,8 @@ export class MonitorServiceImpl implements MonitorService {
|
||||
|
||||
protected mapType(type?: MonitorConfig.ConnectionType): GrpcMonitorConfig.TargetType {
|
||||
switch (type) {
|
||||
case MonitorConfig.ConnectionType.SERIAL: return GrpcMonitorConfig.TargetType.SERIAL;
|
||||
default: return GrpcMonitorConfig.TargetType.SERIAL;
|
||||
case MonitorConfig.ConnectionType.SERIAL: return GrpcMonitorConfig.TargetType.TARGET_TYPE_SERIAL;
|
||||
default: return GrpcMonitorConfig.TargetType.TARGET_TYPE_SERIAL;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ import { firstToLowerCase } from '../common/utils';
|
||||
import { NotificationServiceServerImpl } from './notification-service-server';
|
||||
import { EnvVariablesServer } from '@theia/core/lib/common/env-variables';
|
||||
import { CoreClientAware } from './core-client-provider';
|
||||
import { LoadSketchReq, ArchiveSketchReq } from './cli-protocol/commands/commands_pb';
|
||||
import { ArchiveSketchRequest, LoadSketchRequest } from './cli-protocol/cc/arduino/cli/commands/v1/commands_pb';
|
||||
|
||||
const WIN32_DRIVE_REGEXP = /^[a-zA-Z]:\\/;
|
||||
|
||||
@ -108,7 +108,7 @@ export class SketchesServiceImpl extends CoreClientAware implements SketchesServ
|
||||
|
||||
async loadSketch(uri: string): Promise<SketchWithDetails> {
|
||||
const { client, instance } = await this.coreClient();
|
||||
const req = new LoadSketchReq();
|
||||
const req = new LoadSketchRequest();
|
||||
req.setSketchPath(FileUri.fsPath(uri));
|
||||
req.setInstance(instance);
|
||||
const sketch = await new Promise<SketchWithDetails>((resolve, reject) => {
|
||||
@ -384,7 +384,7 @@ void loop() {
|
||||
if (await promisify(fs.exists)(archivePath)) {
|
||||
await promisify(fs.unlink)(archivePath);
|
||||
}
|
||||
const req = new ArchiveSketchReq();
|
||||
const req = new ArchiveSketchRequest();
|
||||
req.setSketchPath(FileUri.fsPath(sketch.uri));
|
||||
req.setArchivePath(archivePath);
|
||||
await new Promise<string>((resolve, reject) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user