@aneoconsultingfr/armonik.api.angular 3.9.0-edge.54.cf4e888 → 3.9.0-edge.60.de40d5c
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/results-common.pb.mjs +206 -1
- package/esm2022/lib/generated/results-service.pbsc.mjs +31 -1
- package/esm2022/lib/generated/sessions-common.pb.mjs +5 -201
- package/esm2022/lib/index.mjs +2 -2
- package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs +238 -200
- package/fesm2022/aneoconsultingfr-armonik.api.angular.mjs.map +1 -1
- package/lib/generated/results-common.pb.d.ts +138 -0
- package/lib/generated/results-service.pbsc.d.ts +16 -0
- package/lib/generated/sessions-common.pb.d.ts +4 -98
- package/lib/index.d.ts +1 -1
- package/package.json +1 -1
package/esm2022/lib/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ export { ResultStatus } from "./generated/result-status.pb";
|
|
|
6
6
|
export { GetOwnerTaskIdRequest, GetOwnerTaskIdResponse, ListResultsRequest, ListResultsResponse, ResultRaw } from "./generated/results-common.pb";
|
|
7
7
|
export { ResultsClient } from "./generated/results-service.pbsc";
|
|
8
8
|
export { SessionStatus } from "./generated/session-status.pb";
|
|
9
|
-
export { CancelSessionRequest, CancelSessionResponse, GetSessionRequest, GetSessionResponse, ListSessionsRequest, ListSessionsResponse } from "./generated/sessions-common.pb";
|
|
9
|
+
export { CancelSessionRequest, CancelSessionResponse, GetSessionRequest, GetSessionResponse, ListSessionsRequest, ListSessionsResponse, SessionRaw, } from "./generated/sessions-common.pb";
|
|
10
10
|
export { SessionsClient } from "./generated/sessions-service.pbsc";
|
|
11
11
|
export { TaskStatus } from "./generated/task-status.pb";
|
|
12
12
|
export { CancelTasksRequest, CancelTasksResponse, GetResultIdsRequest, GetResultIdsResponse, GetTaskRequest, GetTaskResponse, ListTasksRequest, ListTasksResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, TaskRaw, TaskSummary } from "./generated/tasks-common.pb";
|
|
@@ -14,4 +14,4 @@ export { TasksClient } from "./generated/tasks-service.pbsc";
|
|
|
14
14
|
export { GetPartitionRequest, GetPartitionResponse, ListPartitionsRequest, ListPartitionsResponse, PartitionRaw } from "./generated/partitions-common.pb";
|
|
15
15
|
export { PartitionsClient } from "./generated/partitions-service.pbsc";
|
|
16
16
|
export { StatusCount } from "./generated/objects.pb";
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmVvY29uc3VsdGluZ2ZyL2FybW9uaWsuYXBpLmFuZ3VsYXIvc3JjL2xpYi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsY0FBYyxFQUNkLHVCQUF1QixFQUN2Qix3QkFBd0IsRUFDeEIseUJBQXlCLElBQUksb0NBQW9DLEVBQ2pFLDBCQUEwQixJQUFJLHFDQUFxQyxHQUNwRSxNQUFNLG9DQUFvQyxDQUFDO0FBQzVDLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQzNFLE9BQU8sRUFDTCxxQkFBcUIsRUFDckIsc0JBQXNCLEVBQ3RCLElBQUksRUFDTCxNQUFNLDRCQUE0QixDQUFDO0FBQ3BDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ3JFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUM1RCxPQUFPLEVBQ0wscUJBQXFCLEVBQ3JCLHNCQUFzQixFQUN0QixrQkFBa0IsRUFDbEIsbUJBQW1CLEVBQ25CLFNBQVMsRUFDVixNQUFNLCtCQUErQixDQUFDO0FB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XJ0aXRpb25SZXF1ZXN0LFxuICBHZXRQYXJ0aXRpb25SZXNwb25zZSxcbiAgTGlzdFBhcnRpdGlvbnNSZXF1ZXN0LFxuICBMaXN0UGFydGl0aW9uc1Jlc3BvbnNlLFxuICBQYXJ0aXRpb25SYXdcbn0gZnJvbSBcIi4vZ2VuZXJhdGVkL3BhcnRpdGlvbnMtY29tbW9uLnBiXCJcbmV4cG9ydCB7IFBhcnRpdGlvbnNDbGllbnQgfSBmcm9tIFwiLi9nZW5lcmF0ZWQvcGFydGl0aW9ucy1zZXJ2aWNlLnBic2NcIlxuZXhwb3J0IHsgU3RhdHVzQ291bnQgfSBmcm9tIFwiLi9nZW5lcmF0ZWQvb2JqZWN0cy5wYlwiXG4iXX0=
|
|
@@ -5179,6 +5179,209 @@ class ListResultsResponse {
|
|
|
5179
5179
|
};
|
|
5180
5180
|
}
|
|
5181
5181
|
}
|
|
5182
|
+
/**
|
|
5183
|
+
* Message implementation for armonik.api.grpc.v1.results.GetResultRequest
|
|
5184
|
+
*/
|
|
5185
|
+
class GetResultRequest {
|
|
5186
|
+
static { this.id = 'armonik.api.grpc.v1.results.GetResultRequest'; }
|
|
5187
|
+
/**
|
|
5188
|
+
* Deserialize binary data to message
|
|
5189
|
+
* @param instance message instance
|
|
5190
|
+
*/
|
|
5191
|
+
static deserializeBinary(bytes) {
|
|
5192
|
+
const instance = new GetResultRequest();
|
|
5193
|
+
GetResultRequest.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
5194
|
+
return instance;
|
|
5195
|
+
}
|
|
5196
|
+
/**
|
|
5197
|
+
* Check all the properties and set default protobuf values if necessary
|
|
5198
|
+
* @param _instance message instance
|
|
5199
|
+
*/
|
|
5200
|
+
static refineValues(_instance) {
|
|
5201
|
+
_instance.resultId = _instance.resultId || '';
|
|
5202
|
+
}
|
|
5203
|
+
/**
|
|
5204
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
5205
|
+
* @param _instance message instance
|
|
5206
|
+
* @param _reader binary reader instance
|
|
5207
|
+
*/
|
|
5208
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
5209
|
+
while (_reader.nextField()) {
|
|
5210
|
+
if (_reader.isEndGroup())
|
|
5211
|
+
break;
|
|
5212
|
+
switch (_reader.getFieldNumber()) {
|
|
5213
|
+
case 1:
|
|
5214
|
+
_instance.resultId = _reader.readString();
|
|
5215
|
+
break;
|
|
5216
|
+
default:
|
|
5217
|
+
_reader.skipField();
|
|
5218
|
+
}
|
|
5219
|
+
}
|
|
5220
|
+
GetResultRequest.refineValues(_instance);
|
|
5221
|
+
}
|
|
5222
|
+
/**
|
|
5223
|
+
* Serializes a message to binary format using provided binary reader
|
|
5224
|
+
* @param _instance message instance
|
|
5225
|
+
* @param _writer binary writer instance
|
|
5226
|
+
*/
|
|
5227
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
5228
|
+
if (_instance.resultId) {
|
|
5229
|
+
_writer.writeString(1, _instance.resultId);
|
|
5230
|
+
}
|
|
5231
|
+
}
|
|
5232
|
+
/**
|
|
5233
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
5234
|
+
* @param _value initial values object or instance of GetResultRequest to deeply clone from
|
|
5235
|
+
*/
|
|
5236
|
+
constructor(_value) {
|
|
5237
|
+
_value = _value || {};
|
|
5238
|
+
this.resultId = _value.resultId;
|
|
5239
|
+
GetResultRequest.refineValues(this);
|
|
5240
|
+
}
|
|
5241
|
+
get resultId() {
|
|
5242
|
+
return this._resultId;
|
|
5243
|
+
}
|
|
5244
|
+
set resultId(value) {
|
|
5245
|
+
this._resultId = value;
|
|
5246
|
+
}
|
|
5247
|
+
/**
|
|
5248
|
+
* Serialize message to binary data
|
|
5249
|
+
* @param instance message instance
|
|
5250
|
+
*/
|
|
5251
|
+
serializeBinary() {
|
|
5252
|
+
const writer = new BinaryWriter();
|
|
5253
|
+
GetResultRequest.serializeBinaryToWriter(this, writer);
|
|
5254
|
+
return writer.getResultBuffer();
|
|
5255
|
+
}
|
|
5256
|
+
/**
|
|
5257
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
5258
|
+
*/
|
|
5259
|
+
toObject() {
|
|
5260
|
+
return {
|
|
5261
|
+
resultId: this.resultId
|
|
5262
|
+
};
|
|
5263
|
+
}
|
|
5264
|
+
/**
|
|
5265
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
5266
|
+
*/
|
|
5267
|
+
toJSON() {
|
|
5268
|
+
return this.toObject();
|
|
5269
|
+
}
|
|
5270
|
+
/**
|
|
5271
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
5272
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
5273
|
+
* 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
|
|
5274
|
+
*/
|
|
5275
|
+
toProtobufJSON(
|
|
5276
|
+
// @ts-ignore
|
|
5277
|
+
options) {
|
|
5278
|
+
return {
|
|
5279
|
+
resultId: this.resultId
|
|
5280
|
+
};
|
|
5281
|
+
}
|
|
5282
|
+
}
|
|
5283
|
+
/**
|
|
5284
|
+
* Message implementation for armonik.api.grpc.v1.results.GetResultResponse
|
|
5285
|
+
*/
|
|
5286
|
+
class GetResultResponse {
|
|
5287
|
+
static { this.id = 'armonik.api.grpc.v1.results.GetResultResponse'; }
|
|
5288
|
+
/**
|
|
5289
|
+
* Deserialize binary data to message
|
|
5290
|
+
* @param instance message instance
|
|
5291
|
+
*/
|
|
5292
|
+
static deserializeBinary(bytes) {
|
|
5293
|
+
const instance = new GetResultResponse();
|
|
5294
|
+
GetResultResponse.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
5295
|
+
return instance;
|
|
5296
|
+
}
|
|
5297
|
+
/**
|
|
5298
|
+
* Check all the properties and set default protobuf values if necessary
|
|
5299
|
+
* @param _instance message instance
|
|
5300
|
+
*/
|
|
5301
|
+
static refineValues(_instance) {
|
|
5302
|
+
_instance.result = _instance.result || undefined;
|
|
5303
|
+
}
|
|
5304
|
+
/**
|
|
5305
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
5306
|
+
* @param _instance message instance
|
|
5307
|
+
* @param _reader binary reader instance
|
|
5308
|
+
*/
|
|
5309
|
+
static deserializeBinaryFromReader(_instance, _reader) {
|
|
5310
|
+
while (_reader.nextField()) {
|
|
5311
|
+
if (_reader.isEndGroup())
|
|
5312
|
+
break;
|
|
5313
|
+
switch (_reader.getFieldNumber()) {
|
|
5314
|
+
case 1:
|
|
5315
|
+
_instance.result = new ResultRaw();
|
|
5316
|
+
_reader.readMessage(_instance.result, ResultRaw.deserializeBinaryFromReader);
|
|
5317
|
+
break;
|
|
5318
|
+
default:
|
|
5319
|
+
_reader.skipField();
|
|
5320
|
+
}
|
|
5321
|
+
}
|
|
5322
|
+
GetResultResponse.refineValues(_instance);
|
|
5323
|
+
}
|
|
5324
|
+
/**
|
|
5325
|
+
* Serializes a message to binary format using provided binary reader
|
|
5326
|
+
* @param _instance message instance
|
|
5327
|
+
* @param _writer binary writer instance
|
|
5328
|
+
*/
|
|
5329
|
+
static serializeBinaryToWriter(_instance, _writer) {
|
|
5330
|
+
if (_instance.result) {
|
|
5331
|
+
_writer.writeMessage(1, _instance.result, ResultRaw.serializeBinaryToWriter);
|
|
5332
|
+
}
|
|
5333
|
+
}
|
|
5334
|
+
/**
|
|
5335
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
5336
|
+
* @param _value initial values object or instance of GetResultResponse to deeply clone from
|
|
5337
|
+
*/
|
|
5338
|
+
constructor(_value) {
|
|
5339
|
+
_value = _value || {};
|
|
5340
|
+
this.result = _value.result ? new ResultRaw(_value.result) : undefined;
|
|
5341
|
+
GetResultResponse.refineValues(this);
|
|
5342
|
+
}
|
|
5343
|
+
get result() {
|
|
5344
|
+
return this._result;
|
|
5345
|
+
}
|
|
5346
|
+
set result(value) {
|
|
5347
|
+
this._result = value;
|
|
5348
|
+
}
|
|
5349
|
+
/**
|
|
5350
|
+
* Serialize message to binary data
|
|
5351
|
+
* @param instance message instance
|
|
5352
|
+
*/
|
|
5353
|
+
serializeBinary() {
|
|
5354
|
+
const writer = new BinaryWriter();
|
|
5355
|
+
GetResultResponse.serializeBinaryToWriter(this, writer);
|
|
5356
|
+
return writer.getResultBuffer();
|
|
5357
|
+
}
|
|
5358
|
+
/**
|
|
5359
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
5360
|
+
*/
|
|
5361
|
+
toObject() {
|
|
5362
|
+
return {
|
|
5363
|
+
result: this.result ? this.result.toObject() : undefined
|
|
5364
|
+
};
|
|
5365
|
+
}
|
|
5366
|
+
/**
|
|
5367
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
5368
|
+
*/
|
|
5369
|
+
toJSON() {
|
|
5370
|
+
return this.toObject();
|
|
5371
|
+
}
|
|
5372
|
+
/**
|
|
5373
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
5374
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
5375
|
+
* 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
|
|
5376
|
+
*/
|
|
5377
|
+
toProtobufJSON(
|
|
5378
|
+
// @ts-ignore
|
|
5379
|
+
options) {
|
|
5380
|
+
return {
|
|
5381
|
+
result: this.result ? this.result.toProtobufJSON(options) : null
|
|
5382
|
+
};
|
|
5383
|
+
}
|
|
5384
|
+
}
|
|
5182
5385
|
/**
|
|
5183
5386
|
* Message implementation for armonik.api.grpc.v1.results.GetOwnerTaskIdRequest
|
|
5184
5387
|
*/
|
|
@@ -7153,6 +7356,24 @@ class ResultsClient {
|
|
|
7153
7356
|
responseClass: ListResultsResponse
|
|
7154
7357
|
});
|
|
7155
7358
|
},
|
|
7359
|
+
/**
|
|
7360
|
+
* Unary call: /armonik.api.grpc.v1.results.Results/GetResult
|
|
7361
|
+
*
|
|
7362
|
+
* @param requestMessage Request message
|
|
7363
|
+
* @param requestMetadata Request metadata
|
|
7364
|
+
* @returns Observable<GrpcEvent<armonikApiGrpcV1Results005.GetResultResponse>>
|
|
7365
|
+
*/
|
|
7366
|
+
getResult: (requestData, requestMetadata = new GrpcMetadata()) => {
|
|
7367
|
+
return this.handler.handle({
|
|
7368
|
+
type: GrpcCallType.unary,
|
|
7369
|
+
client: this.client,
|
|
7370
|
+
path: '/armonik.api.grpc.v1.results.Results/GetResult',
|
|
7371
|
+
requestData,
|
|
7372
|
+
requestMetadata,
|
|
7373
|
+
requestClass: GetResultRequest,
|
|
7374
|
+
responseClass: GetResultResponse
|
|
7375
|
+
});
|
|
7376
|
+
},
|
|
7156
7377
|
/**
|
|
7157
7378
|
* Unary call: /armonik.api.grpc.v1.results.Results/GetOwnerTaskId
|
|
7158
7379
|
*
|
|
@@ -7294,6 +7515,18 @@ class ResultsClient {
|
|
|
7294
7515
|
.listResults(requestData, requestMetadata)
|
|
7295
7516
|
.pipe(throwStatusErrors(), takeMessages());
|
|
7296
7517
|
}
|
|
7518
|
+
/**
|
|
7519
|
+
* Unary call @/armonik.api.grpc.v1.results.Results/GetResult
|
|
7520
|
+
*
|
|
7521
|
+
* @param requestMessage Request message
|
|
7522
|
+
* @param requestMetadata Request metadata
|
|
7523
|
+
* @returns Observable<armonikApiGrpcV1Results005.GetResultResponse>
|
|
7524
|
+
*/
|
|
7525
|
+
getResult(requestData, requestMetadata = new GrpcMetadata()) {
|
|
7526
|
+
return this.$raw
|
|
7527
|
+
.getResult(requestData, requestMetadata)
|
|
7528
|
+
.pipe(throwStatusErrors(), takeMessages());
|
|
7529
|
+
}
|
|
7297
7530
|
/**
|
|
7298
7531
|
* Unary call @/armonik.api.grpc.v1.results.Results/GetOwnerTaskId
|
|
7299
7532
|
*
|
|
@@ -7618,201 +7851,6 @@ class SessionRaw {
|
|
|
7618
7851
|
};
|
|
7619
7852
|
}
|
|
7620
7853
|
}
|
|
7621
|
-
/**
|
|
7622
|
-
* Message implementation for armonik.api.grpc.v1.sessions.SessionSummary
|
|
7623
|
-
*/
|
|
7624
|
-
class SessionSummary {
|
|
7625
|
-
static { this.id = 'armonik.api.grpc.v1.sessions.SessionSummary'; }
|
|
7626
|
-
/**
|
|
7627
|
-
* Deserialize binary data to message
|
|
7628
|
-
* @param instance message instance
|
|
7629
|
-
*/
|
|
7630
|
-
static deserializeBinary(bytes) {
|
|
7631
|
-
const instance = new SessionSummary();
|
|
7632
|
-
SessionSummary.deserializeBinaryFromReader(instance, new BinaryReader(bytes));
|
|
7633
|
-
return instance;
|
|
7634
|
-
}
|
|
7635
|
-
/**
|
|
7636
|
-
* Check all the properties and set default protobuf values if necessary
|
|
7637
|
-
* @param _instance message instance
|
|
7638
|
-
*/
|
|
7639
|
-
static refineValues(_instance) {
|
|
7640
|
-
_instance.sessionId = _instance.sessionId || '';
|
|
7641
|
-
_instance.status = _instance.status || 0;
|
|
7642
|
-
_instance.createdAt = _instance.createdAt || undefined;
|
|
7643
|
-
_instance.cancelledAt = _instance.cancelledAt || undefined;
|
|
7644
|
-
_instance.duration = _instance.duration || undefined;
|
|
7645
|
-
_instance.options = _instance.options || undefined;
|
|
7646
|
-
}
|
|
7647
|
-
/**
|
|
7648
|
-
* Deserializes / reads binary message into message instance using provided binary reader
|
|
7649
|
-
* @param _instance message instance
|
|
7650
|
-
* @param _reader binary reader instance
|
|
7651
|
-
*/
|
|
7652
|
-
static deserializeBinaryFromReader(_instance, _reader) {
|
|
7653
|
-
while (_reader.nextField()) {
|
|
7654
|
-
if (_reader.isEndGroup())
|
|
7655
|
-
break;
|
|
7656
|
-
switch (_reader.getFieldNumber()) {
|
|
7657
|
-
case 1:
|
|
7658
|
-
_instance.sessionId = _reader.readString();
|
|
7659
|
-
break;
|
|
7660
|
-
case 2:
|
|
7661
|
-
_instance.status = _reader.readEnum();
|
|
7662
|
-
break;
|
|
7663
|
-
case 3:
|
|
7664
|
-
_instance.createdAt = new googleProtobuf002.Timestamp();
|
|
7665
|
-
_reader.readMessage(_instance.createdAt, googleProtobuf002.Timestamp.deserializeBinaryFromReader);
|
|
7666
|
-
break;
|
|
7667
|
-
case 4:
|
|
7668
|
-
_instance.cancelledAt = new googleProtobuf002.Timestamp();
|
|
7669
|
-
_reader.readMessage(_instance.cancelledAt, googleProtobuf002.Timestamp.deserializeBinaryFromReader);
|
|
7670
|
-
break;
|
|
7671
|
-
case 7:
|
|
7672
|
-
_instance.duration = new googleProtobuf002.Duration();
|
|
7673
|
-
_reader.readMessage(_instance.duration, googleProtobuf002.Duration.deserializeBinaryFromReader);
|
|
7674
|
-
break;
|
|
7675
|
-
case 5:
|
|
7676
|
-
_instance.options = new TaskOptions();
|
|
7677
|
-
_reader.readMessage(_instance.options, TaskOptions.deserializeBinaryFromReader);
|
|
7678
|
-
break;
|
|
7679
|
-
default:
|
|
7680
|
-
_reader.skipField();
|
|
7681
|
-
}
|
|
7682
|
-
}
|
|
7683
|
-
SessionSummary.refineValues(_instance);
|
|
7684
|
-
}
|
|
7685
|
-
/**
|
|
7686
|
-
* Serializes a message to binary format using provided binary reader
|
|
7687
|
-
* @param _instance message instance
|
|
7688
|
-
* @param _writer binary writer instance
|
|
7689
|
-
*/
|
|
7690
|
-
static serializeBinaryToWriter(_instance, _writer) {
|
|
7691
|
-
if (_instance.sessionId) {
|
|
7692
|
-
_writer.writeString(1, _instance.sessionId);
|
|
7693
|
-
}
|
|
7694
|
-
if (_instance.status) {
|
|
7695
|
-
_writer.writeEnum(2, _instance.status);
|
|
7696
|
-
}
|
|
7697
|
-
if (_instance.createdAt) {
|
|
7698
|
-
_writer.writeMessage(3, _instance.createdAt, googleProtobuf002.Timestamp.serializeBinaryToWriter);
|
|
7699
|
-
}
|
|
7700
|
-
if (_instance.cancelledAt) {
|
|
7701
|
-
_writer.writeMessage(4, _instance.cancelledAt, googleProtobuf002.Timestamp.serializeBinaryToWriter);
|
|
7702
|
-
}
|
|
7703
|
-
if (_instance.duration) {
|
|
7704
|
-
_writer.writeMessage(7, _instance.duration, googleProtobuf002.Duration.serializeBinaryToWriter);
|
|
7705
|
-
}
|
|
7706
|
-
if (_instance.options) {
|
|
7707
|
-
_writer.writeMessage(5, _instance.options, TaskOptions.serializeBinaryToWriter);
|
|
7708
|
-
}
|
|
7709
|
-
}
|
|
7710
|
-
/**
|
|
7711
|
-
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
7712
|
-
* @param _value initial values object or instance of SessionSummary to deeply clone from
|
|
7713
|
-
*/
|
|
7714
|
-
constructor(_value) {
|
|
7715
|
-
_value = _value || {};
|
|
7716
|
-
this.sessionId = _value.sessionId;
|
|
7717
|
-
this.status = _value.status;
|
|
7718
|
-
this.createdAt = _value.createdAt
|
|
7719
|
-
? new googleProtobuf002.Timestamp(_value.createdAt)
|
|
7720
|
-
: undefined;
|
|
7721
|
-
this.cancelledAt = _value.cancelledAt
|
|
7722
|
-
? new googleProtobuf002.Timestamp(_value.cancelledAt)
|
|
7723
|
-
: undefined;
|
|
7724
|
-
this.duration = _value.duration
|
|
7725
|
-
? new googleProtobuf002.Duration(_value.duration)
|
|
7726
|
-
: undefined;
|
|
7727
|
-
this.options = _value.options
|
|
7728
|
-
? new TaskOptions(_value.options)
|
|
7729
|
-
: undefined;
|
|
7730
|
-
SessionSummary.refineValues(this);
|
|
7731
|
-
}
|
|
7732
|
-
get sessionId() {
|
|
7733
|
-
return this._sessionId;
|
|
7734
|
-
}
|
|
7735
|
-
set sessionId(value) {
|
|
7736
|
-
this._sessionId = value;
|
|
7737
|
-
}
|
|
7738
|
-
get status() {
|
|
7739
|
-
return this._status;
|
|
7740
|
-
}
|
|
7741
|
-
set status(value) {
|
|
7742
|
-
this._status = value;
|
|
7743
|
-
}
|
|
7744
|
-
get createdAt() {
|
|
7745
|
-
return this._createdAt;
|
|
7746
|
-
}
|
|
7747
|
-
set createdAt(value) {
|
|
7748
|
-
this._createdAt = value;
|
|
7749
|
-
}
|
|
7750
|
-
get cancelledAt() {
|
|
7751
|
-
return this._cancelledAt;
|
|
7752
|
-
}
|
|
7753
|
-
set cancelledAt(value) {
|
|
7754
|
-
this._cancelledAt = value;
|
|
7755
|
-
}
|
|
7756
|
-
get duration() {
|
|
7757
|
-
return this._duration;
|
|
7758
|
-
}
|
|
7759
|
-
set duration(value) {
|
|
7760
|
-
this._duration = value;
|
|
7761
|
-
}
|
|
7762
|
-
get options() {
|
|
7763
|
-
return this._options;
|
|
7764
|
-
}
|
|
7765
|
-
set options(value) {
|
|
7766
|
-
this._options = value;
|
|
7767
|
-
}
|
|
7768
|
-
/**
|
|
7769
|
-
* Serialize message to binary data
|
|
7770
|
-
* @param instance message instance
|
|
7771
|
-
*/
|
|
7772
|
-
serializeBinary() {
|
|
7773
|
-
const writer = new BinaryWriter();
|
|
7774
|
-
SessionSummary.serializeBinaryToWriter(this, writer);
|
|
7775
|
-
return writer.getResultBuffer();
|
|
7776
|
-
}
|
|
7777
|
-
/**
|
|
7778
|
-
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
7779
|
-
*/
|
|
7780
|
-
toObject() {
|
|
7781
|
-
return {
|
|
7782
|
-
sessionId: this.sessionId,
|
|
7783
|
-
status: this.status,
|
|
7784
|
-
createdAt: this.createdAt ? this.createdAt.toObject() : undefined,
|
|
7785
|
-
cancelledAt: this.cancelledAt ? this.cancelledAt.toObject() : undefined,
|
|
7786
|
-
duration: this.duration ? this.duration.toObject() : undefined,
|
|
7787
|
-
options: this.options ? this.options.toObject() : undefined
|
|
7788
|
-
};
|
|
7789
|
-
}
|
|
7790
|
-
/**
|
|
7791
|
-
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
7792
|
-
*/
|
|
7793
|
-
toJSON() {
|
|
7794
|
-
return this.toObject();
|
|
7795
|
-
}
|
|
7796
|
-
/**
|
|
7797
|
-
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
7798
|
-
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
7799
|
-
* 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
|
|
7800
|
-
*/
|
|
7801
|
-
toProtobufJSON(
|
|
7802
|
-
// @ts-ignore
|
|
7803
|
-
options) {
|
|
7804
|
-
return {
|
|
7805
|
-
sessionId: this.sessionId,
|
|
7806
|
-
status: SessionStatus[this.status === null || this.status === undefined ? 0 : this.status],
|
|
7807
|
-
createdAt: this.createdAt ? this.createdAt.toProtobufJSON(options) : null,
|
|
7808
|
-
cancelledAt: this.cancelledAt
|
|
7809
|
-
? this.cancelledAt.toProtobufJSON(options)
|
|
7810
|
-
: null,
|
|
7811
|
-
duration: this.duration ? this.duration.toProtobufJSON(options) : null,
|
|
7812
|
-
options: this.options ? this.options.toProtobufJSON(options) : null
|
|
7813
|
-
};
|
|
7814
|
-
}
|
|
7815
|
-
}
|
|
7816
7854
|
/**
|
|
7817
7855
|
* Message implementation for armonik.api.grpc.v1.sessions.ListSessionsRequest
|
|
7818
7856
|
*/
|
|
@@ -8397,8 +8435,8 @@ class ListSessionsResponse {
|
|
|
8397
8435
|
break;
|
|
8398
8436
|
switch (_reader.getFieldNumber()) {
|
|
8399
8437
|
case 1:
|
|
8400
|
-
const messageInitializer1 = new
|
|
8401
|
-
_reader.readMessage(messageInitializer1,
|
|
8438
|
+
const messageInitializer1 = new SessionRaw();
|
|
8439
|
+
_reader.readMessage(messageInitializer1, SessionRaw.deserializeBinaryFromReader);
|
|
8402
8440
|
(_instance.sessions = _instance.sessions || []).push(messageInitializer1);
|
|
8403
8441
|
break;
|
|
8404
8442
|
case 2:
|
|
@@ -8423,7 +8461,7 @@ class ListSessionsResponse {
|
|
|
8423
8461
|
*/
|
|
8424
8462
|
static serializeBinaryToWriter(_instance, _writer) {
|
|
8425
8463
|
if (_instance.sessions && _instance.sessions.length) {
|
|
8426
|
-
_writer.writeRepeatedMessage(1, _instance.sessions,
|
|
8464
|
+
_writer.writeRepeatedMessage(1, _instance.sessions, SessionRaw.serializeBinaryToWriter);
|
|
8427
8465
|
}
|
|
8428
8466
|
if (_instance.page) {
|
|
8429
8467
|
_writer.writeInt32(2, _instance.page);
|
|
@@ -8441,7 +8479,7 @@ class ListSessionsResponse {
|
|
|
8441
8479
|
*/
|
|
8442
8480
|
constructor(_value) {
|
|
8443
8481
|
_value = _value || {};
|
|
8444
|
-
this.sessions = (_value.sessions || []).map(m => new
|
|
8482
|
+
this.sessions = (_value.sessions || []).map(m => new SessionRaw(m));
|
|
8445
8483
|
this.page = _value.page;
|
|
8446
8484
|
this.pageSize = _value.pageSize;
|
|
8447
8485
|
this.total = _value.total;
|
|
@@ -14230,5 +14268,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
14230
14268
|
* Generated bundle index. Do not edit.
|
|
14231
14269
|
*/
|
|
14232
14270
|
|
|
14233
|
-
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, SessionStatus, SessionsClient, StatusCount, TaskRaw, TaskStatus, TaskSummary, TasksClient, User };
|
|
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 };
|
|
14234
14272
|
//# sourceMappingURL=aneoconsultingfr-armonik.api.angular.mjs.map
|