@aneoconsultingfr/armonik.api.angular 3.11.0-edge.97.da9b639 → 3.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/esm2022/lib/generated/events-common.pb.mjs +19 -3
- package/esm2022/lib/generated/sessions-common.pb.mjs +226 -1
- package/esm2022/lib/generated/sessions-service.pbsc.mjs +31 -1
- package/esm2022/lib/generated/tasks-common.pb.mjs +38 -36
- package/esm2022/lib/generated/tasks-service.pbsc.mjs +10 -10
- package/esm2022/lib/index.mjs +2 -2
- package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs +320 -47
- package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs.map +1 -1
- package/lib/generated/events-common.pb.d.ts +5 -0
- package/lib/generated/sessions-common.pb.d.ts +143 -0
- package/lib/generated/sessions-service.pbsc.d.ts +16 -0
- package/lib/generated/tasks-common.pb.d.ts +41 -41
- package/lib/generated/tasks-service.pbsc.d.ts +6 -6
- package/lib/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3046,6 +3046,7 @@ class EventSubscriptionResponse {
|
|
|
3046
3046
|
_instance.expectedOutputKeys = _instance.expectedOutputKeys || [];
|
|
3047
3047
|
_instance.dataDependencies = _instance.dataDependencies || [];
|
|
3048
3048
|
_instance.retryOfIds = _instance.retryOfIds || [];
|
|
3049
|
+
_instance.parentTaskIds = _instance.parentTaskIds || [];
|
|
3049
3050
|
}
|
|
3050
3051
|
/**
|
|
3051
3052
|
* Deserializes / reads binary message into message instance using provided binary reader
|
|
@@ -3080,6 +3081,9 @@ class EventSubscriptionResponse {
|
|
|
3080
3081
|
case 46:
|
|
3081
3082
|
(_instance.retryOfIds = _instance.retryOfIds || []).push(_reader.readString());
|
|
3082
3083
|
break;
|
|
3084
|
+
case 47:
|
|
3085
|
+
(_instance.parentTaskIds = _instance.parentTaskIds || []).push(_reader.readString());
|
|
3086
|
+
break;
|
|
3083
3087
|
default:
|
|
3084
3088
|
_reader.skipField();
|
|
3085
3089
|
}
|
|
@@ -3113,6 +3117,9 @@ class EventSubscriptionResponse {
|
|
|
3113
3117
|
if (_instance.retryOfIds && _instance.retryOfIds.length) {
|
|
3114
3118
|
_writer.writeRepeatedString(46, _instance.retryOfIds);
|
|
3115
3119
|
}
|
|
3120
|
+
if (_instance.parentTaskIds && _instance.parentTaskIds.length) {
|
|
3121
|
+
_writer.writeRepeatedString(47, _instance.parentTaskIds);
|
|
3122
|
+
}
|
|
3116
3123
|
}
|
|
3117
3124
|
/**
|
|
3118
3125
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
@@ -3127,6 +3134,7 @@ class EventSubscriptionResponse {
|
|
|
3127
3134
|
this.expectedOutputKeys = (_value.expectedOutputKeys || []).slice();
|
|
3128
3135
|
this.dataDependencies = (_value.dataDependencies || []).slice();
|
|
3129
3136
|
this.retryOfIds = (_value.retryOfIds || []).slice();
|
|
3137
|
+
this.parentTaskIds = (_value.parentTaskIds || []).slice();
|
|
3130
3138
|
NewTask.refineValues(this);
|
|
3131
3139
|
}
|
|
3132
3140
|
get taskId() {
|
|
@@ -3171,6 +3179,12 @@ class EventSubscriptionResponse {
|
|
|
3171
3179
|
set retryOfIds(value) {
|
|
3172
3180
|
this._retryOfIds = value;
|
|
3173
3181
|
}
|
|
3182
|
+
get parentTaskIds() {
|
|
3183
|
+
return this._parentTaskIds;
|
|
3184
|
+
}
|
|
3185
|
+
set parentTaskIds(value) {
|
|
3186
|
+
this._parentTaskIds = value;
|
|
3187
|
+
}
|
|
3174
3188
|
/**
|
|
3175
3189
|
* Serialize message to binary data
|
|
3176
3190
|
* @param instance message instance
|
|
@@ -3191,7 +3205,8 @@ class EventSubscriptionResponse {
|
|
|
3191
3205
|
status: this.status,
|
|
3192
3206
|
expectedOutputKeys: (this.expectedOutputKeys || []).slice(),
|
|
3193
3207
|
dataDependencies: (this.dataDependencies || []).slice(),
|
|
3194
|
-
retryOfIds: (this.retryOfIds || []).slice()
|
|
3208
|
+
retryOfIds: (this.retryOfIds || []).slice(),
|
|
3209
|
+
parentTaskIds: (this.parentTaskIds || []).slice()
|
|
3195
3210
|
};
|
|
3196
3211
|
}
|
|
3197
3212
|
/**
|
|
@@ -3215,7 +3230,8 @@ class EventSubscriptionResponse {
|
|
|
3215
3230
|
status: TaskStatus[this.status === null || this.status === undefined ? 0 : this.status],
|
|
3216
3231
|
expectedOutputKeys: (this.expectedOutputKeys || []).slice(),
|
|
3217
3232
|
dataDependencies: (this.dataDependencies || []).slice(),
|
|
3218
|
-
retryOfIds: (this.retryOfIds || []).slice()
|
|
3233
|
+
retryOfIds: (this.retryOfIds || []).slice(),
|
|
3234
|
+
parentTaskIds: (this.parentTaskIds || []).slice()
|
|
3219
3235
|
};
|
|
3220
3236
|
}
|
|
3221
3237
|
}
|
|
@@ -13909,6 +13925,231 @@ class CancelSessionResponse {
|
|
|
13909
13925
|
};
|
|
13910
13926
|
}
|
|
13911
13927
|
}
|
|
13928
|
+
/**
|
|
13929
|
+
* Message implementation for armonik.api.grpc.v1.sessions.CreateSessionRequest
|
|
13930
|
+
*/
|
|
13931
|
+
class CreateSessionRequest {
|
|
13932
|
+
static { this.id = 'armonik.api.grpc.v1.sessions.CreateSessionRequest'; }
|
|
13933
|
+
/**
|
|
13934
|
+
* Deserialize binary data to message
|
|
13935
|
+
* @param instance message instance
|
|
13936
|
+
*/
|
|
13937
|
+
static deserializeBinary(bytes) {
|
|
13938
|
+
const instance = new CreateSessionRequest();
|
|
13939
|
+
CreateSessionRequest.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
13940
|
+
return instance;
|
|
13941
|
+
}
|
|
13942
|
+
/**
|
|
13943
|
+
* Check all the properties and set default protobuf values if necessary
|
|
13944
|
+
* @param _instance message instance
|
|
13945
|
+
*/
|
|
13946
|
+
static refineValues(_instance) {
|
|
13947
|
+
_instance.defaultTaskOption = _instance.defaultTaskOption || undefined;
|
|
13948
|
+
_instance.partitionIds = _instance.partitionIds || [];
|
|
13949
|
+
}
|
|
13950
|
+
/**
|
|
13951
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
13952
|
+
* @param _instance message instance
|
|
13953
|
+
* @param _reader binary reader instance
|
|
13954
|
+
*/
|
|
13955
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
13956
|
+
while (_reader.nextField()) {
|
|
13957
|
+
if (_reader.isEndGroup())
|
|
13958
|
+
break;
|
|
13959
|
+
switch (_reader.getFieldNumber()) {
|
|
13960
|
+
case 1:
|
|
13961
|
+
_instance.defaultTaskOption = new TaskOptions();
|
|
13962
|
+
_reader.readMessage(_instance.defaultTaskOption, TaskOptions.deserializeBinaryFromReader);
|
|
13963
|
+
break;
|
|
13964
|
+
case 2:
|
|
13965
|
+
(_instance.partitionIds = _instance.partitionIds || []).push(_reader.readString());
|
|
13966
|
+
break;
|
|
13967
|
+
default:
|
|
13968
|
+
_reader.skipField();
|
|
13969
|
+
}
|
|
13970
|
+
}
|
|
13971
|
+
CreateSessionRequest.refineValues(_instance);
|
|
13972
|
+
}
|
|
13973
|
+
/**
|
|
13974
|
+
* Serializes a message to binary format using provided binary reader
|
|
13975
|
+
* @param _instance message instance
|
|
13976
|
+
* @param _writer binary writer instance
|
|
13977
|
+
*/
|
|
13978
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
13979
|
+
if (_instance.defaultTaskOption) {
|
|
13980
|
+
_writer.writeMessage(1, _instance.defaultTaskOption, TaskOptions.serializeBinaryToWriter);
|
|
13981
|
+
}
|
|
13982
|
+
if (_instance.partitionIds && _instance.partitionIds.length) {
|
|
13983
|
+
_writer.writeRepeatedString(2, _instance.partitionIds);
|
|
13984
|
+
}
|
|
13985
|
+
}
|
|
13986
|
+
/**
|
|
13987
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
13988
|
+
* @param _value initial values object or instance of CreateSessionRequest to deeply clone from
|
|
13989
|
+
*/
|
|
13990
|
+
constructor(_value) {
|
|
13991
|
+
_value = _value || {};
|
|
13992
|
+
this.defaultTaskOption = _value.defaultTaskOption
|
|
13993
|
+
? new TaskOptions(_value.defaultTaskOption)
|
|
13994
|
+
: undefined;
|
|
13995
|
+
this.partitionIds = (_value.partitionIds || []).slice();
|
|
13996
|
+
CreateSessionRequest.refineValues(this);
|
|
13997
|
+
}
|
|
13998
|
+
get defaultTaskOption() {
|
|
13999
|
+
return this._defaultTaskOption;
|
|
14000
|
+
}
|
|
14001
|
+
set defaultTaskOption(value) {
|
|
14002
|
+
this._defaultTaskOption = value;
|
|
14003
|
+
}
|
|
14004
|
+
get partitionIds() {
|
|
14005
|
+
return this._partitionIds;
|
|
14006
|
+
}
|
|
14007
|
+
set partitionIds(value) {
|
|
14008
|
+
this._partitionIds = value;
|
|
14009
|
+
}
|
|
14010
|
+
/**
|
|
14011
|
+
* Serialize message to binary data
|
|
14012
|
+
* @param instance message instance
|
|
14013
|
+
*/
|
|
14014
|
+
serializeBinary() {
|
|
14015
|
+
const writer = new BinaryWriter();
|
|
14016
|
+
CreateSessionRequest.serializeBinaryToWriter(this, writer);
|
|
14017
|
+
return writer.getResultBuffer();
|
|
14018
|
+
}
|
|
14019
|
+
/**
|
|
14020
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
14021
|
+
*/
|
|
14022
|
+
toObject() {
|
|
14023
|
+
return {
|
|
14024
|
+
defaultTaskOption: this.defaultTaskOption
|
|
14025
|
+
? this.defaultTaskOption.toObject()
|
|
14026
|
+
: undefined,
|
|
14027
|
+
partitionIds: (this.partitionIds || []).slice()
|
|
14028
|
+
};
|
|
14029
|
+
}
|
|
14030
|
+
/**
|
|
14031
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
14032
|
+
*/
|
|
14033
|
+
toJSON() {
|
|
14034
|
+
return this.toObject();
|
|
14035
|
+
}
|
|
14036
|
+
/**
|
|
14037
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
14038
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
14039
|
+
* 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
|
|
14040
|
+
*/
|
|
14041
|
+
toProtobufJSON(
|
|
14042
|
+
// @ts-ignore
|
|
14043
|
+
options) {
|
|
14044
|
+
return {
|
|
14045
|
+
defaultTaskOption: this.defaultTaskOption
|
|
14046
|
+
? this.defaultTaskOption.toProtobufJSON(options)
|
|
14047
|
+
: null,
|
|
14048
|
+
partitionIds: (this.partitionIds || []).slice()
|
|
14049
|
+
};
|
|
14050
|
+
}
|
|
14051
|
+
}
|
|
14052
|
+
/**
|
|
14053
|
+
* Message implementation for armonik.api.grpc.v1.sessions.CreateSessionReply
|
|
14054
|
+
*/
|
|
14055
|
+
class CreateSessionReply {
|
|
14056
|
+
static { this.id = 'armonik.api.grpc.v1.sessions.CreateSessionReply'; }
|
|
14057
|
+
/**
|
|
14058
|
+
* Deserialize binary data to message
|
|
14059
|
+
* @param instance message instance
|
|
14060
|
+
*/
|
|
14061
|
+
static deserializeBinary(bytes) {
|
|
14062
|
+
const instance = new CreateSessionReply();
|
|
14063
|
+
CreateSessionReply.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
14064
|
+
return instance;
|
|
14065
|
+
}
|
|
14066
|
+
/**
|
|
14067
|
+
* Check all the properties and set default protobuf values if necessary
|
|
14068
|
+
* @param _instance message instance
|
|
14069
|
+
*/
|
|
14070
|
+
static refineValues(_instance) {
|
|
14071
|
+
_instance.sessionId = _instance.sessionId || '';
|
|
14072
|
+
}
|
|
14073
|
+
/**
|
|
14074
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
14075
|
+
* @param _instance message instance
|
|
14076
|
+
* @param _reader binary reader instance
|
|
14077
|
+
*/
|
|
14078
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
14079
|
+
while (_reader.nextField()) {
|
|
14080
|
+
if (_reader.isEndGroup())
|
|
14081
|
+
break;
|
|
14082
|
+
switch (_reader.getFieldNumber()) {
|
|
14083
|
+
case 1:
|
|
14084
|
+
_instance.sessionId = _reader.readString();
|
|
14085
|
+
break;
|
|
14086
|
+
default:
|
|
14087
|
+
_reader.skipField();
|
|
14088
|
+
}
|
|
14089
|
+
}
|
|
14090
|
+
CreateSessionReply.refineValues(_instance);
|
|
14091
|
+
}
|
|
14092
|
+
/**
|
|
14093
|
+
* Serializes a message to binary format using provided binary reader
|
|
14094
|
+
* @param _instance message instance
|
|
14095
|
+
* @param _writer binary writer instance
|
|
14096
|
+
*/
|
|
14097
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
14098
|
+
if (_instance.sessionId) {
|
|
14099
|
+
_writer.writeString(1, _instance.sessionId);
|
|
14100
|
+
}
|
|
14101
|
+
}
|
|
14102
|
+
/**
|
|
14103
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
14104
|
+
* @param _value initial values object or instance of CreateSessionReply to deeply clone from
|
|
14105
|
+
*/
|
|
14106
|
+
constructor(_value) {
|
|
14107
|
+
_value = _value || {};
|
|
14108
|
+
this.sessionId = _value.sessionId;
|
|
14109
|
+
CreateSessionReply.refineValues(this);
|
|
14110
|
+
}
|
|
14111
|
+
get sessionId() {
|
|
14112
|
+
return this._sessionId;
|
|
14113
|
+
}
|
|
14114
|
+
set sessionId(value) {
|
|
14115
|
+
this._sessionId = value;
|
|
14116
|
+
}
|
|
14117
|
+
/**
|
|
14118
|
+
* Serialize message to binary data
|
|
14119
|
+
* @param instance message instance
|
|
14120
|
+
*/
|
|
14121
|
+
serializeBinary() {
|
|
14122
|
+
const writer = new BinaryWriter();
|
|
14123
|
+
CreateSessionReply.serializeBinaryToWriter(this, writer);
|
|
14124
|
+
return writer.getResultBuffer();
|
|
14125
|
+
}
|
|
14126
|
+
/**
|
|
14127
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
14128
|
+
*/
|
|
14129
|
+
toObject() {
|
|
14130
|
+
return {
|
|
14131
|
+
sessionId: this.sessionId
|
|
14132
|
+
};
|
|
14133
|
+
}
|
|
14134
|
+
/**
|
|
14135
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
14136
|
+
*/
|
|
14137
|
+
toJSON() {
|
|
14138
|
+
return this.toObject();
|
|
14139
|
+
}
|
|
14140
|
+
/**
|
|
14141
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
14142
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
14143
|
+
* 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
|
|
14144
|
+
*/
|
|
14145
|
+
toProtobufJSON(
|
|
14146
|
+
// @ts-ignore
|
|
14147
|
+
options) {
|
|
14148
|
+
return {
|
|
14149
|
+
sessionId: this.sessionId
|
|
14150
|
+
};
|
|
14151
|
+
}
|
|
14152
|
+
}
|
|
13912
14153
|
|
|
13913
14154
|
/* tslint:disable */
|
|
13914
14155
|
/**
|
|
@@ -13983,6 +14224,24 @@ class SessionsClient {
|
|
|
13983
14224
|
requestClass: CancelSessionRequest,
|
|
13984
14225
|
responseClass: CancelSessionResponse
|
|
13985
14226
|
});
|
|
14227
|
+
},
|
|
14228
|
+
/**
|
|
14229
|
+
* Unary call: /armonik.api.grpc.v1.sessions.Sessions/CreateSession
|
|
14230
|
+
*
|
|
14231
|
+
* @param requestMessage Request message
|
|
14232
|
+
* @param requestMetadata Request metadata
|
|
14233
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Sessions007.CreateSessionReply>>
|
|
14234
|
+
*/
|
|
14235
|
+
createSession: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
14236
|
+
return this.handler.handle({
|
|
14237
|
+
type: GrpcCallType.unary,
|
|
14238
|
+
client: this.client,
|
|
14239
|
+
path: '/armonik.api.grpc.v1.sessions.Sessions/CreateSession',
|
|
14240
|
+
requestData,
|
|
14241
|
+
requestMetadata,
|
|
14242
|
+
requestClass: CreateSessionRequest,
|
|
14243
|
+
responseClass: CreateSessionReply
|
|
14244
|
+
});
|
|
13986
14245
|
}
|
|
13987
14246
|
};
|
|
13988
14247
|
this.client = clientFactory.createClient('armonik.api.grpc.v1.sessions.Sessions', settings);
|
|
@@ -14023,6 +14282,18 @@ class SessionsClient {
|
|
|
14023
14282
|
.cancelSession(requestData, requestMetadata)
|
|
14024
14283
|
.pipe(throwStatusErrors(), takeMessages());
|
|
14025
14284
|
}
|
|
14285
|
+
/**
|
|
14286
|
+
* Unary call @/armonik.api.grpc.v1.sessions.Sessions/CreateSession
|
|
14287
|
+
*
|
|
14288
|
+
* @param requestMessage Request message
|
|
14289
|
+
* @param requestMetadata Request metadata
|
|
14290
|
+
* @returns Observable<armonikApiGrpcV1Sessions007.CreateSessionReply>
|
|
14291
|
+
*/
|
|
14292
|
+
createSession(requestData, requestMetadata = new GrpcMetadata()) {
|
|
14293
|
+
return this.$raw
|
|
14294
|
+
.createSession(requestData, requestMetadata)
|
|
14295
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
14296
|
+
}
|
|
14026
14297
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: SessionsClient, deps: [{ token: GRPC_SESSIONS_CLIENT_SETTINGS, optional: true }, { token: GRPC_CLIENT_FACTORY }, { token: i1.GrpcHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14027
14298
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: SessionsClient, providedIn: 'any' }); }
|
|
14028
14299
|
}
|
|
@@ -15150,17 +15421,17 @@ class Filters {
|
|
|
15150
15421
|
}
|
|
15151
15422
|
|
|
15152
15423
|
/**
|
|
15153
|
-
* Message implementation for armonik.api.grpc.v1.tasks.
|
|
15424
|
+
* Message implementation for armonik.api.grpc.v1.tasks.TaskDetailed
|
|
15154
15425
|
*/
|
|
15155
|
-
class
|
|
15156
|
-
static { this.id = 'armonik.api.grpc.v1.tasks.
|
|
15426
|
+
class TaskDetailed {
|
|
15427
|
+
static { this.id = 'armonik.api.grpc.v1.tasks.TaskDetailed'; }
|
|
15157
15428
|
/**
|
|
15158
15429
|
* Deserialize binary data to message
|
|
15159
15430
|
* @param instance message instance
|
|
15160
15431
|
*/
|
|
15161
15432
|
static deserializeBinary(bytes) {
|
|
15162
|
-
const instance = new
|
|
15163
|
-
|
|
15433
|
+
const instance = new TaskDetailed();
|
|
15434
|
+
TaskDetailed.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
15164
15435
|
return instance;
|
|
15165
15436
|
}
|
|
15166
15437
|
/**
|
|
@@ -15267,8 +15538,8 @@ class TaskRaw {
|
|
|
15267
15538
|
_reader.readMessage(_instance.podTtl, googleProtobuf004.Timestamp.deserializeBinaryFromReader);
|
|
15268
15539
|
break;
|
|
15269
15540
|
case 16:
|
|
15270
|
-
_instance.output = new
|
|
15271
|
-
_reader.readMessage(_instance.output,
|
|
15541
|
+
_instance.output = new TaskDetailed.Output();
|
|
15542
|
+
_reader.readMessage(_instance.output, TaskDetailed.Output.deserializeBinaryFromReader);
|
|
15272
15543
|
break;
|
|
15273
15544
|
case 17:
|
|
15274
15545
|
_instance.podHostname = _reader.readString();
|
|
@@ -15285,7 +15556,7 @@ class TaskRaw {
|
|
|
15285
15556
|
_reader.skipField();
|
|
15286
15557
|
}
|
|
15287
15558
|
}
|
|
15288
|
-
|
|
15559
|
+
TaskDetailed.refineValues(_instance);
|
|
15289
15560
|
}
|
|
15290
15561
|
/**
|
|
15291
15562
|
* Serializes a message to binary format using provided binary reader
|
|
@@ -15348,7 +15619,7 @@ class TaskRaw {
|
|
|
15348
15619
|
_writer.writeMessage(15, _instance.podTtl, googleProtobuf004.Timestamp.serializeBinaryToWriter);
|
|
15349
15620
|
}
|
|
15350
15621
|
if (_instance.output) {
|
|
15351
|
-
_writer.writeMessage(16, _instance.output,
|
|
15622
|
+
_writer.writeMessage(16, _instance.output, TaskDetailed.Output.serializeBinaryToWriter);
|
|
15352
15623
|
}
|
|
15353
15624
|
if (_instance.podHostname) {
|
|
15354
15625
|
_writer.writeString(17, _instance.podHostname);
|
|
@@ -15362,7 +15633,7 @@ class TaskRaw {
|
|
|
15362
15633
|
}
|
|
15363
15634
|
/**
|
|
15364
15635
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
15365
|
-
* @param _value initial values object or instance of
|
|
15636
|
+
* @param _value initial values object or instance of TaskDetailed to deeply clone from
|
|
15366
15637
|
*/
|
|
15367
15638
|
constructor(_value) {
|
|
15368
15639
|
_value = _value || {};
|
|
@@ -15400,7 +15671,9 @@ class TaskRaw {
|
|
|
15400
15671
|
this.podTtl = _value.podTtl
|
|
15401
15672
|
? new googleProtobuf004.Timestamp(_value.podTtl)
|
|
15402
15673
|
: undefined;
|
|
15403
|
-
this.output = _value.output
|
|
15674
|
+
this.output = _value.output
|
|
15675
|
+
? new TaskDetailed.Output(_value.output)
|
|
15676
|
+
: undefined;
|
|
15404
15677
|
this.podHostname = _value.podHostname;
|
|
15405
15678
|
this.receivedAt = _value.receivedAt
|
|
15406
15679
|
? new googleProtobuf004.Timestamp(_value.receivedAt)
|
|
@@ -15408,7 +15681,7 @@ class TaskRaw {
|
|
|
15408
15681
|
this.acquiredAt = _value.acquiredAt
|
|
15409
15682
|
? new googleProtobuf004.Timestamp(_value.acquiredAt)
|
|
15410
15683
|
: undefined;
|
|
15411
|
-
|
|
15684
|
+
TaskDetailed.refineValues(this);
|
|
15412
15685
|
}
|
|
15413
15686
|
get id() {
|
|
15414
15687
|
return this._id;
|
|
@@ -15548,7 +15821,7 @@ class TaskRaw {
|
|
|
15548
15821
|
*/
|
|
15549
15822
|
serializeBinary() {
|
|
15550
15823
|
const writer = new BinaryWriter();
|
|
15551
|
-
|
|
15824
|
+
TaskDetailed.serializeBinaryToWriter(this, writer);
|
|
15552
15825
|
return writer.getResultBuffer();
|
|
15553
15826
|
}
|
|
15554
15827
|
/**
|
|
@@ -15634,12 +15907,12 @@ class TaskRaw {
|
|
|
15634
15907
|
};
|
|
15635
15908
|
}
|
|
15636
15909
|
}
|
|
15637
|
-
(function (
|
|
15910
|
+
(function (TaskDetailed) {
|
|
15638
15911
|
/**
|
|
15639
|
-
* Message implementation for armonik.api.grpc.v1.tasks.
|
|
15912
|
+
* Message implementation for armonik.api.grpc.v1.tasks.TaskDetailed.Output
|
|
15640
15913
|
*/
|
|
15641
15914
|
class Output {
|
|
15642
|
-
static { this.id = 'armonik.api.grpc.v1.tasks.
|
|
15915
|
+
static { this.id = 'armonik.api.grpc.v1.tasks.TaskDetailed.Output'; }
|
|
15643
15916
|
/**
|
|
15644
15917
|
* Deserialize binary data to message
|
|
15645
15918
|
* @param instance message instance
|
|
@@ -15752,8 +16025,8 @@ class TaskRaw {
|
|
|
15752
16025
|
};
|
|
15753
16026
|
}
|
|
15754
16027
|
}
|
|
15755
|
-
|
|
15756
|
-
})(
|
|
16028
|
+
TaskDetailed.Output = Output;
|
|
16029
|
+
})(TaskDetailed || (TaskDetailed = {}));
|
|
15757
16030
|
/**
|
|
15758
16031
|
* Message implementation for armonik.api.grpc.v1.tasks.TaskSummary
|
|
15759
16032
|
*/
|
|
@@ -16685,17 +16958,17 @@ class ListTasksResponse {
|
|
|
16685
16958
|
}
|
|
16686
16959
|
}
|
|
16687
16960
|
/**
|
|
16688
|
-
* Message implementation for armonik.api.grpc.v1.tasks.
|
|
16961
|
+
* Message implementation for armonik.api.grpc.v1.tasks.ListTasksDetailedResponse
|
|
16689
16962
|
*/
|
|
16690
|
-
class
|
|
16691
|
-
static { this.id = 'armonik.api.grpc.v1.tasks.
|
|
16963
|
+
class ListTasksDetailedResponse {
|
|
16964
|
+
static { this.id = 'armonik.api.grpc.v1.tasks.ListTasksDetailedResponse'; }
|
|
16692
16965
|
/**
|
|
16693
16966
|
* Deserialize binary data to message
|
|
16694
16967
|
* @param instance message instance
|
|
16695
16968
|
*/
|
|
16696
16969
|
static deserializeBinary(bytes) {
|
|
16697
|
-
const instance = new
|
|
16698
|
-
|
|
16970
|
+
const instance = new ListTasksDetailedResponse();
|
|
16971
|
+
ListTasksDetailedResponse.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
16699
16972
|
return instance;
|
|
16700
16973
|
}
|
|
16701
16974
|
/**
|
|
@@ -16719,8 +16992,8 @@ class ListTasksRawResponse {
|
|
|
16719
16992
|
break;
|
|
16720
16993
|
switch (_reader.getFieldNumber()) {
|
|
16721
16994
|
case 1:
|
|
16722
|
-
const messageInitializer1 = new
|
|
16723
|
-
_reader.readMessage(messageInitializer1,
|
|
16995
|
+
const messageInitializer1 = new TaskDetailed();
|
|
16996
|
+
_reader.readMessage(messageInitializer1, TaskDetailed.deserializeBinaryFromReader);
|
|
16724
16997
|
(_instance.tasks = _instance.tasks || []).push(messageInitializer1);
|
|
16725
16998
|
break;
|
|
16726
16999
|
case 2:
|
|
@@ -16736,7 +17009,7 @@ class ListTasksRawResponse {
|
|
|
16736
17009
|
_reader.skipField();
|
|
16737
17010
|
}
|
|
16738
17011
|
}
|
|
16739
|
-
|
|
17012
|
+
ListTasksDetailedResponse.refineValues(_instance);
|
|
16740
17013
|
}
|
|
16741
17014
|
/**
|
|
16742
17015
|
* Serializes a message to binary format using provided binary reader
|
|
@@ -16745,7 +17018,7 @@ class ListTasksRawResponse {
|
|
|
16745
17018
|
*/
|
|
16746
17019
|
static serializeBinaryToWriter(_instance, _writer) {
|
|
16747
17020
|
if (_instance.tasks && _instance.tasks.length) {
|
|
16748
|
-
_writer.writeRepeatedMessage(1, _instance.tasks,
|
|
17021
|
+
_writer.writeRepeatedMessage(1, _instance.tasks, TaskDetailed.serializeBinaryToWriter);
|
|
16749
17022
|
}
|
|
16750
17023
|
if (_instance.page) {
|
|
16751
17024
|
_writer.writeInt32(2, _instance.page);
|
|
@@ -16759,15 +17032,15 @@ class ListTasksRawResponse {
|
|
|
16759
17032
|
}
|
|
16760
17033
|
/**
|
|
16761
17034
|
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
16762
|
-
* @param _value initial values object or instance of
|
|
17035
|
+
* @param _value initial values object or instance of ListTasksDetailedResponse to deeply clone from
|
|
16763
17036
|
*/
|
|
16764
17037
|
constructor(_value) {
|
|
16765
17038
|
_value = _value || {};
|
|
16766
|
-
this.tasks = (_value.tasks || []).map(m => new
|
|
17039
|
+
this.tasks = (_value.tasks || []).map(m => new TaskDetailed(m));
|
|
16767
17040
|
this.page = _value.page;
|
|
16768
17041
|
this.pageSize = _value.pageSize;
|
|
16769
17042
|
this.total = _value.total;
|
|
16770
|
-
|
|
17043
|
+
ListTasksDetailedResponse.refineValues(this);
|
|
16771
17044
|
}
|
|
16772
17045
|
get tasks() {
|
|
16773
17046
|
return this._tasks;
|
|
@@ -16799,7 +17072,7 @@ class ListTasksRawResponse {
|
|
|
16799
17072
|
*/
|
|
16800
17073
|
serializeBinary() {
|
|
16801
17074
|
const writer = new BinaryWriter();
|
|
16802
|
-
|
|
17075
|
+
ListTasksDetailedResponse.serializeBinaryToWriter(this, writer);
|
|
16803
17076
|
return writer.getResultBuffer();
|
|
16804
17077
|
}
|
|
16805
17078
|
/**
|
|
@@ -16968,8 +17241,8 @@ class GetTaskResponse {
|
|
|
16968
17241
|
break;
|
|
16969
17242
|
switch (_reader.getFieldNumber()) {
|
|
16970
17243
|
case 1:
|
|
16971
|
-
_instance.task = new
|
|
16972
|
-
_reader.readMessage(_instance.task,
|
|
17244
|
+
_instance.task = new TaskDetailed();
|
|
17245
|
+
_reader.readMessage(_instance.task, TaskDetailed.deserializeBinaryFromReader);
|
|
16973
17246
|
break;
|
|
16974
17247
|
default:
|
|
16975
17248
|
_reader.skipField();
|
|
@@ -16984,7 +17257,7 @@ class GetTaskResponse {
|
|
|
16984
17257
|
*/
|
|
16985
17258
|
static serializeBinaryToWriter(_instance, _writer) {
|
|
16986
17259
|
if (_instance.task) {
|
|
16987
|
-
_writer.writeMessage(1, _instance.task,
|
|
17260
|
+
_writer.writeMessage(1, _instance.task, TaskDetailed.serializeBinaryToWriter);
|
|
16988
17261
|
}
|
|
16989
17262
|
}
|
|
16990
17263
|
/**
|
|
@@ -16993,7 +17266,7 @@ class GetTaskResponse {
|
|
|
16993
17266
|
*/
|
|
16994
17267
|
constructor(_value) {
|
|
16995
17268
|
_value = _value || {};
|
|
16996
|
-
this.task = _value.task ? new
|
|
17269
|
+
this.task = _value.task ? new TaskDetailed(_value.task) : undefined;
|
|
16997
17270
|
GetTaskResponse.refineValues(this);
|
|
16998
17271
|
}
|
|
16999
17272
|
get task() {
|
|
@@ -18369,21 +18642,21 @@ class TasksClient {
|
|
|
18369
18642
|
});
|
|
18370
18643
|
},
|
|
18371
18644
|
/**
|
|
18372
|
-
* Unary call: /armonik.api.grpc.v1.tasks.Tasks/
|
|
18645
|
+
* Unary call: /armonik.api.grpc.v1.tasks.Tasks/ListTasksDetailed
|
|
18373
18646
|
*
|
|
18374
18647
|
* @param requestMessage Request message
|
|
18375
18648
|
* @param requestMetadata Request metadata
|
|
18376
|
-
* @returns Observable<GrpcEvent<armonikApiGrpcV1Tasks007.
|
|
18649
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Tasks007.ListTasksDetailedResponse>>
|
|
18377
18650
|
*/
|
|
18378
|
-
|
|
18651
|
+
listTasksDetailed: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
18379
18652
|
return this.handler.handle({
|
|
18380
18653
|
type: GrpcCallType.unary,
|
|
18381
18654
|
client: this.client,
|
|
18382
|
-
path: '/armonik.api.grpc.v1.tasks.Tasks/
|
|
18655
|
+
path: '/armonik.api.grpc.v1.tasks.Tasks/ListTasksDetailed',
|
|
18383
18656
|
requestData,
|
|
18384
18657
|
requestMetadata,
|
|
18385
18658
|
requestClass: ListTasksRequest,
|
|
18386
|
-
responseClass:
|
|
18659
|
+
responseClass: ListTasksDetailedResponse
|
|
18387
18660
|
});
|
|
18388
18661
|
},
|
|
18389
18662
|
/**
|
|
@@ -18492,15 +18765,15 @@ class TasksClient {
|
|
|
18492
18765
|
.pipe(throwStatusErrors(), takeMessages());
|
|
18493
18766
|
}
|
|
18494
18767
|
/**
|
|
18495
|
-
* Unary call @/armonik.api.grpc.v1.tasks.Tasks/
|
|
18768
|
+
* Unary call @/armonik.api.grpc.v1.tasks.Tasks/ListTasksDetailed
|
|
18496
18769
|
*
|
|
18497
18770
|
* @param requestMessage Request message
|
|
18498
18771
|
* @param requestMetadata Request metadata
|
|
18499
|
-
* @returns Observable<armonikApiGrpcV1Tasks007.
|
|
18772
|
+
* @returns Observable<armonikApiGrpcV1Tasks007.ListTasksDetailedResponse>
|
|
18500
18773
|
*/
|
|
18501
|
-
|
|
18774
|
+
listTasksDetailed(requestData, requestMetadata = new GrpcMetadata()) {
|
|
18502
18775
|
return this.$raw
|
|
18503
|
-
.
|
|
18776
|
+
.listTasksDetailed(requestData, requestMetadata)
|
|
18504
18777
|
.pipe(throwStatusErrors(), takeMessages());
|
|
18505
18778
|
}
|
|
18506
18779
|
/**
|
|
@@ -18855,5 +19128,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImpor
|
|
|
18855
19128
|
* Generated bundle index. Do not edit.
|
|
18856
19129
|
*/
|
|
18857
19130
|
|
|
18858
|
-
export { ApplicationField, FilterField$4 as ApplicationFilterField, Filters$4 as ApplicationFilters, FiltersAnd$4 as ApplicationFiltersAnd, ApplicationRaw, ApplicationRawEnumField, ApplicationRawField, ApplicationsClient, AuthenticationClient, CancelSessionRequest, CancelSessionResponse, CancelTasksRequest, CancelTasksResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, EventSubscriptionRequest, EventSubscriptionResponse, EventsClient, FilterArray, FilterArrayOperator, FilterBoolean, FilterBooleanOperator, FilterDate, FilterDateOperator, FilterNumber, FilterNumberOperator, FilterStatusOperator, FilterString, FilterStringOperator, GetCurrentUserRequest, GetCurrentUserResponse, GetOwnerTaskIdRequest, GetOwnerTaskIdResponse, GetPartitionRequest, GetPartitionResponse, GetResultIdsRequest, GetResultIdsResponse, GetResultRequest, GetResultResponse, GetSessionRequest, GetSessionResponse, GetTaskRequest, GetTaskResponse, ListApplicationsRequest, ListApplicationsResponse, ListPartitionsRequest, ListPartitionsResponse, ListResultsRequest, ListResultsResponse, ListSessionsRequest, ListSessionsResponse, ListTasksRequest, ListTasksResponse, ListVersionsRequest, ListVersionsResponse, PartitionField, FilterField$3 as PartitionFilterField, Filters$3 as PartitionFilters, FiltersAnd$3 as PartitionFiltersAnd, PartitionRaw, PartitionRawEnumField, PartitionRawField, PartitionsClient, ResultField, FilterField$2 as ResultFilterField, FilterStatus$2 as ResultFilterStatus, Filters$2 as ResultFilters, FiltersAnd$2 as ResultFiltersAnd, ResultRaw, ResultRawEnumField, ResultRawField, ResultStatus, ResultsClient, SessionField, FilterField$1 as SessionFilterField, FilterStatus$1 as SessionFilterStatus, Filters$1 as SessionFilters, FiltersAnd$1 as SessionFiltersAnd, SessionRaw, SessionRawEnumField, SessionRawField, SessionStatus, TaskOptionEnumField$1 as SessionTaskOptionEnumField, TaskOptionField$1 as SessionTaskOptionField, TaskOptionGenericField$1 as SessionTaskOptionGenericField, SessionsClient, SortDirection, StatusCount, TaskField, FilterField as TaskFilterField, FilterStatus as TaskFilterStatus, Filters as TaskFilters, FiltersAnd as TaskFiltersAnd, TaskOptionEnumField, TaskOptionField, TaskOptionGenericField, TaskOptions,
|
|
19131
|
+
export { ApplicationField, FilterField$4 as ApplicationFilterField, Filters$4 as ApplicationFilters, FiltersAnd$4 as ApplicationFiltersAnd, ApplicationRaw, ApplicationRawEnumField, ApplicationRawField, ApplicationsClient, AuthenticationClient, CancelSessionRequest, CancelSessionResponse, CancelTasksRequest, CancelTasksResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, EventSubscriptionRequest, EventSubscriptionResponse, EventsClient, FilterArray, FilterArrayOperator, FilterBoolean, FilterBooleanOperator, FilterDate, FilterDateOperator, FilterNumber, FilterNumberOperator, FilterStatusOperator, FilterString, FilterStringOperator, GetCurrentUserRequest, GetCurrentUserResponse, GetOwnerTaskIdRequest, GetOwnerTaskIdResponse, GetPartitionRequest, GetPartitionResponse, GetResultIdsRequest, GetResultIdsResponse, GetResultRequest, GetResultResponse, GetSessionRequest, GetSessionResponse, GetTaskRequest, GetTaskResponse, ListApplicationsRequest, ListApplicationsResponse, ListPartitionsRequest, ListPartitionsResponse, ListResultsRequest, ListResultsResponse, ListSessionsRequest, ListSessionsResponse, ListTasksRequest, ListTasksResponse, ListVersionsRequest, ListVersionsResponse, PartitionField, FilterField$3 as PartitionFilterField, Filters$3 as PartitionFilters, FiltersAnd$3 as PartitionFiltersAnd, PartitionRaw, PartitionRawEnumField, PartitionRawField, PartitionsClient, ResultField, FilterField$2 as ResultFilterField, FilterStatus$2 as ResultFilterStatus, Filters$2 as ResultFilters, FiltersAnd$2 as ResultFiltersAnd, ResultRaw, ResultRawEnumField, ResultRawField, ResultStatus, ResultsClient, SessionField, FilterField$1 as SessionFilterField, FilterStatus$1 as SessionFilterStatus, Filters$1 as SessionFilters, FiltersAnd$1 as SessionFiltersAnd, SessionRaw, SessionRawEnumField, SessionRawField, SessionStatus, TaskOptionEnumField$1 as SessionTaskOptionEnumField, TaskOptionField$1 as SessionTaskOptionField, TaskOptionGenericField$1 as SessionTaskOptionGenericField, SessionsClient, SortDirection, StatusCount, TaskDetailed, TaskField, FilterField as TaskFilterField, FilterStatus as TaskFilterStatus, Filters as TaskFilters, FiltersAnd as TaskFiltersAnd, TaskOptionEnumField, TaskOptionField, TaskOptionGenericField, TaskOptions, TaskStatus, TaskSummary, TaskSummaryEnumField, TaskSummaryField, TasksClient, User, VersionsClient };
|
|
18859
19132
|
//# sourceMappingURL=aneoconsultingfr-armonik.api.angular.mjs.map
|