import _m0 from 'protobufjs/minimal'; import { Status } from '../../../../../../yandex/cloud/loadtesting/api/v1/agent/status'; import { LogSettings } from '../../../../../../yandex/cloud/loadtesting/api/v1/agent/log_settings'; export declare const protobufPackage = "yandex.cloud.loadtesting.api.v1.agent"; /** Load testing agent on which tests are executed. */ export interface Agent { /** ID of the agent. Generated at creation time. */ id: string; /** ID of the folder that the agent belongs to. */ folderId: string; /** Name of the agent. */ name: string; /** Description of the agent. */ description: string; /** * ID of the compute instance managed by the agent. * * Empty if there is no such instance (i.e. the case of external agent). */ computeInstanceId: string; /** Status of the agent. */ status: Status; /** List of errors reported by the agent. */ errors: string[]; /** ID of the test that is currently being executed by the agent. */ currentJobId: string; /** Version of the agent. */ agentVersionId: string; /** Agent labels as `key:value` pairs. */ labels: { [key: string]: string; }; /** Agent log settings */ logSettings?: LogSettings; } export interface Agent_LabelsEntry { key: string; value: string; } export declare const Agent: { encode(message: Agent, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Agent; fromJSON(object: any): Agent; toJSON(message: Agent): unknown; fromPartial, never>) | undefined; currentJobId?: string | undefined; agentVersionId?: string | undefined; labels?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; logSettings?: ({ cloudLogGroupId?: string | undefined; } & { cloudLogGroupId?: string | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): Agent; }; export declare const Agent_LabelsEntry: { encode(message: Agent_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Agent_LabelsEntry; fromJSON(object: any): Agent_LabelsEntry; toJSON(message: Agent_LabelsEntry): unknown; fromPartial, never>>(object: I): Agent_LabelsEntry; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {};