UNPKG

@aneoconsultingfr/armonik.api.angular

Version:

gRPC API to interact with ArmoniK built for Angular

1,190 lines 74.5 kB
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common'; import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf'; import * as googleProtobuf000 from '@ngx-grpc/well-known-types'; import * as armonikApiGrpcV1Task_status001 from './task-status.pb'; import * as armonikApiGrpcV1Tasks003 from './tasks-fields.pb'; import * as googleProtobuf004 from '@ngx-grpc/well-known-types'; import * as armonikApiGrpcV1005 from './objects.pb'; import * as armonikApiGrpcV1Sort_direction006 from './sort-direction.pb'; import * as armonikApiGrpcV1Tasks007 from './tasks-filters.pb'; /** * Message implementation for armonik.api.grpc.v1.tasks.TaskDetailed */ export declare class TaskDetailed implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): TaskDetailed; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: TaskDetailed): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: TaskDetailed, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: TaskDetailed, _writer: BinaryWriter): void; private _id; private _sessionId; private _ownerPodId; private _initialTaskId; private _parentTaskIds; private _dataDependencies; private _expectedOutputIds; private _retryOfIds; private _status; private _statusMessage; private _options?; private _createdAt?; private _submittedAt?; private _receivedAt?; private _acquiredAt?; private _fetchedAt?; private _startedAt?; private _processedAt?; private _endedAt?; private _podTtl?; private _creationToEndDuration?; private _processingToEndDuration?; private _receivedToEndDuration?; private _payloadId; private _createdBy; private _output?; private _podHostname; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of TaskDetailed to deeply clone from */ constructor(_value?: RecursivePartial<TaskDetailed.AsObject>); get id(): string; set id(value: string); get sessionId(): string; set sessionId(value: string); get ownerPodId(): string; set ownerPodId(value: string); get initialTaskId(): string; set initialTaskId(value: string); get parentTaskIds(): string[]; set parentTaskIds(value: string[]); get dataDependencies(): string[]; set dataDependencies(value: string[]); get expectedOutputIds(): string[]; set expectedOutputIds(value: string[]); get retryOfIds(): string[]; set retryOfIds(value: string[]); get status(): armonikApiGrpcV1Task_status001.TaskStatus; set status(value: armonikApiGrpcV1Task_status001.TaskStatus); get statusMessage(): string; set statusMessage(value: string); get options(): armonikApiGrpcV1005.TaskOptions | undefined; set options(value: armonikApiGrpcV1005.TaskOptions | undefined); get createdAt(): googleProtobuf004.Timestamp | undefined; set createdAt(value: googleProtobuf004.Timestamp | undefined); get submittedAt(): googleProtobuf004.Timestamp | undefined; set submittedAt(value: googleProtobuf004.Timestamp | undefined); get receivedAt(): googleProtobuf004.Timestamp | undefined; set receivedAt(value: googleProtobuf004.Timestamp | undefined); get acquiredAt(): googleProtobuf004.Timestamp | undefined; set acquiredAt(value: googleProtobuf004.Timestamp | undefined); get fetchedAt(): googleProtobuf004.Timestamp | undefined; set fetchedAt(value: googleProtobuf004.Timestamp | undefined); get startedAt(): googleProtobuf004.Timestamp | undefined; set startedAt(value: googleProtobuf004.Timestamp | undefined); get processedAt(): googleProtobuf004.Timestamp | undefined; set processedAt(value: googleProtobuf004.Timestamp | undefined); get endedAt(): googleProtobuf004.Timestamp | undefined; set endedAt(value: googleProtobuf004.Timestamp | undefined); get podTtl(): googleProtobuf004.Timestamp | undefined; set podTtl(value: googleProtobuf004.Timestamp | undefined); get creationToEndDuration(): googleProtobuf000.Duration | undefined; set creationToEndDuration(value: googleProtobuf000.Duration | undefined); get processingToEndDuration(): googleProtobuf000.Duration | undefined; set processingToEndDuration(value: googleProtobuf000.Duration | undefined); get receivedToEndDuration(): googleProtobuf000.Duration | undefined; set receivedToEndDuration(value: googleProtobuf000.Duration | undefined); get payloadId(): string; set payloadId(value: string); get createdBy(): string; set createdBy(value: string); get output(): TaskDetailed.Output | undefined; set output(value: TaskDetailed.Output | undefined); get podHostname(): string; set podHostname(value: string); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): Uint8Array; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): TaskDetailed.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): TaskDetailed.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required */ toProtobufJSON(options?: ToProtobufJSONOptions): TaskDetailed.AsProtobufJSON; } export declare namespace TaskDetailed { /** * Standard JavaScript object representation for TaskDetailed */ interface AsObject { id: string; sessionId: string; ownerPodId: string; initialTaskId: string; parentTaskIds: string[]; dataDependencies: string[]; expectedOutputIds: string[]; retryOfIds: string[]; status: armonikApiGrpcV1Task_status001.TaskStatus; statusMessage: string; options?: armonikApiGrpcV1005.TaskOptions.AsObject; createdAt?: googleProtobuf004.Timestamp.AsObject; submittedAt?: googleProtobuf004.Timestamp.AsObject; receivedAt?: googleProtobuf004.Timestamp.AsObject; acquiredAt?: googleProtobuf004.Timestamp.AsObject; fetchedAt?: googleProtobuf004.Timestamp.AsObject; startedAt?: googleProtobuf004.Timestamp.AsObject; processedAt?: googleProtobuf004.Timestamp.AsObject; endedAt?: googleProtobuf004.Timestamp.AsObject; podTtl?: googleProtobuf004.Timestamp.AsObject; creationToEndDuration?: googleProtobuf000.Duration.AsObject; processingToEndDuration?: googleProtobuf000.Duration.AsObject; receivedToEndDuration?: googleProtobuf000.Duration.AsObject; payloadId: string; createdBy: string; output?: TaskDetailed.Output.AsObject; podHostname: string; } /** * Protobuf JSON representation for TaskDetailed */ interface AsProtobufJSON { id: string; sessionId: string; ownerPodId: string; initialTaskId: string; parentTaskIds: string[]; dataDependencies: string[]; expectedOutputIds: string[]; retryOfIds: string[]; status: string; statusMessage: string; options: armonikApiGrpcV1005.TaskOptions.AsProtobufJSON | null; createdAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; submittedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; receivedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; acquiredAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; fetchedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; startedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; processedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; endedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; podTtl: googleProtobuf004.Timestamp.AsProtobufJSON | null; creationToEndDuration: googleProtobuf000.Duration.AsProtobufJSON | null; processingToEndDuration: googleProtobuf000.Duration.AsProtobufJSON | null; receivedToEndDuration: googleProtobuf000.Duration.AsProtobufJSON | null; payloadId: string; createdBy: string; output: TaskDetailed.Output.AsProtobufJSON | null; podHostname: string; } /** * Message implementation for armonik.api.grpc.v1.tasks.TaskDetailed.Output */ class Output implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): Output; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: Output): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: Output, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: Output, _writer: BinaryWriter): void; private _success; private _error; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of Output to deeply clone from */ constructor(_value?: RecursivePartial<Output.AsObject>); get success(): boolean; set success(value: boolean); get error(): string; set error(value: string); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): Uint8Array; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): Output.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): Output.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required */ toProtobufJSON(options?: ToProtobufJSONOptions): Output.AsProtobufJSON; } namespace Output { /** * Standard JavaScript object representation for Output */ interface AsObject { success: boolean; error: string; } /** * Protobuf JSON representation for Output */ interface AsProtobufJSON { success: boolean; error: string; } } } /** * Message implementation for armonik.api.grpc.v1.tasks.TaskSummary */ export declare class TaskSummary implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): TaskSummary; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: TaskSummary): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: TaskSummary, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: TaskSummary, _writer: BinaryWriter): void; private _id; private _sessionId; private _ownerPodId; private _initialTaskId; private _countParentTaskIds; private _countDataDependencies; private _countExpectedOutputIds; private _countRetryOfIds; private _status; private _statusMessage; private _options?; private _createdAt?; private _submittedAt?; private _receivedAt?; private _acquiredAt?; private _fetchedAt?; private _startedAt?; private _processedAt?; private _endedAt?; private _podTtl?; private _creationToEndDuration?; private _processingToEndDuration?; private _receivedToEndDuration?; private _payloadId; private _createdBy; private _error; private _podHostname; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of TaskSummary to deeply clone from */ constructor(_value?: RecursivePartial<TaskSummary.AsObject>); get id(): string; set id(value: string); get sessionId(): string; set sessionId(value: string); get ownerPodId(): string; set ownerPodId(value: string); get initialTaskId(): string; set initialTaskId(value: string); get countParentTaskIds(): string; set countParentTaskIds(value: string); get countDataDependencies(): string; set countDataDependencies(value: string); get countExpectedOutputIds(): string; set countExpectedOutputIds(value: string); get countRetryOfIds(): string; set countRetryOfIds(value: string); get status(): armonikApiGrpcV1Task_status001.TaskStatus; set status(value: armonikApiGrpcV1Task_status001.TaskStatus); get statusMessage(): string; set statusMessage(value: string); get options(): armonikApiGrpcV1005.TaskOptions | undefined; set options(value: armonikApiGrpcV1005.TaskOptions | undefined); get createdAt(): googleProtobuf004.Timestamp | undefined; set createdAt(value: googleProtobuf004.Timestamp | undefined); get submittedAt(): googleProtobuf004.Timestamp | undefined; set submittedAt(value: googleProtobuf004.Timestamp | undefined); get receivedAt(): googleProtobuf004.Timestamp | undefined; set receivedAt(value: googleProtobuf004.Timestamp | undefined); get acquiredAt(): googleProtobuf004.Timestamp | undefined; set acquiredAt(value: googleProtobuf004.Timestamp | undefined); get fetchedAt(): googleProtobuf004.Timestamp | undefined; set fetchedAt(value: googleProtobuf004.Timestamp | undefined); get startedAt(): googleProtobuf004.Timestamp | undefined; set startedAt(value: googleProtobuf004.Timestamp | undefined); get processedAt(): googleProtobuf004.Timestamp | undefined; set processedAt(value: googleProtobuf004.Timestamp | undefined); get endedAt(): googleProtobuf004.Timestamp | undefined; set endedAt(value: googleProtobuf004.Timestamp | undefined); get podTtl(): googleProtobuf004.Timestamp | undefined; set podTtl(value: googleProtobuf004.Timestamp | undefined); get creationToEndDuration(): googleProtobuf000.Duration | undefined; set creationToEndDuration(value: googleProtobuf000.Duration | undefined); get processingToEndDuration(): googleProtobuf000.Duration | undefined; set processingToEndDuration(value: googleProtobuf000.Duration | undefined); get receivedToEndDuration(): googleProtobuf000.Duration | undefined; set receivedToEndDuration(value: googleProtobuf000.Duration | undefined); get payloadId(): string; set payloadId(value: string); get createdBy(): string; set createdBy(value: string); get error(): string; set error(value: string); get podHostname(): string; set podHostname(value: string); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): Uint8Array; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): TaskSummary.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): TaskSummary.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required */ toProtobufJSON(options?: ToProtobufJSONOptions): TaskSummary.AsProtobufJSON; } export declare namespace TaskSummary { /** * Standard JavaScript object representation for TaskSummary */ interface AsObject { id: string; sessionId: string; ownerPodId: string; initialTaskId: string; countParentTaskIds: string; countDataDependencies: string; countExpectedOutputIds: string; countRetryOfIds: string; status: armonikApiGrpcV1Task_status001.TaskStatus; statusMessage: string; options?: armonikApiGrpcV1005.TaskOptions.AsObject; createdAt?: googleProtobuf004.Timestamp.AsObject; submittedAt?: googleProtobuf004.Timestamp.AsObject; receivedAt?: googleProtobuf004.Timestamp.AsObject; acquiredAt?: googleProtobuf004.Timestamp.AsObject; fetchedAt?: googleProtobuf004.Timestamp.AsObject; startedAt?: googleProtobuf004.Timestamp.AsObject; processedAt?: googleProtobuf004.Timestamp.AsObject; endedAt?: googleProtobuf004.Timestamp.AsObject; podTtl?: googleProtobuf004.Timestamp.AsObject; creationToEndDuration?: googleProtobuf000.Duration.AsObject; processingToEndDuration?: googleProtobuf000.Duration.AsObject; receivedToEndDuration?: googleProtobuf000.Duration.AsObject; payloadId: string; createdBy: string; error: string; podHostname: string; } /** * Protobuf JSON representation for TaskSummary */ interface AsProtobufJSON { id: string; sessionId: string; ownerPodId: string; initialTaskId: string; countParentTaskIds: string; countDataDependencies: string; countExpectedOutputIds: string; countRetryOfIds: string; status: string; statusMessage: string; options: armonikApiGrpcV1005.TaskOptions.AsProtobufJSON | null; createdAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; submittedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; receivedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; acquiredAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; fetchedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; startedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; processedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; endedAt: googleProtobuf004.Timestamp.AsProtobufJSON | null; podTtl: googleProtobuf004.Timestamp.AsProtobufJSON | null; creationToEndDuration: googleProtobuf000.Duration.AsProtobufJSON | null; processingToEndDuration: googleProtobuf000.Duration.AsProtobufJSON | null; receivedToEndDuration: googleProtobuf000.Duration.AsProtobufJSON | null; payloadId: string; createdBy: string; error: string; podHostname: string; } } /** * Message implementation for armonik.api.grpc.v1.tasks.ListTasksRequest */ export declare class ListTasksRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ListTasksRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ListTasksRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ListTasksRequest, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: ListTasksRequest, _writer: BinaryWriter): void; private _page; private _pageSize; private _filters?; private _sort?; private _withErrors; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ListTasksRequest to deeply clone from */ constructor(_value?: RecursivePartial<ListTasksRequest.AsObject>); get page(): number; set page(value: number); get pageSize(): number; set pageSize(value: number); get filters(): armonikApiGrpcV1Tasks007.Filters | undefined; set filters(value: armonikApiGrpcV1Tasks007.Filters | undefined); get sort(): ListTasksRequest.Sort | undefined; set sort(value: ListTasksRequest.Sort | undefined); get withErrors(): boolean; set withErrors(value: boolean); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): Uint8Array; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): ListTasksRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ListTasksRequest.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required */ toProtobufJSON(options?: ToProtobufJSONOptions): ListTasksRequest.AsProtobufJSON; } export declare namespace ListTasksRequest { /** * Standard JavaScript object representation for ListTasksRequest */ interface AsObject { page: number; pageSize: number; filters?: armonikApiGrpcV1Tasks007.Filters.AsObject; sort?: ListTasksRequest.Sort.AsObject; withErrors: boolean; } /** * Protobuf JSON representation for ListTasksRequest */ interface AsProtobufJSON { page: number; pageSize: number; filters: armonikApiGrpcV1Tasks007.Filters.AsProtobufJSON | null; sort: ListTasksRequest.Sort.AsProtobufJSON | null; withErrors: boolean; } /** * Message implementation for armonik.api.grpc.v1.tasks.ListTasksRequest.Sort */ class Sort implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): Sort; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: Sort): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: Sort, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: Sort, _writer: BinaryWriter): void; private _field?; private _direction; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of Sort to deeply clone from */ constructor(_value?: RecursivePartial<Sort.AsObject>); get field(): armonikApiGrpcV1Tasks003.TaskField | undefined; set field(value: armonikApiGrpcV1Tasks003.TaskField | undefined); get direction(): armonikApiGrpcV1Sort_direction006.SortDirection; set direction(value: armonikApiGrpcV1Sort_direction006.SortDirection); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): Uint8Array; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): Sort.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): Sort.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required */ toProtobufJSON(options?: ToProtobufJSONOptions): Sort.AsProtobufJSON; } namespace Sort { /** * Standard JavaScript object representation for Sort */ interface AsObject { field?: armonikApiGrpcV1Tasks003.TaskField.AsObject; direction: armonikApiGrpcV1Sort_direction006.SortDirection; } /** * Protobuf JSON representation for Sort */ interface AsProtobufJSON { field: armonikApiGrpcV1Tasks003.TaskField.AsProtobufJSON | null; direction: string; } } } /** * Message implementation for armonik.api.grpc.v1.tasks.ListTasksResponse */ export declare class ListTasksResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ListTasksResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ListTasksResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ListTasksResponse, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: ListTasksResponse, _writer: BinaryWriter): void; private _tasks?; private _page; private _pageSize; private _total; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ListTasksResponse to deeply clone from */ constructor(_value?: RecursivePartial<ListTasksResponse.AsObject>); get tasks(): TaskSummary[] | undefined; set tasks(value: TaskSummary[] | undefined); get page(): number; set page(value: number); get pageSize(): number; set pageSize(value: number); get total(): number; set total(value: number); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): Uint8Array; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): ListTasksResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ListTasksResponse.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required */ toProtobufJSON(options?: ToProtobufJSONOptions): ListTasksResponse.AsProtobufJSON; } export declare namespace ListTasksResponse { /** * Standard JavaScript object representation for ListTasksResponse */ interface AsObject { tasks?: TaskSummary.AsObject[]; page: number; pageSize: number; total: number; } /** * Protobuf JSON representation for ListTasksResponse */ interface AsProtobufJSON { tasks: TaskSummary.AsProtobufJSON[] | null; page: number; pageSize: number; total: number; } } /** * Message implementation for armonik.api.grpc.v1.tasks.ListTasksDetailedResponse */ export declare class ListTasksDetailedResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): ListTasksDetailedResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: ListTasksDetailedResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: ListTasksDetailedResponse, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: ListTasksDetailedResponse, _writer: BinaryWriter): void; private _tasks?; private _page; private _pageSize; private _total; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of ListTasksDetailedResponse to deeply clone from */ constructor(_value?: RecursivePartial<ListTasksDetailedResponse.AsObject>); get tasks(): TaskDetailed[] | undefined; set tasks(value: TaskDetailed[] | undefined); get page(): number; set page(value: number); get pageSize(): number; set pageSize(value: number); get total(): number; set total(value: number); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): Uint8Array; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): ListTasksDetailedResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): ListTasksDetailedResponse.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required */ toProtobufJSON(options?: ToProtobufJSONOptions): ListTasksDetailedResponse.AsProtobufJSON; } export declare namespace ListTasksDetailedResponse { /** * Standard JavaScript object representation for ListTasksDetailedResponse */ interface AsObject { tasks?: TaskDetailed.AsObject[]; page: number; pageSize: number; total: number; } /** * Protobuf JSON representation for ListTasksDetailedResponse */ interface AsProtobufJSON { tasks: TaskDetailed.AsProtobufJSON[] | null; page: number; pageSize: number; total: number; } } /** * Message implementation for armonik.api.grpc.v1.tasks.GetTaskRequest */ export declare class GetTaskRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): GetTaskRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: GetTaskRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: GetTaskRequest, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: GetTaskRequest, _writer: BinaryWriter): void; private _taskId; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of GetTaskRequest to deeply clone from */ constructor(_value?: RecursivePartial<GetTaskRequest.AsObject>); get taskId(): string; set taskId(value: string); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): Uint8Array; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): GetTaskRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): GetTaskRequest.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required */ toProtobufJSON(options?: ToProtobufJSONOptions): GetTaskRequest.AsProtobufJSON; } export declare namespace GetTaskRequest { /** * Standard JavaScript object representation for GetTaskRequest */ interface AsObject { taskId: string; } /** * Protobuf JSON representation for GetTaskRequest */ interface AsProtobufJSON { taskId: string; } } /** * Message implementation for armonik.api.grpc.v1.tasks.GetTaskResponse */ export declare class GetTaskResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): GetTaskResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: GetTaskResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: GetTaskResponse, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: GetTaskResponse, _writer: BinaryWriter): void; private _task?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of GetTaskResponse to deeply clone from */ constructor(_value?: RecursivePartial<GetTaskResponse.AsObject>); get task(): TaskDetailed | undefined; set task(value: TaskDetailed | undefined); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): Uint8Array; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): GetTaskResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): GetTaskResponse.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required */ toProtobufJSON(options?: ToProtobufJSONOptions): GetTaskResponse.AsProtobufJSON; } export declare namespace GetTaskResponse { /** * Standard JavaScript object representation for GetTaskResponse */ interface AsObject { task?: TaskDetailed.AsObject; } /** * Protobuf JSON representation for GetTaskResponse */ interface AsProtobufJSON { task: TaskDetailed.AsProtobufJSON | null; } } /** * Message implementation for armonik.api.grpc.v1.tasks.CancelTasksRequest */ export declare class CancelTasksRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): CancelTasksRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: CancelTasksRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: CancelTasksRequest, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: CancelTasksRequest, _writer: BinaryWriter): void; private _taskIds; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of CancelTasksRequest to deeply clone from */ constructor(_value?: RecursivePartial<CancelTasksRequest.AsObject>); get taskIds(): string[]; set taskIds(value: string[]); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): Uint8Array; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): CancelTasksRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): CancelTasksRequest.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required */ toProtobufJSON(options?: ToProtobufJSONOptions): CancelTasksRequest.AsProtobufJSON; } export declare namespace CancelTasksRequest { /** * Standard JavaScript object representation for CancelTasksRequest */ interface AsObject { taskIds: string[]; } /** * Protobuf JSON representation for CancelTasksRequest */ interface AsProtobufJSON { taskIds: string[]; } } /** * Message implementation for armonik.api.grpc.v1.tasks.CancelTasksResponse */ export declare class CancelTasksResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): CancelTasksResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: CancelTasksResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: CancelTasksResponse, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: CancelTasksResponse, _writer: BinaryWriter): void; private _tasks?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of CancelTasksResponse to deeply clone from */ constructor(_value?: RecursivePartial<CancelTasksResponse.AsObject>); get tasks(): TaskSummary[] | undefined; set tasks(value: TaskSummary[] | undefined); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): Uint8Array; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): CancelTasksResponse.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): CancelTasksResponse.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required */ toProtobufJSON(options?: ToProtobufJSONOptions): CancelTasksResponse.AsProtobufJSON; } export declare namespace CancelTasksResponse { /** * Standard JavaScript object representation for CancelTasksResponse */ interface AsObject { tasks?: TaskSummary.AsObject[]; } /** * Protobuf JSON representation for CancelTasksResponse */ interface AsProtobufJSON { tasks: TaskSummary.AsProtobufJSON[] | null; } } /** * Message implementation for armonik.api.grpc.v1.tasks.GetResultIdsRequest */ export declare class GetResultIdsRequest implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): GetResultIdsRequest; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: GetResultIdsRequest): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: GetResultIdsRequest, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: GetResultIdsRequest, _writer: BinaryWriter): void; private _taskId; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of GetResultIdsRequest to deeply clone from */ constructor(_value?: RecursivePartial<GetResultIdsRequest.AsObject>); get taskId(): string[]; set taskId(value: string[]); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): Uint8Array; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): GetResultIdsRequest.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): GetResultIdsRequest.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required */ toProtobufJSON(options?: ToProtobufJSONOptions): GetResultIdsRequest.AsProtobufJSON; } export declare namespace GetResultIdsRequest { /** * Standard JavaScript object representation for GetResultIdsRequest */ interface AsObject { taskId: string[]; } /** * Protobuf JSON representation for GetResultIdsRequest */ interface AsProtobufJSON { taskId: string[]; } } /** * Message implementation for armonik.api.grpc.v1.tasks.GetResultIdsResponse */ export declare class GetResultIdsResponse implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): GetResultIdsResponse; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: GetResultIdsResponse): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: GetResultIdsResponse, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: GetResultIdsResponse, _writer: BinaryWriter): void; private _taskResults?; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of GetResultIdsResponse to deeply clone from */ constructor(_value?: RecursivePartial<GetResultIdsResponse.AsObje