@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
|
@@ -6,6 +6,19 @@ import { InjectionToken, Injectable, Optional, Inject } from '@angular/core';
|
|
|
6
6
|
import * as i1 from '@ngx-grpc/core';
|
|
7
7
|
import { throwStatusErrors, takeMessages, GRPC_CLIENT_FACTORY } from '@ngx-grpc/core';
|
|
8
8
|
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
// @ts-nocheck
|
|
12
|
+
//
|
|
13
|
+
// THIS IS A GENERATED FILE
|
|
14
|
+
// DO NOT MODIFY IT! YOUR CHANGES WILL BE LOST
|
|
15
|
+
var SortDirection;
|
|
16
|
+
(function (SortDirection) {
|
|
17
|
+
SortDirection[SortDirection["SORT_DIRECTION_UNSPECIFIED"] = 0] = "SORT_DIRECTION_UNSPECIFIED";
|
|
18
|
+
SortDirection[SortDirection["SORT_DIRECTION_ASC"] = 1] = "SORT_DIRECTION_ASC";
|
|
19
|
+
SortDirection[SortDirection["SORT_DIRECTION_DESC"] = 2] = "SORT_DIRECTION_DESC";
|
|
20
|
+
})(SortDirection || (SortDirection = {}));
|
|
21
|
+
|
|
9
22
|
/* tslint:disable */
|
|
10
23
|
/* eslint-disable */
|
|
11
24
|
// @ts-nocheck
|
|
@@ -2740,6 +2753,14 @@ class TaskIdWithStatus {
|
|
|
2740
2753
|
}
|
|
2741
2754
|
}
|
|
2742
2755
|
|
|
2756
|
+
var ApplicationRawField;
|
|
2757
|
+
(function (ApplicationRawField) {
|
|
2758
|
+
ApplicationRawField[ApplicationRawField["APPLICATION_RAW_FIELD_UNSPECIFIED"] = 0] = "APPLICATION_RAW_FIELD_UNSPECIFIED";
|
|
2759
|
+
ApplicationRawField[ApplicationRawField["APPLICATION_RAW_FIELD_NAME"] = 1] = "APPLICATION_RAW_FIELD_NAME";
|
|
2760
|
+
ApplicationRawField[ApplicationRawField["APPLICATION_RAW_FIELD_VERSION"] = 2] = "APPLICATION_RAW_FIELD_VERSION";
|
|
2761
|
+
ApplicationRawField[ApplicationRawField["APPLICATION_RAW_FIELD_NAMESPACE"] = 3] = "APPLICATION_RAW_FIELD_NAMESPACE";
|
|
2762
|
+
ApplicationRawField[ApplicationRawField["APPLICATION_RAW_FIELD_SERVICE"] = 4] = "APPLICATION_RAW_FIELD_SERVICE";
|
|
2763
|
+
})(ApplicationRawField || (ApplicationRawField = {}));
|
|
2743
2764
|
/**
|
|
2744
2765
|
* Message implementation for armonik.api.grpc.v1.applications.ApplicationRaw
|
|
2745
2766
|
*/
|
|
@@ -2889,6 +2910,124 @@ class ApplicationRaw {
|
|
|
2889
2910
|
};
|
|
2890
2911
|
}
|
|
2891
2912
|
}
|
|
2913
|
+
/**
|
|
2914
|
+
* Message implementation for armonik.api.grpc.v1.applications.ApplicationField
|
|
2915
|
+
*/
|
|
2916
|
+
class ApplicationField {
|
|
2917
|
+
static { this.id = 'armonik.api.grpc.v1.applications.ApplicationField'; }
|
|
2918
|
+
/**
|
|
2919
|
+
* Deserialize binary data to message
|
|
2920
|
+
* @param instance message instance
|
|
2921
|
+
*/
|
|
2922
|
+
static deserializeBinary(bytes) {
|
|
2923
|
+
const instance = new ApplicationField();
|
|
2924
|
+
ApplicationField.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
2925
|
+
return instance;
|
|
2926
|
+
}
|
|
2927
|
+
/**
|
|
2928
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2929
|
+
* @param _instance message instance
|
|
2930
|
+
*/
|
|
2931
|
+
static refineValues(_instance) { }
|
|
2932
|
+
/**
|
|
2933
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2934
|
+
* @param _instance message instance
|
|
2935
|
+
* @param _reader binary reader instance
|
|
2936
|
+
*/
|
|
2937
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
2938
|
+
while (_reader.nextField()) {
|
|
2939
|
+
if (_reader.isEndGroup())
|
|
2940
|
+
break;
|
|
2941
|
+
switch (_reader.getFieldNumber()) {
|
|
2942
|
+
case 1:
|
|
2943
|
+
_instance.applicationField = _reader.readEnum();
|
|
2944
|
+
break;
|
|
2945
|
+
default:
|
|
2946
|
+
_reader.skipField();
|
|
2947
|
+
}
|
|
2948
|
+
}
|
|
2949
|
+
ApplicationField.refineValues(_instance);
|
|
2950
|
+
}
|
|
2951
|
+
/**
|
|
2952
|
+
* Serializes a message to binary format using provided binary reader
|
|
2953
|
+
* @param _instance message instance
|
|
2954
|
+
* @param _writer binary writer instance
|
|
2955
|
+
*/
|
|
2956
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
2957
|
+
if (_instance.applicationField || _instance.applicationField === 0) {
|
|
2958
|
+
_writer.writeEnum(1, _instance.applicationField);
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2961
|
+
/**
|
|
2962
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2963
|
+
* @param _value initial values object or instance of ApplicationField to deeply clone from
|
|
2964
|
+
*/
|
|
2965
|
+
constructor(_value) {
|
|
2966
|
+
this._field = ApplicationField.FieldCase.none;
|
|
2967
|
+
_value = _value || {};
|
|
2968
|
+
this.applicationField = _value.applicationField;
|
|
2969
|
+
ApplicationField.refineValues(this);
|
|
2970
|
+
}
|
|
2971
|
+
get applicationField() {
|
|
2972
|
+
return this._applicationField;
|
|
2973
|
+
}
|
|
2974
|
+
set applicationField(value) {
|
|
2975
|
+
if (value !== undefined && value !== null) {
|
|
2976
|
+
this._field = ApplicationField.FieldCase.applicationField;
|
|
2977
|
+
}
|
|
2978
|
+
this._applicationField = value;
|
|
2979
|
+
}
|
|
2980
|
+
get field() {
|
|
2981
|
+
return this._field;
|
|
2982
|
+
}
|
|
2983
|
+
/**
|
|
2984
|
+
* Serialize message to binary data
|
|
2985
|
+
* @param instance message instance
|
|
2986
|
+
*/
|
|
2987
|
+
serializeBinary() {
|
|
2988
|
+
const writer = new BinaryWriter();
|
|
2989
|
+
ApplicationField.serializeBinaryToWriter(this, writer);
|
|
2990
|
+
return writer.getResultBuffer();
|
|
2991
|
+
}
|
|
2992
|
+
/**
|
|
2993
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2994
|
+
*/
|
|
2995
|
+
toObject() {
|
|
2996
|
+
return {
|
|
2997
|
+
applicationField: this.applicationField
|
|
2998
|
+
};
|
|
2999
|
+
}
|
|
3000
|
+
/**
|
|
3001
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
3002
|
+
*/
|
|
3003
|
+
toJSON() {
|
|
3004
|
+
return this.toObject();
|
|
3005
|
+
}
|
|
3006
|
+
/**
|
|
3007
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
3008
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
3009
|
+
* 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
|
|
3010
|
+
*/
|
|
3011
|
+
toProtobufJSON(
|
|
3012
|
+
// @ts-ignore
|
|
3013
|
+
options) {
|
|
3014
|
+
return {
|
|
3015
|
+
applicationField: this.applicationField === undefined
|
|
3016
|
+
? null
|
|
3017
|
+
: ApplicationRawField[this.applicationField === null ||
|
|
3018
|
+
this.applicationField === undefined
|
|
3019
|
+
? 0
|
|
3020
|
+
: this.applicationField]
|
|
3021
|
+
};
|
|
3022
|
+
}
|
|
3023
|
+
}
|
|
3024
|
+
(function (ApplicationField) {
|
|
3025
|
+
let FieldCase;
|
|
3026
|
+
(function (FieldCase) {
|
|
3027
|
+
FieldCase[FieldCase["none"] = 0] = "none";
|
|
3028
|
+
FieldCase[FieldCase["applicationField"] = 1] = "applicationField";
|
|
3029
|
+
})(FieldCase = ApplicationField.FieldCase || (ApplicationField.FieldCase = {}));
|
|
3030
|
+
})(ApplicationField || (ApplicationField = {}));
|
|
2892
3031
|
/**
|
|
2893
3032
|
* Message implementation for armonik.api.grpc.v1.applications.ListApplicationsRequest
|
|
2894
3033
|
*/
|
|
@@ -3045,20 +3184,6 @@ class ListApplicationsRequest {
|
|
|
3045
3184
|
}
|
|
3046
3185
|
}
|
|
3047
3186
|
(function (ListApplicationsRequest) {
|
|
3048
|
-
let OrderByField;
|
|
3049
|
-
(function (OrderByField) {
|
|
3050
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_UNSPECIFIED"] = 0] = "ORDER_BY_FIELD_UNSPECIFIED";
|
|
3051
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_NAME"] = 1] = "ORDER_BY_FIELD_NAME";
|
|
3052
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_VERSION"] = 2] = "ORDER_BY_FIELD_VERSION";
|
|
3053
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_NAMESPACE"] = 3] = "ORDER_BY_FIELD_NAMESPACE";
|
|
3054
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_SERVICE"] = 4] = "ORDER_BY_FIELD_SERVICE";
|
|
3055
|
-
})(OrderByField = ListApplicationsRequest.OrderByField || (ListApplicationsRequest.OrderByField = {}));
|
|
3056
|
-
let OrderDirection;
|
|
3057
|
-
(function (OrderDirection) {
|
|
3058
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_UNSPECIFIED"] = 0] = "ORDER_DIRECTION_UNSPECIFIED";
|
|
3059
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_ASC"] = 1] = "ORDER_DIRECTION_ASC";
|
|
3060
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_DESC"] = 2] = "ORDER_DIRECTION_DESC";
|
|
3061
|
-
})(OrderDirection = ListApplicationsRequest.OrderDirection || (ListApplicationsRequest.OrderDirection = {}));
|
|
3062
3187
|
/**
|
|
3063
3188
|
* Message implementation for armonik.api.grpc.v1.applications.ListApplicationsRequest.Filter
|
|
3064
3189
|
*/
|
|
@@ -3242,7 +3367,9 @@ class ListApplicationsRequest {
|
|
|
3242
3367
|
break;
|
|
3243
3368
|
switch (_reader.getFieldNumber()) {
|
|
3244
3369
|
case 1:
|
|
3245
|
-
|
|
3370
|
+
const messageInitializer1 = new ApplicationField();
|
|
3371
|
+
_reader.readMessage(messageInitializer1, ApplicationField.deserializeBinaryFromReader);
|
|
3372
|
+
(_instance.fields = _instance.fields || []).push(messageInitializer1);
|
|
3246
3373
|
break;
|
|
3247
3374
|
case 2:
|
|
3248
3375
|
_instance.direction = _reader.readEnum();
|
|
@@ -3260,7 +3387,7 @@ class ListApplicationsRequest {
|
|
|
3260
3387
|
*/
|
|
3261
3388
|
static serializeBinaryToWriter(_instance, _writer) {
|
|
3262
3389
|
if (_instance.fields && _instance.fields.length) {
|
|
3263
|
-
_writer.
|
|
3390
|
+
_writer.writeRepeatedMessage(1, _instance.fields, ApplicationField.serializeBinaryToWriter);
|
|
3264
3391
|
}
|
|
3265
3392
|
if (_instance.direction) {
|
|
3266
3393
|
_writer.writeEnum(2, _instance.direction);
|
|
@@ -3272,7 +3399,7 @@ class ListApplicationsRequest {
|
|
|
3272
3399
|
*/
|
|
3273
3400
|
constructor(_value) {
|
|
3274
3401
|
_value = _value || {};
|
|
3275
|
-
this.fields = (_value.fields || []).
|
|
3402
|
+
this.fields = (_value.fields || []).map(m => new ApplicationField(m));
|
|
3276
3403
|
this.direction = _value.direction;
|
|
3277
3404
|
Sort.refineValues(this);
|
|
3278
3405
|
}
|
|
@@ -3302,7 +3429,7 @@ class ListApplicationsRequest {
|
|
|
3302
3429
|
*/
|
|
3303
3430
|
toObject() {
|
|
3304
3431
|
return {
|
|
3305
|
-
fields: (this.fields || []).
|
|
3432
|
+
fields: (this.fields || []).map(m => m.toObject()),
|
|
3306
3433
|
direction: this.direction
|
|
3307
3434
|
};
|
|
3308
3435
|
}
|
|
@@ -3321,8 +3448,8 @@ class ListApplicationsRequest {
|
|
|
3321
3448
|
// @ts-ignore
|
|
3322
3449
|
options) {
|
|
3323
3450
|
return {
|
|
3324
|
-
fields: (this.fields || []).map(
|
|
3325
|
-
direction:
|
|
3451
|
+
fields: (this.fields || []).map(m => m.toProtobufJSON(options)),
|
|
3452
|
+
direction: SortDirection[this.direction === null || this.direction === undefined
|
|
3326
3453
|
? 0
|
|
3327
3454
|
: this.direction]
|
|
3328
3455
|
};
|
|
@@ -3727,7 +3854,7 @@ class ApplicationsClient {
|
|
|
3727
3854
|
*
|
|
3728
3855
|
* @param requestMessage Request message
|
|
3729
3856
|
* @param requestMetadata Request metadata
|
|
3730
|
-
* @returns Observable<GrpcEvent<
|
|
3857
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Applications002.ListApplicationsResponse>>
|
|
3731
3858
|
*/
|
|
3732
3859
|
listApplications: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
3733
3860
|
return this.handler.handle({
|
|
@@ -3745,7 +3872,7 @@ class ApplicationsClient {
|
|
|
3745
3872
|
*
|
|
3746
3873
|
* @param requestMessage Request message
|
|
3747
3874
|
* @param requestMetadata Request metadata
|
|
3748
|
-
* @returns Observable<GrpcEvent<
|
|
3875
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Applications002.CountTasksByStatusResponse>>
|
|
3749
3876
|
*/
|
|
3750
3877
|
countTasksByStatus: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
3751
3878
|
return this.handler.handle({
|
|
@@ -3766,7 +3893,7 @@ class ApplicationsClient {
|
|
|
3766
3893
|
*
|
|
3767
3894
|
* @param requestMessage Request message
|
|
3768
3895
|
* @param requestMetadata Request metadata
|
|
3769
|
-
* @returns Observable<
|
|
3896
|
+
* @returns Observable<armonikApiGrpcV1Applications002.ListApplicationsResponse>
|
|
3770
3897
|
*/
|
|
3771
3898
|
listApplications(requestData, requestMetadata = new GrpcMetadata()) {
|
|
3772
3899
|
return this.$raw
|
|
@@ -3778,7 +3905,7 @@ class ApplicationsClient {
|
|
|
3778
3905
|
*
|
|
3779
3906
|
* @param requestMessage Request message
|
|
3780
3907
|
* @param requestMetadata Request metadata
|
|
3781
|
-
* @returns Observable<
|
|
3908
|
+
* @returns Observable<armonikApiGrpcV1Applications002.CountTasksByStatusResponse>
|
|
3782
3909
|
*/
|
|
3783
3910
|
countTasksByStatus(requestData, requestMetadata = new GrpcMetadata()) {
|
|
3784
3911
|
return this.$raw
|
|
@@ -4203,6 +4330,17 @@ var ResultStatus;
|
|
|
4203
4330
|
})(ResultStatus || (ResultStatus = {}));
|
|
4204
4331
|
|
|
4205
4332
|
/* tslint:disable */
|
|
4333
|
+
var ResultRawField;
|
|
4334
|
+
(function (ResultRawField) {
|
|
4335
|
+
ResultRawField[ResultRawField["RESULT_RAW_FIELD_UNSPECIFIED"] = 0] = "RESULT_RAW_FIELD_UNSPECIFIED";
|
|
4336
|
+
ResultRawField[ResultRawField["RESULT_RAW_FIELD_SESSION_ID"] = 1] = "RESULT_RAW_FIELD_SESSION_ID";
|
|
4337
|
+
ResultRawField[ResultRawField["RESULT_RAW_FIELD_NAME"] = 2] = "RESULT_RAW_FIELD_NAME";
|
|
4338
|
+
ResultRawField[ResultRawField["RESULT_RAW_FIELD_OWNER_TASK_ID"] = 3] = "RESULT_RAW_FIELD_OWNER_TASK_ID";
|
|
4339
|
+
ResultRawField[ResultRawField["RESULT_RAW_FIELD_STATUS"] = 4] = "RESULT_RAW_FIELD_STATUS";
|
|
4340
|
+
ResultRawField[ResultRawField["RESULT_RAW_FIELD_CREATED_AT"] = 5] = "RESULT_RAW_FIELD_CREATED_AT";
|
|
4341
|
+
ResultRawField[ResultRawField["RESULT_RAW_FIELD_COMPLETED_AT"] = 6] = "RESULT_RAW_FIELD_COMPLETED_AT";
|
|
4342
|
+
ResultRawField[ResultRawField["RESULT_RAW_FIELD_RESULT_ID"] = 7] = "RESULT_RAW_FIELD_RESULT_ID";
|
|
4343
|
+
})(ResultRawField || (ResultRawField = {}));
|
|
4206
4344
|
/**
|
|
4207
4345
|
* Message implementation for armonik.api.grpc.v1.results.ResultRaw
|
|
4208
4346
|
*/
|
|
@@ -4228,7 +4366,6 @@ class ResultRaw {
|
|
|
4228
4366
|
_instance.status = _instance.status || 0;
|
|
4229
4367
|
_instance.createdAt = _instance.createdAt || undefined;
|
|
4230
4368
|
_instance.completedAt = _instance.completedAt || undefined;
|
|
4231
|
-
_instance.waitForDataAt = _instance.waitForDataAt || undefined;
|
|
4232
4369
|
_instance.resultId = _instance.resultId || '';
|
|
4233
4370
|
}
|
|
4234
4371
|
/**
|
|
@@ -4261,10 +4398,6 @@ class ResultRaw {
|
|
|
4261
4398
|
_instance.completedAt = new googleProtobuf002.Timestamp();
|
|
4262
4399
|
_reader.readMessage(_instance.completedAt, googleProtobuf002.Timestamp.deserializeBinaryFromReader);
|
|
4263
4400
|
break;
|
|
4264
|
-
case 7:
|
|
4265
|
-
_instance.waitForDataAt = new googleProtobuf002.Timestamp();
|
|
4266
|
-
_reader.readMessage(_instance.waitForDataAt, googleProtobuf002.Timestamp.deserializeBinaryFromReader);
|
|
4267
|
-
break;
|
|
4268
4401
|
case 8:
|
|
4269
4402
|
_instance.resultId = _reader.readString();
|
|
4270
4403
|
break;
|
|
@@ -4298,9 +4431,6 @@ class ResultRaw {
|
|
|
4298
4431
|
if (_instance.completedAt) {
|
|
4299
4432
|
_writer.writeMessage(6, _instance.completedAt, googleProtobuf002.Timestamp.serializeBinaryToWriter);
|
|
4300
4433
|
}
|
|
4301
|
-
if (_instance.waitForDataAt) {
|
|
4302
|
-
_writer.writeMessage(7, _instance.waitForDataAt, googleProtobuf002.Timestamp.serializeBinaryToWriter);
|
|
4303
|
-
}
|
|
4304
4434
|
if (_instance.resultId) {
|
|
4305
4435
|
_writer.writeString(8, _instance.resultId);
|
|
4306
4436
|
}
|
|
@@ -4321,9 +4451,6 @@ class ResultRaw {
|
|
|
4321
4451
|
this.completedAt = _value.completedAt
|
|
4322
4452
|
? new googleProtobuf002.Timestamp(_value.completedAt)
|
|
4323
4453
|
: undefined;
|
|
4324
|
-
this.waitForDataAt = _value.waitForDataAt
|
|
4325
|
-
? new googleProtobuf002.Timestamp(_value.waitForDataAt)
|
|
4326
|
-
: undefined;
|
|
4327
4454
|
this.resultId = _value.resultId;
|
|
4328
4455
|
ResultRaw.refineValues(this);
|
|
4329
4456
|
}
|
|
@@ -4363,12 +4490,6 @@ class ResultRaw {
|
|
|
4363
4490
|
set completedAt(value) {
|
|
4364
4491
|
this._completedAt = value;
|
|
4365
4492
|
}
|
|
4366
|
-
get waitForDataAt() {
|
|
4367
|
-
return this._waitForDataAt;
|
|
4368
|
-
}
|
|
4369
|
-
set waitForDataAt(value) {
|
|
4370
|
-
this._waitForDataAt = value;
|
|
4371
|
-
}
|
|
4372
4493
|
get resultId() {
|
|
4373
4494
|
return this._resultId;
|
|
4374
4495
|
}
|
|
@@ -4395,9 +4516,6 @@ class ResultRaw {
|
|
|
4395
4516
|
status: this.status,
|
|
4396
4517
|
createdAt: this.createdAt ? this.createdAt.toObject() : undefined,
|
|
4397
4518
|
completedAt: this.completedAt ? this.completedAt.toObject() : undefined,
|
|
4398
|
-
waitForDataAt: this.waitForDataAt
|
|
4399
|
-
? this.waitForDataAt.toObject()
|
|
4400
|
-
: undefined,
|
|
4401
4519
|
resultId: this.resultId
|
|
4402
4520
|
};
|
|
4403
4521
|
}
|
|
@@ -4424,13 +4542,127 @@ class ResultRaw {
|
|
|
4424
4542
|
completedAt: this.completedAt
|
|
4425
4543
|
? this.completedAt.toProtobufJSON(options)
|
|
4426
4544
|
: null,
|
|
4427
|
-
waitForDataAt: this.waitForDataAt
|
|
4428
|
-
? this.waitForDataAt.toProtobufJSON(options)
|
|
4429
|
-
: null,
|
|
4430
4545
|
resultId: this.resultId
|
|
4431
4546
|
};
|
|
4432
4547
|
}
|
|
4433
4548
|
}
|
|
4549
|
+
/**
|
|
4550
|
+
* Message implementation for armonik.api.grpc.v1.results.ResultField
|
|
4551
|
+
*/
|
|
4552
|
+
class ResultField {
|
|
4553
|
+
static { this.id = 'armonik.api.grpc.v1.results.ResultField'; }
|
|
4554
|
+
/**
|
|
4555
|
+
* Deserialize binary data to message
|
|
4556
|
+
* @param instance message instance
|
|
4557
|
+
*/
|
|
4558
|
+
static deserializeBinary(bytes) {
|
|
4559
|
+
const instance = new ResultField();
|
|
4560
|
+
ResultField.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
4561
|
+
return instance;
|
|
4562
|
+
}
|
|
4563
|
+
/**
|
|
4564
|
+
* Check all the properties and set default protobuf values if necessary
|
|
4565
|
+
* @param _instance message instance
|
|
4566
|
+
*/
|
|
4567
|
+
static refineValues(_instance) { }
|
|
4568
|
+
/**
|
|
4569
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
4570
|
+
* @param _instance message instance
|
|
4571
|
+
* @param _reader binary reader instance
|
|
4572
|
+
*/
|
|
4573
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
4574
|
+
while (_reader.nextField()) {
|
|
4575
|
+
if (_reader.isEndGroup())
|
|
4576
|
+
break;
|
|
4577
|
+
switch (_reader.getFieldNumber()) {
|
|
4578
|
+
case 1:
|
|
4579
|
+
_instance.resultRawField = _reader.readEnum();
|
|
4580
|
+
break;
|
|
4581
|
+
default:
|
|
4582
|
+
_reader.skipField();
|
|
4583
|
+
}
|
|
4584
|
+
}
|
|
4585
|
+
ResultField.refineValues(_instance);
|
|
4586
|
+
}
|
|
4587
|
+
/**
|
|
4588
|
+
* Serializes a message to binary format using provided binary reader
|
|
4589
|
+
* @param _instance message instance
|
|
4590
|
+
* @param _writer binary writer instance
|
|
4591
|
+
*/
|
|
4592
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
4593
|
+
if (_instance.resultRawField || _instance.resultRawField === 0) {
|
|
4594
|
+
_writer.writeEnum(1, _instance.resultRawField);
|
|
4595
|
+
}
|
|
4596
|
+
}
|
|
4597
|
+
/**
|
|
4598
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
4599
|
+
* @param _value initial values object or instance of ResultField to deeply clone from
|
|
4600
|
+
*/
|
|
4601
|
+
constructor(_value) {
|
|
4602
|
+
this._field = ResultField.FieldCase.none;
|
|
4603
|
+
_value = _value || {};
|
|
4604
|
+
this.resultRawField = _value.resultRawField;
|
|
4605
|
+
ResultField.refineValues(this);
|
|
4606
|
+
}
|
|
4607
|
+
get resultRawField() {
|
|
4608
|
+
return this._resultRawField;
|
|
4609
|
+
}
|
|
4610
|
+
set resultRawField(value) {
|
|
4611
|
+
if (value !== undefined && value !== null) {
|
|
4612
|
+
this._field = ResultField.FieldCase.resultRawField;
|
|
4613
|
+
}
|
|
4614
|
+
this._resultRawField = value;
|
|
4615
|
+
}
|
|
4616
|
+
get field() {
|
|
4617
|
+
return this._field;
|
|
4618
|
+
}
|
|
4619
|
+
/**
|
|
4620
|
+
* Serialize message to binary data
|
|
4621
|
+
* @param instance message instance
|
|
4622
|
+
*/
|
|
4623
|
+
serializeBinary() {
|
|
4624
|
+
const writer = new BinaryWriter();
|
|
4625
|
+
ResultField.serializeBinaryToWriter(this, writer);
|
|
4626
|
+
return writer.getResultBuffer();
|
|
4627
|
+
}
|
|
4628
|
+
/**
|
|
4629
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
4630
|
+
*/
|
|
4631
|
+
toObject() {
|
|
4632
|
+
return {
|
|
4633
|
+
resultRawField: this.resultRawField
|
|
4634
|
+
};
|
|
4635
|
+
}
|
|
4636
|
+
/**
|
|
4637
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
4638
|
+
*/
|
|
4639
|
+
toJSON() {
|
|
4640
|
+
return this.toObject();
|
|
4641
|
+
}
|
|
4642
|
+
/**
|
|
4643
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
4644
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
4645
|
+
* 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
|
|
4646
|
+
*/
|
|
4647
|
+
toProtobufJSON(
|
|
4648
|
+
// @ts-ignore
|
|
4649
|
+
options) {
|
|
4650
|
+
return {
|
|
4651
|
+
resultRawField: this.resultRawField === undefined
|
|
4652
|
+
? null
|
|
4653
|
+
: ResultRawField[this.resultRawField === null || this.resultRawField === undefined
|
|
4654
|
+
? 0
|
|
4655
|
+
: this.resultRawField]
|
|
4656
|
+
};
|
|
4657
|
+
}
|
|
4658
|
+
}
|
|
4659
|
+
(function (ResultField) {
|
|
4660
|
+
let FieldCase;
|
|
4661
|
+
(function (FieldCase) {
|
|
4662
|
+
FieldCase[FieldCase["none"] = 0] = "none";
|
|
4663
|
+
FieldCase[FieldCase["resultRawField"] = 1] = "resultRawField";
|
|
4664
|
+
})(FieldCase = ResultField.FieldCase || (ResultField.FieldCase = {}));
|
|
4665
|
+
})(ResultField || (ResultField = {}));
|
|
4434
4666
|
/**
|
|
4435
4667
|
* Message implementation for armonik.api.grpc.v1.results.ListResultsRequest
|
|
4436
4668
|
*/
|
|
@@ -4587,22 +4819,6 @@ class ListResultsRequest {
|
|
|
4587
4819
|
}
|
|
4588
4820
|
}
|
|
4589
4821
|
(function (ListResultsRequest) {
|
|
4590
|
-
let OrderByField;
|
|
4591
|
-
(function (OrderByField) {
|
|
4592
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_UNSPECIFIED"] = 0] = "ORDER_BY_FIELD_UNSPECIFIED";
|
|
4593
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_SESSION_ID"] = 1] = "ORDER_BY_FIELD_SESSION_ID";
|
|
4594
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_NAME"] = 2] = "ORDER_BY_FIELD_NAME";
|
|
4595
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_OWNER_TASK_ID"] = 3] = "ORDER_BY_FIELD_OWNER_TASK_ID";
|
|
4596
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_STATUS"] = 4] = "ORDER_BY_FIELD_STATUS";
|
|
4597
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_CREATED_AT"] = 5] = "ORDER_BY_FIELD_CREATED_AT";
|
|
4598
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_RESULT_ID"] = 6] = "ORDER_BY_FIELD_RESULT_ID";
|
|
4599
|
-
})(OrderByField = ListResultsRequest.OrderByField || (ListResultsRequest.OrderByField = {}));
|
|
4600
|
-
let OrderDirection;
|
|
4601
|
-
(function (OrderDirection) {
|
|
4602
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_UNSPECIFIED"] = 0] = "ORDER_DIRECTION_UNSPECIFIED";
|
|
4603
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_ASC"] = 1] = "ORDER_DIRECTION_ASC";
|
|
4604
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_DESC"] = 2] = "ORDER_DIRECTION_DESC";
|
|
4605
|
-
})(OrderDirection = ListResultsRequest.OrderDirection || (ListResultsRequest.OrderDirection = {}));
|
|
4606
4822
|
/**
|
|
4607
4823
|
* Message implementation for armonik.api.grpc.v1.results.ListResultsRequest.Filter
|
|
4608
4824
|
*/
|
|
@@ -4926,7 +5142,7 @@ class ListResultsRequest {
|
|
|
4926
5142
|
* @param _instance message instance
|
|
4927
5143
|
*/
|
|
4928
5144
|
static refineValues(_instance) {
|
|
4929
|
-
_instance.field = _instance.field ||
|
|
5145
|
+
_instance.field = _instance.field || undefined;
|
|
4930
5146
|
_instance.direction = _instance.direction || 0;
|
|
4931
5147
|
}
|
|
4932
5148
|
/**
|
|
@@ -4940,7 +5156,8 @@ class ListResultsRequest {
|
|
|
4940
5156
|
break;
|
|
4941
5157
|
switch (_reader.getFieldNumber()) {
|
|
4942
5158
|
case 1:
|
|
4943
|
-
_instance.field =
|
|
5159
|
+
_instance.field = new ResultField();
|
|
5160
|
+
_reader.readMessage(_instance.field, ResultField.deserializeBinaryFromReader);
|
|
4944
5161
|
break;
|
|
4945
5162
|
case 2:
|
|
4946
5163
|
_instance.direction = _reader.readEnum();
|
|
@@ -4958,7 +5175,7 @@ class ListResultsRequest {
|
|
|
4958
5175
|
*/
|
|
4959
5176
|
static serializeBinaryToWriter(_instance, _writer) {
|
|
4960
5177
|
if (_instance.field) {
|
|
4961
|
-
_writer.
|
|
5178
|
+
_writer.writeMessage(1, _instance.field, ResultField.serializeBinaryToWriter);
|
|
4962
5179
|
}
|
|
4963
5180
|
if (_instance.direction) {
|
|
4964
5181
|
_writer.writeEnum(2, _instance.direction);
|
|
@@ -4970,7 +5187,7 @@ class ListResultsRequest {
|
|
|
4970
5187
|
*/
|
|
4971
5188
|
constructor(_value) {
|
|
4972
5189
|
_value = _value || {};
|
|
4973
|
-
this.field = _value.field;
|
|
5190
|
+
this.field = _value.field ? new ResultField(_value.field) : undefined;
|
|
4974
5191
|
this.direction = _value.direction;
|
|
4975
5192
|
Sort.refineValues(this);
|
|
4976
5193
|
}
|
|
@@ -5000,7 +5217,7 @@ class ListResultsRequest {
|
|
|
5000
5217
|
*/
|
|
5001
5218
|
toObject() {
|
|
5002
5219
|
return {
|
|
5003
|
-
field: this.field,
|
|
5220
|
+
field: this.field ? this.field.toObject() : undefined,
|
|
5004
5221
|
direction: this.direction
|
|
5005
5222
|
};
|
|
5006
5223
|
}
|
|
@@ -5019,8 +5236,8 @@ class ListResultsRequest {
|
|
|
5019
5236
|
// @ts-ignore
|
|
5020
5237
|
options) {
|
|
5021
5238
|
return {
|
|
5022
|
-
field:
|
|
5023
|
-
direction:
|
|
5239
|
+
field: this.field ? this.field.toProtobufJSON(options) : null,
|
|
5240
|
+
direction: SortDirection[this.direction === null || this.direction === undefined
|
|
5024
5241
|
? 0
|
|
5025
5242
|
: this.direction]
|
|
5026
5243
|
};
|
|
@@ -7343,7 +7560,7 @@ class ResultsClient {
|
|
|
7343
7560
|
*
|
|
7344
7561
|
* @param requestMessage Request message
|
|
7345
7562
|
* @param requestMetadata Request metadata
|
|
7346
|
-
* @returns Observable<GrpcEvent<
|
|
7563
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Results006.ListResultsResponse>>
|
|
7347
7564
|
*/
|
|
7348
7565
|
listResults: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
7349
7566
|
return this.handler.handle({
|
|
@@ -7361,7 +7578,7 @@ class ResultsClient {
|
|
|
7361
7578
|
*
|
|
7362
7579
|
* @param requestMessage Request message
|
|
7363
7580
|
* @param requestMetadata Request metadata
|
|
7364
|
-
* @returns Observable<GrpcEvent<
|
|
7581
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Results006.GetResultResponse>>
|
|
7365
7582
|
*/
|
|
7366
7583
|
getResult: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
7367
7584
|
return this.handler.handle({
|
|
@@ -7379,7 +7596,7 @@ class ResultsClient {
|
|
|
7379
7596
|
*
|
|
7380
7597
|
* @param requestMessage Request message
|
|
7381
7598
|
* @param requestMetadata Request metadata
|
|
7382
|
-
* @returns Observable<GrpcEvent<
|
|
7599
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Results006.GetOwnerTaskIdResponse>>
|
|
7383
7600
|
*/
|
|
7384
7601
|
getOwnerTaskId: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
7385
7602
|
return this.handler.handle({
|
|
@@ -7397,7 +7614,7 @@ class ResultsClient {
|
|
|
7397
7614
|
*
|
|
7398
7615
|
* @param requestMessage Request message
|
|
7399
7616
|
* @param requestMetadata Request metadata
|
|
7400
|
-
* @returns Observable<GrpcEvent<
|
|
7617
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Results006.CreateResultsMetaDataResponse>>
|
|
7401
7618
|
*/
|
|
7402
7619
|
createResultsMetaData: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
7403
7620
|
return this.handler.handle({
|
|
@@ -7415,7 +7632,7 @@ class ResultsClient {
|
|
|
7415
7632
|
*
|
|
7416
7633
|
* @param requestMessage Request message
|
|
7417
7634
|
* @param requestMetadata Request metadata
|
|
7418
|
-
* @returns Observable<GrpcEvent<
|
|
7635
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Results006.CreateResultsResponse>>
|
|
7419
7636
|
*/
|
|
7420
7637
|
createResults: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
7421
7638
|
return this.handler.handle({
|
|
@@ -7433,7 +7650,7 @@ class ResultsClient {
|
|
|
7433
7650
|
*
|
|
7434
7651
|
* @param requestMessage Request message
|
|
7435
7652
|
* @param requestMetadata Request metadata
|
|
7436
|
-
* @returns Observable<GrpcEvent<
|
|
7653
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Results006.UploadResultDataResponse>>
|
|
7437
7654
|
*/
|
|
7438
7655
|
uploadResultData: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
7439
7656
|
return this.handler.handle({
|
|
@@ -7451,7 +7668,7 @@ class ResultsClient {
|
|
|
7451
7668
|
*
|
|
7452
7669
|
* @param requestMessage Request message
|
|
7453
7670
|
* @param requestMetadata Request metadata
|
|
7454
|
-
* @returns Observable<GrpcEvent<
|
|
7671
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Results006.DownloadResultDataResponse>>
|
|
7455
7672
|
*/
|
|
7456
7673
|
downloadResultData: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
7457
7674
|
return this.handler.handle({
|
|
@@ -7469,7 +7686,7 @@ class ResultsClient {
|
|
|
7469
7686
|
*
|
|
7470
7687
|
* @param requestMessage Request message
|
|
7471
7688
|
* @param requestMetadata Request metadata
|
|
7472
|
-
* @returns Observable<GrpcEvent<
|
|
7689
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Results006.DeleteResultsDataResponse>>
|
|
7473
7690
|
*/
|
|
7474
7691
|
deleteResultsData: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
7475
7692
|
return this.handler.handle({
|
|
@@ -7487,7 +7704,7 @@ class ResultsClient {
|
|
|
7487
7704
|
*
|
|
7488
7705
|
* @param requestMessage Request message
|
|
7489
7706
|
* @param requestMetadata Request metadata
|
|
7490
|
-
* @returns Observable<GrpcEvent<
|
|
7707
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Results006.ResultsServiceConfigurationResponse>>
|
|
7491
7708
|
*/
|
|
7492
7709
|
getServiceConfiguration: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
7493
7710
|
return this.handler.handle({
|
|
@@ -7508,7 +7725,7 @@ class ResultsClient {
|
|
|
7508
7725
|
*
|
|
7509
7726
|
* @param requestMessage Request message
|
|
7510
7727
|
* @param requestMetadata Request metadata
|
|
7511
|
-
* @returns Observable<
|
|
7728
|
+
* @returns Observable<armonikApiGrpcV1Results006.ListResultsResponse>
|
|
7512
7729
|
*/
|
|
7513
7730
|
listResults(requestData, requestMetadata = new GrpcMetadata()) {
|
|
7514
7731
|
return this.$raw
|
|
@@ -7520,7 +7737,7 @@ class ResultsClient {
|
|
|
7520
7737
|
*
|
|
7521
7738
|
* @param requestMessage Request message
|
|
7522
7739
|
* @param requestMetadata Request metadata
|
|
7523
|
-
* @returns Observable<
|
|
7740
|
+
* @returns Observable<armonikApiGrpcV1Results006.GetResultResponse>
|
|
7524
7741
|
*/
|
|
7525
7742
|
getResult(requestData, requestMetadata = new GrpcMetadata()) {
|
|
7526
7743
|
return this.$raw
|
|
@@ -7532,7 +7749,7 @@ class ResultsClient {
|
|
|
7532
7749
|
*
|
|
7533
7750
|
* @param requestMessage Request message
|
|
7534
7751
|
* @param requestMetadata Request metadata
|
|
7535
|
-
* @returns Observable<
|
|
7752
|
+
* @returns Observable<armonikApiGrpcV1Results006.GetOwnerTaskIdResponse>
|
|
7536
7753
|
*/
|
|
7537
7754
|
getOwnerTaskId(requestData, requestMetadata = new GrpcMetadata()) {
|
|
7538
7755
|
return this.$raw
|
|
@@ -7544,7 +7761,7 @@ class ResultsClient {
|
|
|
7544
7761
|
*
|
|
7545
7762
|
* @param requestMessage Request message
|
|
7546
7763
|
* @param requestMetadata Request metadata
|
|
7547
|
-
* @returns Observable<
|
|
7764
|
+
* @returns Observable<armonikApiGrpcV1Results006.CreateResultsMetaDataResponse>
|
|
7548
7765
|
*/
|
|
7549
7766
|
createResultsMetaData(requestData, requestMetadata = new GrpcMetadata()) {
|
|
7550
7767
|
return this.$raw
|
|
@@ -7556,7 +7773,7 @@ class ResultsClient {
|
|
|
7556
7773
|
*
|
|
7557
7774
|
* @param requestMessage Request message
|
|
7558
7775
|
* @param requestMetadata Request metadata
|
|
7559
|
-
* @returns Observable<
|
|
7776
|
+
* @returns Observable<armonikApiGrpcV1Results006.CreateResultsResponse>
|
|
7560
7777
|
*/
|
|
7561
7778
|
createResults(requestData, requestMetadata = new GrpcMetadata()) {
|
|
7562
7779
|
return this.$raw
|
|
@@ -7568,7 +7785,7 @@ class ResultsClient {
|
|
|
7568
7785
|
*
|
|
7569
7786
|
* @param requestMessage Request message
|
|
7570
7787
|
* @param requestMetadata Request metadata
|
|
7571
|
-
* @returns Observable<
|
|
7788
|
+
* @returns Observable<armonikApiGrpcV1Results006.UploadResultDataResponse>
|
|
7572
7789
|
*/
|
|
7573
7790
|
uploadResultData(requestData, requestMetadata = new GrpcMetadata()) {
|
|
7574
7791
|
return this.$raw
|
|
@@ -7580,7 +7797,7 @@ class ResultsClient {
|
|
|
7580
7797
|
*
|
|
7581
7798
|
* @param requestMessage Request message
|
|
7582
7799
|
* @param requestMetadata Request metadata
|
|
7583
|
-
* @returns Observable<
|
|
7800
|
+
* @returns Observable<armonikApiGrpcV1Results006.DownloadResultDataResponse>
|
|
7584
7801
|
*/
|
|
7585
7802
|
downloadResultData(requestData, requestMetadata = new GrpcMetadata()) {
|
|
7586
7803
|
return this.$raw
|
|
@@ -7592,7 +7809,7 @@ class ResultsClient {
|
|
|
7592
7809
|
*
|
|
7593
7810
|
* @param requestMessage Request message
|
|
7594
7811
|
* @param requestMetadata Request metadata
|
|
7595
|
-
* @returns Observable<
|
|
7812
|
+
* @returns Observable<armonikApiGrpcV1Results006.DeleteResultsDataResponse>
|
|
7596
7813
|
*/
|
|
7597
7814
|
deleteResultsData(requestData, requestMetadata = new GrpcMetadata()) {
|
|
7598
7815
|
return this.$raw
|
|
@@ -7604,7 +7821,7 @@ class ResultsClient {
|
|
|
7604
7821
|
*
|
|
7605
7822
|
* @param requestMessage Request message
|
|
7606
7823
|
* @param requestMetadata Request metadata
|
|
7607
|
-
* @returns Observable<
|
|
7824
|
+
* @returns Observable<armonikApiGrpcV1Results006.ResultsServiceConfigurationResponse>
|
|
7608
7825
|
*/
|
|
7609
7826
|
getServiceConfiguration(requestData, requestMetadata = new GrpcMetadata()) {
|
|
7610
7827
|
return this.$raw
|
|
@@ -7640,6 +7857,17 @@ var SessionStatus;
|
|
|
7640
7857
|
SessionStatus[SessionStatus["SESSION_STATUS_CANCELLED"] = 2] = "SESSION_STATUS_CANCELLED";
|
|
7641
7858
|
})(SessionStatus || (SessionStatus = {}));
|
|
7642
7859
|
|
|
7860
|
+
var SessionRawField;
|
|
7861
|
+
(function (SessionRawField) {
|
|
7862
|
+
SessionRawField[SessionRawField["SESSION_RAW_FIELD_UNSPECIFIED"] = 0] = "SESSION_RAW_FIELD_UNSPECIFIED";
|
|
7863
|
+
SessionRawField[SessionRawField["SESSION_RAW_FIELD_SESSION_ID"] = 1] = "SESSION_RAW_FIELD_SESSION_ID";
|
|
7864
|
+
SessionRawField[SessionRawField["SESSION_RAW_FIELD_STATUS"] = 2] = "SESSION_RAW_FIELD_STATUS";
|
|
7865
|
+
SessionRawField[SessionRawField["SESSION_RAW_FIELD_PARTITION_IDS"] = 3] = "SESSION_RAW_FIELD_PARTITION_IDS";
|
|
7866
|
+
SessionRawField[SessionRawField["SESSION_RAW_FIELD_OPTIONS"] = 4] = "SESSION_RAW_FIELD_OPTIONS";
|
|
7867
|
+
SessionRawField[SessionRawField["SESSION_RAW_FIELD_CREATED_AT"] = 5] = "SESSION_RAW_FIELD_CREATED_AT";
|
|
7868
|
+
SessionRawField[SessionRawField["SESSION_RAW_FIELD_CANCELLED_AT"] = 6] = "SESSION_RAW_FIELD_CANCELLED_AT";
|
|
7869
|
+
SessionRawField[SessionRawField["SESSION_RAW_FIELD_DURATION"] = 7] = "SESSION_RAW_FIELD_DURATION";
|
|
7870
|
+
})(SessionRawField || (SessionRawField = {}));
|
|
7643
7871
|
/**
|
|
7644
7872
|
* Message implementation for armonik.api.grpc.v1.sessions.SessionRaw
|
|
7645
7873
|
*/
|
|
@@ -7852,30 +8080,24 @@ class SessionRaw {
|
|
|
7852
8080
|
}
|
|
7853
8081
|
}
|
|
7854
8082
|
/**
|
|
7855
|
-
* Message implementation for armonik.api.grpc.v1.sessions.
|
|
8083
|
+
* Message implementation for armonik.api.grpc.v1.sessions.SessionField
|
|
7856
8084
|
*/
|
|
7857
|
-
class
|
|
7858
|
-
static { this.id = 'armonik.api.grpc.v1.sessions.
|
|
8085
|
+
class SessionField {
|
|
8086
|
+
static { this.id = 'armonik.api.grpc.v1.sessions.SessionField'; }
|
|
7859
8087
|
/**
|
|
7860
8088
|
* Deserialize binary data to message
|
|
7861
8089
|
* @param instance message instance
|
|
7862
8090
|
*/
|
|
7863
8091
|
static deserializeBinary(bytes) {
|
|
7864
|
-
const instance = new
|
|
7865
|
-
|
|
8092
|
+
const instance = new SessionField();
|
|
8093
|
+
SessionField.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
7866
8094
|
return instance;
|
|
7867
8095
|
}
|
|
7868
8096
|
/**
|
|
7869
8097
|
* Check all the properties and set default protobuf values if necessary
|
|
7870
8098
|
* @param _instance message instance
|
|
7871
8099
|
*/
|
|
7872
|
-
static refineValues(_instance) {
|
|
7873
|
-
_instance.page = _instance.page || 0;
|
|
7874
|
-
_instance.pageSize = _instance.pageSize || 0;
|
|
7875
|
-
_instance.filter = _instance.filter || undefined;
|
|
7876
|
-
_instance.sort = _instance.sort || undefined;
|
|
7877
|
-
_instance.withTaskOptions = _instance.withTaskOptions || false;
|
|
7878
|
-
}
|
|
8100
|
+
static refineValues(_instance) { }
|
|
7879
8101
|
/**
|
|
7880
8102
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
7881
8103
|
* @param _instance message instance
|
|
@@ -7887,27 +8109,13 @@ class ListSessionsRequest {
|
|
|
7887
8109
|
break;
|
|
7888
8110
|
switch (_reader.getFieldNumber()) {
|
|
7889
8111
|
case 1:
|
|
7890
|
-
_instance.
|
|
7891
|
-
break;
|
|
7892
|
-
case 2:
|
|
7893
|
-
_instance.pageSize = _reader.readInt32();
|
|
7894
|
-
break;
|
|
7895
|
-
case 3:
|
|
7896
|
-
_instance.filter = new ListSessionsRequest.Filter();
|
|
7897
|
-
_reader.readMessage(_instance.filter, ListSessionsRequest.Filter.deserializeBinaryFromReader);
|
|
7898
|
-
break;
|
|
7899
|
-
case 4:
|
|
7900
|
-
_instance.sort = new ListSessionsRequest.Sort();
|
|
7901
|
-
_reader.readMessage(_instance.sort, ListSessionsRequest.Sort.deserializeBinaryFromReader);
|
|
7902
|
-
break;
|
|
7903
|
-
case 5:
|
|
7904
|
-
_instance.withTaskOptions = _reader.readBool();
|
|
8112
|
+
_instance.sessionRawField = _reader.readEnum();
|
|
7905
8113
|
break;
|
|
7906
8114
|
default:
|
|
7907
8115
|
_reader.skipField();
|
|
7908
8116
|
}
|
|
7909
8117
|
}
|
|
7910
|
-
|
|
8118
|
+
SessionField.refineValues(_instance);
|
|
7911
8119
|
}
|
|
7912
8120
|
/**
|
|
7913
8121
|
* Serializes a message to binary format using provided binary reader
|
|
@@ -7915,53 +8123,191 @@ class ListSessionsRequest {
|
|
|
7915
8123
|
* @param _writer binary writer instance
|
|
7916
8124
|
*/
|
|
7917
8125
|
static serializeBinaryToWriter(_instance, _writer) {
|
|
7918
|
-
if (_instance.
|
|
7919
|
-
_writer.
|
|
7920
|
-
}
|
|
7921
|
-
if (_instance.pageSize) {
|
|
7922
|
-
_writer.writeInt32(2, _instance.pageSize);
|
|
7923
|
-
}
|
|
7924
|
-
if (_instance.filter) {
|
|
7925
|
-
_writer.writeMessage(3, _instance.filter, ListSessionsRequest.Filter.serializeBinaryToWriter);
|
|
7926
|
-
}
|
|
7927
|
-
if (_instance.sort) {
|
|
7928
|
-
_writer.writeMessage(4, _instance.sort, ListSessionsRequest.Sort.serializeBinaryToWriter);
|
|
7929
|
-
}
|
|
7930
|
-
if (_instance.withTaskOptions) {
|
|
7931
|
-
_writer.writeBool(5, _instance.withTaskOptions);
|
|
8126
|
+
if (_instance.sessionRawField || _instance.sessionRawField === 0) {
|
|
8127
|
+
_writer.writeEnum(1, _instance.sessionRawField);
|
|
7932
8128
|
}
|
|
7933
8129
|
}
|
|
7934
8130
|
/**
|
|
7935
8131
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
7936
|
-
* @param _value initial values object or instance of
|
|
8132
|
+
* @param _value initial values object or instance of SessionField to deeply clone from
|
|
7937
8133
|
*/
|
|
7938
8134
|
constructor(_value) {
|
|
8135
|
+
this._field = SessionField.FieldCase.none;
|
|
7939
8136
|
_value = _value || {};
|
|
7940
|
-
this.
|
|
7941
|
-
this
|
|
7942
|
-
this.filter = _value.filter
|
|
7943
|
-
? new ListSessionsRequest.Filter(_value.filter)
|
|
7944
|
-
: undefined;
|
|
7945
|
-
this.sort = _value.sort
|
|
7946
|
-
? new ListSessionsRequest.Sort(_value.sort)
|
|
7947
|
-
: undefined;
|
|
7948
|
-
this.withTaskOptions = _value.withTaskOptions;
|
|
7949
|
-
ListSessionsRequest.refineValues(this);
|
|
8137
|
+
this.sessionRawField = _value.sessionRawField;
|
|
8138
|
+
SessionField.refineValues(this);
|
|
7950
8139
|
}
|
|
7951
|
-
get
|
|
7952
|
-
return this.
|
|
8140
|
+
get sessionRawField() {
|
|
8141
|
+
return this._sessionRawField;
|
|
7953
8142
|
}
|
|
7954
|
-
set
|
|
7955
|
-
|
|
8143
|
+
set sessionRawField(value) {
|
|
8144
|
+
if (value !== undefined && value !== null) {
|
|
8145
|
+
this._field = SessionField.FieldCase.sessionRawField;
|
|
8146
|
+
}
|
|
8147
|
+
this._sessionRawField = value;
|
|
7956
8148
|
}
|
|
7957
|
-
get
|
|
7958
|
-
return this.
|
|
8149
|
+
get field() {
|
|
8150
|
+
return this._field;
|
|
7959
8151
|
}
|
|
7960
|
-
|
|
7961
|
-
|
|
8152
|
+
/**
|
|
8153
|
+
* Serialize message to binary data
|
|
8154
|
+
* @param instance message instance
|
|
8155
|
+
*/
|
|
8156
|
+
serializeBinary() {
|
|
8157
|
+
const writer = new BinaryWriter();
|
|
8158
|
+
SessionField.serializeBinaryToWriter(this, writer);
|
|
8159
|
+
return writer.getResultBuffer();
|
|
7962
8160
|
}
|
|
7963
|
-
|
|
7964
|
-
|
|
8161
|
+
/**
|
|
8162
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
8163
|
+
*/
|
|
8164
|
+
toObject() {
|
|
8165
|
+
return {
|
|
8166
|
+
sessionRawField: this.sessionRawField
|
|
8167
|
+
};
|
|
8168
|
+
}
|
|
8169
|
+
/**
|
|
8170
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
8171
|
+
*/
|
|
8172
|
+
toJSON() {
|
|
8173
|
+
return this.toObject();
|
|
8174
|
+
}
|
|
8175
|
+
/**
|
|
8176
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
8177
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
8178
|
+
* 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
|
|
8179
|
+
*/
|
|
8180
|
+
toProtobufJSON(
|
|
8181
|
+
// @ts-ignore
|
|
8182
|
+
options) {
|
|
8183
|
+
return {
|
|
8184
|
+
sessionRawField: this.sessionRawField === undefined
|
|
8185
|
+
? null
|
|
8186
|
+
: SessionRawField[this.sessionRawField === null ||
|
|
8187
|
+
this.sessionRawField === undefined
|
|
8188
|
+
? 0
|
|
8189
|
+
: this.sessionRawField]
|
|
8190
|
+
};
|
|
8191
|
+
}
|
|
8192
|
+
}
|
|
8193
|
+
(function (SessionField) {
|
|
8194
|
+
let FieldCase;
|
|
8195
|
+
(function (FieldCase) {
|
|
8196
|
+
FieldCase[FieldCase["none"] = 0] = "none";
|
|
8197
|
+
FieldCase[FieldCase["sessionRawField"] = 1] = "sessionRawField";
|
|
8198
|
+
})(FieldCase = SessionField.FieldCase || (SessionField.FieldCase = {}));
|
|
8199
|
+
})(SessionField || (SessionField = {}));
|
|
8200
|
+
/**
|
|
8201
|
+
* Message implementation for armonik.api.grpc.v1.sessions.ListSessionsRequest
|
|
8202
|
+
*/
|
|
8203
|
+
class ListSessionsRequest {
|
|
8204
|
+
static { this.id = 'armonik.api.grpc.v1.sessions.ListSessionsRequest'; }
|
|
8205
|
+
/**
|
|
8206
|
+
* Deserialize binary data to message
|
|
8207
|
+
* @param instance message instance
|
|
8208
|
+
*/
|
|
8209
|
+
static deserializeBinary(bytes) {
|
|
8210
|
+
const instance = new ListSessionsRequest();
|
|
8211
|
+
ListSessionsRequest.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
8212
|
+
return instance;
|
|
8213
|
+
}
|
|
8214
|
+
/**
|
|
8215
|
+
* Check all the properties and set default protobuf values if necessary
|
|
8216
|
+
* @param _instance message instance
|
|
8217
|
+
*/
|
|
8218
|
+
static refineValues(_instance) {
|
|
8219
|
+
_instance.page = _instance.page || 0;
|
|
8220
|
+
_instance.pageSize = _instance.pageSize || 0;
|
|
8221
|
+
_instance.filter = _instance.filter || undefined;
|
|
8222
|
+
_instance.sort = _instance.sort || undefined;
|
|
8223
|
+
_instance.withTaskOptions = _instance.withTaskOptions || false;
|
|
8224
|
+
}
|
|
8225
|
+
/**
|
|
8226
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
8227
|
+
* @param _instance message instance
|
|
8228
|
+
* @param _reader binary reader instance
|
|
8229
|
+
*/
|
|
8230
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
8231
|
+
while (_reader.nextField()) {
|
|
8232
|
+
if (_reader.isEndGroup())
|
|
8233
|
+
break;
|
|
8234
|
+
switch (_reader.getFieldNumber()) {
|
|
8235
|
+
case 1:
|
|
8236
|
+
_instance.page = _reader.readInt32();
|
|
8237
|
+
break;
|
|
8238
|
+
case 2:
|
|
8239
|
+
_instance.pageSize = _reader.readInt32();
|
|
8240
|
+
break;
|
|
8241
|
+
case 3:
|
|
8242
|
+
_instance.filter = new ListSessionsRequest.Filter();
|
|
8243
|
+
_reader.readMessage(_instance.filter, ListSessionsRequest.Filter.deserializeBinaryFromReader);
|
|
8244
|
+
break;
|
|
8245
|
+
case 4:
|
|
8246
|
+
_instance.sort = new ListSessionsRequest.Sort();
|
|
8247
|
+
_reader.readMessage(_instance.sort, ListSessionsRequest.Sort.deserializeBinaryFromReader);
|
|
8248
|
+
break;
|
|
8249
|
+
case 5:
|
|
8250
|
+
_instance.withTaskOptions = _reader.readBool();
|
|
8251
|
+
break;
|
|
8252
|
+
default:
|
|
8253
|
+
_reader.skipField();
|
|
8254
|
+
}
|
|
8255
|
+
}
|
|
8256
|
+
ListSessionsRequest.refineValues(_instance);
|
|
8257
|
+
}
|
|
8258
|
+
/**
|
|
8259
|
+
* Serializes a message to binary format using provided binary reader
|
|
8260
|
+
* @param _instance message instance
|
|
8261
|
+
* @param _writer binary writer instance
|
|
8262
|
+
*/
|
|
8263
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
8264
|
+
if (_instance.page) {
|
|
8265
|
+
_writer.writeInt32(1, _instance.page);
|
|
8266
|
+
}
|
|
8267
|
+
if (_instance.pageSize) {
|
|
8268
|
+
_writer.writeInt32(2, _instance.pageSize);
|
|
8269
|
+
}
|
|
8270
|
+
if (_instance.filter) {
|
|
8271
|
+
_writer.writeMessage(3, _instance.filter, ListSessionsRequest.Filter.serializeBinaryToWriter);
|
|
8272
|
+
}
|
|
8273
|
+
if (_instance.sort) {
|
|
8274
|
+
_writer.writeMessage(4, _instance.sort, ListSessionsRequest.Sort.serializeBinaryToWriter);
|
|
8275
|
+
}
|
|
8276
|
+
if (_instance.withTaskOptions) {
|
|
8277
|
+
_writer.writeBool(5, _instance.withTaskOptions);
|
|
8278
|
+
}
|
|
8279
|
+
}
|
|
8280
|
+
/**
|
|
8281
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
8282
|
+
* @param _value initial values object or instance of ListSessionsRequest to deeply clone from
|
|
8283
|
+
*/
|
|
8284
|
+
constructor(_value) {
|
|
8285
|
+
_value = _value || {};
|
|
8286
|
+
this.page = _value.page;
|
|
8287
|
+
this.pageSize = _value.pageSize;
|
|
8288
|
+
this.filter = _value.filter
|
|
8289
|
+
? new ListSessionsRequest.Filter(_value.filter)
|
|
8290
|
+
: undefined;
|
|
8291
|
+
this.sort = _value.sort
|
|
8292
|
+
? new ListSessionsRequest.Sort(_value.sort)
|
|
8293
|
+
: undefined;
|
|
8294
|
+
this.withTaskOptions = _value.withTaskOptions;
|
|
8295
|
+
ListSessionsRequest.refineValues(this);
|
|
8296
|
+
}
|
|
8297
|
+
get page() {
|
|
8298
|
+
return this._page;
|
|
8299
|
+
}
|
|
8300
|
+
set page(value) {
|
|
8301
|
+
this._page = value;
|
|
8302
|
+
}
|
|
8303
|
+
get pageSize() {
|
|
8304
|
+
return this._pageSize;
|
|
8305
|
+
}
|
|
8306
|
+
set pageSize(value) {
|
|
8307
|
+
this._pageSize = value;
|
|
8308
|
+
}
|
|
8309
|
+
get filter() {
|
|
8310
|
+
return this._filter;
|
|
7965
8311
|
}
|
|
7966
8312
|
set filter(value) {
|
|
7967
8313
|
this._filter = value;
|
|
@@ -8023,20 +8369,6 @@ class ListSessionsRequest {
|
|
|
8023
8369
|
}
|
|
8024
8370
|
}
|
|
8025
8371
|
(function (ListSessionsRequest) {
|
|
8026
|
-
let OrderByField;
|
|
8027
|
-
(function (OrderByField) {
|
|
8028
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_UNSPECIFIED"] = 0] = "ORDER_BY_FIELD_UNSPECIFIED";
|
|
8029
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_SESSION_ID"] = 1] = "ORDER_BY_FIELD_SESSION_ID";
|
|
8030
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_STATUS"] = 2] = "ORDER_BY_FIELD_STATUS";
|
|
8031
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_CREATED_AT"] = 3] = "ORDER_BY_FIELD_CREATED_AT";
|
|
8032
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_CANCELLED_AT"] = 4] = "ORDER_BY_FIELD_CANCELLED_AT";
|
|
8033
|
-
})(OrderByField = ListSessionsRequest.OrderByField || (ListSessionsRequest.OrderByField = {}));
|
|
8034
|
-
let OrderDirection;
|
|
8035
|
-
(function (OrderDirection) {
|
|
8036
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_UNSPECIFIED"] = 0] = "ORDER_DIRECTION_UNSPECIFIED";
|
|
8037
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_ASC"] = 1] = "ORDER_DIRECTION_ASC";
|
|
8038
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_DESC"] = 2] = "ORDER_DIRECTION_DESC";
|
|
8039
|
-
})(OrderDirection = ListSessionsRequest.OrderDirection || (ListSessionsRequest.OrderDirection = {}));
|
|
8040
8372
|
/**
|
|
8041
8373
|
* Message implementation for armonik.api.grpc.v1.sessions.ListSessionsRequest.Filter
|
|
8042
8374
|
*/
|
|
@@ -8298,7 +8630,7 @@ class ListSessionsRequest {
|
|
|
8298
8630
|
* @param _instance message instance
|
|
8299
8631
|
*/
|
|
8300
8632
|
static refineValues(_instance) {
|
|
8301
|
-
_instance.field = _instance.field ||
|
|
8633
|
+
_instance.field = _instance.field || undefined;
|
|
8302
8634
|
_instance.direction = _instance.direction || 0;
|
|
8303
8635
|
}
|
|
8304
8636
|
/**
|
|
@@ -8312,7 +8644,8 @@ class ListSessionsRequest {
|
|
|
8312
8644
|
break;
|
|
8313
8645
|
switch (_reader.getFieldNumber()) {
|
|
8314
8646
|
case 1:
|
|
8315
|
-
_instance.field =
|
|
8647
|
+
_instance.field = new SessionField();
|
|
8648
|
+
_reader.readMessage(_instance.field, SessionField.deserializeBinaryFromReader);
|
|
8316
8649
|
break;
|
|
8317
8650
|
case 2:
|
|
8318
8651
|
_instance.direction = _reader.readEnum();
|
|
@@ -8330,7 +8663,7 @@ class ListSessionsRequest {
|
|
|
8330
8663
|
*/
|
|
8331
8664
|
static serializeBinaryToWriter(_instance, _writer) {
|
|
8332
8665
|
if (_instance.field) {
|
|
8333
|
-
_writer.
|
|
8666
|
+
_writer.writeMessage(1, _instance.field, SessionField.serializeBinaryToWriter);
|
|
8334
8667
|
}
|
|
8335
8668
|
if (_instance.direction) {
|
|
8336
8669
|
_writer.writeEnum(2, _instance.direction);
|
|
@@ -8342,7 +8675,7 @@ class ListSessionsRequest {
|
|
|
8342
8675
|
*/
|
|
8343
8676
|
constructor(_value) {
|
|
8344
8677
|
_value = _value || {};
|
|
8345
|
-
this.field = _value.field;
|
|
8678
|
+
this.field = _value.field ? new SessionField(_value.field) : undefined;
|
|
8346
8679
|
this.direction = _value.direction;
|
|
8347
8680
|
Sort.refineValues(this);
|
|
8348
8681
|
}
|
|
@@ -8372,7 +8705,7 @@ class ListSessionsRequest {
|
|
|
8372
8705
|
*/
|
|
8373
8706
|
toObject() {
|
|
8374
8707
|
return {
|
|
8375
|
-
field: this.field,
|
|
8708
|
+
field: this.field ? this.field.toObject() : undefined,
|
|
8376
8709
|
direction: this.direction
|
|
8377
8710
|
};
|
|
8378
8711
|
}
|
|
@@ -8391,8 +8724,8 @@ class ListSessionsRequest {
|
|
|
8391
8724
|
// @ts-ignore
|
|
8392
8725
|
options) {
|
|
8393
8726
|
return {
|
|
8394
|
-
field:
|
|
8395
|
-
direction:
|
|
8727
|
+
field: this.field ? this.field.toProtobufJSON(options) : null,
|
|
8728
|
+
direction: SortDirection[this.direction === null || this.direction === undefined
|
|
8396
8729
|
? 0
|
|
8397
8730
|
: this.direction]
|
|
8398
8731
|
};
|
|
@@ -9187,7 +9520,7 @@ class SessionsClient {
|
|
|
9187
9520
|
*
|
|
9188
9521
|
* @param requestMessage Request message
|
|
9189
9522
|
* @param requestMetadata Request metadata
|
|
9190
|
-
* @returns Observable<GrpcEvent<
|
|
9523
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions005.ListSessionsResponse>>
|
|
9191
9524
|
*/
|
|
9192
9525
|
listSessions: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
9193
9526
|
return this.handler.handle({
|
|
@@ -9205,7 +9538,7 @@ class SessionsClient {
|
|
|
9205
9538
|
*
|
|
9206
9539
|
* @param requestMessage Request message
|
|
9207
9540
|
* @param requestMetadata Request metadata
|
|
9208
|
-
* @returns Observable<GrpcEvent<
|
|
9541
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions005.GetSessionResponse>>
|
|
9209
9542
|
*/
|
|
9210
9543
|
getSession: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
9211
9544
|
return this.handler.handle({
|
|
@@ -9223,7 +9556,7 @@ class SessionsClient {
|
|
|
9223
9556
|
*
|
|
9224
9557
|
* @param requestMessage Request message
|
|
9225
9558
|
* @param requestMetadata Request metadata
|
|
9226
|
-
* @returns Observable<GrpcEvent<
|
|
9559
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions005.CancelSessionResponse>>
|
|
9227
9560
|
*/
|
|
9228
9561
|
cancelSession: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
9229
9562
|
return this.handler.handle({
|
|
@@ -9241,7 +9574,7 @@ class SessionsClient {
|
|
|
9241
9574
|
*
|
|
9242
9575
|
* @param requestMessage Request message
|
|
9243
9576
|
* @param requestMetadata Request metadata
|
|
9244
|
-
* @returns Observable<GrpcEvent<
|
|
9577
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions005.CountTasksByStatusResponse>>
|
|
9245
9578
|
*/
|
|
9246
9579
|
countTasksByStatus: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
9247
9580
|
return this.handler.handle({
|
|
@@ -9262,7 +9595,7 @@ class SessionsClient {
|
|
|
9262
9595
|
*
|
|
9263
9596
|
* @param requestMessage Request message
|
|
9264
9597
|
* @param requestMetadata Request metadata
|
|
9265
|
-
* @returns Observable<
|
|
9598
|
+
* @returns Observable<armonikApiGrpcV1Sessions005.ListSessionsResponse>
|
|
9266
9599
|
*/
|
|
9267
9600
|
listSessions(requestData, requestMetadata = new GrpcMetadata()) {
|
|
9268
9601
|
return this.$raw
|
|
@@ -9274,7 +9607,7 @@ class SessionsClient {
|
|
|
9274
9607
|
*
|
|
9275
9608
|
* @param requestMessage Request message
|
|
9276
9609
|
* @param requestMetadata Request metadata
|
|
9277
|
-
* @returns Observable<
|
|
9610
|
+
* @returns Observable<armonikApiGrpcV1Sessions005.GetSessionResponse>
|
|
9278
9611
|
*/
|
|
9279
9612
|
getSession(requestData, requestMetadata = new GrpcMetadata()) {
|
|
9280
9613
|
return this.$raw
|
|
@@ -9286,7 +9619,7 @@ class SessionsClient {
|
|
|
9286
9619
|
*
|
|
9287
9620
|
* @param requestMessage Request message
|
|
9288
9621
|
* @param requestMetadata Request metadata
|
|
9289
|
-
* @returns Observable<
|
|
9622
|
+
* @returns Observable<armonikApiGrpcV1Sessions005.CancelSessionResponse>
|
|
9290
9623
|
*/
|
|
9291
9624
|
cancelSession(requestData, requestMetadata = new GrpcMetadata()) {
|
|
9292
9625
|
return this.$raw
|
|
@@ -9298,7 +9631,7 @@ class SessionsClient {
|
|
|
9298
9631
|
*
|
|
9299
9632
|
* @param requestMessage Request message
|
|
9300
9633
|
* @param requestMetadata Request metadata
|
|
9301
|
-
* @returns Observable<
|
|
9634
|
+
* @returns Observable<armonikApiGrpcV1Sessions005.CountTasksByStatusResponse>
|
|
9302
9635
|
*/
|
|
9303
9636
|
countTasksByStatus(requestData, requestMetadata = new GrpcMetadata()) {
|
|
9304
9637
|
return this.$raw
|
|
@@ -9321,6 +9654,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
9321
9654
|
args: [GRPC_CLIENT_FACTORY]
|
|
9322
9655
|
}] }, { type: i1.GrpcHandler }]; } });
|
|
9323
9656
|
|
|
9657
|
+
var TaskSummaryField;
|
|
9658
|
+
(function (TaskSummaryField) {
|
|
9659
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_UNSPECIFIED"] = 0] = "TASK_SUMMARY_FIELD_UNSPECIFIED";
|
|
9660
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_TASK_ID"] = 16] = "TASK_SUMMARY_FIELD_TASK_ID";
|
|
9661
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_SESSION_ID"] = 1] = "TASK_SUMMARY_FIELD_SESSION_ID";
|
|
9662
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_OWNER_POD_ID"] = 9] = "TASK_SUMMARY_FIELD_OWNER_POD_ID";
|
|
9663
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_INITIAL_TASK_ID"] = 10] = "TASK_SUMMARY_FIELD_INITIAL_TASK_ID";
|
|
9664
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_STATUS"] = 2] = "TASK_SUMMARY_FIELD_STATUS";
|
|
9665
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_CREATED_AT"] = 3] = "TASK_SUMMARY_FIELD_CREATED_AT";
|
|
9666
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_SUBMITTED_AT"] = 11] = "TASK_SUMMARY_FIELD_SUBMITTED_AT";
|
|
9667
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_STARTED_AT"] = 4] = "TASK_SUMMARY_FIELD_STARTED_AT";
|
|
9668
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_ENDED_AT"] = 5] = "TASK_SUMMARY_FIELD_ENDED_AT";
|
|
9669
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_CREATION_TO_END_DURATION"] = 6] = "TASK_SUMMARY_FIELD_CREATION_TO_END_DURATION";
|
|
9670
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_PROCESSING_TO_END_DURATION"] = 7] = "TASK_SUMMARY_FIELD_PROCESSING_TO_END_DURATION";
|
|
9671
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_POD_TTL"] = 12] = "TASK_SUMMARY_FIELD_POD_TTL";
|
|
9672
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_POD_HOSTNAME"] = 13] = "TASK_SUMMARY_FIELD_POD_HOSTNAME";
|
|
9673
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_RECEIVED_AT"] = 14] = "TASK_SUMMARY_FIELD_RECEIVED_AT";
|
|
9674
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_ACQUIRED_AT"] = 15] = "TASK_SUMMARY_FIELD_ACQUIRED_AT";
|
|
9675
|
+
TaskSummaryField[TaskSummaryField["TASK_SUMMARY_FIELD_ERROR"] = 8] = "TASK_SUMMARY_FIELD_ERROR";
|
|
9676
|
+
})(TaskSummaryField || (TaskSummaryField = {}));
|
|
9677
|
+
var TaskOptionField;
|
|
9678
|
+
(function (TaskOptionField) {
|
|
9679
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_UNSPECIFIED"] = 0] = "TASK_OPTION_FIELD_UNSPECIFIED";
|
|
9680
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_MAX_DURATION"] = 1] = "TASK_OPTION_FIELD_MAX_DURATION";
|
|
9681
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_MAX_RETRIES"] = 2] = "TASK_OPTION_FIELD_MAX_RETRIES";
|
|
9682
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_PRIORITY"] = 3] = "TASK_OPTION_FIELD_PRIORITY";
|
|
9683
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_PARTITION_ID"] = 4] = "TASK_OPTION_FIELD_PARTITION_ID";
|
|
9684
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_APPLICATION_NAME"] = 5] = "TASK_OPTION_FIELD_APPLICATION_NAME";
|
|
9685
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_APPLICATION_VERSION"] = 6] = "TASK_OPTION_FIELD_APPLICATION_VERSION";
|
|
9686
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_APPLICATION_NAMESPACE"] = 7] = "TASK_OPTION_FIELD_APPLICATION_NAMESPACE";
|
|
9687
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_APPLICATION_SERVICE"] = 8] = "TASK_OPTION_FIELD_APPLICATION_SERVICE";
|
|
9688
|
+
TaskOptionField[TaskOptionField["TASK_OPTION_FIELD_ENGINE_TYPE"] = 9] = "TASK_OPTION_FIELD_ENGINE_TYPE";
|
|
9689
|
+
})(TaskOptionField || (TaskOptionField = {}));
|
|
9324
9690
|
/**
|
|
9325
9691
|
* Message implementation for armonik.api.grpc.v1.tasks.TaskRaw
|
|
9326
9692
|
*/
|
|
@@ -10409,6 +10775,278 @@ class TaskSummary {
|
|
|
10409
10775
|
};
|
|
10410
10776
|
}
|
|
10411
10777
|
}
|
|
10778
|
+
/**
|
|
10779
|
+
* Message implementation for armonik.api.grpc.v1.tasks.TaskOptionGenericField
|
|
10780
|
+
*/
|
|
10781
|
+
class TaskOptionGenericField {
|
|
10782
|
+
static { this.id = 'armonik.api.grpc.v1.tasks.TaskOptionGenericField'; }
|
|
10783
|
+
/**
|
|
10784
|
+
* Deserialize binary data to message
|
|
10785
|
+
* @param instance message instance
|
|
10786
|
+
*/
|
|
10787
|
+
static deserializeBinary(bytes) {
|
|
10788
|
+
const instance = new TaskOptionGenericField();
|
|
10789
|
+
TaskOptionGenericField.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
10790
|
+
return instance;
|
|
10791
|
+
}
|
|
10792
|
+
/**
|
|
10793
|
+
* Check all the properties and set default protobuf values if necessary
|
|
10794
|
+
* @param _instance message instance
|
|
10795
|
+
*/
|
|
10796
|
+
static refineValues(_instance) {
|
|
10797
|
+
_instance.field = _instance.field || '';
|
|
10798
|
+
}
|
|
10799
|
+
/**
|
|
10800
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
10801
|
+
* @param _instance message instance
|
|
10802
|
+
* @param _reader binary reader instance
|
|
10803
|
+
*/
|
|
10804
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
10805
|
+
while (_reader.nextField()) {
|
|
10806
|
+
if (_reader.isEndGroup())
|
|
10807
|
+
break;
|
|
10808
|
+
switch (_reader.getFieldNumber()) {
|
|
10809
|
+
case 1:
|
|
10810
|
+
_instance.field = _reader.readString();
|
|
10811
|
+
break;
|
|
10812
|
+
default:
|
|
10813
|
+
_reader.skipField();
|
|
10814
|
+
}
|
|
10815
|
+
}
|
|
10816
|
+
TaskOptionGenericField.refineValues(_instance);
|
|
10817
|
+
}
|
|
10818
|
+
/**
|
|
10819
|
+
* Serializes a message to binary format using provided binary reader
|
|
10820
|
+
* @param _instance message instance
|
|
10821
|
+
* @param _writer binary writer instance
|
|
10822
|
+
*/
|
|
10823
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
10824
|
+
if (_instance.field) {
|
|
10825
|
+
_writer.writeString(1, _instance.field);
|
|
10826
|
+
}
|
|
10827
|
+
}
|
|
10828
|
+
/**
|
|
10829
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
10830
|
+
* @param _value initial values object or instance of TaskOptionGenericField to deeply clone from
|
|
10831
|
+
*/
|
|
10832
|
+
constructor(_value) {
|
|
10833
|
+
_value = _value || {};
|
|
10834
|
+
this.field = _value.field;
|
|
10835
|
+
TaskOptionGenericField.refineValues(this);
|
|
10836
|
+
}
|
|
10837
|
+
get field() {
|
|
10838
|
+
return this._field;
|
|
10839
|
+
}
|
|
10840
|
+
set field(value) {
|
|
10841
|
+
this._field = value;
|
|
10842
|
+
}
|
|
10843
|
+
/**
|
|
10844
|
+
* Serialize message to binary data
|
|
10845
|
+
* @param instance message instance
|
|
10846
|
+
*/
|
|
10847
|
+
serializeBinary() {
|
|
10848
|
+
const writer = new BinaryWriter();
|
|
10849
|
+
TaskOptionGenericField.serializeBinaryToWriter(this, writer);
|
|
10850
|
+
return writer.getResultBuffer();
|
|
10851
|
+
}
|
|
10852
|
+
/**
|
|
10853
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
10854
|
+
*/
|
|
10855
|
+
toObject() {
|
|
10856
|
+
return {
|
|
10857
|
+
field: this.field
|
|
10858
|
+
};
|
|
10859
|
+
}
|
|
10860
|
+
/**
|
|
10861
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
10862
|
+
*/
|
|
10863
|
+
toJSON() {
|
|
10864
|
+
return this.toObject();
|
|
10865
|
+
}
|
|
10866
|
+
/**
|
|
10867
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
10868
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
10869
|
+
* 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
|
|
10870
|
+
*/
|
|
10871
|
+
toProtobufJSON(
|
|
10872
|
+
// @ts-ignore
|
|
10873
|
+
options) {
|
|
10874
|
+
return {
|
|
10875
|
+
field: this.field
|
|
10876
|
+
};
|
|
10877
|
+
}
|
|
10878
|
+
}
|
|
10879
|
+
/**
|
|
10880
|
+
* Message implementation for armonik.api.grpc.v1.tasks.TaskField
|
|
10881
|
+
*/
|
|
10882
|
+
class TaskField {
|
|
10883
|
+
static { this.id = 'armonik.api.grpc.v1.tasks.TaskField'; }
|
|
10884
|
+
/**
|
|
10885
|
+
* Deserialize binary data to message
|
|
10886
|
+
* @param instance message instance
|
|
10887
|
+
*/
|
|
10888
|
+
static deserializeBinary(bytes) {
|
|
10889
|
+
const instance = new TaskField();
|
|
10890
|
+
TaskField.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
10891
|
+
return instance;
|
|
10892
|
+
}
|
|
10893
|
+
/**
|
|
10894
|
+
* Check all the properties and set default protobuf values if necessary
|
|
10895
|
+
* @param _instance message instance
|
|
10896
|
+
*/
|
|
10897
|
+
static refineValues(_instance) { }
|
|
10898
|
+
/**
|
|
10899
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
10900
|
+
* @param _instance message instance
|
|
10901
|
+
* @param _reader binary reader instance
|
|
10902
|
+
*/
|
|
10903
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
10904
|
+
while (_reader.nextField()) {
|
|
10905
|
+
if (_reader.isEndGroup())
|
|
10906
|
+
break;
|
|
10907
|
+
switch (_reader.getFieldNumber()) {
|
|
10908
|
+
case 1:
|
|
10909
|
+
_instance.taskSummaryField = _reader.readEnum();
|
|
10910
|
+
break;
|
|
10911
|
+
case 2:
|
|
10912
|
+
_instance.taskOptionField = _reader.readEnum();
|
|
10913
|
+
break;
|
|
10914
|
+
case 3:
|
|
10915
|
+
_instance.taskOptionGenericField = new TaskOptionGenericField();
|
|
10916
|
+
_reader.readMessage(_instance.taskOptionGenericField, TaskOptionGenericField.deserializeBinaryFromReader);
|
|
10917
|
+
break;
|
|
10918
|
+
default:
|
|
10919
|
+
_reader.skipField();
|
|
10920
|
+
}
|
|
10921
|
+
}
|
|
10922
|
+
TaskField.refineValues(_instance);
|
|
10923
|
+
}
|
|
10924
|
+
/**
|
|
10925
|
+
* Serializes a message to binary format using provided binary reader
|
|
10926
|
+
* @param _instance message instance
|
|
10927
|
+
* @param _writer binary writer instance
|
|
10928
|
+
*/
|
|
10929
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
10930
|
+
if (_instance.taskSummaryField || _instance.taskSummaryField === 0) {
|
|
10931
|
+
_writer.writeEnum(1, _instance.taskSummaryField);
|
|
10932
|
+
}
|
|
10933
|
+
if (_instance.taskOptionField || _instance.taskOptionField === 0) {
|
|
10934
|
+
_writer.writeEnum(2, _instance.taskOptionField);
|
|
10935
|
+
}
|
|
10936
|
+
if (_instance.taskOptionGenericField) {
|
|
10937
|
+
_writer.writeMessage(3, _instance.taskOptionGenericField, TaskOptionGenericField.serializeBinaryToWriter);
|
|
10938
|
+
}
|
|
10939
|
+
}
|
|
10940
|
+
/**
|
|
10941
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
10942
|
+
* @param _value initial values object or instance of TaskField to deeply clone from
|
|
10943
|
+
*/
|
|
10944
|
+
constructor(_value) {
|
|
10945
|
+
this._field = TaskField.FieldCase.none;
|
|
10946
|
+
_value = _value || {};
|
|
10947
|
+
this.taskSummaryField = _value.taskSummaryField;
|
|
10948
|
+
this.taskOptionField = _value.taskOptionField;
|
|
10949
|
+
this.taskOptionGenericField = _value.taskOptionGenericField
|
|
10950
|
+
? new TaskOptionGenericField(_value.taskOptionGenericField)
|
|
10951
|
+
: undefined;
|
|
10952
|
+
TaskField.refineValues(this);
|
|
10953
|
+
}
|
|
10954
|
+
get taskSummaryField() {
|
|
10955
|
+
return this._taskSummaryField;
|
|
10956
|
+
}
|
|
10957
|
+
set taskSummaryField(value) {
|
|
10958
|
+
if (value !== undefined && value !== null) {
|
|
10959
|
+
this._taskOptionField = this._taskOptionGenericField = undefined;
|
|
10960
|
+
this._field = TaskField.FieldCase.taskSummaryField;
|
|
10961
|
+
}
|
|
10962
|
+
this._taskSummaryField = value;
|
|
10963
|
+
}
|
|
10964
|
+
get taskOptionField() {
|
|
10965
|
+
return this._taskOptionField;
|
|
10966
|
+
}
|
|
10967
|
+
set taskOptionField(value) {
|
|
10968
|
+
if (value !== undefined && value !== null) {
|
|
10969
|
+
this._taskSummaryField = this._taskOptionGenericField = undefined;
|
|
10970
|
+
this._field = TaskField.FieldCase.taskOptionField;
|
|
10971
|
+
}
|
|
10972
|
+
this._taskOptionField = value;
|
|
10973
|
+
}
|
|
10974
|
+
get taskOptionGenericField() {
|
|
10975
|
+
return this._taskOptionGenericField;
|
|
10976
|
+
}
|
|
10977
|
+
set taskOptionGenericField(value) {
|
|
10978
|
+
if (value !== undefined && value !== null) {
|
|
10979
|
+
this._taskSummaryField = this._taskOptionField = undefined;
|
|
10980
|
+
this._field = TaskField.FieldCase.taskOptionGenericField;
|
|
10981
|
+
}
|
|
10982
|
+
this._taskOptionGenericField = value;
|
|
10983
|
+
}
|
|
10984
|
+
get field() {
|
|
10985
|
+
return this._field;
|
|
10986
|
+
}
|
|
10987
|
+
/**
|
|
10988
|
+
* Serialize message to binary data
|
|
10989
|
+
* @param instance message instance
|
|
10990
|
+
*/
|
|
10991
|
+
serializeBinary() {
|
|
10992
|
+
const writer = new BinaryWriter();
|
|
10993
|
+
TaskField.serializeBinaryToWriter(this, writer);
|
|
10994
|
+
return writer.getResultBuffer();
|
|
10995
|
+
}
|
|
10996
|
+
/**
|
|
10997
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
10998
|
+
*/
|
|
10999
|
+
toObject() {
|
|
11000
|
+
return {
|
|
11001
|
+
taskSummaryField: this.taskSummaryField,
|
|
11002
|
+
taskOptionField: this.taskOptionField,
|
|
11003
|
+
taskOptionGenericField: this.taskOptionGenericField
|
|
11004
|
+
? this.taskOptionGenericField.toObject()
|
|
11005
|
+
: undefined
|
|
11006
|
+
};
|
|
11007
|
+
}
|
|
11008
|
+
/**
|
|
11009
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
11010
|
+
*/
|
|
11011
|
+
toJSON() {
|
|
11012
|
+
return this.toObject();
|
|
11013
|
+
}
|
|
11014
|
+
/**
|
|
11015
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
11016
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
11017
|
+
* 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
|
|
11018
|
+
*/
|
|
11019
|
+
toProtobufJSON(
|
|
11020
|
+
// @ts-ignore
|
|
11021
|
+
options) {
|
|
11022
|
+
return {
|
|
11023
|
+
taskSummaryField: this.taskSummaryField === undefined
|
|
11024
|
+
? null
|
|
11025
|
+
: TaskSummaryField[this.taskSummaryField === null ||
|
|
11026
|
+
this.taskSummaryField === undefined
|
|
11027
|
+
? 0
|
|
11028
|
+
: this.taskSummaryField],
|
|
11029
|
+
taskOptionField: this.taskOptionField === undefined
|
|
11030
|
+
? null
|
|
11031
|
+
: TaskOptionField[this.taskOptionField === null ||
|
|
11032
|
+
this.taskOptionField === undefined
|
|
11033
|
+
? 0
|
|
11034
|
+
: this.taskOptionField],
|
|
11035
|
+
taskOptionGenericField: this.taskOptionGenericField
|
|
11036
|
+
? this.taskOptionGenericField.toProtobufJSON(options)
|
|
11037
|
+
: null
|
|
11038
|
+
};
|
|
11039
|
+
}
|
|
11040
|
+
}
|
|
11041
|
+
(function (TaskField) {
|
|
11042
|
+
let FieldCase;
|
|
11043
|
+
(function (FieldCase) {
|
|
11044
|
+
FieldCase[FieldCase["none"] = 0] = "none";
|
|
11045
|
+
FieldCase[FieldCase["taskSummaryField"] = 1] = "taskSummaryField";
|
|
11046
|
+
FieldCase[FieldCase["taskOptionField"] = 2] = "taskOptionField";
|
|
11047
|
+
FieldCase[FieldCase["taskOptionGenericField"] = 3] = "taskOptionGenericField";
|
|
11048
|
+
})(FieldCase = TaskField.FieldCase || (TaskField.FieldCase = {}));
|
|
11049
|
+
})(TaskField || (TaskField = {}));
|
|
10412
11050
|
/**
|
|
10413
11051
|
* Message implementation for armonik.api.grpc.v1.tasks.ListTasksRequest
|
|
10414
11052
|
*/
|
|
@@ -10581,22 +11219,6 @@ class ListTasksRequest {
|
|
|
10581
11219
|
}
|
|
10582
11220
|
}
|
|
10583
11221
|
(function (ListTasksRequest) {
|
|
10584
|
-
let OrderByField;
|
|
10585
|
-
(function (OrderByField) {
|
|
10586
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_UNSPECIFIED"] = 0] = "ORDER_BY_FIELD_UNSPECIFIED";
|
|
10587
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_TASK_ID"] = 1] = "ORDER_BY_FIELD_TASK_ID";
|
|
10588
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_SESSION_ID"] = 2] = "ORDER_BY_FIELD_SESSION_ID";
|
|
10589
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_STATUS"] = 3] = "ORDER_BY_FIELD_STATUS";
|
|
10590
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_CREATED_AT"] = 4] = "ORDER_BY_FIELD_CREATED_AT";
|
|
10591
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_STARTED_AT"] = 5] = "ORDER_BY_FIELD_STARTED_AT";
|
|
10592
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_ENDED_AT"] = 6] = "ORDER_BY_FIELD_ENDED_AT";
|
|
10593
|
-
})(OrderByField = ListTasksRequest.OrderByField || (ListTasksRequest.OrderByField = {}));
|
|
10594
|
-
let OrderDirection;
|
|
10595
|
-
(function (OrderDirection) {
|
|
10596
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_UNSPECIFIED"] = 0] = "ORDER_DIRECTION_UNSPECIFIED";
|
|
10597
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_ASC"] = 1] = "ORDER_DIRECTION_ASC";
|
|
10598
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_DESC"] = 2] = "ORDER_DIRECTION_DESC";
|
|
10599
|
-
})(OrderDirection = ListTasksRequest.OrderDirection || (ListTasksRequest.OrderDirection = {}));
|
|
10600
11222
|
/**
|
|
10601
11223
|
* Message implementation for armonik.api.grpc.v1.tasks.ListTasksRequest.Filter
|
|
10602
11224
|
*/
|
|
@@ -10868,7 +11490,7 @@ class ListTasksRequest {
|
|
|
10868
11490
|
* @param _instance message instance
|
|
10869
11491
|
*/
|
|
10870
11492
|
static refineValues(_instance) {
|
|
10871
|
-
_instance.field = _instance.field ||
|
|
11493
|
+
_instance.field = _instance.field || undefined;
|
|
10872
11494
|
_instance.direction = _instance.direction || 0;
|
|
10873
11495
|
}
|
|
10874
11496
|
/**
|
|
@@ -10882,7 +11504,8 @@ class ListTasksRequest {
|
|
|
10882
11504
|
break;
|
|
10883
11505
|
switch (_reader.getFieldNumber()) {
|
|
10884
11506
|
case 1:
|
|
10885
|
-
_instance.field =
|
|
11507
|
+
_instance.field = new TaskField();
|
|
11508
|
+
_reader.readMessage(_instance.field, TaskField.deserializeBinaryFromReader);
|
|
10886
11509
|
break;
|
|
10887
11510
|
case 2:
|
|
10888
11511
|
_instance.direction = _reader.readEnum();
|
|
@@ -10900,7 +11523,7 @@ class ListTasksRequest {
|
|
|
10900
11523
|
*/
|
|
10901
11524
|
static serializeBinaryToWriter(_instance, _writer) {
|
|
10902
11525
|
if (_instance.field) {
|
|
10903
|
-
_writer.
|
|
11526
|
+
_writer.writeMessage(1, _instance.field, TaskField.serializeBinaryToWriter);
|
|
10904
11527
|
}
|
|
10905
11528
|
if (_instance.direction) {
|
|
10906
11529
|
_writer.writeEnum(2, _instance.direction);
|
|
@@ -10912,7 +11535,7 @@ class ListTasksRequest {
|
|
|
10912
11535
|
*/
|
|
10913
11536
|
constructor(_value) {
|
|
10914
11537
|
_value = _value || {};
|
|
10915
|
-
this.field = _value.field;
|
|
11538
|
+
this.field = _value.field ? new TaskField(_value.field) : undefined;
|
|
10916
11539
|
this.direction = _value.direction;
|
|
10917
11540
|
Sort.refineValues(this);
|
|
10918
11541
|
}
|
|
@@ -10942,7 +11565,7 @@ class ListTasksRequest {
|
|
|
10942
11565
|
*/
|
|
10943
11566
|
toObject() {
|
|
10944
11567
|
return {
|
|
10945
|
-
field: this.field,
|
|
11568
|
+
field: this.field ? this.field.toObject() : undefined,
|
|
10946
11569
|
direction: this.direction
|
|
10947
11570
|
};
|
|
10948
11571
|
}
|
|
@@ -10961,8 +11584,8 @@ class ListTasksRequest {
|
|
|
10961
11584
|
// @ts-ignore
|
|
10962
11585
|
options) {
|
|
10963
11586
|
return {
|
|
10964
|
-
field:
|
|
10965
|
-
direction:
|
|
11587
|
+
field: this.field ? this.field.toProtobufJSON(options) : null,
|
|
11588
|
+
direction: SortDirection[this.direction === null || this.direction === undefined
|
|
10966
11589
|
? 0
|
|
10967
11590
|
: this.direction]
|
|
10968
11591
|
};
|
|
@@ -12769,7 +13392,7 @@ class TasksClient {
|
|
|
12769
13392
|
*
|
|
12770
13393
|
* @param requestMessage Request message
|
|
12771
13394
|
* @param requestMetadata Request metadata
|
|
12772
|
-
* @returns Observable<GrpcEvent<
|
|
13395
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Tasks005.ListTasksResponse>>
|
|
12773
13396
|
*/
|
|
12774
13397
|
listTasks: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
12775
13398
|
return this.handler.handle({
|
|
@@ -12787,7 +13410,7 @@ class TasksClient {
|
|
|
12787
13410
|
*
|
|
12788
13411
|
* @param requestMessage Request message
|
|
12789
13412
|
* @param requestMetadata Request metadata
|
|
12790
|
-
* @returns Observable<GrpcEvent<
|
|
13413
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Tasks005.ListTasksRawResponse>>
|
|
12791
13414
|
*/
|
|
12792
13415
|
listTasksRaw: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
12793
13416
|
return this.handler.handle({
|
|
@@ -12805,7 +13428,7 @@ class TasksClient {
|
|
|
12805
13428
|
*
|
|
12806
13429
|
* @param requestMessage Request message
|
|
12807
13430
|
* @param requestMetadata Request metadata
|
|
12808
|
-
* @returns Observable<GrpcEvent<
|
|
13431
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Tasks005.GetTaskResponse>>
|
|
12809
13432
|
*/
|
|
12810
13433
|
getTask: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
12811
13434
|
return this.handler.handle({
|
|
@@ -12823,7 +13446,7 @@ class TasksClient {
|
|
|
12823
13446
|
*
|
|
12824
13447
|
* @param requestMessage Request message
|
|
12825
13448
|
* @param requestMetadata Request metadata
|
|
12826
|
-
* @returns Observable<GrpcEvent<
|
|
13449
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Tasks005.CancelTasksResponse>>
|
|
12827
13450
|
*/
|
|
12828
13451
|
cancelTasks: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
12829
13452
|
return this.handler.handle({
|
|
@@ -12841,7 +13464,7 @@ class TasksClient {
|
|
|
12841
13464
|
*
|
|
12842
13465
|
* @param requestMessage Request message
|
|
12843
13466
|
* @param requestMetadata Request metadata
|
|
12844
|
-
* @returns Observable<GrpcEvent<
|
|
13467
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Tasks005.GetResultIdsResponse>>
|
|
12845
13468
|
*/
|
|
12846
13469
|
getResultIds: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
12847
13470
|
return this.handler.handle({
|
|
@@ -12859,7 +13482,7 @@ class TasksClient {
|
|
|
12859
13482
|
*
|
|
12860
13483
|
* @param requestMessage Request message
|
|
12861
13484
|
* @param requestMetadata Request metadata
|
|
12862
|
-
* @returns Observable<GrpcEvent<
|
|
13485
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Tasks005.CountTasksByStatusResponse>>
|
|
12863
13486
|
*/
|
|
12864
13487
|
countTasksByStatus: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
12865
13488
|
return this.handler.handle({
|
|
@@ -12877,7 +13500,7 @@ class TasksClient {
|
|
|
12877
13500
|
*
|
|
12878
13501
|
* @param requestMessage Request message
|
|
12879
13502
|
* @param requestMetadata Request metadata
|
|
12880
|
-
* @returns Observable<GrpcEvent<
|
|
13503
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Tasks005.SubmitTasksResponse>>
|
|
12881
13504
|
*/
|
|
12882
13505
|
submitTasks: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
12883
13506
|
return this.handler.handle({
|
|
@@ -12898,7 +13521,7 @@ class TasksClient {
|
|
|
12898
13521
|
*
|
|
12899
13522
|
* @param requestMessage Request message
|
|
12900
13523
|
* @param requestMetadata Request metadata
|
|
12901
|
-
* @returns Observable<
|
|
13524
|
+
* @returns Observable<armonikApiGrpcV1Tasks005.ListTasksResponse>
|
|
12902
13525
|
*/
|
|
12903
13526
|
listTasks(requestData, requestMetadata = new GrpcMetadata()) {
|
|
12904
13527
|
return this.$raw
|
|
@@ -12910,7 +13533,7 @@ class TasksClient {
|
|
|
12910
13533
|
*
|
|
12911
13534
|
* @param requestMessage Request message
|
|
12912
13535
|
* @param requestMetadata Request metadata
|
|
12913
|
-
* @returns Observable<
|
|
13536
|
+
* @returns Observable<armonikApiGrpcV1Tasks005.ListTasksRawResponse>
|
|
12914
13537
|
*/
|
|
12915
13538
|
listTasksRaw(requestData, requestMetadata = new GrpcMetadata()) {
|
|
12916
13539
|
return this.$raw
|
|
@@ -12922,7 +13545,7 @@ class TasksClient {
|
|
|
12922
13545
|
*
|
|
12923
13546
|
* @param requestMessage Request message
|
|
12924
13547
|
* @param requestMetadata Request metadata
|
|
12925
|
-
* @returns Observable<
|
|
13548
|
+
* @returns Observable<armonikApiGrpcV1Tasks005.GetTaskResponse>
|
|
12926
13549
|
*/
|
|
12927
13550
|
getTask(requestData, requestMetadata = new GrpcMetadata()) {
|
|
12928
13551
|
return this.$raw
|
|
@@ -12934,7 +13557,7 @@ class TasksClient {
|
|
|
12934
13557
|
*
|
|
12935
13558
|
* @param requestMessage Request message
|
|
12936
13559
|
* @param requestMetadata Request metadata
|
|
12937
|
-
* @returns Observable<
|
|
13560
|
+
* @returns Observable<armonikApiGrpcV1Tasks005.CancelTasksResponse>
|
|
12938
13561
|
*/
|
|
12939
13562
|
cancelTasks(requestData, requestMetadata = new GrpcMetadata()) {
|
|
12940
13563
|
return this.$raw
|
|
@@ -12946,7 +13569,7 @@ class TasksClient {
|
|
|
12946
13569
|
*
|
|
12947
13570
|
* @param requestMessage Request message
|
|
12948
13571
|
* @param requestMetadata Request metadata
|
|
12949
|
-
* @returns Observable<
|
|
13572
|
+
* @returns Observable<armonikApiGrpcV1Tasks005.GetResultIdsResponse>
|
|
12950
13573
|
*/
|
|
12951
13574
|
getResultIds(requestData, requestMetadata = new GrpcMetadata()) {
|
|
12952
13575
|
return this.$raw
|
|
@@ -12958,7 +13581,7 @@ class TasksClient {
|
|
|
12958
13581
|
*
|
|
12959
13582
|
* @param requestMessage Request message
|
|
12960
13583
|
* @param requestMetadata Request metadata
|
|
12961
|
-
* @returns Observable<
|
|
13584
|
+
* @returns Observable<armonikApiGrpcV1Tasks005.CountTasksByStatusResponse>
|
|
12962
13585
|
*/
|
|
12963
13586
|
countTasksByStatus(requestData, requestMetadata = new GrpcMetadata()) {
|
|
12964
13587
|
return this.$raw
|
|
@@ -12970,7 +13593,7 @@ class TasksClient {
|
|
|
12970
13593
|
*
|
|
12971
13594
|
* @param requestMessage Request message
|
|
12972
13595
|
* @param requestMetadata Request metadata
|
|
12973
|
-
* @returns Observable<
|
|
13596
|
+
* @returns Observable<armonikApiGrpcV1Tasks005.SubmitTasksResponse>
|
|
12974
13597
|
*/
|
|
12975
13598
|
submitTasks(requestData, requestMetadata = new GrpcMetadata()) {
|
|
12976
13599
|
return this.$raw
|
|
@@ -12993,6 +13616,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
12993
13616
|
args: [GRPC_CLIENT_FACTORY]
|
|
12994
13617
|
}] }, { type: i1.GrpcHandler }]; } });
|
|
12995
13618
|
|
|
13619
|
+
var PartitionRawField;
|
|
13620
|
+
(function (PartitionRawField) {
|
|
13621
|
+
PartitionRawField[PartitionRawField["PARTITION_RAW_FIELD_UNSPECIFIED"] = 0] = "PARTITION_RAW_FIELD_UNSPECIFIED";
|
|
13622
|
+
PartitionRawField[PartitionRawField["PARTITION_RAW_FIELD_ID"] = 1] = "PARTITION_RAW_FIELD_ID";
|
|
13623
|
+
PartitionRawField[PartitionRawField["PARTITION_RAW_FIELD_PARENT_PARTITION_IDS"] = 2] = "PARTITION_RAW_FIELD_PARENT_PARTITION_IDS";
|
|
13624
|
+
PartitionRawField[PartitionRawField["PARTITION_RAW_FIELD_POD_RESERVED"] = 3] = "PARTITION_RAW_FIELD_POD_RESERVED";
|
|
13625
|
+
PartitionRawField[PartitionRawField["PARTITION_RAW_FIELD_POD_MAX"] = 4] = "PARTITION_RAW_FIELD_POD_MAX";
|
|
13626
|
+
PartitionRawField[PartitionRawField["PARTITION_RAW_FIELD_PREEMPTION_PERCENTAGE"] = 5] = "PARTITION_RAW_FIELD_PREEMPTION_PERCENTAGE";
|
|
13627
|
+
PartitionRawField[PartitionRawField["PARTITION_RAW_FIELD_PRIORITY"] = 6] = "PARTITION_RAW_FIELD_PRIORITY";
|
|
13628
|
+
})(PartitionRawField || (PartitionRawField = {}));
|
|
12996
13629
|
/**
|
|
12997
13630
|
* Message implementation for armonik.api.grpc.v1.partitions.PartitionRaw
|
|
12998
13631
|
*/
|
|
@@ -13329,6 +13962,124 @@ class PartitionRaw {
|
|
|
13329
13962
|
}
|
|
13330
13963
|
PartitionRaw.PodConfigurationEntry = PodConfigurationEntry;
|
|
13331
13964
|
})(PartitionRaw || (PartitionRaw = {}));
|
|
13965
|
+
/**
|
|
13966
|
+
* Message implementation for armonik.api.grpc.v1.partitions.PartitionField
|
|
13967
|
+
*/
|
|
13968
|
+
class PartitionField {
|
|
13969
|
+
static { this.id = 'armonik.api.grpc.v1.partitions.PartitionField'; }
|
|
13970
|
+
/**
|
|
13971
|
+
* Deserialize binary data to message
|
|
13972
|
+
* @param instance message instance
|
|
13973
|
+
*/
|
|
13974
|
+
static deserializeBinary(bytes) {
|
|
13975
|
+
const instance = new PartitionField();
|
|
13976
|
+
PartitionField.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
13977
|
+
return instance;
|
|
13978
|
+
}
|
|
13979
|
+
/**
|
|
13980
|
+
* Check all the properties and set default protobuf values if necessary
|
|
13981
|
+
* @param _instance message instance
|
|
13982
|
+
*/
|
|
13983
|
+
static refineValues(_instance) { }
|
|
13984
|
+
/**
|
|
13985
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
13986
|
+
* @param _instance message instance
|
|
13987
|
+
* @param _reader binary reader instance
|
|
13988
|
+
*/
|
|
13989
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
13990
|
+
while (_reader.nextField()) {
|
|
13991
|
+
if (_reader.isEndGroup())
|
|
13992
|
+
break;
|
|
13993
|
+
switch (_reader.getFieldNumber()) {
|
|
13994
|
+
case 1:
|
|
13995
|
+
_instance.partitionRawField = _reader.readEnum();
|
|
13996
|
+
break;
|
|
13997
|
+
default:
|
|
13998
|
+
_reader.skipField();
|
|
13999
|
+
}
|
|
14000
|
+
}
|
|
14001
|
+
PartitionField.refineValues(_instance);
|
|
14002
|
+
}
|
|
14003
|
+
/**
|
|
14004
|
+
* Serializes a message to binary format using provided binary reader
|
|
14005
|
+
* @param _instance message instance
|
|
14006
|
+
* @param _writer binary writer instance
|
|
14007
|
+
*/
|
|
14008
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
14009
|
+
if (_instance.partitionRawField || _instance.partitionRawField === 0) {
|
|
14010
|
+
_writer.writeEnum(1, _instance.partitionRawField);
|
|
14011
|
+
}
|
|
14012
|
+
}
|
|
14013
|
+
/**
|
|
14014
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
14015
|
+
* @param _value initial values object or instance of PartitionField to deeply clone from
|
|
14016
|
+
*/
|
|
14017
|
+
constructor(_value) {
|
|
14018
|
+
this._field = PartitionField.FieldCase.none;
|
|
14019
|
+
_value = _value || {};
|
|
14020
|
+
this.partitionRawField = _value.partitionRawField;
|
|
14021
|
+
PartitionField.refineValues(this);
|
|
14022
|
+
}
|
|
14023
|
+
get partitionRawField() {
|
|
14024
|
+
return this._partitionRawField;
|
|
14025
|
+
}
|
|
14026
|
+
set partitionRawField(value) {
|
|
14027
|
+
if (value !== undefined && value !== null) {
|
|
14028
|
+
this._field = PartitionField.FieldCase.partitionRawField;
|
|
14029
|
+
}
|
|
14030
|
+
this._partitionRawField = value;
|
|
14031
|
+
}
|
|
14032
|
+
get field() {
|
|
14033
|
+
return this._field;
|
|
14034
|
+
}
|
|
14035
|
+
/**
|
|
14036
|
+
* Serialize message to binary data
|
|
14037
|
+
* @param instance message instance
|
|
14038
|
+
*/
|
|
14039
|
+
serializeBinary() {
|
|
14040
|
+
const writer = new BinaryWriter();
|
|
14041
|
+
PartitionField.serializeBinaryToWriter(this, writer);
|
|
14042
|
+
return writer.getResultBuffer();
|
|
14043
|
+
}
|
|
14044
|
+
/**
|
|
14045
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
14046
|
+
*/
|
|
14047
|
+
toObject() {
|
|
14048
|
+
return {
|
|
14049
|
+
partitionRawField: this.partitionRawField
|
|
14050
|
+
};
|
|
14051
|
+
}
|
|
14052
|
+
/**
|
|
14053
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
14054
|
+
*/
|
|
14055
|
+
toJSON() {
|
|
14056
|
+
return this.toObject();
|
|
14057
|
+
}
|
|
14058
|
+
/**
|
|
14059
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
14060
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
14061
|
+
* 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
|
|
14062
|
+
*/
|
|
14063
|
+
toProtobufJSON(
|
|
14064
|
+
// @ts-ignore
|
|
14065
|
+
options) {
|
|
14066
|
+
return {
|
|
14067
|
+
partitionRawField: this.partitionRawField === undefined
|
|
14068
|
+
? null
|
|
14069
|
+
: PartitionRawField[this.partitionRawField === null ||
|
|
14070
|
+
this.partitionRawField === undefined
|
|
14071
|
+
? 0
|
|
14072
|
+
: this.partitionRawField]
|
|
14073
|
+
};
|
|
14074
|
+
}
|
|
14075
|
+
}
|
|
14076
|
+
(function (PartitionField) {
|
|
14077
|
+
let FieldCase;
|
|
14078
|
+
(function (FieldCase) {
|
|
14079
|
+
FieldCase[FieldCase["none"] = 0] = "none";
|
|
14080
|
+
FieldCase[FieldCase["partitionRawField"] = 1] = "partitionRawField";
|
|
14081
|
+
})(FieldCase = PartitionField.FieldCase || (PartitionField.FieldCase = {}));
|
|
14082
|
+
})(PartitionField || (PartitionField = {}));
|
|
13332
14083
|
/**
|
|
13333
14084
|
* Message implementation for armonik.api.grpc.v1.partitions.ListPartitionsRequest
|
|
13334
14085
|
*/
|
|
@@ -13485,22 +14236,6 @@ class ListPartitionsRequest {
|
|
|
13485
14236
|
}
|
|
13486
14237
|
}
|
|
13487
14238
|
(function (ListPartitionsRequest) {
|
|
13488
|
-
let OrderByField;
|
|
13489
|
-
(function (OrderByField) {
|
|
13490
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_UNSPECIFIED"] = 0] = "ORDER_BY_FIELD_UNSPECIFIED";
|
|
13491
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_ID"] = 1] = "ORDER_BY_FIELD_ID";
|
|
13492
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_PARENT_PARTITION_IDS"] = 2] = "ORDER_BY_FIELD_PARENT_PARTITION_IDS";
|
|
13493
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_POD_RESERVED"] = 3] = "ORDER_BY_FIELD_POD_RESERVED";
|
|
13494
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_POD_MAX"] = 4] = "ORDER_BY_FIELD_POD_MAX";
|
|
13495
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_PREEMPTION_PERCENTAGE"] = 5] = "ORDER_BY_FIELD_PREEMPTION_PERCENTAGE";
|
|
13496
|
-
OrderByField[OrderByField["ORDER_BY_FIELD_PRIORITY"] = 6] = "ORDER_BY_FIELD_PRIORITY";
|
|
13497
|
-
})(OrderByField = ListPartitionsRequest.OrderByField || (ListPartitionsRequest.OrderByField = {}));
|
|
13498
|
-
let OrderDirection;
|
|
13499
|
-
(function (OrderDirection) {
|
|
13500
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_UNSPECIFIED"] = 0] = "ORDER_DIRECTION_UNSPECIFIED";
|
|
13501
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_ASC"] = 1] = "ORDER_DIRECTION_ASC";
|
|
13502
|
-
OrderDirection[OrderDirection["ORDER_DIRECTION_DESC"] = 2] = "ORDER_DIRECTION_DESC";
|
|
13503
|
-
})(OrderDirection = ListPartitionsRequest.OrderDirection || (ListPartitionsRequest.OrderDirection = {}));
|
|
13504
14239
|
/**
|
|
13505
14240
|
* Message implementation for armonik.api.grpc.v1.partitions.ListPartitionsRequest.Filter
|
|
13506
14241
|
*/
|
|
@@ -13702,7 +14437,7 @@ class ListPartitionsRequest {
|
|
|
13702
14437
|
* @param _instance message instance
|
|
13703
14438
|
*/
|
|
13704
14439
|
static refineValues(_instance) {
|
|
13705
|
-
_instance.field = _instance.field ||
|
|
14440
|
+
_instance.field = _instance.field || undefined;
|
|
13706
14441
|
_instance.direction = _instance.direction || 0;
|
|
13707
14442
|
}
|
|
13708
14443
|
/**
|
|
@@ -13716,7 +14451,8 @@ class ListPartitionsRequest {
|
|
|
13716
14451
|
break;
|
|
13717
14452
|
switch (_reader.getFieldNumber()) {
|
|
13718
14453
|
case 1:
|
|
13719
|
-
_instance.field =
|
|
14454
|
+
_instance.field = new PartitionField();
|
|
14455
|
+
_reader.readMessage(_instance.field, PartitionField.deserializeBinaryFromReader);
|
|
13720
14456
|
break;
|
|
13721
14457
|
case 2:
|
|
13722
14458
|
_instance.direction = _reader.readEnum();
|
|
@@ -13734,7 +14470,7 @@ class ListPartitionsRequest {
|
|
|
13734
14470
|
*/
|
|
13735
14471
|
static serializeBinaryToWriter(_instance, _writer) {
|
|
13736
14472
|
if (_instance.field) {
|
|
13737
|
-
_writer.
|
|
14473
|
+
_writer.writeMessage(1, _instance.field, PartitionField.serializeBinaryToWriter);
|
|
13738
14474
|
}
|
|
13739
14475
|
if (_instance.direction) {
|
|
13740
14476
|
_writer.writeEnum(2, _instance.direction);
|
|
@@ -13746,7 +14482,7 @@ class ListPartitionsRequest {
|
|
|
13746
14482
|
*/
|
|
13747
14483
|
constructor(_value) {
|
|
13748
14484
|
_value = _value || {};
|
|
13749
|
-
this.field = _value.field;
|
|
14485
|
+
this.field = _value.field ? new PartitionField(_value.field) : undefined;
|
|
13750
14486
|
this.direction = _value.direction;
|
|
13751
14487
|
Sort.refineValues(this);
|
|
13752
14488
|
}
|
|
@@ -13776,7 +14512,7 @@ class ListPartitionsRequest {
|
|
|
13776
14512
|
*/
|
|
13777
14513
|
toObject() {
|
|
13778
14514
|
return {
|
|
13779
|
-
field: this.field,
|
|
14515
|
+
field: this.field ? this.field.toObject() : undefined,
|
|
13780
14516
|
direction: this.direction
|
|
13781
14517
|
};
|
|
13782
14518
|
}
|
|
@@ -13795,8 +14531,8 @@ class ListPartitionsRequest {
|
|
|
13795
14531
|
// @ts-ignore
|
|
13796
14532
|
options) {
|
|
13797
14533
|
return {
|
|
13798
|
-
field:
|
|
13799
|
-
direction:
|
|
14534
|
+
field: this.field ? this.field.toProtobufJSON(options) : null,
|
|
14535
|
+
direction: SortDirection[this.direction === null || this.direction === undefined
|
|
13800
14536
|
? 0
|
|
13801
14537
|
: this.direction]
|
|
13802
14538
|
};
|
|
@@ -14186,7 +14922,7 @@ class PartitionsClient {
|
|
|
14186
14922
|
*
|
|
14187
14923
|
* @param requestMessage Request message
|
|
14188
14924
|
* @param requestMetadata Request metadata
|
|
14189
|
-
* @returns Observable<GrpcEvent<
|
|
14925
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Partitions001.ListPartitionsResponse>>
|
|
14190
14926
|
*/
|
|
14191
14927
|
listPartitions: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
14192
14928
|
return this.handler.handle({
|
|
@@ -14204,7 +14940,7 @@ class PartitionsClient {
|
|
|
14204
14940
|
*
|
|
14205
14941
|
* @param requestMessage Request message
|
|
14206
14942
|
* @param requestMetadata Request metadata
|
|
14207
|
-
* @returns Observable<GrpcEvent<
|
|
14943
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Partitions001.GetPartitionResponse>>
|
|
14208
14944
|
*/
|
|
14209
14945
|
getPartition: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
14210
14946
|
return this.handler.handle({
|
|
@@ -14225,7 +14961,7 @@ class PartitionsClient {
|
|
|
14225
14961
|
*
|
|
14226
14962
|
* @param requestMessage Request message
|
|
14227
14963
|
* @param requestMetadata Request metadata
|
|
14228
|
-
* @returns Observable<
|
|
14964
|
+
* @returns Observable<armonikApiGrpcV1Partitions001.ListPartitionsResponse>
|
|
14229
14965
|
*/
|
|
14230
14966
|
listPartitions(requestData, requestMetadata = new GrpcMetadata()) {
|
|
14231
14967
|
return this.$raw
|
|
@@ -14237,7 +14973,7 @@ class PartitionsClient {
|
|
|
14237
14973
|
*
|
|
14238
14974
|
* @param requestMessage Request message
|
|
14239
14975
|
* @param requestMetadata Request metadata
|
|
14240
|
-
* @returns Observable<
|
|
14976
|
+
* @returns Observable<armonikApiGrpcV1Partitions001.GetPartitionResponse>
|
|
14241
14977
|
*/
|
|
14242
14978
|
getPartition(requestData, requestMetadata = new GrpcMetadata()) {
|
|
14243
14979
|
return this.$raw
|
|
@@ -14268,5 +15004,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
14268
15004
|
* Generated bundle index. Do not edit.
|
|
14269
15005
|
*/
|
|
14270
15006
|
|
|
14271
|
-
export { ApplicationRaw, ApplicationsClient, AuthenticationClient, CancelSessionRequest, CancelSessionResponse, CancelTasksRequest, CancelTasksResponse, CountTasksByStatusRequest$2 as CountTasksByStatusApplicationRequest, CountTasksByStatusResponse$2 as CountTasksByStatusApplicationResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, GetCurrentUserRequest, GetCurrentUserResponse, GetOwnerTaskIdRequest, GetOwnerTaskIdResponse, GetPartitionRequest, GetPartitionResponse, GetResultIdsRequest, GetResultIdsResponse, GetSessionRequest, GetSessionResponse, GetTaskRequest, GetTaskResponse, ListApplicationsRequest, ListApplicationsResponse, ListPartitionsRequest, ListPartitionsResponse, ListResultsRequest, ListResultsResponse, ListSessionsRequest, ListSessionsResponse, ListTasksRequest, ListTasksResponse, PartitionRaw, PartitionsClient, ResultRaw, ResultStatus, ResultsClient, SessionRaw, SessionStatus, SessionsClient, StatusCount, TaskRaw, TaskStatus, TaskSummary, TasksClient, User };
|
|
15007
|
+
export { ApplicationField, ApplicationRaw, ApplicationRawField, ApplicationsClient, AuthenticationClient, CancelSessionRequest, CancelSessionResponse, CancelTasksRequest, CancelTasksResponse, CountTasksByStatusRequest$2 as CountTasksByStatusApplicationRequest, CountTasksByStatusResponse$2 as CountTasksByStatusApplicationResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, CountTasksByStatusRequest$1 as CountTasksByStatusSessionRequest, CountTasksByStatusResponse$1 as CountTasksByStatusSessionResponse, GetCurrentUserRequest, GetCurrentUserResponse, GetOwnerTaskIdRequest, GetOwnerTaskIdResponse, GetPartitionRequest, GetPartitionResponse, GetResultIdsRequest, GetResultIdsResponse, GetSessionRequest, GetSessionResponse, GetTaskRequest, GetTaskResponse, ListApplicationsRequest, ListApplicationsResponse, ListPartitionsRequest, ListPartitionsResponse, ListResultsRequest, ListResultsResponse, ListSessionsRequest, ListSessionsResponse, ListTasksRequest, ListTasksResponse, PartitionRaw, PartitionsClient, ResultField, ResultRaw, ResultRawField, ResultStatus, ResultsClient, SessionField, SessionRaw, SessionRawField, SessionStatus, SessionsClient, SortDirection, StatusCount, TaskRaw, TaskStatus, TaskSummary, TasksClient, User };
|
|
14272
15008
|
//# sourceMappingURL=aneoconsultingfr-armonik.api.angular.mjs.map
|