@aneoconsultingfr/armonik.api.angular 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/README.md +24 -0
  2. package/esm2020/aneoconsultingfr-armonik.api.angular.mjs +5 -0
  3. package/esm2020/lib/generated/applications-common.pb.mjs +964 -0
  4. package/esm2020/lib/generated/applications-service.pb.mjs +2 -0
  5. package/esm2020/lib/generated/applications-service.pbconf.mjs +13 -0
  6. package/esm2020/lib/generated/applications-service.pbsc.mjs +104 -0
  7. package/esm2020/lib/generated/auth-common.pb.mjs +318 -0
  8. package/esm2020/lib/generated/auth-service.pb.mjs +2 -0
  9. package/esm2020/lib/generated/auth-service.pbconf.mjs +13 -0
  10. package/esm2020/lib/generated/auth-service.pbsc.mjs +74 -0
  11. package/esm2020/lib/generated/objects.pb.mjs +2705 -0
  12. package/esm2020/lib/generated/partitions-common.pb.mjs +1169 -0
  13. package/esm2020/lib/generated/partitions-service.pb.mjs +2 -0
  14. package/esm2020/lib/generated/partitions-service.pbconf.mjs +13 -0
  15. package/esm2020/lib/generated/partitions-service.pbsc.mjs +104 -0
  16. package/esm2020/lib/generated/result-status.pb.mjs +15 -0
  17. package/esm2020/lib/generated/results-common.pb.mjs +1167 -0
  18. package/esm2020/lib/generated/results-service.pb.mjs +2 -0
  19. package/esm2020/lib/generated/results-service.pbconf.mjs +13 -0
  20. package/esm2020/lib/generated/results-service.pbsc.mjs +104 -0
  21. package/esm2020/lib/generated/session-status.pb.mjs +13 -0
  22. package/esm2020/lib/generated/sessions-common.pb.mjs +1683 -0
  23. package/esm2020/lib/generated/sessions-service.pb.mjs +2 -0
  24. package/esm2020/lib/generated/sessions-service.pbconf.mjs +13 -0
  25. package/esm2020/lib/generated/sessions-service.pbsc.mjs +164 -0
  26. package/esm2020/lib/generated/task-status.pb.mjs +21 -0
  27. package/esm2020/lib/generated/tasks-common.pb.mjs +2398 -0
  28. package/esm2020/lib/generated/tasks-service.pb.mjs +2 -0
  29. package/esm2020/lib/generated/tasks-service.pbconf.mjs +13 -0
  30. package/esm2020/lib/generated/tasks-service.pbsc.mjs +194 -0
  31. package/esm2020/lib/index.mjs +16 -0
  32. package/esm2020/public-api.mjs +5 -0
  33. package/fesm2015/aneoconsultingfr-armonik.api.angular.mjs +11173 -0
  34. package/fesm2015/aneoconsultingfr-armonik.api.angular.mjs.map +1 -0
  35. package/fesm2020/aneoconsultingfr-armonik.api.angular.mjs +11161 -0
  36. package/fesm2020/aneoconsultingfr-armonik.api.angular.mjs.map +1 -0
  37. package/index.d.ts +5 -0
  38. package/lib/generated/applications-common.pb.d.ts +568 -0
  39. package/lib/generated/applications-service.pb.d.ts +1 -0
  40. package/lib/generated/applications-service.pbconf.d.ts +6 -0
  41. package/lib/generated/applications-service.pbsc.d.ts +54 -0
  42. package/lib/generated/auth-common.pb.d.ts +214 -0
  43. package/lib/generated/auth-service.pb.d.ts +1 -0
  44. package/lib/generated/auth-service.pbconf.d.ts +6 -0
  45. package/lib/generated/auth-service.pbsc.d.ts +38 -0
  46. package/lib/generated/objects.pb.d.ts +1673 -0
  47. package/lib/generated/partitions-common.pb.d.ts +671 -0
  48. package/lib/generated/partitions-service.pb.d.ts +1 -0
  49. package/lib/generated/partitions-service.pbconf.d.ts +6 -0
  50. package/lib/generated/partitions-service.pbsc.d.ts +54 -0
  51. package/lib/generated/result-status.pb.d.ts +7 -0
  52. package/lib/generated/results-common.pb.d.ts +664 -0
  53. package/lib/generated/results-service.pb.d.ts +1 -0
  54. package/lib/generated/results-service.pbconf.d.ts +6 -0
  55. package/lib/generated/results-service.pbsc.d.ts +54 -0
  56. package/lib/generated/session-status.pb.d.ts +5 -0
  57. package/lib/generated/sessions-common.pb.d.ts +965 -0
  58. package/lib/generated/sessions-service.pb.d.ts +1 -0
  59. package/lib/generated/sessions-service.pbconf.d.ts +6 -0
  60. package/lib/generated/sessions-service.pbsc.d.ts +86 -0
  61. package/lib/generated/task-status.pb.d.ts +13 -0
  62. package/lib/generated/tasks-common.pb.d.ts +1328 -0
  63. package/lib/generated/tasks-service.pb.d.ts +1 -0
  64. package/lib/generated/tasks-service.pbconf.d.ts +6 -0
  65. package/lib/generated/tasks-service.pbsc.d.ts +102 -0
  66. package/lib/index.d.ts +15 -0
  67. package/package.json +52 -0
  68. package/public-api.d.ts +1 -0
