@aneoconsultingfr/armonik.api.angular 3.9.0-edge.60.de40d5c → 3.9.0-edge.91.f4e5283
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.
- package/esm2022/lib/generated/applications-common.pb.mjs +137 -21
- package/esm2022/lib/generated/applications-service.pb.mjs +1 -1
- package/esm2022/lib/generated/applications-service.pbsc.mjs +10 -10
- package/esm2022/lib/generated/partitions-common.pb.mjs +139 -24
- package/esm2022/lib/generated/partitions-service.pb.mjs +1 -1
- package/esm2022/lib/generated/partitions-service.pbsc.mjs +10 -10
- package/esm2022/lib/generated/results-common.pb.mjs +139 -47
- package/esm2022/lib/generated/results-service.pb.mjs +1 -1
- package/esm2022/lib/generated/results-service.pbsc.mjs +39 -39
- package/esm2022/lib/generated/sessions-common.pb.mjs +140 -22
- package/esm2022/lib/generated/sessions-service.pb.mjs +1 -1
- package/esm2022/lib/generated/sessions-service.pbsc.mjs +18 -18
- package/esm2022/lib/generated/sort-direction.pb.mjs +13 -0
- package/esm2022/lib/generated/tasks-common.pb.mjs +317 -24
- package/esm2022/lib/generated/tasks-service.pb.mjs +1 -1
- package/esm2022/lib/generated/tasks-service.pbsc.mjs +30 -30
- package/esm2022/lib/index.mjs +5 -4
- package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs +981 -245
- package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs.map +1 -1
- package/lib/generated/applications-common.pb.d.ts +91 -20
- package/lib/generated/applications-service.pbsc.d.ts +9 -9
- package/lib/generated/partitions-common.pb.d.ts +93 -22
- package/lib/generated/partitions-service.pbsc.d.ts +9 -9
- package/lib/generated/results-common.pb.d.ts +94 -27
- package/lib/generated/results-service.pbsc.d.ts +38 -38
- package/lib/generated/sessions-common.pb.d.ts +94 -20
- package/lib/generated/sessions-service.pbsc.d.ts +17 -17
- package/lib/generated/sort-direction.pb.d.ts +5 -0
- package/lib/generated/tasks-common.pb.d.ts +196 -22
- package/lib/generated/tasks-service.pbsc.d.ts +29 -29
- package/lib/index.d.ts +4 -3
- package/package.json +1 -1
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
2
|
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
3
|
import * as armonikApiGrpcV1002 from './objects.pb';
|
|
4
|
+
import * as armonikApiGrpcV1Sort_direction003 from './sort-direction.pb';
|
|
5
|
+
export declare enum ApplicationRawField {
|
|
6
|
+
APPLICATION_RAW_FIELD_UNSPECIFIED = 0,
|
|
7
|
+
APPLICATION_RAW_FIELD_NAME = 1,
|
|
8
|
+
APPLICATION_RAW_FIELD_VERSION = 2,
|
|
9
|
+
APPLICATION_RAW_FIELD_NAMESPACE = 3,
|
|
10
|
+
APPLICATION_RAW_FIELD_SERVICE = 4
|
|
11
|
+
}
|
|
4
12
|
/**
|
|
5
13
|
* Message implementation for armonik.api.grpc.v1.applications.ApplicationRaw
|
|
6
14
|
*/
|
|
@@ -85,6 +93,81 @@ export declare module ApplicationRaw {
|
|
|
85
93
|
service: string;
|
|
86
94
|
}
|
|
87
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* Message implementation for armonik.api.grpc.v1.applications.ApplicationField
|
|
98
|
+
*/
|
|
99
|
+
export declare class ApplicationField implements GrpcMessage {
|
|
100
|
+
static id: string;
|
|
101
|
+
/**
|
|
102
|
+
* Deserialize binary data to message
|
|
103
|
+
* @param instance message instance
|
|
104
|
+
*/
|
|
105
|
+
static deserializeBinary(bytes: ByteSource): ApplicationField;
|
|
106
|
+
/**
|
|
107
|
+
* Check all the properties and set default protobuf values if necessary
|
|
108
|
+
* @param _instance message instance
|
|
109
|
+
*/
|
|
110
|
+
static refineValues(_instance: ApplicationField): void;
|
|
111
|
+
/**
|
|
112
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
113
|
+
* @param _instance message instance
|
|
114
|
+
* @param _reader binary reader instance
|
|
115
|
+
*/
|
|
116
|
+
static deserializeBinaryFromReader(_instance: ApplicationField, _reader: BinaryReader): void;
|
|
117
|
+
/**
|
|
118
|
+
* Serializes a message to binary format using provided binary reader
|
|
119
|
+
* @param _instance message instance
|
|
120
|
+
* @param _writer binary writer instance
|
|
121
|
+
*/
|
|
122
|
+
static serializeBinaryToWriter(_instance: ApplicationField, _writer: BinaryWriter): void;
|
|
123
|
+
private _applicationField;
|
|
124
|
+
private _field;
|
|
125
|
+
/**
|
|
126
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
127
|
+
* @param _value initial values object or instance of ApplicationField to deeply clone from
|
|
128
|
+
*/
|
|
129
|
+
constructor(_value?: RecursivePartial<ApplicationField.AsObject>);
|
|
130
|
+
get applicationField(): ApplicationRawField;
|
|
131
|
+
set applicationField(value: ApplicationRawField);
|
|
132
|
+
get field(): ApplicationField.FieldCase;
|
|
133
|
+
/**
|
|
134
|
+
* Serialize message to binary data
|
|
135
|
+
* @param instance message instance
|
|
136
|
+
*/
|
|
137
|
+
serializeBinary(): Uint8Array;
|
|
138
|
+
/**
|
|
139
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
140
|
+
*/
|
|
141
|
+
toObject(): ApplicationField.AsObject;
|
|
142
|
+
/**
|
|
143
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
144
|
+
*/
|
|
145
|
+
toJSON(): ApplicationField.AsObject;
|
|
146
|
+
/**
|
|
147
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
148
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
149
|
+
* 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
|
|
150
|
+
*/
|
|
151
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ApplicationField.AsProtobufJSON;
|
|
152
|
+
}
|
|
153
|
+
export declare module ApplicationField {
|
|
154
|
+
/**
|
|
155
|
+
* Standard JavaScript object representation for ApplicationField
|
|
156
|
+
*/
|
|
157
|
+
interface AsObject {
|
|
158
|
+
applicationField: ApplicationRawField;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Protobuf JSON representation for ApplicationField
|
|
162
|
+
*/
|
|
163
|
+
interface AsProtobufJSON {
|
|
164
|
+
applicationField: string | null;
|
|
165
|
+
}
|
|
166
|
+
enum FieldCase {
|
|
167
|
+
none = 0,
|
|
168
|
+
applicationField = 1
|
|
169
|
+
}
|
|
170
|
+
}
|
|
88
171
|
/**
|
|
89
172
|
* Message implementation for armonik.api.grpc.v1.applications.ListApplicationsRequest
|
|
90
173
|
*/
|
|
@@ -168,18 +251,6 @@ export declare module ListApplicationsRequest {
|
|
|
168
251
|
filter: ListApplicationsRequest.Filter.AsProtobufJSON | null;
|
|
169
252
|
sort: ListApplicationsRequest.Sort.AsProtobufJSON | null;
|
|
170
253
|
}
|
|
171
|
-
enum OrderByField {
|
|
172
|
-
ORDER_BY_FIELD_UNSPECIFIED = 0,
|
|
173
|
-
ORDER_BY_FIELD_NAME = 1,
|
|
174
|
-
ORDER_BY_FIELD_VERSION = 2,
|
|
175
|
-
ORDER_BY_FIELD_NAMESPACE = 3,
|
|
176
|
-
ORDER_BY_FIELD_SERVICE = 4
|
|
177
|
-
}
|
|
178
|
-
enum OrderDirection {
|
|
179
|
-
ORDER_DIRECTION_UNSPECIFIED = 0,
|
|
180
|
-
ORDER_DIRECTION_ASC = 1,
|
|
181
|
-
ORDER_DIRECTION_DESC = 2
|
|
182
|
-
}
|
|
183
254
|
/**
|
|
184
255
|
* Message implementation for armonik.api.grpc.v1.applications.ListApplicationsRequest.Filter
|
|
185
256
|
*/
|
|
@@ -291,17 +362,17 @@ export declare module ListApplicationsRequest {
|
|
|
291
362
|
* @param _writer binary writer instance
|
|
292
363
|
*/
|
|
293
364
|
static serializeBinaryToWriter(_instance: Sort, _writer: BinaryWriter): void;
|
|
294
|
-
private _fields
|
|
365
|
+
private _fields?;
|
|
295
366
|
private _direction;
|
|
296
367
|
/**
|
|
297
368
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
298
369
|
* @param _value initial values object or instance of Sort to deeply clone from
|
|
299
370
|
*/
|
|
300
371
|
constructor(_value?: RecursivePartial<Sort.AsObject>);
|
|
301
|
-
get fields():
|
|
302
|
-
set fields(value:
|
|
303
|
-
get direction():
|
|
304
|
-
set direction(value:
|
|
372
|
+
get fields(): ApplicationField[] | undefined;
|
|
373
|
+
set fields(value: ApplicationField[] | undefined);
|
|
374
|
+
get direction(): armonikApiGrpcV1Sort_direction003.SortDirection;
|
|
375
|
+
set direction(value: armonikApiGrpcV1Sort_direction003.SortDirection);
|
|
305
376
|
/**
|
|
306
377
|
* Serialize message to binary data
|
|
307
378
|
* @param instance message instance
|
|
@@ -327,14 +398,14 @@ export declare module ListApplicationsRequest {
|
|
|
327
398
|
* Standard JavaScript object representation for Sort
|
|
328
399
|
*/
|
|
329
400
|
interface AsObject {
|
|
330
|
-
fields
|
|
331
|
-
direction:
|
|
401
|
+
fields?: ApplicationField.AsObject[];
|
|
402
|
+
direction: armonikApiGrpcV1Sort_direction003.SortDirection;
|
|
332
403
|
}
|
|
333
404
|
/**
|
|
334
405
|
* Protobuf JSON representation for Sort
|
|
335
406
|
*/
|
|
336
407
|
interface AsProtobufJSON {
|
|
337
|
-
fields:
|
|
408
|
+
fields: ApplicationField.AsProtobufJSON[] | null;
|
|
338
409
|
direction: string;
|
|
339
410
|
}
|
|
340
411
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GrpcClientFactory, GrpcEvent, GrpcMetadata } from '@ngx-grpc/common';
|
|
2
2
|
import { GrpcHandler } from '@ngx-grpc/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import * as
|
|
4
|
+
import * as armonikApiGrpcV1Applications002 from './applications-common.pb';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Service client implementation for armonik.api.grpc.v1.applications.Applications
|
|
@@ -20,17 +20,17 @@ export declare class ApplicationsClient {
|
|
|
20
20
|
*
|
|
21
21
|
* @param requestMessage Request message
|
|
22
22
|
* @param requestMetadata Request metadata
|
|
23
|
-
* @returns Observable<GrpcEvent<
|
|
23
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Applications002.ListApplicationsResponse>>
|
|
24
24
|
*/
|
|
25
|
-
listApplications: (requestData:
|
|
25
|
+
listApplications: (requestData: armonikApiGrpcV1Applications002.ListApplicationsRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Applications002.ListApplicationsResponse>>;
|
|
26
26
|
/**
|
|
27
27
|
* Unary call: /armonik.api.grpc.v1.applications.Applications/CountTasksByStatus
|
|
28
28
|
*
|
|
29
29
|
* @param requestMessage Request message
|
|
30
30
|
* @param requestMetadata Request metadata
|
|
31
|
-
* @returns Observable<GrpcEvent<
|
|
31
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Applications002.CountTasksByStatusResponse>>
|
|
32
32
|
*/
|
|
33
|
-
countTasksByStatus: (requestData:
|
|
33
|
+
countTasksByStatus: (requestData: armonikApiGrpcV1Applications002.CountTasksByStatusRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Applications002.CountTasksByStatusResponse>>;
|
|
34
34
|
};
|
|
35
35
|
constructor(settings: any, clientFactory: GrpcClientFactory<any>, handler: GrpcHandler);
|
|
36
36
|
/**
|
|
@@ -38,17 +38,17 @@ export declare class ApplicationsClient {
|
|
|
38
38
|
*
|
|
39
39
|
* @param requestMessage Request message
|
|
40
40
|
* @param requestMetadata Request metadata
|
|
41
|
-
* @returns Observable<
|
|
41
|
+
* @returns Observable<armonikApiGrpcV1Applications002.ListApplicationsResponse>
|
|
42
42
|
*/
|
|
43
|
-
listApplications(requestData:
|
|
43
|
+
listApplications(requestData: armonikApiGrpcV1Applications002.ListApplicationsRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Applications002.ListApplicationsResponse>;
|
|
44
44
|
/**
|
|
45
45
|
* Unary call @/armonik.api.grpc.v1.applications.Applications/CountTasksByStatus
|
|
46
46
|
*
|
|
47
47
|
* @param requestMessage Request message
|
|
48
48
|
* @param requestMetadata Request metadata
|
|
49
|
-
* @returns Observable<
|
|
49
|
+
* @returns Observable<armonikApiGrpcV1Applications002.CountTasksByStatusResponse>
|
|
50
50
|
*/
|
|
51
|
-
countTasksByStatus(requestData:
|
|
51
|
+
countTasksByStatus(requestData: armonikApiGrpcV1Applications002.CountTasksByStatusRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Applications002.CountTasksByStatusResponse>;
|
|
52
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationsClient, [{ optional: true; }, null, null]>;
|
|
53
53
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationsClient>;
|
|
54
54
|
}
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
2
|
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
+
import * as armonikApiGrpcV1Sort_direction000 from './sort-direction.pb';
|
|
4
|
+
export declare enum PartitionRawField {
|
|
5
|
+
PARTITION_RAW_FIELD_UNSPECIFIED = 0,
|
|
6
|
+
PARTITION_RAW_FIELD_ID = 1,
|
|
7
|
+
PARTITION_RAW_FIELD_PARENT_PARTITION_IDS = 2,
|
|
8
|
+
PARTITION_RAW_FIELD_POD_RESERVED = 3,
|
|
9
|
+
PARTITION_RAW_FIELD_POD_MAX = 4,
|
|
10
|
+
PARTITION_RAW_FIELD_PREEMPTION_PERCENTAGE = 5,
|
|
11
|
+
PARTITION_RAW_FIELD_PRIORITY = 6
|
|
12
|
+
}
|
|
3
13
|
/**
|
|
4
14
|
* Message implementation for armonik.api.grpc.v1.partitions.PartitionRaw
|
|
5
15
|
*/
|
|
@@ -181,6 +191,81 @@ export declare module PartitionRaw {
|
|
|
181
191
|
}
|
|
182
192
|
}
|
|
183
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* Message implementation for armonik.api.grpc.v1.partitions.PartitionField
|
|
196
|
+
*/
|
|
197
|
+
export declare class PartitionField implements GrpcMessage {
|
|
198
|
+
static id: string;
|
|
199
|
+
/**
|
|
200
|
+
* Deserialize binary data to message
|
|
201
|
+
* @param instance message instance
|
|
202
|
+
*/
|
|
203
|
+
static deserializeBinary(bytes: ByteSource): PartitionField;
|
|
204
|
+
/**
|
|
205
|
+
* Check all the properties and set default protobuf values if necessary
|
|
206
|
+
* @param _instance message instance
|
|
207
|
+
*/
|
|
208
|
+
static refineValues(_instance: PartitionField): void;
|
|
209
|
+
/**
|
|
210
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
211
|
+
* @param _instance message instance
|
|
212
|
+
* @param _reader binary reader instance
|
|
213
|
+
*/
|
|
214
|
+
static deserializeBinaryFromReader(_instance: PartitionField, _reader: BinaryReader): void;
|
|
215
|
+
/**
|
|
216
|
+
* Serializes a message to binary format using provided binary reader
|
|
217
|
+
* @param _instance message instance
|
|
218
|
+
* @param _writer binary writer instance
|
|
219
|
+
*/
|
|
220
|
+
static serializeBinaryToWriter(_instance: PartitionField, _writer: BinaryWriter): void;
|
|
221
|
+
private _partitionRawField;
|
|
222
|
+
private _field;
|
|
223
|
+
/**
|
|
224
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
225
|
+
* @param _value initial values object or instance of PartitionField to deeply clone from
|
|
226
|
+
*/
|
|
227
|
+
constructor(_value?: RecursivePartial<PartitionField.AsObject>);
|
|
228
|
+
get partitionRawField(): PartitionRawField;
|
|
229
|
+
set partitionRawField(value: PartitionRawField);
|
|
230
|
+
get field(): PartitionField.FieldCase;
|
|
231
|
+
/**
|
|
232
|
+
* Serialize message to binary data
|
|
233
|
+
* @param instance message instance
|
|
234
|
+
*/
|
|
235
|
+
serializeBinary(): Uint8Array;
|
|
236
|
+
/**
|
|
237
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
238
|
+
*/
|
|
239
|
+
toObject(): PartitionField.AsObject;
|
|
240
|
+
/**
|
|
241
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
242
|
+
*/
|
|
243
|
+
toJSON(): PartitionField.AsObject;
|
|
244
|
+
/**
|
|
245
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
246
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
247
|
+
* 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
|
|
248
|
+
*/
|
|
249
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): PartitionField.AsProtobufJSON;
|
|
250
|
+
}
|
|
251
|
+
export declare module PartitionField {
|
|
252
|
+
/**
|
|
253
|
+
* Standard JavaScript object representation for PartitionField
|
|
254
|
+
*/
|
|
255
|
+
interface AsObject {
|
|
256
|
+
partitionRawField: PartitionRawField;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Protobuf JSON representation for PartitionField
|
|
260
|
+
*/
|
|
261
|
+
interface AsProtobufJSON {
|
|
262
|
+
partitionRawField: string | null;
|
|
263
|
+
}
|
|
264
|
+
enum FieldCase {
|
|
265
|
+
none = 0,
|
|
266
|
+
partitionRawField = 1
|
|
267
|
+
}
|
|
268
|
+
}
|
|
184
269
|
/**
|
|
185
270
|
* Message implementation for armonik.api.grpc.v1.partitions.ListPartitionsRequest
|
|
186
271
|
*/
|
|
@@ -264,20 +349,6 @@ export declare module ListPartitionsRequest {
|
|
|
264
349
|
filter: ListPartitionsRequest.Filter.AsProtobufJSON | null;
|
|
265
350
|
sort: ListPartitionsRequest.Sort.AsProtobufJSON | null;
|
|
266
351
|
}
|
|
267
|
-
enum OrderByField {
|
|
268
|
-
ORDER_BY_FIELD_UNSPECIFIED = 0,
|
|
269
|
-
ORDER_BY_FIELD_ID = 1,
|
|
270
|
-
ORDER_BY_FIELD_PARENT_PARTITION_IDS = 2,
|
|
271
|
-
ORDER_BY_FIELD_POD_RESERVED = 3,
|
|
272
|
-
ORDER_BY_FIELD_POD_MAX = 4,
|
|
273
|
-
ORDER_BY_FIELD_PREEMPTION_PERCENTAGE = 5,
|
|
274
|
-
ORDER_BY_FIELD_PRIORITY = 6
|
|
275
|
-
}
|
|
276
|
-
enum OrderDirection {
|
|
277
|
-
ORDER_DIRECTION_UNSPECIFIED = 0,
|
|
278
|
-
ORDER_DIRECTION_ASC = 1,
|
|
279
|
-
ORDER_DIRECTION_DESC = 2
|
|
280
|
-
}
|
|
281
352
|
/**
|
|
282
353
|
* Message implementation for armonik.api.grpc.v1.partitions.ListPartitionsRequest.Filter
|
|
283
354
|
*/
|
|
@@ -399,17 +470,17 @@ export declare module ListPartitionsRequest {
|
|
|
399
470
|
* @param _writer binary writer instance
|
|
400
471
|
*/
|
|
401
472
|
static serializeBinaryToWriter(_instance: Sort, _writer: BinaryWriter): void;
|
|
402
|
-
private _field
|
|
473
|
+
private _field?;
|
|
403
474
|
private _direction;
|
|
404
475
|
/**
|
|
405
476
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
406
477
|
* @param _value initial values object or instance of Sort to deeply clone from
|
|
407
478
|
*/
|
|
408
479
|
constructor(_value?: RecursivePartial<Sort.AsObject>);
|
|
409
|
-
get field():
|
|
410
|
-
set field(value:
|
|
411
|
-
get direction():
|
|
412
|
-
set direction(value:
|
|
480
|
+
get field(): PartitionField | undefined;
|
|
481
|
+
set field(value: PartitionField | undefined);
|
|
482
|
+
get direction(): armonikApiGrpcV1Sort_direction000.SortDirection;
|
|
483
|
+
set direction(value: armonikApiGrpcV1Sort_direction000.SortDirection);
|
|
413
484
|
/**
|
|
414
485
|
* Serialize message to binary data
|
|
415
486
|
* @param instance message instance
|
|
@@ -435,14 +506,14 @@ export declare module ListPartitionsRequest {
|
|
|
435
506
|
* Standard JavaScript object representation for Sort
|
|
436
507
|
*/
|
|
437
508
|
interface AsObject {
|
|
438
|
-
field
|
|
439
|
-
direction:
|
|
509
|
+
field?: PartitionField.AsObject;
|
|
510
|
+
direction: armonikApiGrpcV1Sort_direction000.SortDirection;
|
|
440
511
|
}
|
|
441
512
|
/**
|
|
442
513
|
* Protobuf JSON representation for Sort
|
|
443
514
|
*/
|
|
444
515
|
interface AsProtobufJSON {
|
|
445
|
-
field:
|
|
516
|
+
field: PartitionField.AsProtobufJSON | null;
|
|
446
517
|
direction: string;
|
|
447
518
|
}
|
|
448
519
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GrpcClientFactory, GrpcEvent, GrpcMetadata } from '@ngx-grpc/common';
|
|
2
2
|
import { GrpcHandler } from '@ngx-grpc/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import * as
|
|
4
|
+
import * as armonikApiGrpcV1Partitions001 from './partitions-common.pb';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Service client implementation for armonik.api.grpc.v1.partitions.Partitions
|
|
@@ -20,17 +20,17 @@ export declare class PartitionsClient {
|
|
|
20
20
|
*
|
|
21
21
|
* @param requestMessage Request message
|
|
22
22
|
* @param requestMetadata Request metadata
|
|
23
|
-
* @returns Observable<GrpcEvent<
|
|
23
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Partitions001.ListPartitionsResponse>>
|
|
24
24
|
*/
|
|
25
|
-
listPartitions: (requestData:
|
|
25
|
+
listPartitions: (requestData: armonikApiGrpcV1Partitions001.ListPartitionsRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Partitions001.ListPartitionsResponse>>;
|
|
26
26
|
/**
|
|
27
27
|
* Unary call: /armonik.api.grpc.v1.partitions.Partitions/GetPartition
|
|
28
28
|
*
|
|
29
29
|
* @param requestMessage Request message
|
|
30
30
|
* @param requestMetadata Request metadata
|
|
31
|
-
* @returns Observable<GrpcEvent<
|
|
31
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Partitions001.GetPartitionResponse>>
|
|
32
32
|
*/
|
|
33
|
-
getPartition: (requestData:
|
|
33
|
+
getPartition: (requestData: armonikApiGrpcV1Partitions001.GetPartitionRequest, requestMetadata?: GrpcMetadata) => Observable<GrpcEvent<armonikApiGrpcV1Partitions001.GetPartitionResponse>>;
|
|
34
34
|
};
|
|
35
35
|
constructor(settings: any, clientFactory: GrpcClientFactory<any>, handler: GrpcHandler);
|
|
36
36
|
/**
|
|
@@ -38,17 +38,17 @@ export declare class PartitionsClient {
|
|
|
38
38
|
*
|
|
39
39
|
* @param requestMessage Request message
|
|
40
40
|
* @param requestMetadata Request metadata
|
|
41
|
-
* @returns Observable<
|
|
41
|
+
* @returns Observable<armonikApiGrpcV1Partitions001.ListPartitionsResponse>
|
|
42
42
|
*/
|
|
43
|
-
listPartitions(requestData:
|
|
43
|
+
listPartitions(requestData: armonikApiGrpcV1Partitions001.ListPartitionsRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Partitions001.ListPartitionsResponse>;
|
|
44
44
|
/**
|
|
45
45
|
* Unary call @/armonik.api.grpc.v1.partitions.Partitions/GetPartition
|
|
46
46
|
*
|
|
47
47
|
* @param requestMessage Request message
|
|
48
48
|
* @param requestMetadata Request metadata
|
|
49
|
-
* @returns Observable<
|
|
49
|
+
* @returns Observable<armonikApiGrpcV1Partitions001.GetPartitionResponse>
|
|
50
50
|
*/
|
|
51
|
-
getPartition(requestData:
|
|
51
|
+
getPartition(requestData: armonikApiGrpcV1Partitions001.GetPartitionRequest, requestMetadata?: GrpcMetadata): Observable<armonikApiGrpcV1Partitions001.GetPartitionResponse>;
|
|
52
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<PartitionsClient, [{ optional: true; }, null, null]>;
|
|
53
53
|
static ɵprov: i0.ɵɵInjectableDeclaration<PartitionsClient>;
|
|
54
54
|
}
|
|
@@ -2,6 +2,17 @@ import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/
|
|
|
2
2
|
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
3
|
import * as googleProtobuf000 from '@ngx-grpc/well-known-types';
|
|
4
4
|
import * as armonikApiGrpcV1Result_status001 from './result-status.pb';
|
|
5
|
+
import * as armonikApiGrpcV1Sort_direction002 from './sort-direction.pb';
|
|
6
|
+
export declare enum ResultRawField {
|
|
7
|
+
RESULT_RAW_FIELD_UNSPECIFIED = 0,
|
|
8
|
+
RESULT_RAW_FIELD_SESSION_ID = 1,
|
|
9
|
+
RESULT_RAW_FIELD_NAME = 2,
|
|
10
|
+
RESULT_RAW_FIELD_OWNER_TASK_ID = 3,
|
|
11
|
+
RESULT_RAW_FIELD_STATUS = 4,
|
|
12
|
+
RESULT_RAW_FIELD_CREATED_AT = 5,
|
|
13
|
+
RESULT_RAW_FIELD_COMPLETED_AT = 6,
|
|
14
|
+
RESULT_RAW_FIELD_RESULT_ID = 7
|
|
15
|
+
}
|
|
5
16
|
/**
|
|
6
17
|
* Message implementation for armonik.api.grpc.v1.results.ResultRaw
|
|
7
18
|
*/
|
|
@@ -35,7 +46,6 @@ export declare class ResultRaw implements GrpcMessage {
|
|
|
35
46
|
private _status;
|
|
36
47
|
private _createdAt?;
|
|
37
48
|
private _completedAt?;
|
|
38
|
-
private _waitForDataAt?;
|
|
39
49
|
private _resultId;
|
|
40
50
|
/**
|
|
41
51
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
@@ -54,8 +64,6 @@ export declare class ResultRaw implements GrpcMessage {
|
|
|
54
64
|
set createdAt(value: googleProtobuf000.Timestamp | undefined);
|
|
55
65
|
get completedAt(): googleProtobuf000.Timestamp | undefined;
|
|
56
66
|
set completedAt(value: googleProtobuf000.Timestamp | undefined);
|
|
57
|
-
get waitForDataAt(): googleProtobuf000.Timestamp | undefined;
|
|
58
|
-
set waitForDataAt(value: googleProtobuf000.Timestamp | undefined);
|
|
59
67
|
get resultId(): string;
|
|
60
68
|
set resultId(value: string);
|
|
61
69
|
/**
|
|
@@ -89,7 +97,6 @@ export declare module ResultRaw {
|
|
|
89
97
|
status: armonikApiGrpcV1Result_status001.ResultStatus;
|
|
90
98
|
createdAt?: googleProtobuf000.Timestamp.AsObject;
|
|
91
99
|
completedAt?: googleProtobuf000.Timestamp.AsObject;
|
|
92
|
-
waitForDataAt?: googleProtobuf000.Timestamp.AsObject;
|
|
93
100
|
resultId: string;
|
|
94
101
|
}
|
|
95
102
|
/**
|
|
@@ -102,10 +109,84 @@ export declare module ResultRaw {
|
|
|
102
109
|
status: string;
|
|
103
110
|
createdAt: googleProtobuf000.Timestamp.AsProtobufJSON | null;
|
|
104
111
|
completedAt: googleProtobuf000.Timestamp.AsProtobufJSON | null;
|
|
105
|
-
waitForDataAt: googleProtobuf000.Timestamp.AsProtobufJSON | null;
|
|
106
112
|
resultId: string;
|
|
107
113
|
}
|
|
108
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* Message implementation for armonik.api.grpc.v1.results.ResultField
|
|
117
|
+
*/
|
|
118
|
+
export declare class ResultField implements GrpcMessage {
|
|
119
|
+
static id: string;
|
|
120
|
+
/**
|
|
121
|
+
* Deserialize binary data to message
|
|
122
|
+
* @param instance message instance
|
|
123
|
+
*/
|
|
124
|
+
static deserializeBinary(bytes: ByteSource): ResultField;
|
|
125
|
+
/**
|
|
126
|
+
* Check all the properties and set default protobuf values if necessary
|
|
127
|
+
* @param _instance message instance
|
|
128
|
+
*/
|
|
129
|
+
static refineValues(_instance: ResultField): void;
|
|
130
|
+
/**
|
|
131
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
132
|
+
* @param _instance message instance
|
|
133
|
+
* @param _reader binary reader instance
|
|
134
|
+
*/
|
|
135
|
+
static deserializeBinaryFromReader(_instance: ResultField, _reader: BinaryReader): void;
|
|
136
|
+
/**
|
|
137
|
+
* Serializes a message to binary format using provided binary reader
|
|
138
|
+
* @param _instance message instance
|
|
139
|
+
* @param _writer binary writer instance
|
|
140
|
+
*/
|
|
141
|
+
static serializeBinaryToWriter(_instance: ResultField, _writer: BinaryWriter): void;
|
|
142
|
+
private _resultRawField;
|
|
143
|
+
private _field;
|
|
144
|
+
/**
|
|
145
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
146
|
+
* @param _value initial values object or instance of ResultField to deeply clone from
|
|
147
|
+
*/
|
|
148
|
+
constructor(_value?: RecursivePartial<ResultField.AsObject>);
|
|
149
|
+
get resultRawField(): ResultRawField;
|
|
150
|
+
set resultRawField(value: ResultRawField);
|
|
151
|
+
get field(): ResultField.FieldCase;
|
|
152
|
+
/**
|
|
153
|
+
* Serialize message to binary data
|
|
154
|
+
* @param instance message instance
|
|
155
|
+
*/
|
|
156
|
+
serializeBinary(): Uint8Array;
|
|
157
|
+
/**
|
|
158
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
159
|
+
*/
|
|
160
|
+
toObject(): ResultField.AsObject;
|
|
161
|
+
/**
|
|
162
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
163
|
+
*/
|
|
164
|
+
toJSON(): ResultField.AsObject;
|
|
165
|
+
/**
|
|
166
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
167
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
168
|
+
* 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
|
|
169
|
+
*/
|
|
170
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ResultField.AsProtobufJSON;
|
|
171
|
+
}
|
|
172
|
+
export declare module ResultField {
|
|
173
|
+
/**
|
|
174
|
+
* Standard JavaScript object representation for ResultField
|
|
175
|
+
*/
|
|
176
|
+
interface AsObject {
|
|
177
|
+
resultRawField: ResultRawField;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Protobuf JSON representation for ResultField
|
|
181
|
+
*/
|
|
182
|
+
interface AsProtobufJSON {
|
|
183
|
+
resultRawField: string | null;
|
|
184
|
+
}
|
|
185
|
+
enum FieldCase {
|
|
186
|
+
none = 0,
|
|
187
|
+
resultRawField = 1
|
|
188
|
+
}
|
|
189
|
+
}
|
|
109
190
|
/**
|
|
110
191
|
* Message implementation for armonik.api.grpc.v1.results.ListResultsRequest
|
|
111
192
|
*/
|
|
@@ -189,20 +270,6 @@ export declare module ListResultsRequest {
|
|
|
189
270
|
filter: ListResultsRequest.Filter.AsProtobufJSON | null;
|
|
190
271
|
sort: ListResultsRequest.Sort.AsProtobufJSON | null;
|
|
191
272
|
}
|
|
192
|
-
enum OrderByField {
|
|
193
|
-
ORDER_BY_FIELD_UNSPECIFIED = 0,
|
|
194
|
-
ORDER_BY_FIELD_SESSION_ID = 1,
|
|
195
|
-
ORDER_BY_FIELD_NAME = 2,
|
|
196
|
-
ORDER_BY_FIELD_OWNER_TASK_ID = 3,
|
|
197
|
-
ORDER_BY_FIELD_STATUS = 4,
|
|
198
|
-
ORDER_BY_FIELD_CREATED_AT = 5,
|
|
199
|
-
ORDER_BY_FIELD_RESULT_ID = 6
|
|
200
|
-
}
|
|
201
|
-
enum OrderDirection {
|
|
202
|
-
ORDER_DIRECTION_UNSPECIFIED = 0,
|
|
203
|
-
ORDER_DIRECTION_ASC = 1,
|
|
204
|
-
ORDER_DIRECTION_DESC = 2
|
|
205
|
-
}
|
|
206
273
|
/**
|
|
207
274
|
* Message implementation for armonik.api.grpc.v1.results.ListResultsRequest.Filter
|
|
208
275
|
*/
|
|
@@ -349,17 +416,17 @@ export declare module ListResultsRequest {
|
|
|
349
416
|
* @param _writer binary writer instance
|
|
350
417
|
*/
|
|
351
418
|
static serializeBinaryToWriter(_instance: Sort, _writer: BinaryWriter): void;
|
|
352
|
-
private _field
|
|
419
|
+
private _field?;
|
|
353
420
|
private _direction;
|
|
354
421
|
/**
|
|
355
422
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
356
423
|
* @param _value initial values object or instance of Sort to deeply clone from
|
|
357
424
|
*/
|
|
358
425
|
constructor(_value?: RecursivePartial<Sort.AsObject>);
|
|
359
|
-
get field():
|
|
360
|
-
set field(value:
|
|
361
|
-
get direction():
|
|
362
|
-
set direction(value:
|
|
426
|
+
get field(): ResultField | undefined;
|
|
427
|
+
set field(value: ResultField | undefined);
|
|
428
|
+
get direction(): armonikApiGrpcV1Sort_direction002.SortDirection;
|
|
429
|
+
set direction(value: armonikApiGrpcV1Sort_direction002.SortDirection);
|
|
363
430
|
/**
|
|
364
431
|
* Serialize message to binary data
|
|
365
432
|
* @param instance message instance
|
|
@@ -385,14 +452,14 @@ export declare module ListResultsRequest {
|
|
|
385
452
|
* Standard JavaScript object representation for Sort
|
|
386
453
|
*/
|
|
387
454
|
interface AsObject {
|
|
388
|
-
field
|
|
389
|
-
direction:
|
|
455
|
+
field?: ResultField.AsObject;
|
|
456
|
+
direction: armonikApiGrpcV1Sort_direction002.SortDirection;
|
|
390
457
|
}
|
|
391
458
|
/**
|
|
392
459
|
* Protobuf JSON representation for Sort
|
|
393
460
|
*/
|
|
394
461
|
interface AsProtobufJSON {
|
|
395
|
-
field:
|
|
462
|
+
field: ResultField.AsProtobufJSON | null;
|
|
396
463
|
direction: string;
|
|
397
464
|
}
|
|
398
465
|
}
|