UNPKG

@ondewo/csi-client-nodejs

Version:

ONDEWO Communication System Integration (CSI) Client library for Nodejs

134 lines (120 loc) 5.24 kB
// package: ondewo.nlu // file: ondewo/nlu/operation_metadata.proto /* tslint:disable */ /* eslint-disable */ import * as jspb from "google-protobuf"; import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; export class OperationMetadata extends jspb.Message { getStatus(): OperationMetadata.Status; setStatus(value: OperationMetadata.Status): OperationMetadata; getParentOperationName(): string; setParentOperationName(value: string): OperationMetadata; clearSubOperationNamesList(): void; getSubOperationNamesList(): Array<string>; setSubOperationNamesList(value: Array<string>): OperationMetadata; addSubOperationNames(value: string, index?: number): string; hasCreateTime(): boolean; clearCreateTime(): void; getCreateTime(): google_protobuf_timestamp_pb.Timestamp | undefined; setCreateTime(value?: google_protobuf_timestamp_pb.Timestamp): OperationMetadata; hasStartTime(): boolean; clearStartTime(): void; getStartTime(): google_protobuf_timestamp_pb.Timestamp | undefined; setStartTime(value?: google_protobuf_timestamp_pb.Timestamp): OperationMetadata; hasEndTime(): boolean; clearEndTime(): void; getEndTime(): google_protobuf_timestamp_pb.Timestamp | undefined; setEndTime(value?: google_protobuf_timestamp_pb.Timestamp): OperationMetadata; getIsCancellationRequested(): boolean; setIsCancellationRequested(value: boolean): OperationMetadata; getCancelCommand(): string; setCancelCommand(value: string): OperationMetadata; getUserIdCreated(): string; setUserIdCreated(value: string): OperationMetadata; getUserIdCancelled(): string; setUserIdCancelled(value: string): OperationMetadata; getProjectParent(): string; setProjectParent(value: string): OperationMetadata; getOperationType(): OperationMetadata.OperationType; setOperationType(value: OperationMetadata.OperationType): OperationMetadata; getHostName(): string; setHostName(value: string): OperationMetadata; getNumReruns(): number; setNumReruns(value: number): OperationMetadata; getMaxNumReruns(): number; setMaxNumReruns(value: number): OperationMetadata; getDescription(): string; setDescription(value: string): OperationMetadata; clearLogList(): void; getLogList(): Array<string>; setLogList(value: Array<string>): OperationMetadata; addLog(value: string, index?: number): string; getLogLimit(): number; setLogLimit(value: number): OperationMetadata; hasCreatedAt(): boolean; clearCreatedAt(): void; getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined; setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): OperationMetadata; hasModifiedAt(): boolean; clearModifiedAt(): void; getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined; setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): OperationMetadata; getCreatedBy(): string; setCreatedBy(value: string): OperationMetadata; getModifiedBy(): string; setModifiedBy(value: string): OperationMetadata; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): OperationMetadata.AsObject; static toObject(includeInstance: boolean, msg: OperationMetadata): OperationMetadata.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: OperationMetadata, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): OperationMetadata; static deserializeBinaryFromReader(message: OperationMetadata, reader: jspb.BinaryReader): OperationMetadata; } export namespace OperationMetadata { export type AsObject = { status: OperationMetadata.Status, parentOperationName: string, subOperationNamesList: Array<string>, createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, startTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, endTime?: google_protobuf_timestamp_pb.Timestamp.AsObject, isCancellationRequested: boolean, cancelCommand: string, userIdCreated: string, userIdCancelled: string, projectParent: string, operationType: OperationMetadata.OperationType, hostName: string, numReruns: number, maxNumReruns: number, description: string, logList: Array<string>, logLimit: number, createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject, modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject, createdBy: string, modifiedBy: string, } export enum Status { STATUS_UNSPECIFIED = 0, NOT_STARTED = 1, IN_PROGRESS = 2, DONE = 3, CANCELLED = 4, FAILED = 5, } export enum OperationType { OPERATION_TYPE_UNSPECIFIED = 0, CREATE_AGENT = 1, IMPORT_AGENT = 2, EXPORT_AGENT = 3, DELETE_AGENT = 4, RESTORE_AGENT = 5, BUILD_AGENT_CACHE = 6, TRAIN_AGENT = 7, EXPORT_BENCHMARK_AGENT = 8, INDEX_AGENT = 9, } }