@@ -0,0 +1,1328 @@
1
+ import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
2
+ import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
3
+ import * as armonikApiGrpcV1Task_status001 from './task-status.pb';
4
+ import * as googleProtobuf002 from '@ngx-grpc/well-known-types';
5
+ import * as armonikApiGrpcV1003 from './objects.pb';
6
+ /**
7
+ * Message implementation for armonik.api.grpc.v1.tasks.TaskRaw
8
+ */
9
+ export declare class TaskRaw implements GrpcMessage {
10
+ static id: string;
11
+ /**
12
+ * Deserialize binary data to message
13
+ * @param instance message instance
14
+ */
15
+ static deserializeBinary(bytes: ByteSource): TaskRaw;
16
+ /**
17
+ * Check all the properties and set default protobuf values if necessary
18
+ * @param _instance message instance
19
+ */
20
+ static refineValues(_instance: TaskRaw): void;
21
+ /**
22
+ * Deserializes / reads binary message into message instance using provided binary reader
23
+ * @param _instance message instance
24
+ * @param _reader binary reader instance
25
+ */
26
+ static deserializeBinaryFromReader(_instance: TaskRaw, _reader: BinaryReader): void;
27
+ /**
28
+ * Serializes a message to binary format using provided binary reader
29
+ * @param _instance message instance
30
+ * @param _writer binary writer instance
31
+ */
32
+ static serializeBinaryToWriter(_instance: TaskRaw, _writer: BinaryWriter): void;
33
+ private _id;
34
+ private _sessionId;
35
+ private _ownerPodId;
36
+ private _parentTaskIds;
37
+ private _dataDependencies;
38
+ private _expectedOutputIds;
39
+ private _retryOfIds;
40
+ private _status;
41
+ private _statusMessage;
42
+ private _options?;
43
+ private _createdAt?;
44
+ private _submittedAt?;
45
+ private _startedAt?;
46
+ private _endedAt?;
47
+ private _podTtl?;
48
+ private _output?;
49
+ private _podHostname;
50
+ private _receivedAt?;
51
+ private _acquiredAt?;
52
+ /**
53
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
54
+ * @param _value initial values object or instance of TaskRaw to deeply clone from
55
+ */
56
+ constructor(_value?: RecursivePartial<TaskRaw.AsObject>);
57
+ get id(): string;
58
+ set id(value: string);
59
+ get sessionId(): string;
60
+ set sessionId(value: string);
61
+ get ownerPodId(): string;
62
+ set ownerPodId(value: string);
63
+ get parentTaskIds(): string[];
64
+ set parentTaskIds(value: string[]);
65
+ get dataDependencies(): string[];
66
+ set dataDependencies(value: string[]);
67
+ get expectedOutputIds(): string[];
68
+ set expectedOutputIds(value: string[]);
69
+ get retryOfIds(): string[];
70
+ set retryOfIds(value: string[]);
71
+ get status(): armonikApiGrpcV1Task_status001.TaskStatus;
72
+ set status(value: armonikApiGrpcV1Task_status001.TaskStatus);
73
+ get statusMessage(): string;
74
+ set statusMessage(value: string);
75
+ get options(): armonikApiGrpcV1003.TaskOptions | undefined;
76
+ set options(value: armonikApiGrpcV1003.TaskOptions | undefined);
77
+ get createdAt(): googleProtobuf002.Timestamp | undefined;
78
+ set createdAt(value: googleProtobuf002.Timestamp | undefined);
79
+ get submittedAt(): googleProtobuf002.Timestamp | undefined;
80
+ set submittedAt(value: googleProtobuf002.Timestamp | undefined);
81
+ get startedAt(): googleProtobuf002.Timestamp | undefined;
82
+ set startedAt(value: googleProtobuf002.Timestamp | undefined);
83
+ get endedAt(): googleProtobuf002.Timestamp | undefined;
84
+ set endedAt(value: googleProtobuf002.Timestamp | undefined);
85
+ get podTtl(): googleProtobuf002.Timestamp | undefined;
86
+ set podTtl(value: googleProtobuf002.Timestamp | undefined);
87
+ get output(): TaskRaw.Output | undefined;
88
+ set output(value: TaskRaw.Output | undefined);
89
+ get podHostname(): string;
90
+ set podHostname(value: string);
91
+ get receivedAt(): googleProtobuf002.Timestamp | undefined;
92
+ set receivedAt(value: googleProtobuf002.Timestamp | undefined);
93
+ get acquiredAt(): googleProtobuf002.Timestamp | undefined;
94
+ set acquiredAt(value: googleProtobuf002.Timestamp | undefined);
95
+ /**
96
+ * Serialize message to binary data
97
+ * @param instance message instance
98
+ */
99
+ serializeBinary(): Uint8Array;
100
+ /**
101
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
102
+ */
103
+ toObject(): TaskRaw.AsObject;
104
+ /**
105
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
106
+ */
107
+ toJSON(): TaskRaw.AsObject;
108
+ /**
109
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
110
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
111
+ * 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
112
+ */
113
+ toProtobufJSON(options?: ToProtobufJSONOptions): TaskRaw.AsProtobufJSON;
114
+ }
115
+ export declare module TaskRaw {
116
+ /**
117
+ * Standard JavaScript object representation for TaskRaw
118
+ */
119
+ interface AsObject {
120
+ id: string;
121
+ sessionId: string;
122
+ ownerPodId: string;
123
+ parentTaskIds: string[];
124
+ dataDependencies: string[];
125
+ expectedOutputIds: string[];
126
+ retryOfIds: string[];
127
+ status: armonikApiGrpcV1Task_status001.TaskStatus;
128
+ statusMessage: string;
129
+ options?: armonikApiGrpcV1003.TaskOptions.AsObject;
130
+ createdAt?: googleProtobuf002.Timestamp.AsObject;
131
+ submittedAt?: googleProtobuf002.Timestamp.AsObject;
132
+ startedAt?: googleProtobuf002.Timestamp.AsObject;
133
+ endedAt?: googleProtobuf002.Timestamp.AsObject;
134
+ podTtl?: googleProtobuf002.Timestamp.AsObject;
135
+ output?: TaskRaw.Output.AsObject;
136
+ podHostname: string;
137
+ receivedAt?: googleProtobuf002.Timestamp.AsObject;
138
+ acquiredAt?: googleProtobuf002.Timestamp.AsObject;
139
+ }
140
+ /**
141
+ * Protobuf JSON representation for TaskRaw
142
+ */
143
+ interface AsProtobufJSON {
144
+ id: string;
145
+ sessionId: string;
146
+ ownerPodId: string;
147
+ parentTaskIds: string[];
148
+ dataDependencies: string[];
149
+ expectedOutputIds: string[];
150
+ retryOfIds: string[];
151
+ status: string;
152
+ statusMessage: string;
153
+ options: armonikApiGrpcV1003.TaskOptions.AsProtobufJSON | null;
154
+ createdAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
155
+ submittedAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
156
+ startedAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
157
+ endedAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
158
+ podTtl: googleProtobuf002.Timestamp.AsProtobufJSON | null;
159
+ output: TaskRaw.Output.AsProtobufJSON | null;
160
+ podHostname: string;
161
+ receivedAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
162
+ acquiredAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
163
+ }
164
+ /**
165
+ * Message implementation for armonik.api.grpc.v1.tasks.TaskRaw.Output
166
+ */
167
+ class Output implements GrpcMessage {
168
+ static id: string;
169
+ /**
170
+ * Deserialize binary data to message
171
+ * @param instance message instance
172
+ */
173
+ static deserializeBinary(bytes: ByteSource): Output;
174
+ /**
175
+ * Check all the properties and set default protobuf values if necessary
176
+ * @param _instance message instance
177
+ */
178
+ static refineValues(_instance: Output): void;
179
+ /**
180
+ * Deserializes / reads binary message into message instance using provided binary reader
181
+ * @param _instance message instance
182
+ * @param _reader binary reader instance
183
+ */
184
+ static deserializeBinaryFromReader(_instance: Output, _reader: BinaryReader): void;
185
+ /**
186
+ * Serializes a message to binary format using provided binary reader
187
+ * @param _instance message instance
188
+ * @param _writer binary writer instance
189
+ */
190
+ static serializeBinaryToWriter(_instance: Output, _writer: BinaryWriter): void;
191
+ private _success;
192
+ private _error;
193
+ /**
194
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
195
+ * @param _value initial values object or instance of Output to deeply clone from
196
+ */
197
+ constructor(_value?: RecursivePartial<Output.AsObject>);
198
+ get success(): boolean;
199
+ set success(value: boolean);
200
+ get error(): string;
201
+ set error(value: string);
202
+ /**
203
+ * Serialize message to binary data
204
+ * @param instance message instance
205
+ */
206
+ serializeBinary(): Uint8Array;
207
+ /**
208
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
209
+ */
210
+ toObject(): Output.AsObject;
211
+ /**
212
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
213
+ */
214
+ toJSON(): Output.AsObject;
215
+ /**
216
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
217
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
218
+ * 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
219
+ */
220
+ toProtobufJSON(options?: ToProtobufJSONOptions): Output.AsProtobufJSON;
221
+ }
222
+ module Output {
223
+ /**
224
+ * Standard JavaScript object representation for Output
225
+ */
226
+ interface AsObject {
227
+ success: boolean;
228
+ error: string;
229
+ }
230
+ /**
231
+ * Protobuf JSON representation for Output
232
+ */
233
+ interface AsProtobufJSON {
234
+ success: boolean;
235
+ error: string;
236
+ }
237
+ }
238
+ }
239
+ /**
240
+ * Message implementation for armonik.api.grpc.v1.tasks.TaskSummary
241
+ */
242
+ export declare class TaskSummary implements GrpcMessage {
243
+ static id: string;
244
+ /**
245
+ * Deserialize binary data to message
246
+ * @param instance message instance
247
+ */
248
+ static deserializeBinary(bytes: ByteSource): TaskSummary;
249
+ /**
250
+ * Check all the properties and set default protobuf values if necessary
251
+ * @param _instance message instance
252
+ */
253
+ static refineValues(_instance: TaskSummary): void;
254
+ /**
255
+ * Deserializes / reads binary message into message instance using provided binary reader
256
+ * @param _instance message instance
257
+ * @param _reader binary reader instance
258
+ */
259
+ static deserializeBinaryFromReader(_instance: TaskSummary, _reader: BinaryReader): void;
260
+ /**
261
+ * Serializes a message to binary format using provided binary reader
262
+ * @param _instance message instance
263
+ * @param _writer binary writer instance
264
+ */
265
+ static serializeBinaryToWriter(_instance: TaskSummary, _writer: BinaryWriter): void;
266
+ private _id;
267
+ private _sessionId;
268
+ private _options?;
269
+ private _status;
270
+ private _createdAt?;
271
+ private _startedAt?;
272
+ private _endedAt?;
273
+ private _error;
274
+ /**
275
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
276
+ * @param _value initial values object or instance of TaskSummary to deeply clone from
277
+ */
278
+ constructor(_value?: RecursivePartial<TaskSummary.AsObject>);
279
+ get id(): string;
280
+ set id(value: string);
281
+ get sessionId(): string;
282
+ set sessionId(value: string);
283
+ get options(): armonikApiGrpcV1003.TaskOptions | undefined;
284
+ set options(value: armonikApiGrpcV1003.TaskOptions | undefined);
285
+ get status(): armonikApiGrpcV1Task_status001.TaskStatus;
286
+ set status(value: armonikApiGrpcV1Task_status001.TaskStatus);
287
+ get createdAt(): googleProtobuf002.Timestamp | undefined;
288
+ set createdAt(value: googleProtobuf002.Timestamp | undefined);
289
+ get startedAt(): googleProtobuf002.Timestamp | undefined;
290
+ set startedAt(value: googleProtobuf002.Timestamp | undefined);
291
+ get endedAt(): googleProtobuf002.Timestamp | undefined;
292
+ set endedAt(value: googleProtobuf002.Timestamp | undefined);
293
+ get error(): string;
294
+ set error(value: string);
295
+ /**
296
+ * Serialize message to binary data
297
+ * @param instance message instance
298
+ */
299
+ serializeBinary(): Uint8Array;
300
+ /**
301
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
302
+ */
303
+ toObject(): TaskSummary.AsObject;
304
+ /**
305
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
306
+ */
307
+ toJSON(): TaskSummary.AsObject;
308
+ /**
309
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
310
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
311
+ * 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
312
+ */
313
+ toProtobufJSON(options?: ToProtobufJSONOptions): TaskSummary.AsProtobufJSON;
314
+ }
315
+ export declare module TaskSummary {
316
+ /**
317
+ * Standard JavaScript object representation for TaskSummary
318
+ */
319
+ interface AsObject {
320
+ id: string;
321
+ sessionId: string;
322
+ options?: armonikApiGrpcV1003.TaskOptions.AsObject;
323
+ status: armonikApiGrpcV1Task_status001.TaskStatus;
324
+ createdAt?: googleProtobuf002.Timestamp.AsObject;
325
+ startedAt?: googleProtobuf002.Timestamp.AsObject;
326
+ endedAt?: googleProtobuf002.Timestamp.AsObject;
327
+ error: string;
328
+ }
329
+ /**
330
+ * Protobuf JSON representation for TaskSummary
331
+ */
332
+ interface AsProtobufJSON {
333
+ id: string;
334
+ sessionId: string;
335
+ options: armonikApiGrpcV1003.TaskOptions.AsProtobufJSON | null;
336
+ status: string;
337
+ createdAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
338
+ startedAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
339
+ endedAt: googleProtobuf002.Timestamp.AsProtobufJSON | null;
340
+ error: string;
341
+ }
342
+ }
343
+ /**
344
+ * Message implementation for armonik.api.grpc.v1.tasks.ListTasksRequest
345
+ */
346
+ export declare class ListTasksRequest implements GrpcMessage {
347
+ static id: string;
348
+ /**
349
+ * Deserialize binary data to message
350
+ * @param instance message instance
351
+ */
352
+ static deserializeBinary(bytes: ByteSource): ListTasksRequest;
353
+ /**
354
+ * Check all the properties and set default protobuf values if necessary
355
+ * @param _instance message instance
356
+ */
357
+ static refineValues(_instance: ListTasksRequest): void;
358
+ /**
359
+ * Deserializes / reads binary message into message instance using provided binary reader
360
+ * @param _instance message instance
361
+ * @param _reader binary reader instance
362
+ */
363
+ static deserializeBinaryFromReader(_instance: ListTasksRequest, _reader: BinaryReader): void;
364
+ /**
365
+ * Serializes a message to binary format using provided binary reader
366
+ * @param _instance message instance
367
+ * @param _writer binary writer instance
368
+ */
369
+ static serializeBinaryToWriter(_instance: ListTasksRequest, _writer: BinaryWriter): void;
370
+ private _page;
371
+ private _pageSize;
372
+ private _filter?;
373
+ private _sort?;
374
+ private _withErrors;
375
+ /**
376
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
377
+ * @param _value initial values object or instance of ListTasksRequest to deeply clone from
378
+ */
379
+ constructor(_value?: RecursivePartial<ListTasksRequest.AsObject>);
380
+ get page(): number;
381
+ set page(value: number);
382
+ get pageSize(): number;
383
+ set pageSize(value: number);
384
+ get filter(): ListTasksRequest.Filter | undefined;
385
+ set filter(value: ListTasksRequest.Filter | undefined);
386
+ get sort(): ListTasksRequest.Sort | undefined;
387
+ set sort(value: ListTasksRequest.Sort | undefined);
388
+ get withErrors(): boolean;
389
+ set withErrors(value: boolean);
390
+ /**
391
+ * Serialize message to binary data
392
+ * @param instance message instance
393
+ */
394
+ serializeBinary(): Uint8Array;
395
+ /**
396
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
397
+ */
398
+ toObject(): ListTasksRequest.AsObject;
399
+ /**
400
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
401
+ */
402
+ toJSON(): ListTasksRequest.AsObject;
403
+ /**
404
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
405
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
406
+ * 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
407
+ */
408
+ toProtobufJSON(options?: ToProtobufJSONOptions): ListTasksRequest.AsProtobufJSON;
409
+ }
410
+ export declare module ListTasksRequest {
411
+ /**
412
+ * Standard JavaScript object representation for ListTasksRequest
413
+ */
414
+ interface AsObject {
415
+ page: number;
416
+ pageSize: number;
417
+ filter?: ListTasksRequest.Filter.AsObject;
418
+ sort?: ListTasksRequest.Sort.AsObject;
419
+ withErrors: boolean;
420
+ }
421
+ /**
422
+ * Protobuf JSON representation for ListTasksRequest
423
+ */
424
+ interface AsProtobufJSON {
425
+ page: number;
426
+ pageSize: number;
427
+ filter: ListTasksRequest.Filter.AsProtobufJSON | null;
428
+ sort: ListTasksRequest.Sort.AsProtobufJSON | null;
429
+ withErrors: boolean;
430
+ }
431
+ enum OrderByField {
432
+ ORDER_BY_FIELD_UNSPECIFIED = 0,
433
+ ORDER_BY_FIELD_TASK_ID = 1,
434
+ ORDER_BY_FIELD_SESSION_ID = 2,
435
+ ORDER_BY_FIELD_STATUS = 3,
436
+ ORDER_BY_FIELD_CREATED_AT = 4,
437
+ ORDER_BY_FIELD_STARTED_AT = 5,
438
+ ORDER_BY_FIELD_ENDED_AT = 6
439
+ }
440
+ enum OrderDirection {
441
+ ORDER_DIRECTION_UNSPECIFIED = 0,
442
+ ORDER_DIRECTION_ASC = 1,
443
+ ORDER_DIRECTION_DESC = 2
444
+ }
445
+ /**
446
+ * Message implementation for armonik.api.grpc.v1.tasks.ListTasksRequest.Filter
447
+ */
448
+ class Filter implements GrpcMessage {
449
+ static id: string;
450
+ /**
451
+ * Deserialize binary data to message
452
+ * @param instance message instance
453
+ */
454
+ static deserializeBinary(bytes: ByteSource): Filter;
455
+ /**
456
+ * Check all the properties and set default protobuf values if necessary
457
+ * @param _instance message instance
458
+ */
459
+ static refineValues(_instance: Filter): void;
460
+ /**
461
+ * Deserializes / reads binary message into message instance using provided binary reader
462
+ * @param _instance message instance
463
+ * @param _reader binary reader instance
464
+ */
465
+ static deserializeBinaryFromReader(_instance: Filter, _reader: BinaryReader): void;
466
+ /**
467
+ * Serializes a message to binary format using provided binary reader
468
+ * @param _instance message instance
469
+ * @param _writer binary writer instance
470
+ */
471
+ static serializeBinaryToWriter(_instance: Filter, _writer: BinaryWriter): void;
472
+ private _sessionId;
473
+ private _status;
474
+ private _createdAfter?;
475
+ private _createdBefore?;
476
+ private _startedAfter?;
477
+ private _startedBefore?;
478
+ private _endedAfter?;
479
+ private _endedBefore?;
480
+ /**
481
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
482
+ * @param _value initial values object or instance of Filter to deeply clone from
483
+ */
484
+ constructor(_value?: RecursivePartial<Filter.AsObject>);
485
+ get sessionId(): string;
486
+ set sessionId(value: string);
487
+ get status(): armonikApiGrpcV1Task_status001.TaskStatus[];
488
+ set status(value: armonikApiGrpcV1Task_status001.TaskStatus[]);
489
+ get createdAfter(): googleProtobuf002.Timestamp | undefined;
490
+ set createdAfter(value: googleProtobuf002.Timestamp | undefined);
491
+ get createdBefore(): googleProtobuf002.Timestamp | undefined;
492
+ set createdBefore(value: googleProtobuf002.Timestamp | undefined);
493
+ get startedAfter(): googleProtobuf002.Timestamp | undefined;
494
+ set startedAfter(value: googleProtobuf002.Timestamp | undefined);
495
+ get startedBefore(): googleProtobuf002.Timestamp | undefined;
496
+ set startedBefore(value: googleProtobuf002.Timestamp | undefined);
497
+ get endedAfter(): googleProtobuf002.Timestamp | undefined;
498
+ set endedAfter(value: googleProtobuf002.Timestamp | undefined);
499
+ get endedBefore(): googleProtobuf002.Timestamp | undefined;
500
+ set endedBefore(value: googleProtobuf002.Timestamp | undefined);
501
+ /**
502
+ * Serialize message to binary data
503
+ * @param instance message instance
504
+ */
505
+ serializeBinary(): Uint8Array;
506
+ /**
507
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
508
+ */
509
+ toObject(): Filter.AsObject;
510
+ /**
511
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
512
+ */
513
+ toJSON(): Filter.AsObject;
514
+ /**
515
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
516
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
517
+ * 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
518
+ */
519
+ toProtobufJSON(options?: ToProtobufJSONOptions): Filter.AsProtobufJSON;
520
+ }
521
+ module Filter {
522
+ /**
523
+ * Standard JavaScript object representation for Filter
524
+ */
525
+ interface AsObject {
526
+ sessionId: string;
527
+ status: armonikApiGrpcV1Task_status001.TaskStatus[];
528
+ createdAfter?: googleProtobuf002.Timestamp.AsObject;
529
+ createdBefore?: googleProtobuf002.Timestamp.AsObject;
530
+ startedAfter?: googleProtobuf002.Timestamp.AsObject;
531
+ startedBefore?: googleProtobuf002.Timestamp.AsObject;
532
+ endedAfter?: googleProtobuf002.Timestamp.AsObject;
533
+ endedBefore?: googleProtobuf002.Timestamp.AsObject;
534
+ }
535
+ /**
536
+ * Protobuf JSON representation for Filter
537
+ */
538
+ interface AsProtobufJSON {
539
+ sessionId: string;
540
+ status: string[];
541
+ createdAfter: googleProtobuf002.Timestamp.AsProtobufJSON | null;
542
+ createdBefore: googleProtobuf002.Timestamp.AsProtobufJSON | null;
543
+ startedAfter: googleProtobuf002.Timestamp.AsProtobufJSON | null;
544
+ startedBefore: googleProtobuf002.Timestamp.AsProtobufJSON | null;
545
+ endedAfter: googleProtobuf002.Timestamp.AsProtobufJSON | null;
546
+ endedBefore: googleProtobuf002.Timestamp.AsProtobufJSON | null;
547
+ }
548
+ }
549
+ /**
550
+ * Message implementation for armonik.api.grpc.v1.tasks.ListTasksRequest.Sort
551
+ */
552
+ class Sort implements GrpcMessage {
553
+ static id: string;
554
+ /**
555
+ * Deserialize binary data to message
556
+ * @param instance message instance
557
+ */
558
+ static deserializeBinary(bytes: ByteSource): Sort;
559
+ /**
560
+ * Check all the properties and set default protobuf values if necessary
561
+ * @param _instance message instance
562
+ */
563
+ static refineValues(_instance: Sort): void;
564
+ /**
565
+ * Deserializes / reads binary message into message instance using provided binary reader
566
+ * @param _instance message instance
567
+ * @param _reader binary reader instance
568
+ */
569
+ static deserializeBinaryFromReader(_instance: Sort, _reader: BinaryReader): void;
570
+ /**
571
+ * Serializes a message to binary format using provided binary reader
572
+ * @param _instance message instance
573
+ * @param _writer binary writer instance
574
+ */
575
+ static serializeBinaryToWriter(_instance: Sort, _writer: BinaryWriter): void;
576
+ private _field;
577
+ private _direction;
578
+ /**
579
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
580
+ * @param _value initial values object or instance of Sort to deeply clone from
581
+ */
582
+ constructor(_value?: RecursivePartial<Sort.AsObject>);
583
+ get field(): ListTasksRequest.OrderByField;
584
+ set field(value: ListTasksRequest.OrderByField);
585
+ get direction(): ListTasksRequest.OrderDirection;
586
+ set direction(value: ListTasksRequest.OrderDirection);
587
+ /**
588
+ * Serialize message to binary data
589
+ * @param instance message instance
590
+ */
591
+ serializeBinary(): Uint8Array;
592
+ /**
593
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
594
+ */
595
+ toObject(): Sort.AsObject;
596
+ /**
597
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
598
+ */
599
+ toJSON(): Sort.AsObject;
600
+ /**
601
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
602
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
603
+ * 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
604
+ */
605
+ toProtobufJSON(options?: ToProtobufJSONOptions): Sort.AsProtobufJSON;
606
+ }
607
+ module Sort {
608
+ /**
609
+ * Standard JavaScript object representation for Sort
610
+ */
611
+ interface AsObject {
612
+ field: ListTasksRequest.OrderByField;
613
+ direction: ListTasksRequest.OrderDirection;
614
+ }
615
+ /**
616
+ * Protobuf JSON representation for Sort
617
+ */
618
+ interface AsProtobufJSON {
619
+ field: string;
620
+ direction: string;
621
+ }
622
+ }
623
+ }
624
+ /**
625
+ * Message implementation for armonik.api.grpc.v1.tasks.ListTasksResponse
626
+ */
627
+ export declare class ListTasksResponse implements GrpcMessage {
628
+ static id: string;
629
+ /**
630
+ * Deserialize binary data to message
631
+ * @param instance message instance
632
+ */
633
+ static deserializeBinary(bytes: ByteSource): ListTasksResponse;
634
+ /**
635
+ * Check all the properties and set default protobuf values if necessary
636
+ * @param _instance message instance
637
+ */
638
+ static refineValues(_instance: ListTasksResponse): void;
639
+ /**
640
+ * Deserializes / reads binary message into message instance using provided binary reader
641
+ * @param _instance message instance
642
+ * @param _reader binary reader instance
643
+ */
644
+ static deserializeBinaryFromReader(_instance: ListTasksResponse, _reader: BinaryReader): void;
645
+ /**
646
+ * Serializes a message to binary format using provided binary reader
647
+ * @param _instance message instance
648
+ * @param _writer binary writer instance
649
+ */
650
+ static serializeBinaryToWriter(_instance: ListTasksResponse, _writer: BinaryWriter): void;
651
+ private _tasks?;
652
+ private _page;
653
+ private _pageSize;
654
+ private _total;
655
+ /**
656
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
657
+ * @param _value initial values object or instance of ListTasksResponse to deeply clone from
658
+ */
659
+ constructor(_value?: RecursivePartial<ListTasksResponse.AsObject>);
660
+ get tasks(): TaskSummary[] | undefined;
661
+ set tasks(value: TaskSummary[] | undefined);
662
+ get page(): number;
663
+ set page(value: number);
664
+ get pageSize(): number;
665
+ set pageSize(value: number);
666
+ get total(): number;
667
+ set total(value: number);
668
+ /**
669
+ * Serialize message to binary data
670
+ * @param instance message instance
671
+ */
672
+ serializeBinary(): Uint8Array;
673
+ /**
674
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
675
+ */
676
+ toObject(): ListTasksResponse.AsObject;
677
+ /**
678
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
679
+ */
680
+ toJSON(): ListTasksResponse.AsObject;
681
+ /**
682
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
683
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
684
+ * 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
685
+ */
686
+ toProtobufJSON(options?: ToProtobufJSONOptions): ListTasksResponse.AsProtobufJSON;
687
+ }
688
+ export declare module ListTasksResponse {
689
+ /**
690
+ * Standard JavaScript object representation for ListTasksResponse
691
+ */
692
+ interface AsObject {
693
+ tasks?: TaskSummary.AsObject[];
694
+ page: number;
695
+ pageSize: number;
696
+ total: number;
697
+ }
698
+ /**
699
+ * Protobuf JSON representation for ListTasksResponse
700
+ */
701
+ interface AsProtobufJSON {
702
+ tasks: TaskSummary.AsProtobufJSON[] | null;
703
+ page: number;
704
+ pageSize: number;
705
+ total: number;
706
+ }
707
+ }
708
+ /**
709
+ * Message implementation for armonik.api.grpc.v1.tasks.GetTaskRequest
710
+ */
711
+ export declare class GetTaskRequest implements GrpcMessage {
712
+ static id: string;
713
+ /**
714
+ * Deserialize binary data to message
715
+ * @param instance message instance
716
+ */
717
+ static deserializeBinary(bytes: ByteSource): GetTaskRequest;
718
+ /**
719
+ * Check all the properties and set default protobuf values if necessary
720
+ * @param _instance message instance
721
+ */
722
+ static refineValues(_instance: GetTaskRequest): void;
723
+ /**
724
+ * Deserializes / reads binary message into message instance using provided binary reader
725
+ * @param _instance message instance
726
+ * @param _reader binary reader instance
727
+ */
728
+ static deserializeBinaryFromReader(_instance: GetTaskRequest, _reader: BinaryReader): void;
729
+ /**
730
+ * Serializes a message to binary format using provided binary reader
731
+ * @param _instance message instance
732
+ * @param _writer binary writer instance
733
+ */
734
+ static serializeBinaryToWriter(_instance: GetTaskRequest, _writer: BinaryWriter): void;
735
+ private _taskId;
736
+ /**
737
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
738
+ * @param _value initial values object or instance of GetTaskRequest to deeply clone from
739
+ */
740
+ constructor(_value?: RecursivePartial<GetTaskRequest.AsObject>);
741
+ get taskId(): string;
742
+ set taskId(value: string);
743
+ /**
744
+ * Serialize message to binary data
745
+ * @param instance message instance
746
+ */
747
+ serializeBinary(): Uint8Array;
748
+ /**
749
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
750
+ */
751
+ toObject(): GetTaskRequest.AsObject;
752
+ /**
753
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
754
+ */
755
+ toJSON(): GetTaskRequest.AsObject;
756
+ /**
757
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
758
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
759
+ * 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
760
+ */
761
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetTaskRequest.AsProtobufJSON;
762
+ }
763
+ export declare module GetTaskRequest {
764
+ /**
765
+ * Standard JavaScript object representation for GetTaskRequest
766
+ */
767
+ interface AsObject {
768
+ taskId: string;
769
+ }
770
+ /**
771
+ * Protobuf JSON representation for GetTaskRequest
772
+ */
773
+ interface AsProtobufJSON {
774
+ taskId: string;
775
+ }
776
+ }
777
+ /**
778
+ * Message implementation for armonik.api.grpc.v1.tasks.GetTaskResponse
779
+ */
780
+ export declare class GetTaskResponse implements GrpcMessage {
781
+ static id: string;
782
+ /**
783
+ * Deserialize binary data to message
784
+ * @param instance message instance
785
+ */
786
+ static deserializeBinary(bytes: ByteSource): GetTaskResponse;
787
+ /**
788
+ * Check all the properties and set default protobuf values if necessary
789
+ * @param _instance message instance
790
+ */
791
+ static refineValues(_instance: GetTaskResponse): void;
792
+ /**
793
+ * Deserializes / reads binary message into message instance using provided binary reader
794
+ * @param _instance message instance
795
+ * @param _reader binary reader instance
796
+ */
797
+ static deserializeBinaryFromReader(_instance: GetTaskResponse, _reader: BinaryReader): void;
798
+ /**
799
+ * Serializes a message to binary format using provided binary reader
800
+ * @param _instance message instance
801
+ * @param _writer binary writer instance
802
+ */
803
+ static serializeBinaryToWriter(_instance: GetTaskResponse, _writer: BinaryWriter): void;
804
+ private _task?;
805
+ /**
806
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
807
+ * @param _value initial values object or instance of GetTaskResponse to deeply clone from
808
+ */
809
+ constructor(_value?: RecursivePartial<GetTaskResponse.AsObject>);
810
+ get task(): TaskRaw | undefined;
811
+ set task(value: TaskRaw | undefined);
812
+ /**
813
+ * Serialize message to binary data
814
+ * @param instance message instance
815
+ */
816
+ serializeBinary(): Uint8Array;
817
+ /**
818
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
819
+ */
820
+ toObject(): GetTaskResponse.AsObject;
821
+ /**
822
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
823
+ */
824
+ toJSON(): GetTaskResponse.AsObject;
825
+ /**
826
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
827
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
828
+ * 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
829
+ */
830
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetTaskResponse.AsProtobufJSON;
831
+ }
832
+ export declare module GetTaskResponse {
833
+ /**
834
+ * Standard JavaScript object representation for GetTaskResponse
835
+ */
836
+ interface AsObject {
837
+ task?: TaskRaw.AsObject;
838
+ }
839
+ /**
840
+ * Protobuf JSON representation for GetTaskResponse
841
+ */
842
+ interface AsProtobufJSON {
843
+ task: TaskRaw.AsProtobufJSON | null;
844
+ }
845
+ }
846
+ /**
847
+ * Message implementation for armonik.api.grpc.v1.tasks.CancelTasksRequest
848
+ */
849
+ export declare class CancelTasksRequest implements GrpcMessage {
850
+ static id: string;
851
+ /**
852
+ * Deserialize binary data to message
853
+ * @param instance message instance
854
+ */
855
+ static deserializeBinary(bytes: ByteSource): CancelTasksRequest;
856
+ /**
857
+ * Check all the properties and set default protobuf values if necessary
858
+ * @param _instance message instance
859
+ */
860
+ static refineValues(_instance: CancelTasksRequest): void;
861
+ /**
862
+ * Deserializes / reads binary message into message instance using provided binary reader
863
+ * @param _instance message instance
864
+ * @param _reader binary reader instance
865
+ */
866
+ static deserializeBinaryFromReader(_instance: CancelTasksRequest, _reader: BinaryReader): void;
867
+ /**
868
+ * Serializes a message to binary format using provided binary reader
869
+ * @param _instance message instance
870
+ * @param _writer binary writer instance
871
+ */
872
+ static serializeBinaryToWriter(_instance: CancelTasksRequest, _writer: BinaryWriter): void;
873
+ private _taskIds;
874
+ /**
875
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
876
+ * @param _value initial values object or instance of CancelTasksRequest to deeply clone from
877
+ */
878
+ constructor(_value?: RecursivePartial<CancelTasksRequest.AsObject>);
879
+ get taskIds(): string[];
880
+ set taskIds(value: string[]);
881
+ /**
882
+ * Serialize message to binary data
883
+ * @param instance message instance
884
+ */
885
+ serializeBinary(): Uint8Array;
886
+ /**
887
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
888
+ */
889
+ toObject(): CancelTasksRequest.AsObject;
890
+ /**
891
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
892
+ */
893
+ toJSON(): CancelTasksRequest.AsObject;
894
+ /**
895
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
896
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
897
+ * 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
898
+ */
899
+ toProtobufJSON(options?: ToProtobufJSONOptions): CancelTasksRequest.AsProtobufJSON;
900
+ }
901
+ export declare module CancelTasksRequest {
902
+ /**
903
+ * Standard JavaScript object representation for CancelTasksRequest
904
+ */
905
+ interface AsObject {
906
+ taskIds: string[];
907
+ }
908
+ /**
909
+ * Protobuf JSON representation for CancelTasksRequest
910
+ */
911
+ interface AsProtobufJSON {
912
+ taskIds: string[];
913
+ }
914
+ }
915
+ /**
916
+ * Message implementation for armonik.api.grpc.v1.tasks.CancelTasksResponse
917
+ */
918
+ export declare class CancelTasksResponse implements GrpcMessage {
919
+ static id: string;
920
+ /**
921
+ * Deserialize binary data to message
922
+ * @param instance message instance
923
+ */
924
+ static deserializeBinary(bytes: ByteSource): CancelTasksResponse;
925
+ /**
926
+ * Check all the properties and set default protobuf values if necessary
927
+ * @param _instance message instance
928
+ */
929
+ static refineValues(_instance: CancelTasksResponse): void;
930
+ /**
931
+ * Deserializes / reads binary message into message instance using provided binary reader
932
+ * @param _instance message instance
933
+ * @param _reader binary reader instance
934
+ */
935
+ static deserializeBinaryFromReader(_instance: CancelTasksResponse, _reader: BinaryReader): void;
936
+ /**
937
+ * Serializes a message to binary format using provided binary reader
938
+ * @param _instance message instance
939
+ * @param _writer binary writer instance
940
+ */
941
+ static serializeBinaryToWriter(_instance: CancelTasksResponse, _writer: BinaryWriter): void;
942
+ private _tasks?;
943
+ /**
944
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
945
+ * @param _value initial values object or instance of CancelTasksResponse to deeply clone from
946
+ */
947
+ constructor(_value?: RecursivePartial<CancelTasksResponse.AsObject>);
948
+ get tasks(): TaskSummary[] | undefined;
949
+ set tasks(value: TaskSummary[] | undefined);
950
+ /**
951
+ * Serialize message to binary data
952
+ * @param instance message instance
953
+ */
954
+ serializeBinary(): Uint8Array;
955
+ /**
956
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
957
+ */
958
+ toObject(): CancelTasksResponse.AsObject;
959
+ /**
960
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
961
+ */
962
+ toJSON(): CancelTasksResponse.AsObject;
963
+ /**
964
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
965
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
966
+ * 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
967
+ */
968
+ toProtobufJSON(options?: ToProtobufJSONOptions): CancelTasksResponse.AsProtobufJSON;
969
+ }
970
+ export declare module CancelTasksResponse {
971
+ /**
972
+ * Standard JavaScript object representation for CancelTasksResponse
973
+ */
974
+ interface AsObject {
975
+ tasks?: TaskSummary.AsObject[];
976
+ }
977
+ /**
978
+ * Protobuf JSON representation for CancelTasksResponse
979
+ */
980
+ interface AsProtobufJSON {
981
+ tasks: TaskSummary.AsProtobufJSON[] | null;
982
+ }
983
+ }
984
+ /**
985
+ * Message implementation for armonik.api.grpc.v1.tasks.GetResultIdsRequest
986
+ */
987
+ export declare class GetResultIdsRequest implements GrpcMessage {
988
+ static id: string;
989
+ /**
990
+ * Deserialize binary data to message
991
+ * @param instance message instance
992
+ */
993
+ static deserializeBinary(bytes: ByteSource): GetResultIdsRequest;
994
+ /**
995
+ * Check all the properties and set default protobuf values if necessary
996
+ * @param _instance message instance
997
+ */
998
+ static refineValues(_instance: GetResultIdsRequest): void;
999
+ /**
1000
+ * Deserializes / reads binary message into message instance using provided binary reader
1001
+ * @param _instance message instance
1002
+ * @param _reader binary reader instance
1003
+ */
1004
+ static deserializeBinaryFromReader(_instance: GetResultIdsRequest, _reader: BinaryReader): void;
1005
+ /**
1006
+ * Serializes a message to binary format using provided binary reader
1007
+ * @param _instance message instance
1008
+ * @param _writer binary writer instance
1009
+ */
1010
+ static serializeBinaryToWriter(_instance: GetResultIdsRequest, _writer: BinaryWriter): void;
1011
+ private _taskId;
1012
+ /**
1013
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1014
+ * @param _value initial values object or instance of GetResultIdsRequest to deeply clone from
1015
+ */
1016
+ constructor(_value?: RecursivePartial<GetResultIdsRequest.AsObject>);
1017
+ get taskId(): string[];
1018
+ set taskId(value: string[]);
1019
+ /**
1020
+ * Serialize message to binary data
1021
+ * @param instance message instance
1022
+ */
1023
+ serializeBinary(): Uint8Array;
1024
+ /**
1025
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1026
+ */
1027
+ toObject(): GetResultIdsRequest.AsObject;
1028
+ /**
1029
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1030
+ */
1031
+ toJSON(): GetResultIdsRequest.AsObject;
1032
+ /**
1033
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1034
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1035
+ * 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
1036
+ */
1037
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetResultIdsRequest.AsProtobufJSON;
1038
+ }
1039
+ export declare module GetResultIdsRequest {
1040
+ /**
1041
+ * Standard JavaScript object representation for GetResultIdsRequest
1042
+ */
1043
+ interface AsObject {
1044
+ taskId: string[];
1045
+ }
1046
+ /**
1047
+ * Protobuf JSON representation for GetResultIdsRequest
1048
+ */
1049
+ interface AsProtobufJSON {
1050
+ taskId: string[];
1051
+ }
1052
+ }
1053
+ /**
1054
+ * Message implementation for armonik.api.grpc.v1.tasks.GetResultIdsResponse
1055
+ */
1056
+ export declare class GetResultIdsResponse implements GrpcMessage {
1057
+ static id: string;
1058
+ /**
1059
+ * Deserialize binary data to message
1060
+ * @param instance message instance
1061
+ */
1062
+ static deserializeBinary(bytes: ByteSource): GetResultIdsResponse;
1063
+ /**
1064
+ * Check all the properties and set default protobuf values if necessary
1065
+ * @param _instance message instance
1066
+ */
1067
+ static refineValues(_instance: GetResultIdsResponse): void;
1068
+ /**
1069
+ * Deserializes / reads binary message into message instance using provided binary reader
1070
+ * @param _instance message instance
1071
+ * @param _reader binary reader instance
1072
+ */
1073
+ static deserializeBinaryFromReader(_instance: GetResultIdsResponse, _reader: BinaryReader): void;
1074
+ /**
1075
+ * Serializes a message to binary format using provided binary reader
1076
+ * @param _instance message instance
1077
+ * @param _writer binary writer instance
1078
+ */
1079
+ static serializeBinaryToWriter(_instance: GetResultIdsResponse, _writer: BinaryWriter): void;
1080
+ private _taskResults?;
1081
+ /**
1082
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1083
+ * @param _value initial values object or instance of GetResultIdsResponse to deeply clone from
1084
+ */
1085
+ constructor(_value?: RecursivePartial<GetResultIdsResponse.AsObject>);
1086
+ get taskResults(): GetResultIdsResponse.MapTaskResult[] | undefined;
1087
+ set taskResults(value: GetResultIdsResponse.MapTaskResult[] | undefined);
1088
+ /**
1089
+ * Serialize message to binary data
1090
+ * @param instance message instance
1091
+ */
1092
+ serializeBinary(): Uint8Array;
1093
+ /**
1094
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1095
+ */
1096
+ toObject(): GetResultIdsResponse.AsObject;
1097
+ /**
1098
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1099
+ */
1100
+ toJSON(): GetResultIdsResponse.AsObject;
1101
+ /**
1102
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1103
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1104
+ * 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
1105
+ */
1106
+ toProtobufJSON(options?: ToProtobufJSONOptions): GetResultIdsResponse.AsProtobufJSON;
1107
+ }
1108
+ export declare module GetResultIdsResponse {
1109
+ /**
1110
+ * Standard JavaScript object representation for GetResultIdsResponse
1111
+ */
1112
+ interface AsObject {
1113
+ taskResults?: GetResultIdsResponse.MapTaskResult.AsObject[];
1114
+ }
1115
+ /**
1116
+ * Protobuf JSON representation for GetResultIdsResponse
1117
+ */
1118
+ interface AsProtobufJSON {
1119
+ taskResults: GetResultIdsResponse.MapTaskResult.AsProtobufJSON[] | null;
1120
+ }
1121
+ /**
1122
+ * Message implementation for armonik.api.grpc.v1.tasks.GetResultIdsResponse.MapTaskResult
1123
+ */
1124
+ class MapTaskResult implements GrpcMessage {
1125
+ static id: string;
1126
+ /**
1127
+ * Deserialize binary data to message
1128
+ * @param instance message instance
1129
+ */
1130
+ static deserializeBinary(bytes: ByteSource): MapTaskResult;
1131
+ /**
1132
+ * Check all the properties and set default protobuf values if necessary
1133
+ * @param _instance message instance
1134
+ */
1135
+ static refineValues(_instance: MapTaskResult): void;
1136
+ /**
1137
+ * Deserializes / reads binary message into message instance using provided binary reader
1138
+ * @param _instance message instance
1139
+ * @param _reader binary reader instance
1140
+ */
1141
+ static deserializeBinaryFromReader(_instance: MapTaskResult, _reader: BinaryReader): void;
1142
+ /**
1143
+ * Serializes a message to binary format using provided binary reader
1144
+ * @param _instance message instance
1145
+ * @param _writer binary writer instance
1146
+ */
1147
+ static serializeBinaryToWriter(_instance: MapTaskResult, _writer: BinaryWriter): void;
1148
+ private _taskId;
1149
+ private _resultIds;
1150
+ /**
1151
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1152
+ * @param _value initial values object or instance of MapTaskResult to deeply clone from
1153
+ */
1154
+ constructor(_value?: RecursivePartial<MapTaskResult.AsObject>);
1155
+ get taskId(): string;
1156
+ set taskId(value: string);
1157
+ get resultIds(): string[];
1158
+ set resultIds(value: string[]);
1159
+ /**
1160
+ * Serialize message to binary data
1161
+ * @param instance message instance
1162
+ */
1163
+ serializeBinary(): Uint8Array;
1164
+ /**
1165
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1166
+ */
1167
+ toObject(): MapTaskResult.AsObject;
1168
+ /**
1169
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1170
+ */
1171
+ toJSON(): MapTaskResult.AsObject;
1172
+ /**
1173
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1174
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1175
+ * 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
1176
+ */
1177
+ toProtobufJSON(options?: ToProtobufJSONOptions): MapTaskResult.AsProtobufJSON;
1178
+ }
1179
+ module MapTaskResult {
1180
+ /**
1181
+ * Standard JavaScript object representation for MapTaskResult
1182
+ */
1183
+ interface AsObject {
1184
+ taskId: string;
1185
+ resultIds: string[];
1186
+ }
1187
+ /**
1188
+ * Protobuf JSON representation for MapTaskResult
1189
+ */
1190
+ interface AsProtobufJSON {
1191
+ taskId: string;
1192
+ resultIds: string[];
1193
+ }
1194
+ }
1195
+ }
1196
+ /**
1197
+ * Message implementation for armonik.api.grpc.v1.tasks.CountTasksByStatusRequest
1198
+ */
1199
+ export declare class CountTasksByStatusRequest implements GrpcMessage {
1200
+ static id: string;
1201
+ /**
1202
+ * Deserialize binary data to message
1203
+ * @param instance message instance
1204
+ */
1205
+ static deserializeBinary(bytes: ByteSource): CountTasksByStatusRequest;
1206
+ /**
1207
+ * Check all the properties and set default protobuf values if necessary
1208
+ * @param _instance message instance
1209
+ */
1210
+ static refineValues(_instance: CountTasksByStatusRequest): void;
1211
+ /**
1212
+ * Deserializes / reads binary message into message instance using provided binary reader
1213
+ * @param _instance message instance
1214
+ * @param _reader binary reader instance
1215
+ */
1216
+ static deserializeBinaryFromReader(_instance: CountTasksByStatusRequest, _reader: BinaryReader): void;
1217
+ /**
1218
+ * Serializes a message to binary format using provided binary reader
1219
+ * @param _instance message instance
1220
+ * @param _writer binary writer instance
1221
+ */
1222
+ static serializeBinaryToWriter(_instance: CountTasksByStatusRequest, _writer: BinaryWriter): void;
1223
+ /**
1224
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1225
+ * @param _value initial values object or instance of CountTasksByStatusRequest to deeply clone from
1226
+ */
1227
+ constructor(_value?: RecursivePartial<CountTasksByStatusRequest.AsObject>);
1228
+ /**
1229
+ * Serialize message to binary data
1230
+ * @param instance message instance
1231
+ */
1232
+ serializeBinary(): Uint8Array;
1233
+ /**
1234
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1235
+ */
1236
+ toObject(): CountTasksByStatusRequest.AsObject;
1237
+ /**
1238
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1239
+ */
1240
+ toJSON(): CountTasksByStatusRequest.AsObject;
1241
+ /**
1242
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1243
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1244
+ * 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
1245
+ */
1246
+ toProtobufJSON(options?: ToProtobufJSONOptions): CountTasksByStatusRequest.AsProtobufJSON;
1247
+ }
1248
+ export declare module CountTasksByStatusRequest {
1249
+ /**
1250
+ * Standard JavaScript object representation for CountTasksByStatusRequest
1251
+ */
1252
+ interface AsObject {
1253
+ }
1254
+ /**
1255
+ * Protobuf JSON representation for CountTasksByStatusRequest
1256
+ */
1257
+ interface AsProtobufJSON {
1258
+ }
1259
+ }
1260
+ /**
1261
+ * Message implementation for armonik.api.grpc.v1.tasks.CountTasksByStatusResponse
1262
+ */
1263
+ export declare class CountTasksByStatusResponse implements GrpcMessage {
1264
+ static id: string;
1265
+ /**
1266
+ * Deserialize binary data to message
1267
+ * @param instance message instance
1268
+ */
1269
+ static deserializeBinary(bytes: ByteSource): CountTasksByStatusResponse;
1270
+ /**
1271
+ * Check all the properties and set default protobuf values if necessary
1272
+ * @param _instance message instance
1273
+ */
1274
+ static refineValues(_instance: CountTasksByStatusResponse): void;
1275
+ /**
1276
+ * Deserializes / reads binary message into message instance using provided binary reader
1277
+ * @param _instance message instance
1278
+ * @param _reader binary reader instance
1279
+ */
1280
+ static deserializeBinaryFromReader(_instance: CountTasksByStatusResponse, _reader: BinaryReader): void;
1281
+ /**
1282
+ * Serializes a message to binary format using provided binary reader
1283
+ * @param _instance message instance
1284
+ * @param _writer binary writer instance
1285
+ */
1286
+ static serializeBinaryToWriter(_instance: CountTasksByStatusResponse, _writer: BinaryWriter): void;
1287
+ private _status?;
1288
+ /**
1289
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1290
+ * @param _value initial values object or instance of CountTasksByStatusResponse to deeply clone from
1291
+ */
1292
+ constructor(_value?: RecursivePartial<CountTasksByStatusResponse.AsObject>);
1293
+ get status(): armonikApiGrpcV1003.StatusCount[] | undefined;
1294
+ set status(value: armonikApiGrpcV1003.StatusCount[] | undefined);
1295
+ /**
1296
+ * Serialize message to binary data
1297
+ * @param instance message instance
1298
+ */
1299
+ serializeBinary(): Uint8Array;
1300
+ /**
1301
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1302
+ */
1303
+ toObject(): CountTasksByStatusResponse.AsObject;
1304
+ /**
1305
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1306
+ */
1307
+ toJSON(): CountTasksByStatusResponse.AsObject;
1308
+ /**
1309
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1310
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1311
+ * 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
1312
+ */
1313
+ toProtobufJSON(options?: ToProtobufJSONOptions): CountTasksByStatusResponse.AsProtobufJSON;
1314
+ }
1315
+ export declare module CountTasksByStatusResponse {
1316
+ /**
1317
+ * Standard JavaScript object representation for CountTasksByStatusResponse
1318
+ */
1319
+ interface AsObject {
1320
+ status?: armonikApiGrpcV1003.StatusCount.AsObject[];
1321
+ }
1322
+ /**
1323
+ * Protobuf JSON representation for CountTasksByStatusResponse
1324
+ */
1325
+ interface AsProtobufJSON {
1326
+ status: armonikApiGrpcV1003.StatusCount.AsProtobufJSON[] | null;
1327
+ }
1328
+ }