@flyteorg/flyteidl 1.2.8 → 1.2.10
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/gen/pb-js/flyteidl.d.ts +1135 -1
- package/gen/pb-js/flyteidl.js +2639 -2
- package/package.json +1 -1
- package/protos/docs/plugins/plugins.rst +95 -0
- package/protos/flyteidl/admin/common.proto +17 -0
- package/protos/flyteidl/admin/execution.proto +20 -0
- package/protos/flyteidl/admin/launch_plan.proto +3 -0
- package/protos/flyteidl/admin/matchable_resource.proto +3 -0
- package/protos/flyteidl/admin/node_execution.proto +11 -1
- package/protos/flyteidl/admin/task_execution.proto +17 -0
- package/protos/flyteidl/core/metrics.proto +36 -0
- package/protos/flyteidl/core/security.proto +3 -0
- package/protos/flyteidl/core/tasks.proto +26 -13
- package/protos/flyteidl/datacatalog/datacatalog.proto +24 -3
- package/protos/flyteidl/event/event.proto +31 -4
- package/protos/flyteidl/plugins/dask.proto +41 -0
- package/protos/flyteidl/plugins/kubeflow/common.proto +33 -0
- package/protos/flyteidl/plugins/kubeflow/mpi.proto +43 -0
- package/protos/flyteidl/plugins/kubeflow/pytorch.proto +49 -0
- package/protos/flyteidl/plugins/kubeflow/tensorflow.proto +39 -0
- package/protos/flyteidl/plugins/pytorch.proto +14 -0
- package/protos/flyteidl/plugins/spark.proto +10 -0
- package/protos/flyteidl/service/admin.proto +211 -202
- package/protos/flyteidl/service/auth.proto +7 -7
- package/protos/flyteidl/service/dataproxy.proto +49 -9
- package/protos/flyteidl/service/external_plugin_service.proto +74 -0
- package/protos/flyteidl/service/identity.proto +8 -4
- package/protos/flyteidl/service/signal.proto +22 -22
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -12048,6 +12048,7 @@
|
|
|
12048
12048
|
* @property {boolean|null} [cacheSerializable] TaskMetadata cacheSerializable
|
|
12049
12049
|
* @property {boolean|null} [generatesDeck] TaskMetadata generatesDeck
|
|
12050
12050
|
* @property {Object.<string,string>|null} [tags] TaskMetadata tags
|
|
12051
|
+
* @property {string|null} [podTemplateName] TaskMetadata podTemplateName
|
|
12051
12052
|
*/
|
|
12052
12053
|
|
|
12053
12054
|
/**
|
|
@@ -12146,6 +12147,14 @@
|
|
|
12146
12147
|
*/
|
|
12147
12148
|
TaskMetadata.prototype.tags = $util.emptyObject;
|
|
12148
12149
|
|
|
12150
|
+
/**
|
|
12151
|
+
* TaskMetadata podTemplateName.
|
|
12152
|
+
* @member {string} podTemplateName
|
|
12153
|
+
* @memberof flyteidl.core.TaskMetadata
|
|
12154
|
+
* @instance
|
|
12155
|
+
*/
|
|
12156
|
+
TaskMetadata.prototype.podTemplateName = "";
|
|
12157
|
+
|
|
12149
12158
|
// OneOf field names bound to virtual getters and setters
|
|
12150
12159
|
var $oneOfFields;
|
|
12151
12160
|
|
|
@@ -12205,6 +12214,8 @@
|
|
|
12205
12214
|
if (message.tags != null && message.hasOwnProperty("tags"))
|
|
12206
12215
|
for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i)
|
|
12207
12216
|
writer.uint32(/* id 11, wireType 2 =*/90).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.tags[keys[i]]).ldelim();
|
|
12217
|
+
if (message.podTemplateName != null && message.hasOwnProperty("podTemplateName"))
|
|
12218
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.podTemplateName);
|
|
12208
12219
|
return writer;
|
|
12209
12220
|
};
|
|
12210
12221
|
|
|
@@ -12261,6 +12272,9 @@
|
|
|
12261
12272
|
reader.pos++;
|
|
12262
12273
|
message.tags[key] = reader.string();
|
|
12263
12274
|
break;
|
|
12275
|
+
case 12:
|
|
12276
|
+
message.podTemplateName = reader.string();
|
|
12277
|
+
break;
|
|
12264
12278
|
default:
|
|
12265
12279
|
reader.skipType(tag & 7);
|
|
12266
12280
|
break;
|
|
@@ -12324,6 +12338,9 @@
|
|
|
12324
12338
|
if (!$util.isString(message.tags[key[i]]))
|
|
12325
12339
|
return "tags: string{k:string} expected";
|
|
12326
12340
|
}
|
|
12341
|
+
if (message.podTemplateName != null && message.hasOwnProperty("podTemplateName"))
|
|
12342
|
+
if (!$util.isString(message.podTemplateName))
|
|
12343
|
+
return "podTemplateName: string expected";
|
|
12327
12344
|
return null;
|
|
12328
12345
|
};
|
|
12329
12346
|
|
|
@@ -13481,6 +13498,7 @@
|
|
|
13481
13498
|
* @interface IK8sPod
|
|
13482
13499
|
* @property {flyteidl.core.IK8sObjectMetadata|null} [metadata] K8sPod metadata
|
|
13483
13500
|
* @property {google.protobuf.IStruct|null} [podSpec] K8sPod podSpec
|
|
13501
|
+
* @property {flyteidl.core.IDataLoadingConfig|null} [dataConfig] K8sPod dataConfig
|
|
13484
13502
|
*/
|
|
13485
13503
|
|
|
13486
13504
|
/**
|
|
@@ -13514,6 +13532,14 @@
|
|
|
13514
13532
|
*/
|
|
13515
13533
|
K8sPod.prototype.podSpec = null;
|
|
13516
13534
|
|
|
13535
|
+
/**
|
|
13536
|
+
* K8sPod dataConfig.
|
|
13537
|
+
* @member {flyteidl.core.IDataLoadingConfig|null|undefined} dataConfig
|
|
13538
|
+
* @memberof flyteidl.core.K8sPod
|
|
13539
|
+
* @instance
|
|
13540
|
+
*/
|
|
13541
|
+
K8sPod.prototype.dataConfig = null;
|
|
13542
|
+
|
|
13517
13543
|
/**
|
|
13518
13544
|
* Creates a new K8sPod instance using the specified properties.
|
|
13519
13545
|
* @function create
|
|
@@ -13542,6 +13568,8 @@
|
|
|
13542
13568
|
$root.flyteidl.core.K8sObjectMetadata.encode(message.metadata, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
13543
13569
|
if (message.podSpec != null && message.hasOwnProperty("podSpec"))
|
|
13544
13570
|
$root.google.protobuf.Struct.encode(message.podSpec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
13571
|
+
if (message.dataConfig != null && message.hasOwnProperty("dataConfig"))
|
|
13572
|
+
$root.flyteidl.core.DataLoadingConfig.encode(message.dataConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
13545
13573
|
return writer;
|
|
13546
13574
|
};
|
|
13547
13575
|
|
|
@@ -13569,6 +13597,9 @@
|
|
|
13569
13597
|
case 2:
|
|
13570
13598
|
message.podSpec = $root.google.protobuf.Struct.decode(reader, reader.uint32());
|
|
13571
13599
|
break;
|
|
13600
|
+
case 3:
|
|
13601
|
+
message.dataConfig = $root.flyteidl.core.DataLoadingConfig.decode(reader, reader.uint32());
|
|
13602
|
+
break;
|
|
13572
13603
|
default:
|
|
13573
13604
|
reader.skipType(tag & 7);
|
|
13574
13605
|
break;
|
|
@@ -13598,6 +13629,11 @@
|
|
|
13598
13629
|
if (error)
|
|
13599
13630
|
return "podSpec." + error;
|
|
13600
13631
|
}
|
|
13632
|
+
if (message.dataConfig != null && message.hasOwnProperty("dataConfig")) {
|
|
13633
|
+
var error = $root.flyteidl.core.DataLoadingConfig.verify(message.dataConfig);
|
|
13634
|
+
if (error)
|
|
13635
|
+
return "dataConfig." + error;
|
|
13636
|
+
}
|
|
13601
13637
|
return null;
|
|
13602
13638
|
};
|
|
13603
13639
|
|
|
@@ -14228,6 +14264,7 @@
|
|
|
14228
14264
|
* @property {string|null} [iamRole] Identity iamRole
|
|
14229
14265
|
* @property {string|null} [k8sServiceAccount] Identity k8sServiceAccount
|
|
14230
14266
|
* @property {flyteidl.core.IOAuth2Client|null} [oauth2Client] Identity oauth2Client
|
|
14267
|
+
* @property {string|null} [executionIdentity] Identity executionIdentity
|
|
14231
14268
|
*/
|
|
14232
14269
|
|
|
14233
14270
|
/**
|
|
@@ -14269,6 +14306,14 @@
|
|
|
14269
14306
|
*/
|
|
14270
14307
|
Identity.prototype.oauth2Client = null;
|
|
14271
14308
|
|
|
14309
|
+
/**
|
|
14310
|
+
* Identity executionIdentity.
|
|
14311
|
+
* @member {string} executionIdentity
|
|
14312
|
+
* @memberof flyteidl.core.Identity
|
|
14313
|
+
* @instance
|
|
14314
|
+
*/
|
|
14315
|
+
Identity.prototype.executionIdentity = "";
|
|
14316
|
+
|
|
14272
14317
|
/**
|
|
14273
14318
|
* Creates a new Identity instance using the specified properties.
|
|
14274
14319
|
* @function create
|
|
@@ -14299,6 +14344,8 @@
|
|
|
14299
14344
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.k8sServiceAccount);
|
|
14300
14345
|
if (message.oauth2Client != null && message.hasOwnProperty("oauth2Client"))
|
|
14301
14346
|
$root.flyteidl.core.OAuth2Client.encode(message.oauth2Client, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
14347
|
+
if (message.executionIdentity != null && message.hasOwnProperty("executionIdentity"))
|
|
14348
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.executionIdentity);
|
|
14302
14349
|
return writer;
|
|
14303
14350
|
};
|
|
14304
14351
|
|
|
@@ -14329,6 +14376,9 @@
|
|
|
14329
14376
|
case 3:
|
|
14330
14377
|
message.oauth2Client = $root.flyteidl.core.OAuth2Client.decode(reader, reader.uint32());
|
|
14331
14378
|
break;
|
|
14379
|
+
case 4:
|
|
14380
|
+
message.executionIdentity = reader.string();
|
|
14381
|
+
break;
|
|
14332
14382
|
default:
|
|
14333
14383
|
reader.skipType(tag & 7);
|
|
14334
14384
|
break;
|
|
@@ -14359,6 +14409,9 @@
|
|
|
14359
14409
|
if (error)
|
|
14360
14410
|
return "oauth2Client." + error;
|
|
14361
14411
|
}
|
|
14412
|
+
if (message.executionIdentity != null && message.hasOwnProperty("executionIdentity"))
|
|
14413
|
+
if (!$util.isString(message.executionIdentity))
|
|
14414
|
+
return "executionIdentity: string expected";
|
|
14362
14415
|
return null;
|
|
14363
14416
|
};
|
|
14364
14417
|
|
|
@@ -15243,6 +15296,270 @@
|
|
|
15243
15296
|
return ErrorDocument;
|
|
15244
15297
|
})();
|
|
15245
15298
|
|
|
15299
|
+
core.Span = (function() {
|
|
15300
|
+
|
|
15301
|
+
/**
|
|
15302
|
+
* Properties of a Span.
|
|
15303
|
+
* @memberof flyteidl.core
|
|
15304
|
+
* @interface ISpan
|
|
15305
|
+
* @property {google.protobuf.ITimestamp|null} [startTime] Span startTime
|
|
15306
|
+
* @property {google.protobuf.ITimestamp|null} [endTime] Span endTime
|
|
15307
|
+
* @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowId] Span workflowId
|
|
15308
|
+
* @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeId] Span nodeId
|
|
15309
|
+
* @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskId] Span taskId
|
|
15310
|
+
* @property {string|null} [operationId] Span operationId
|
|
15311
|
+
* @property {Array.<flyteidl.core.ISpan>|null} [spans] Span spans
|
|
15312
|
+
*/
|
|
15313
|
+
|
|
15314
|
+
/**
|
|
15315
|
+
* Constructs a new Span.
|
|
15316
|
+
* @memberof flyteidl.core
|
|
15317
|
+
* @classdesc Represents a Span.
|
|
15318
|
+
* @implements ISpan
|
|
15319
|
+
* @constructor
|
|
15320
|
+
* @param {flyteidl.core.ISpan=} [properties] Properties to set
|
|
15321
|
+
*/
|
|
15322
|
+
function Span(properties) {
|
|
15323
|
+
this.spans = [];
|
|
15324
|
+
if (properties)
|
|
15325
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15326
|
+
if (properties[keys[i]] != null)
|
|
15327
|
+
this[keys[i]] = properties[keys[i]];
|
|
15328
|
+
}
|
|
15329
|
+
|
|
15330
|
+
/**
|
|
15331
|
+
* Span startTime.
|
|
15332
|
+
* @member {google.protobuf.ITimestamp|null|undefined} startTime
|
|
15333
|
+
* @memberof flyteidl.core.Span
|
|
15334
|
+
* @instance
|
|
15335
|
+
*/
|
|
15336
|
+
Span.prototype.startTime = null;
|
|
15337
|
+
|
|
15338
|
+
/**
|
|
15339
|
+
* Span endTime.
|
|
15340
|
+
* @member {google.protobuf.ITimestamp|null|undefined} endTime
|
|
15341
|
+
* @memberof flyteidl.core.Span
|
|
15342
|
+
* @instance
|
|
15343
|
+
*/
|
|
15344
|
+
Span.prototype.endTime = null;
|
|
15345
|
+
|
|
15346
|
+
/**
|
|
15347
|
+
* Span workflowId.
|
|
15348
|
+
* @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowId
|
|
15349
|
+
* @memberof flyteidl.core.Span
|
|
15350
|
+
* @instance
|
|
15351
|
+
*/
|
|
15352
|
+
Span.prototype.workflowId = null;
|
|
15353
|
+
|
|
15354
|
+
/**
|
|
15355
|
+
* Span nodeId.
|
|
15356
|
+
* @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeId
|
|
15357
|
+
* @memberof flyteidl.core.Span
|
|
15358
|
+
* @instance
|
|
15359
|
+
*/
|
|
15360
|
+
Span.prototype.nodeId = null;
|
|
15361
|
+
|
|
15362
|
+
/**
|
|
15363
|
+
* Span taskId.
|
|
15364
|
+
* @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskId
|
|
15365
|
+
* @memberof flyteidl.core.Span
|
|
15366
|
+
* @instance
|
|
15367
|
+
*/
|
|
15368
|
+
Span.prototype.taskId = null;
|
|
15369
|
+
|
|
15370
|
+
/**
|
|
15371
|
+
* Span operationId.
|
|
15372
|
+
* @member {string} operationId
|
|
15373
|
+
* @memberof flyteidl.core.Span
|
|
15374
|
+
* @instance
|
|
15375
|
+
*/
|
|
15376
|
+
Span.prototype.operationId = "";
|
|
15377
|
+
|
|
15378
|
+
/**
|
|
15379
|
+
* Span spans.
|
|
15380
|
+
* @member {Array.<flyteidl.core.ISpan>} spans
|
|
15381
|
+
* @memberof flyteidl.core.Span
|
|
15382
|
+
* @instance
|
|
15383
|
+
*/
|
|
15384
|
+
Span.prototype.spans = $util.emptyArray;
|
|
15385
|
+
|
|
15386
|
+
// OneOf field names bound to virtual getters and setters
|
|
15387
|
+
var $oneOfFields;
|
|
15388
|
+
|
|
15389
|
+
/**
|
|
15390
|
+
* Span id.
|
|
15391
|
+
* @member {"workflowId"|"nodeId"|"taskId"|"operationId"|undefined} id
|
|
15392
|
+
* @memberof flyteidl.core.Span
|
|
15393
|
+
* @instance
|
|
15394
|
+
*/
|
|
15395
|
+
Object.defineProperty(Span.prototype, "id", {
|
|
15396
|
+
get: $util.oneOfGetter($oneOfFields = ["workflowId", "nodeId", "taskId", "operationId"]),
|
|
15397
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
15398
|
+
});
|
|
15399
|
+
|
|
15400
|
+
/**
|
|
15401
|
+
* Creates a new Span instance using the specified properties.
|
|
15402
|
+
* @function create
|
|
15403
|
+
* @memberof flyteidl.core.Span
|
|
15404
|
+
* @static
|
|
15405
|
+
* @param {flyteidl.core.ISpan=} [properties] Properties to set
|
|
15406
|
+
* @returns {flyteidl.core.Span} Span instance
|
|
15407
|
+
*/
|
|
15408
|
+
Span.create = function create(properties) {
|
|
15409
|
+
return new Span(properties);
|
|
15410
|
+
};
|
|
15411
|
+
|
|
15412
|
+
/**
|
|
15413
|
+
* Encodes the specified Span message. Does not implicitly {@link flyteidl.core.Span.verify|verify} messages.
|
|
15414
|
+
* @function encode
|
|
15415
|
+
* @memberof flyteidl.core.Span
|
|
15416
|
+
* @static
|
|
15417
|
+
* @param {flyteidl.core.ISpan} message Span message or plain object to encode
|
|
15418
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15419
|
+
* @returns {$protobuf.Writer} Writer
|
|
15420
|
+
*/
|
|
15421
|
+
Span.encode = function encode(message, writer) {
|
|
15422
|
+
if (!writer)
|
|
15423
|
+
writer = $Writer.create();
|
|
15424
|
+
if (message.startTime != null && message.hasOwnProperty("startTime"))
|
|
15425
|
+
$root.google.protobuf.Timestamp.encode(message.startTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15426
|
+
if (message.endTime != null && message.hasOwnProperty("endTime"))
|
|
15427
|
+
$root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
15428
|
+
if (message.workflowId != null && message.hasOwnProperty("workflowId"))
|
|
15429
|
+
$root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
15430
|
+
if (message.nodeId != null && message.hasOwnProperty("nodeId"))
|
|
15431
|
+
$root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeId, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
15432
|
+
if (message.taskId != null && message.hasOwnProperty("taskId"))
|
|
15433
|
+
$root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskId, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
15434
|
+
if (message.operationId != null && message.hasOwnProperty("operationId"))
|
|
15435
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.operationId);
|
|
15436
|
+
if (message.spans != null && message.spans.length)
|
|
15437
|
+
for (var i = 0; i < message.spans.length; ++i)
|
|
15438
|
+
$root.flyteidl.core.Span.encode(message.spans[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
15439
|
+
return writer;
|
|
15440
|
+
};
|
|
15441
|
+
|
|
15442
|
+
/**
|
|
15443
|
+
* Decodes a Span message from the specified reader or buffer.
|
|
15444
|
+
* @function decode
|
|
15445
|
+
* @memberof flyteidl.core.Span
|
|
15446
|
+
* @static
|
|
15447
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15448
|
+
* @param {number} [length] Message length if known beforehand
|
|
15449
|
+
* @returns {flyteidl.core.Span} Span
|
|
15450
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15451
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15452
|
+
*/
|
|
15453
|
+
Span.decode = function decode(reader, length) {
|
|
15454
|
+
if (!(reader instanceof $Reader))
|
|
15455
|
+
reader = $Reader.create(reader);
|
|
15456
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Span();
|
|
15457
|
+
while (reader.pos < end) {
|
|
15458
|
+
var tag = reader.uint32();
|
|
15459
|
+
switch (tag >>> 3) {
|
|
15460
|
+
case 1:
|
|
15461
|
+
message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
15462
|
+
break;
|
|
15463
|
+
case 2:
|
|
15464
|
+
message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
15465
|
+
break;
|
|
15466
|
+
case 3:
|
|
15467
|
+
message.workflowId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32());
|
|
15468
|
+
break;
|
|
15469
|
+
case 4:
|
|
15470
|
+
message.nodeId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32());
|
|
15471
|
+
break;
|
|
15472
|
+
case 5:
|
|
15473
|
+
message.taskId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32());
|
|
15474
|
+
break;
|
|
15475
|
+
case 6:
|
|
15476
|
+
message.operationId = reader.string();
|
|
15477
|
+
break;
|
|
15478
|
+
case 7:
|
|
15479
|
+
if (!(message.spans && message.spans.length))
|
|
15480
|
+
message.spans = [];
|
|
15481
|
+
message.spans.push($root.flyteidl.core.Span.decode(reader, reader.uint32()));
|
|
15482
|
+
break;
|
|
15483
|
+
default:
|
|
15484
|
+
reader.skipType(tag & 7);
|
|
15485
|
+
break;
|
|
15486
|
+
}
|
|
15487
|
+
}
|
|
15488
|
+
return message;
|
|
15489
|
+
};
|
|
15490
|
+
|
|
15491
|
+
/**
|
|
15492
|
+
* Verifies a Span message.
|
|
15493
|
+
* @function verify
|
|
15494
|
+
* @memberof flyteidl.core.Span
|
|
15495
|
+
* @static
|
|
15496
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
15497
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15498
|
+
*/
|
|
15499
|
+
Span.verify = function verify(message) {
|
|
15500
|
+
if (typeof message !== "object" || message === null)
|
|
15501
|
+
return "object expected";
|
|
15502
|
+
var properties = {};
|
|
15503
|
+
if (message.startTime != null && message.hasOwnProperty("startTime")) {
|
|
15504
|
+
var error = $root.google.protobuf.Timestamp.verify(message.startTime);
|
|
15505
|
+
if (error)
|
|
15506
|
+
return "startTime." + error;
|
|
15507
|
+
}
|
|
15508
|
+
if (message.endTime != null && message.hasOwnProperty("endTime")) {
|
|
15509
|
+
var error = $root.google.protobuf.Timestamp.verify(message.endTime);
|
|
15510
|
+
if (error)
|
|
15511
|
+
return "endTime." + error;
|
|
15512
|
+
}
|
|
15513
|
+
if (message.workflowId != null && message.hasOwnProperty("workflowId")) {
|
|
15514
|
+
properties.id = 1;
|
|
15515
|
+
{
|
|
15516
|
+
var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowId);
|
|
15517
|
+
if (error)
|
|
15518
|
+
return "workflowId." + error;
|
|
15519
|
+
}
|
|
15520
|
+
}
|
|
15521
|
+
if (message.nodeId != null && message.hasOwnProperty("nodeId")) {
|
|
15522
|
+
if (properties.id === 1)
|
|
15523
|
+
return "id: multiple values";
|
|
15524
|
+
properties.id = 1;
|
|
15525
|
+
{
|
|
15526
|
+
var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeId);
|
|
15527
|
+
if (error)
|
|
15528
|
+
return "nodeId." + error;
|
|
15529
|
+
}
|
|
15530
|
+
}
|
|
15531
|
+
if (message.taskId != null && message.hasOwnProperty("taskId")) {
|
|
15532
|
+
if (properties.id === 1)
|
|
15533
|
+
return "id: multiple values";
|
|
15534
|
+
properties.id = 1;
|
|
15535
|
+
{
|
|
15536
|
+
var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskId);
|
|
15537
|
+
if (error)
|
|
15538
|
+
return "taskId." + error;
|
|
15539
|
+
}
|
|
15540
|
+
}
|
|
15541
|
+
if (message.operationId != null && message.hasOwnProperty("operationId")) {
|
|
15542
|
+
if (properties.id === 1)
|
|
15543
|
+
return "id: multiple values";
|
|
15544
|
+
properties.id = 1;
|
|
15545
|
+
if (!$util.isString(message.operationId))
|
|
15546
|
+
return "operationId: string expected";
|
|
15547
|
+
}
|
|
15548
|
+
if (message.spans != null && message.hasOwnProperty("spans")) {
|
|
15549
|
+
if (!Array.isArray(message.spans))
|
|
15550
|
+
return "spans: array expected";
|
|
15551
|
+
for (var i = 0; i < message.spans.length; ++i) {
|
|
15552
|
+
var error = $root.flyteidl.core.Span.verify(message.spans[i]);
|
|
15553
|
+
if (error)
|
|
15554
|
+
return "spans." + error;
|
|
15555
|
+
}
|
|
15556
|
+
}
|
|
15557
|
+
return null;
|
|
15558
|
+
};
|
|
15559
|
+
|
|
15560
|
+
return Span;
|
|
15561
|
+
})();
|
|
15562
|
+
|
|
15246
15563
|
core.WorkflowClosure = (function() {
|
|
15247
15564
|
|
|
15248
15565
|
/**
|
|
@@ -15665,6 +15982,7 @@
|
|
|
15665
15982
|
* @property {flyteidl.core.NodeExecution.Phase|null} [phase] NodeExecutionEvent phase
|
|
15666
15983
|
* @property {google.protobuf.ITimestamp|null} [occurredAt] NodeExecutionEvent occurredAt
|
|
15667
15984
|
* @property {string|null} [inputUri] NodeExecutionEvent inputUri
|
|
15985
|
+
* @property {flyteidl.core.ILiteralMap|null} [inputData] NodeExecutionEvent inputData
|
|
15668
15986
|
* @property {string|null} [outputUri] NodeExecutionEvent outputUri
|
|
15669
15987
|
* @property {flyteidl.core.IExecutionError|null} [error] NodeExecutionEvent error
|
|
15670
15988
|
* @property {flyteidl.core.ILiteralMap|null} [outputData] NodeExecutionEvent outputData
|
|
@@ -15679,6 +15997,7 @@
|
|
|
15679
15997
|
* @property {boolean|null} [isParent] NodeExecutionEvent isParent
|
|
15680
15998
|
* @property {boolean|null} [isDynamic] NodeExecutionEvent isDynamic
|
|
15681
15999
|
* @property {string|null} [deckUri] NodeExecutionEvent deckUri
|
|
16000
|
+
* @property {google.protobuf.ITimestamp|null} [reportedAt] NodeExecutionEvent reportedAt
|
|
15682
16001
|
*/
|
|
15683
16002
|
|
|
15684
16003
|
/**
|
|
@@ -15736,6 +16055,14 @@
|
|
|
15736
16055
|
*/
|
|
15737
16056
|
NodeExecutionEvent.prototype.inputUri = "";
|
|
15738
16057
|
|
|
16058
|
+
/**
|
|
16059
|
+
* NodeExecutionEvent inputData.
|
|
16060
|
+
* @member {flyteidl.core.ILiteralMap|null|undefined} inputData
|
|
16061
|
+
* @memberof flyteidl.event.NodeExecutionEvent
|
|
16062
|
+
* @instance
|
|
16063
|
+
*/
|
|
16064
|
+
NodeExecutionEvent.prototype.inputData = null;
|
|
16065
|
+
|
|
15739
16066
|
/**
|
|
15740
16067
|
* NodeExecutionEvent outputUri.
|
|
15741
16068
|
* @member {string} outputUri
|
|
@@ -15848,9 +16175,28 @@
|
|
|
15848
16175
|
*/
|
|
15849
16176
|
NodeExecutionEvent.prototype.deckUri = "";
|
|
15850
16177
|
|
|
16178
|
+
/**
|
|
16179
|
+
* NodeExecutionEvent reportedAt.
|
|
16180
|
+
* @member {google.protobuf.ITimestamp|null|undefined} reportedAt
|
|
16181
|
+
* @memberof flyteidl.event.NodeExecutionEvent
|
|
16182
|
+
* @instance
|
|
16183
|
+
*/
|
|
16184
|
+
NodeExecutionEvent.prototype.reportedAt = null;
|
|
16185
|
+
|
|
15851
16186
|
// OneOf field names bound to virtual getters and setters
|
|
15852
16187
|
var $oneOfFields;
|
|
15853
16188
|
|
|
16189
|
+
/**
|
|
16190
|
+
* NodeExecutionEvent inputValue.
|
|
16191
|
+
* @member {"inputUri"|"inputData"|undefined} inputValue
|
|
16192
|
+
* @memberof flyteidl.event.NodeExecutionEvent
|
|
16193
|
+
* @instance
|
|
16194
|
+
*/
|
|
16195
|
+
Object.defineProperty(NodeExecutionEvent.prototype, "inputValue", {
|
|
16196
|
+
get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]),
|
|
16197
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
16198
|
+
});
|
|
16199
|
+
|
|
15854
16200
|
/**
|
|
15855
16201
|
* NodeExecutionEvent outputResult.
|
|
15856
16202
|
* @member {"outputUri"|"error"|"outputData"|undefined} outputResult
|
|
@@ -15935,6 +16281,10 @@
|
|
|
15935
16281
|
writer.uint32(/* id 18, wireType 0 =*/144).bool(message.isDynamic);
|
|
15936
16282
|
if (message.deckUri != null && message.hasOwnProperty("deckUri"))
|
|
15937
16283
|
writer.uint32(/* id 19, wireType 2 =*/154).string(message.deckUri);
|
|
16284
|
+
if (message.inputData != null && message.hasOwnProperty("inputData"))
|
|
16285
|
+
$root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
16286
|
+
if (message.reportedAt != null && message.hasOwnProperty("reportedAt"))
|
|
16287
|
+
$root.google.protobuf.Timestamp.encode(message.reportedAt, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
15938
16288
|
return writer;
|
|
15939
16289
|
};
|
|
15940
16290
|
|
|
@@ -15971,6 +16321,9 @@
|
|
|
15971
16321
|
case 5:
|
|
15972
16322
|
message.inputUri = reader.string();
|
|
15973
16323
|
break;
|
|
16324
|
+
case 20:
|
|
16325
|
+
message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32());
|
|
16326
|
+
break;
|
|
15974
16327
|
case 6:
|
|
15975
16328
|
message.outputUri = reader.string();
|
|
15976
16329
|
break;
|
|
@@ -16013,6 +16366,9 @@
|
|
|
16013
16366
|
case 19:
|
|
16014
16367
|
message.deckUri = reader.string();
|
|
16015
16368
|
break;
|
|
16369
|
+
case 21:
|
|
16370
|
+
message.reportedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
16371
|
+
break;
|
|
16016
16372
|
default:
|
|
16017
16373
|
reader.skipType(tag & 7);
|
|
16018
16374
|
break;
|
|
@@ -16063,9 +16419,21 @@
|
|
|
16063
16419
|
if (error)
|
|
16064
16420
|
return "occurredAt." + error;
|
|
16065
16421
|
}
|
|
16066
|
-
if (message.inputUri != null && message.hasOwnProperty("inputUri"))
|
|
16422
|
+
if (message.inputUri != null && message.hasOwnProperty("inputUri")) {
|
|
16423
|
+
properties.inputValue = 1;
|
|
16067
16424
|
if (!$util.isString(message.inputUri))
|
|
16068
16425
|
return "inputUri: string expected";
|
|
16426
|
+
}
|
|
16427
|
+
if (message.inputData != null && message.hasOwnProperty("inputData")) {
|
|
16428
|
+
if (properties.inputValue === 1)
|
|
16429
|
+
return "inputValue: multiple values";
|
|
16430
|
+
properties.inputValue = 1;
|
|
16431
|
+
{
|
|
16432
|
+
var error = $root.flyteidl.core.LiteralMap.verify(message.inputData);
|
|
16433
|
+
if (error)
|
|
16434
|
+
return "inputData." + error;
|
|
16435
|
+
}
|
|
16436
|
+
}
|
|
16069
16437
|
if (message.outputUri != null && message.hasOwnProperty("outputUri")) {
|
|
16070
16438
|
properties.outputResult = 1;
|
|
16071
16439
|
if (!$util.isString(message.outputUri))
|
|
@@ -16140,6 +16508,11 @@
|
|
|
16140
16508
|
if (message.deckUri != null && message.hasOwnProperty("deckUri"))
|
|
16141
16509
|
if (!$util.isString(message.deckUri))
|
|
16142
16510
|
return "deckUri: string expected";
|
|
16511
|
+
if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) {
|
|
16512
|
+
var error = $root.google.protobuf.Timestamp.verify(message.reportedAt);
|
|
16513
|
+
if (error)
|
|
16514
|
+
return "reportedAt." + error;
|
|
16515
|
+
}
|
|
16143
16516
|
return null;
|
|
16144
16517
|
};
|
|
16145
16518
|
|
|
@@ -16466,6 +16839,7 @@
|
|
|
16466
16839
|
* @interface IDynamicWorkflowNodeMetadata
|
|
16467
16840
|
* @property {flyteidl.core.IIdentifier|null} [id] DynamicWorkflowNodeMetadata id
|
|
16468
16841
|
* @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] DynamicWorkflowNodeMetadata compiledWorkflow
|
|
16842
|
+
* @property {string|null} [dynamicJobSpecUri] DynamicWorkflowNodeMetadata dynamicJobSpecUri
|
|
16469
16843
|
*/
|
|
16470
16844
|
|
|
16471
16845
|
/**
|
|
@@ -16499,6 +16873,14 @@
|
|
|
16499
16873
|
*/
|
|
16500
16874
|
DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null;
|
|
16501
16875
|
|
|
16876
|
+
/**
|
|
16877
|
+
* DynamicWorkflowNodeMetadata dynamicJobSpecUri.
|
|
16878
|
+
* @member {string} dynamicJobSpecUri
|
|
16879
|
+
* @memberof flyteidl.event.DynamicWorkflowNodeMetadata
|
|
16880
|
+
* @instance
|
|
16881
|
+
*/
|
|
16882
|
+
DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = "";
|
|
16883
|
+
|
|
16502
16884
|
/**
|
|
16503
16885
|
* Creates a new DynamicWorkflowNodeMetadata instance using the specified properties.
|
|
16504
16886
|
* @function create
|
|
@@ -16527,6 +16909,8 @@
|
|
|
16527
16909
|
$root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
16528
16910
|
if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow"))
|
|
16529
16911
|
$root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
16912
|
+
if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri"))
|
|
16913
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.dynamicJobSpecUri);
|
|
16530
16914
|
return writer;
|
|
16531
16915
|
};
|
|
16532
16916
|
|
|
@@ -16554,6 +16938,9 @@
|
|
|
16554
16938
|
case 2:
|
|
16555
16939
|
message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32());
|
|
16556
16940
|
break;
|
|
16941
|
+
case 3:
|
|
16942
|
+
message.dynamicJobSpecUri = reader.string();
|
|
16943
|
+
break;
|
|
16557
16944
|
default:
|
|
16558
16945
|
reader.skipType(tag & 7);
|
|
16559
16946
|
break;
|
|
@@ -16583,6 +16970,9 @@
|
|
|
16583
16970
|
if (error)
|
|
16584
16971
|
return "compiledWorkflow." + error;
|
|
16585
16972
|
}
|
|
16973
|
+
if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri"))
|
|
16974
|
+
if (!$util.isString(message.dynamicJobSpecUri))
|
|
16975
|
+
return "dynamicJobSpecUri: string expected";
|
|
16586
16976
|
return null;
|
|
16587
16977
|
};
|
|
16588
16978
|
|
|
@@ -16825,6 +17215,7 @@
|
|
|
16825
17215
|
* @property {Array.<flyteidl.core.ITaskLog>|null} [logs] TaskExecutionEvent logs
|
|
16826
17216
|
* @property {google.protobuf.ITimestamp|null} [occurredAt] TaskExecutionEvent occurredAt
|
|
16827
17217
|
* @property {string|null} [inputUri] TaskExecutionEvent inputUri
|
|
17218
|
+
* @property {flyteidl.core.ILiteralMap|null} [inputData] TaskExecutionEvent inputData
|
|
16828
17219
|
* @property {string|null} [outputUri] TaskExecutionEvent outputUri
|
|
16829
17220
|
* @property {flyteidl.core.IExecutionError|null} [error] TaskExecutionEvent error
|
|
16830
17221
|
* @property {flyteidl.core.ILiteralMap|null} [outputData] TaskExecutionEvent outputData
|
|
@@ -16834,6 +17225,7 @@
|
|
|
16834
17225
|
* @property {string|null} [taskType] TaskExecutionEvent taskType
|
|
16835
17226
|
* @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionEvent metadata
|
|
16836
17227
|
* @property {number|null} [eventVersion] TaskExecutionEvent eventVersion
|
|
17228
|
+
* @property {google.protobuf.ITimestamp|null} [reportedAt] TaskExecutionEvent reportedAt
|
|
16837
17229
|
*/
|
|
16838
17230
|
|
|
16839
17231
|
/**
|
|
@@ -16916,6 +17308,14 @@
|
|
|
16916
17308
|
*/
|
|
16917
17309
|
TaskExecutionEvent.prototype.inputUri = "";
|
|
16918
17310
|
|
|
17311
|
+
/**
|
|
17312
|
+
* TaskExecutionEvent inputData.
|
|
17313
|
+
* @member {flyteidl.core.ILiteralMap|null|undefined} inputData
|
|
17314
|
+
* @memberof flyteidl.event.TaskExecutionEvent
|
|
17315
|
+
* @instance
|
|
17316
|
+
*/
|
|
17317
|
+
TaskExecutionEvent.prototype.inputData = null;
|
|
17318
|
+
|
|
16919
17319
|
/**
|
|
16920
17320
|
* TaskExecutionEvent outputUri.
|
|
16921
17321
|
* @member {string} outputUri
|
|
@@ -16988,9 +17388,28 @@
|
|
|
16988
17388
|
*/
|
|
16989
17389
|
TaskExecutionEvent.prototype.eventVersion = 0;
|
|
16990
17390
|
|
|
17391
|
+
/**
|
|
17392
|
+
* TaskExecutionEvent reportedAt.
|
|
17393
|
+
* @member {google.protobuf.ITimestamp|null|undefined} reportedAt
|
|
17394
|
+
* @memberof flyteidl.event.TaskExecutionEvent
|
|
17395
|
+
* @instance
|
|
17396
|
+
*/
|
|
17397
|
+
TaskExecutionEvent.prototype.reportedAt = null;
|
|
17398
|
+
|
|
16991
17399
|
// OneOf field names bound to virtual getters and setters
|
|
16992
17400
|
var $oneOfFields;
|
|
16993
17401
|
|
|
17402
|
+
/**
|
|
17403
|
+
* TaskExecutionEvent inputValue.
|
|
17404
|
+
* @member {"inputUri"|"inputData"|undefined} inputValue
|
|
17405
|
+
* @memberof flyteidl.event.TaskExecutionEvent
|
|
17406
|
+
* @instance
|
|
17407
|
+
*/
|
|
17408
|
+
Object.defineProperty(TaskExecutionEvent.prototype, "inputValue", {
|
|
17409
|
+
get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]),
|
|
17410
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
17411
|
+
});
|
|
17412
|
+
|
|
16994
17413
|
/**
|
|
16995
17414
|
* TaskExecutionEvent outputResult.
|
|
16996
17415
|
* @member {"outputUri"|"error"|"outputData"|undefined} outputResult
|
|
@@ -17061,6 +17480,10 @@
|
|
|
17061
17480
|
$root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
17062
17481
|
if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
|
|
17063
17482
|
writer.uint32(/* id 18, wireType 0 =*/144).int32(message.eventVersion);
|
|
17483
|
+
if (message.inputData != null && message.hasOwnProperty("inputData"))
|
|
17484
|
+
$root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
17485
|
+
if (message.reportedAt != null && message.hasOwnProperty("reportedAt"))
|
|
17486
|
+
$root.google.protobuf.Timestamp.encode(message.reportedAt, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
17064
17487
|
return writer;
|
|
17065
17488
|
};
|
|
17066
17489
|
|
|
@@ -17108,6 +17531,9 @@
|
|
|
17108
17531
|
case 8:
|
|
17109
17532
|
message.inputUri = reader.string();
|
|
17110
17533
|
break;
|
|
17534
|
+
case 19:
|
|
17535
|
+
message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32());
|
|
17536
|
+
break;
|
|
17111
17537
|
case 9:
|
|
17112
17538
|
message.outputUri = reader.string();
|
|
17113
17539
|
break;
|
|
@@ -17135,6 +17561,9 @@
|
|
|
17135
17561
|
case 18:
|
|
17136
17562
|
message.eventVersion = reader.int32();
|
|
17137
17563
|
break;
|
|
17564
|
+
case 20:
|
|
17565
|
+
message.reportedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
17566
|
+
break;
|
|
17138
17567
|
default:
|
|
17139
17568
|
reader.skipType(tag & 7);
|
|
17140
17569
|
break;
|
|
@@ -17199,9 +17628,21 @@
|
|
|
17199
17628
|
if (error)
|
|
17200
17629
|
return "occurredAt." + error;
|
|
17201
17630
|
}
|
|
17202
|
-
if (message.inputUri != null && message.hasOwnProperty("inputUri"))
|
|
17631
|
+
if (message.inputUri != null && message.hasOwnProperty("inputUri")) {
|
|
17632
|
+
properties.inputValue = 1;
|
|
17203
17633
|
if (!$util.isString(message.inputUri))
|
|
17204
17634
|
return "inputUri: string expected";
|
|
17635
|
+
}
|
|
17636
|
+
if (message.inputData != null && message.hasOwnProperty("inputData")) {
|
|
17637
|
+
if (properties.inputValue === 1)
|
|
17638
|
+
return "inputValue: multiple values";
|
|
17639
|
+
properties.inputValue = 1;
|
|
17640
|
+
{
|
|
17641
|
+
var error = $root.flyteidl.core.LiteralMap.verify(message.inputData);
|
|
17642
|
+
if (error)
|
|
17643
|
+
return "inputData." + error;
|
|
17644
|
+
}
|
|
17645
|
+
}
|
|
17205
17646
|
if (message.outputUri != null && message.hasOwnProperty("outputUri")) {
|
|
17206
17647
|
properties.outputResult = 1;
|
|
17207
17648
|
if (!$util.isString(message.outputUri))
|
|
@@ -17249,6 +17690,11 @@
|
|
|
17249
17690
|
if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
|
|
17250
17691
|
if (!$util.isInteger(message.eventVersion))
|
|
17251
17692
|
return "eventVersion: integer expected";
|
|
17693
|
+
if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) {
|
|
17694
|
+
var error = $root.google.protobuf.Timestamp.verify(message.reportedAt);
|
|
17695
|
+
if (error)
|
|
17696
|
+
return "reportedAt." + error;
|
|
17697
|
+
}
|
|
17252
17698
|
return null;
|
|
17253
17699
|
};
|
|
17254
17700
|
|
|
@@ -20864,6 +21310,126 @@
|
|
|
20864
21310
|
return Annotations;
|
|
20865
21311
|
})();
|
|
20866
21312
|
|
|
21313
|
+
admin.Envs = (function() {
|
|
21314
|
+
|
|
21315
|
+
/**
|
|
21316
|
+
* Properties of an Envs.
|
|
21317
|
+
* @memberof flyteidl.admin
|
|
21318
|
+
* @interface IEnvs
|
|
21319
|
+
* @property {Array.<flyteidl.core.IKeyValuePair>|null} [values] Envs values
|
|
21320
|
+
*/
|
|
21321
|
+
|
|
21322
|
+
/**
|
|
21323
|
+
* Constructs a new Envs.
|
|
21324
|
+
* @memberof flyteidl.admin
|
|
21325
|
+
* @classdesc Represents an Envs.
|
|
21326
|
+
* @implements IEnvs
|
|
21327
|
+
* @constructor
|
|
21328
|
+
* @param {flyteidl.admin.IEnvs=} [properties] Properties to set
|
|
21329
|
+
*/
|
|
21330
|
+
function Envs(properties) {
|
|
21331
|
+
this.values = [];
|
|
21332
|
+
if (properties)
|
|
21333
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
21334
|
+
if (properties[keys[i]] != null)
|
|
21335
|
+
this[keys[i]] = properties[keys[i]];
|
|
21336
|
+
}
|
|
21337
|
+
|
|
21338
|
+
/**
|
|
21339
|
+
* Envs values.
|
|
21340
|
+
* @member {Array.<flyteidl.core.IKeyValuePair>} values
|
|
21341
|
+
* @memberof flyteidl.admin.Envs
|
|
21342
|
+
* @instance
|
|
21343
|
+
*/
|
|
21344
|
+
Envs.prototype.values = $util.emptyArray;
|
|
21345
|
+
|
|
21346
|
+
/**
|
|
21347
|
+
* Creates a new Envs instance using the specified properties.
|
|
21348
|
+
* @function create
|
|
21349
|
+
* @memberof flyteidl.admin.Envs
|
|
21350
|
+
* @static
|
|
21351
|
+
* @param {flyteidl.admin.IEnvs=} [properties] Properties to set
|
|
21352
|
+
* @returns {flyteidl.admin.Envs} Envs instance
|
|
21353
|
+
*/
|
|
21354
|
+
Envs.create = function create(properties) {
|
|
21355
|
+
return new Envs(properties);
|
|
21356
|
+
};
|
|
21357
|
+
|
|
21358
|
+
/**
|
|
21359
|
+
* Encodes the specified Envs message. Does not implicitly {@link flyteidl.admin.Envs.verify|verify} messages.
|
|
21360
|
+
* @function encode
|
|
21361
|
+
* @memberof flyteidl.admin.Envs
|
|
21362
|
+
* @static
|
|
21363
|
+
* @param {flyteidl.admin.IEnvs} message Envs message or plain object to encode
|
|
21364
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
21365
|
+
* @returns {$protobuf.Writer} Writer
|
|
21366
|
+
*/
|
|
21367
|
+
Envs.encode = function encode(message, writer) {
|
|
21368
|
+
if (!writer)
|
|
21369
|
+
writer = $Writer.create();
|
|
21370
|
+
if (message.values != null && message.values.length)
|
|
21371
|
+
for (var i = 0; i < message.values.length; ++i)
|
|
21372
|
+
$root.flyteidl.core.KeyValuePair.encode(message.values[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
21373
|
+
return writer;
|
|
21374
|
+
};
|
|
21375
|
+
|
|
21376
|
+
/**
|
|
21377
|
+
* Decodes an Envs message from the specified reader or buffer.
|
|
21378
|
+
* @function decode
|
|
21379
|
+
* @memberof flyteidl.admin.Envs
|
|
21380
|
+
* @static
|
|
21381
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
21382
|
+
* @param {number} [length] Message length if known beforehand
|
|
21383
|
+
* @returns {flyteidl.admin.Envs} Envs
|
|
21384
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21385
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21386
|
+
*/
|
|
21387
|
+
Envs.decode = function decode(reader, length) {
|
|
21388
|
+
if (!(reader instanceof $Reader))
|
|
21389
|
+
reader = $Reader.create(reader);
|
|
21390
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Envs();
|
|
21391
|
+
while (reader.pos < end) {
|
|
21392
|
+
var tag = reader.uint32();
|
|
21393
|
+
switch (tag >>> 3) {
|
|
21394
|
+
case 1:
|
|
21395
|
+
if (!(message.values && message.values.length))
|
|
21396
|
+
message.values = [];
|
|
21397
|
+
message.values.push($root.flyteidl.core.KeyValuePair.decode(reader, reader.uint32()));
|
|
21398
|
+
break;
|
|
21399
|
+
default:
|
|
21400
|
+
reader.skipType(tag & 7);
|
|
21401
|
+
break;
|
|
21402
|
+
}
|
|
21403
|
+
}
|
|
21404
|
+
return message;
|
|
21405
|
+
};
|
|
21406
|
+
|
|
21407
|
+
/**
|
|
21408
|
+
* Verifies an Envs message.
|
|
21409
|
+
* @function verify
|
|
21410
|
+
* @memberof flyteidl.admin.Envs
|
|
21411
|
+
* @static
|
|
21412
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
21413
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
21414
|
+
*/
|
|
21415
|
+
Envs.verify = function verify(message) {
|
|
21416
|
+
if (typeof message !== "object" || message === null)
|
|
21417
|
+
return "object expected";
|
|
21418
|
+
if (message.values != null && message.hasOwnProperty("values")) {
|
|
21419
|
+
if (!Array.isArray(message.values))
|
|
21420
|
+
return "values: array expected";
|
|
21421
|
+
for (var i = 0; i < message.values.length; ++i) {
|
|
21422
|
+
var error = $root.flyteidl.core.KeyValuePair.verify(message.values[i]);
|
|
21423
|
+
if (error)
|
|
21424
|
+
return "values." + error;
|
|
21425
|
+
}
|
|
21426
|
+
}
|
|
21427
|
+
return null;
|
|
21428
|
+
};
|
|
21429
|
+
|
|
21430
|
+
return Envs;
|
|
21431
|
+
})();
|
|
21432
|
+
|
|
20867
21433
|
admin.AuthRole = (function() {
|
|
20868
21434
|
|
|
20869
21435
|
/**
|
|
@@ -21101,6 +21667,150 @@
|
|
|
21101
21667
|
return RawOutputDataConfig;
|
|
21102
21668
|
})();
|
|
21103
21669
|
|
|
21670
|
+
admin.FlyteURLs = (function() {
|
|
21671
|
+
|
|
21672
|
+
/**
|
|
21673
|
+
* Properties of a FlyteURLs.
|
|
21674
|
+
* @memberof flyteidl.admin
|
|
21675
|
+
* @interface IFlyteURLs
|
|
21676
|
+
* @property {string|null} [inputs] FlyteURLs inputs
|
|
21677
|
+
* @property {string|null} [outputs] FlyteURLs outputs
|
|
21678
|
+
* @property {string|null} [deck] FlyteURLs deck
|
|
21679
|
+
*/
|
|
21680
|
+
|
|
21681
|
+
/**
|
|
21682
|
+
* Constructs a new FlyteURLs.
|
|
21683
|
+
* @memberof flyteidl.admin
|
|
21684
|
+
* @classdesc Represents a FlyteURLs.
|
|
21685
|
+
* @implements IFlyteURLs
|
|
21686
|
+
* @constructor
|
|
21687
|
+
* @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set
|
|
21688
|
+
*/
|
|
21689
|
+
function FlyteURLs(properties) {
|
|
21690
|
+
if (properties)
|
|
21691
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
21692
|
+
if (properties[keys[i]] != null)
|
|
21693
|
+
this[keys[i]] = properties[keys[i]];
|
|
21694
|
+
}
|
|
21695
|
+
|
|
21696
|
+
/**
|
|
21697
|
+
* FlyteURLs inputs.
|
|
21698
|
+
* @member {string} inputs
|
|
21699
|
+
* @memberof flyteidl.admin.FlyteURLs
|
|
21700
|
+
* @instance
|
|
21701
|
+
*/
|
|
21702
|
+
FlyteURLs.prototype.inputs = "";
|
|
21703
|
+
|
|
21704
|
+
/**
|
|
21705
|
+
* FlyteURLs outputs.
|
|
21706
|
+
* @member {string} outputs
|
|
21707
|
+
* @memberof flyteidl.admin.FlyteURLs
|
|
21708
|
+
* @instance
|
|
21709
|
+
*/
|
|
21710
|
+
FlyteURLs.prototype.outputs = "";
|
|
21711
|
+
|
|
21712
|
+
/**
|
|
21713
|
+
* FlyteURLs deck.
|
|
21714
|
+
* @member {string} deck
|
|
21715
|
+
* @memberof flyteidl.admin.FlyteURLs
|
|
21716
|
+
* @instance
|
|
21717
|
+
*/
|
|
21718
|
+
FlyteURLs.prototype.deck = "";
|
|
21719
|
+
|
|
21720
|
+
/**
|
|
21721
|
+
* Creates a new FlyteURLs instance using the specified properties.
|
|
21722
|
+
* @function create
|
|
21723
|
+
* @memberof flyteidl.admin.FlyteURLs
|
|
21724
|
+
* @static
|
|
21725
|
+
* @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set
|
|
21726
|
+
* @returns {flyteidl.admin.FlyteURLs} FlyteURLs instance
|
|
21727
|
+
*/
|
|
21728
|
+
FlyteURLs.create = function create(properties) {
|
|
21729
|
+
return new FlyteURLs(properties);
|
|
21730
|
+
};
|
|
21731
|
+
|
|
21732
|
+
/**
|
|
21733
|
+
* Encodes the specified FlyteURLs message. Does not implicitly {@link flyteidl.admin.FlyteURLs.verify|verify} messages.
|
|
21734
|
+
* @function encode
|
|
21735
|
+
* @memberof flyteidl.admin.FlyteURLs
|
|
21736
|
+
* @static
|
|
21737
|
+
* @param {flyteidl.admin.IFlyteURLs} message FlyteURLs message or plain object to encode
|
|
21738
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
21739
|
+
* @returns {$protobuf.Writer} Writer
|
|
21740
|
+
*/
|
|
21741
|
+
FlyteURLs.encode = function encode(message, writer) {
|
|
21742
|
+
if (!writer)
|
|
21743
|
+
writer = $Writer.create();
|
|
21744
|
+
if (message.inputs != null && message.hasOwnProperty("inputs"))
|
|
21745
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.inputs);
|
|
21746
|
+
if (message.outputs != null && message.hasOwnProperty("outputs"))
|
|
21747
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.outputs);
|
|
21748
|
+
if (message.deck != null && message.hasOwnProperty("deck"))
|
|
21749
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.deck);
|
|
21750
|
+
return writer;
|
|
21751
|
+
};
|
|
21752
|
+
|
|
21753
|
+
/**
|
|
21754
|
+
* Decodes a FlyteURLs message from the specified reader or buffer.
|
|
21755
|
+
* @function decode
|
|
21756
|
+
* @memberof flyteidl.admin.FlyteURLs
|
|
21757
|
+
* @static
|
|
21758
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
21759
|
+
* @param {number} [length] Message length if known beforehand
|
|
21760
|
+
* @returns {flyteidl.admin.FlyteURLs} FlyteURLs
|
|
21761
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21762
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21763
|
+
*/
|
|
21764
|
+
FlyteURLs.decode = function decode(reader, length) {
|
|
21765
|
+
if (!(reader instanceof $Reader))
|
|
21766
|
+
reader = $Reader.create(reader);
|
|
21767
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.FlyteURLs();
|
|
21768
|
+
while (reader.pos < end) {
|
|
21769
|
+
var tag = reader.uint32();
|
|
21770
|
+
switch (tag >>> 3) {
|
|
21771
|
+
case 1:
|
|
21772
|
+
message.inputs = reader.string();
|
|
21773
|
+
break;
|
|
21774
|
+
case 2:
|
|
21775
|
+
message.outputs = reader.string();
|
|
21776
|
+
break;
|
|
21777
|
+
case 3:
|
|
21778
|
+
message.deck = reader.string();
|
|
21779
|
+
break;
|
|
21780
|
+
default:
|
|
21781
|
+
reader.skipType(tag & 7);
|
|
21782
|
+
break;
|
|
21783
|
+
}
|
|
21784
|
+
}
|
|
21785
|
+
return message;
|
|
21786
|
+
};
|
|
21787
|
+
|
|
21788
|
+
/**
|
|
21789
|
+
* Verifies a FlyteURLs message.
|
|
21790
|
+
* @function verify
|
|
21791
|
+
* @memberof flyteidl.admin.FlyteURLs
|
|
21792
|
+
* @static
|
|
21793
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
21794
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
21795
|
+
*/
|
|
21796
|
+
FlyteURLs.verify = function verify(message) {
|
|
21797
|
+
if (typeof message !== "object" || message === null)
|
|
21798
|
+
return "object expected";
|
|
21799
|
+
if (message.inputs != null && message.hasOwnProperty("inputs"))
|
|
21800
|
+
if (!$util.isString(message.inputs))
|
|
21801
|
+
return "inputs: string expected";
|
|
21802
|
+
if (message.outputs != null && message.hasOwnProperty("outputs"))
|
|
21803
|
+
if (!$util.isString(message.outputs))
|
|
21804
|
+
return "outputs: string expected";
|
|
21805
|
+
if (message.deck != null && message.hasOwnProperty("deck"))
|
|
21806
|
+
if (!$util.isString(message.deck))
|
|
21807
|
+
return "deck: string expected";
|
|
21808
|
+
return null;
|
|
21809
|
+
};
|
|
21810
|
+
|
|
21811
|
+
return FlyteURLs;
|
|
21812
|
+
})();
|
|
21813
|
+
|
|
21104
21814
|
admin.DescriptionEntity = (function() {
|
|
21105
21815
|
|
|
21106
21816
|
/**
|
|
@@ -25174,6 +25884,7 @@
|
|
|
25174
25884
|
* @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] ExecutionSpec clusterAssignment
|
|
25175
25885
|
* @property {google.protobuf.IBoolValue|null} [interruptible] ExecutionSpec interruptible
|
|
25176
25886
|
* @property {boolean|null} [overwriteCache] ExecutionSpec overwriteCache
|
|
25887
|
+
* @property {flyteidl.admin.IEnvs|null} [envs] ExecutionSpec envs
|
|
25177
25888
|
*/
|
|
25178
25889
|
|
|
25179
25890
|
/**
|
|
@@ -25311,6 +26022,14 @@
|
|
|
25311
26022
|
*/
|
|
25312
26023
|
ExecutionSpec.prototype.overwriteCache = false;
|
|
25313
26024
|
|
|
26025
|
+
/**
|
|
26026
|
+
* ExecutionSpec envs.
|
|
26027
|
+
* @member {flyteidl.admin.IEnvs|null|undefined} envs
|
|
26028
|
+
* @memberof flyteidl.admin.ExecutionSpec
|
|
26029
|
+
* @instance
|
|
26030
|
+
*/
|
|
26031
|
+
ExecutionSpec.prototype.envs = null;
|
|
26032
|
+
|
|
25314
26033
|
// OneOf field names bound to virtual getters and setters
|
|
25315
26034
|
var $oneOfFields;
|
|
25316
26035
|
|
|
@@ -25379,6 +26098,8 @@
|
|
|
25379
26098
|
$root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
25380
26099
|
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
25381
26100
|
writer.uint32(/* id 22, wireType 0 =*/176).bool(message.overwriteCache);
|
|
26101
|
+
if (message.envs != null && message.hasOwnProperty("envs"))
|
|
26102
|
+
$root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
|
|
25382
26103
|
return writer;
|
|
25383
26104
|
};
|
|
25384
26105
|
|
|
@@ -25445,6 +26166,9 @@
|
|
|
25445
26166
|
case 22:
|
|
25446
26167
|
message.overwriteCache = reader.bool();
|
|
25447
26168
|
break;
|
|
26169
|
+
case 23:
|
|
26170
|
+
message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32());
|
|
26171
|
+
break;
|
|
25448
26172
|
default:
|
|
25449
26173
|
reader.skipType(tag & 7);
|
|
25450
26174
|
break;
|
|
@@ -25541,6 +26265,11 @@
|
|
|
25541
26265
|
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
25542
26266
|
if (typeof message.overwriteCache !== "boolean")
|
|
25543
26267
|
return "overwriteCache: boolean expected";
|
|
26268
|
+
if (message.envs != null && message.hasOwnProperty("envs")) {
|
|
26269
|
+
var error = $root.flyteidl.admin.Envs.verify(message.envs);
|
|
26270
|
+
if (error)
|
|
26271
|
+
return "envs." + error;
|
|
26272
|
+
}
|
|
25544
26273
|
return null;
|
|
25545
26274
|
};
|
|
25546
26275
|
|
|
@@ -26442,6 +27171,247 @@
|
|
|
26442
27171
|
return ExecutionUpdateResponse;
|
|
26443
27172
|
})();
|
|
26444
27173
|
|
|
27174
|
+
admin.WorkflowExecutionGetMetricsRequest = (function() {
|
|
27175
|
+
|
|
27176
|
+
/**
|
|
27177
|
+
* Properties of a WorkflowExecutionGetMetricsRequest.
|
|
27178
|
+
* @memberof flyteidl.admin
|
|
27179
|
+
* @interface IWorkflowExecutionGetMetricsRequest
|
|
27180
|
+
* @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetMetricsRequest id
|
|
27181
|
+
* @property {number|null} [depth] WorkflowExecutionGetMetricsRequest depth
|
|
27182
|
+
*/
|
|
27183
|
+
|
|
27184
|
+
/**
|
|
27185
|
+
* Constructs a new WorkflowExecutionGetMetricsRequest.
|
|
27186
|
+
* @memberof flyteidl.admin
|
|
27187
|
+
* @classdesc Represents a WorkflowExecutionGetMetricsRequest.
|
|
27188
|
+
* @implements IWorkflowExecutionGetMetricsRequest
|
|
27189
|
+
* @constructor
|
|
27190
|
+
* @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest=} [properties] Properties to set
|
|
27191
|
+
*/
|
|
27192
|
+
function WorkflowExecutionGetMetricsRequest(properties) {
|
|
27193
|
+
if (properties)
|
|
27194
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
27195
|
+
if (properties[keys[i]] != null)
|
|
27196
|
+
this[keys[i]] = properties[keys[i]];
|
|
27197
|
+
}
|
|
27198
|
+
|
|
27199
|
+
/**
|
|
27200
|
+
* WorkflowExecutionGetMetricsRequest id.
|
|
27201
|
+
* @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id
|
|
27202
|
+
* @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest
|
|
27203
|
+
* @instance
|
|
27204
|
+
*/
|
|
27205
|
+
WorkflowExecutionGetMetricsRequest.prototype.id = null;
|
|
27206
|
+
|
|
27207
|
+
/**
|
|
27208
|
+
* WorkflowExecutionGetMetricsRequest depth.
|
|
27209
|
+
* @member {number} depth
|
|
27210
|
+
* @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest
|
|
27211
|
+
* @instance
|
|
27212
|
+
*/
|
|
27213
|
+
WorkflowExecutionGetMetricsRequest.prototype.depth = 0;
|
|
27214
|
+
|
|
27215
|
+
/**
|
|
27216
|
+
* Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties.
|
|
27217
|
+
* @function create
|
|
27218
|
+
* @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest
|
|
27219
|
+
* @static
|
|
27220
|
+
* @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest=} [properties] Properties to set
|
|
27221
|
+
* @returns {flyteidl.admin.WorkflowExecutionGetMetricsRequest} WorkflowExecutionGetMetricsRequest instance
|
|
27222
|
+
*/
|
|
27223
|
+
WorkflowExecutionGetMetricsRequest.create = function create(properties) {
|
|
27224
|
+
return new WorkflowExecutionGetMetricsRequest(properties);
|
|
27225
|
+
};
|
|
27226
|
+
|
|
27227
|
+
/**
|
|
27228
|
+
* Encodes the specified WorkflowExecutionGetMetricsRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsRequest.verify|verify} messages.
|
|
27229
|
+
* @function encode
|
|
27230
|
+
* @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest
|
|
27231
|
+
* @static
|
|
27232
|
+
* @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} message WorkflowExecutionGetMetricsRequest message or plain object to encode
|
|
27233
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
27234
|
+
* @returns {$protobuf.Writer} Writer
|
|
27235
|
+
*/
|
|
27236
|
+
WorkflowExecutionGetMetricsRequest.encode = function encode(message, writer) {
|
|
27237
|
+
if (!writer)
|
|
27238
|
+
writer = $Writer.create();
|
|
27239
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
27240
|
+
$root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
27241
|
+
if (message.depth != null && message.hasOwnProperty("depth"))
|
|
27242
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.depth);
|
|
27243
|
+
return writer;
|
|
27244
|
+
};
|
|
27245
|
+
|
|
27246
|
+
/**
|
|
27247
|
+
* Decodes a WorkflowExecutionGetMetricsRequest message from the specified reader or buffer.
|
|
27248
|
+
* @function decode
|
|
27249
|
+
* @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest
|
|
27250
|
+
* @static
|
|
27251
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
27252
|
+
* @param {number} [length] Message length if known beforehand
|
|
27253
|
+
* @returns {flyteidl.admin.WorkflowExecutionGetMetricsRequest} WorkflowExecutionGetMetricsRequest
|
|
27254
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27255
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27256
|
+
*/
|
|
27257
|
+
WorkflowExecutionGetMetricsRequest.decode = function decode(reader, length) {
|
|
27258
|
+
if (!(reader instanceof $Reader))
|
|
27259
|
+
reader = $Reader.create(reader);
|
|
27260
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetMetricsRequest();
|
|
27261
|
+
while (reader.pos < end) {
|
|
27262
|
+
var tag = reader.uint32();
|
|
27263
|
+
switch (tag >>> 3) {
|
|
27264
|
+
case 1:
|
|
27265
|
+
message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32());
|
|
27266
|
+
break;
|
|
27267
|
+
case 2:
|
|
27268
|
+
message.depth = reader.int32();
|
|
27269
|
+
break;
|
|
27270
|
+
default:
|
|
27271
|
+
reader.skipType(tag & 7);
|
|
27272
|
+
break;
|
|
27273
|
+
}
|
|
27274
|
+
}
|
|
27275
|
+
return message;
|
|
27276
|
+
};
|
|
27277
|
+
|
|
27278
|
+
/**
|
|
27279
|
+
* Verifies a WorkflowExecutionGetMetricsRequest message.
|
|
27280
|
+
* @function verify
|
|
27281
|
+
* @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest
|
|
27282
|
+
* @static
|
|
27283
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
27284
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
27285
|
+
*/
|
|
27286
|
+
WorkflowExecutionGetMetricsRequest.verify = function verify(message) {
|
|
27287
|
+
if (typeof message !== "object" || message === null)
|
|
27288
|
+
return "object expected";
|
|
27289
|
+
if (message.id != null && message.hasOwnProperty("id")) {
|
|
27290
|
+
var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id);
|
|
27291
|
+
if (error)
|
|
27292
|
+
return "id." + error;
|
|
27293
|
+
}
|
|
27294
|
+
if (message.depth != null && message.hasOwnProperty("depth"))
|
|
27295
|
+
if (!$util.isInteger(message.depth))
|
|
27296
|
+
return "depth: integer expected";
|
|
27297
|
+
return null;
|
|
27298
|
+
};
|
|
27299
|
+
|
|
27300
|
+
return WorkflowExecutionGetMetricsRequest;
|
|
27301
|
+
})();
|
|
27302
|
+
|
|
27303
|
+
admin.WorkflowExecutionGetMetricsResponse = (function() {
|
|
27304
|
+
|
|
27305
|
+
/**
|
|
27306
|
+
* Properties of a WorkflowExecutionGetMetricsResponse.
|
|
27307
|
+
* @memberof flyteidl.admin
|
|
27308
|
+
* @interface IWorkflowExecutionGetMetricsResponse
|
|
27309
|
+
* @property {flyteidl.core.ISpan|null} [span] WorkflowExecutionGetMetricsResponse span
|
|
27310
|
+
*/
|
|
27311
|
+
|
|
27312
|
+
/**
|
|
27313
|
+
* Constructs a new WorkflowExecutionGetMetricsResponse.
|
|
27314
|
+
* @memberof flyteidl.admin
|
|
27315
|
+
* @classdesc Represents a WorkflowExecutionGetMetricsResponse.
|
|
27316
|
+
* @implements IWorkflowExecutionGetMetricsResponse
|
|
27317
|
+
* @constructor
|
|
27318
|
+
* @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse=} [properties] Properties to set
|
|
27319
|
+
*/
|
|
27320
|
+
function WorkflowExecutionGetMetricsResponse(properties) {
|
|
27321
|
+
if (properties)
|
|
27322
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
27323
|
+
if (properties[keys[i]] != null)
|
|
27324
|
+
this[keys[i]] = properties[keys[i]];
|
|
27325
|
+
}
|
|
27326
|
+
|
|
27327
|
+
/**
|
|
27328
|
+
* WorkflowExecutionGetMetricsResponse span.
|
|
27329
|
+
* @member {flyteidl.core.ISpan|null|undefined} span
|
|
27330
|
+
* @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse
|
|
27331
|
+
* @instance
|
|
27332
|
+
*/
|
|
27333
|
+
WorkflowExecutionGetMetricsResponse.prototype.span = null;
|
|
27334
|
+
|
|
27335
|
+
/**
|
|
27336
|
+
* Creates a new WorkflowExecutionGetMetricsResponse instance using the specified properties.
|
|
27337
|
+
* @function create
|
|
27338
|
+
* @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse
|
|
27339
|
+
* @static
|
|
27340
|
+
* @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse=} [properties] Properties to set
|
|
27341
|
+
* @returns {flyteidl.admin.WorkflowExecutionGetMetricsResponse} WorkflowExecutionGetMetricsResponse instance
|
|
27342
|
+
*/
|
|
27343
|
+
WorkflowExecutionGetMetricsResponse.create = function create(properties) {
|
|
27344
|
+
return new WorkflowExecutionGetMetricsResponse(properties);
|
|
27345
|
+
};
|
|
27346
|
+
|
|
27347
|
+
/**
|
|
27348
|
+
* Encodes the specified WorkflowExecutionGetMetricsResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsResponse.verify|verify} messages.
|
|
27349
|
+
* @function encode
|
|
27350
|
+
* @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse
|
|
27351
|
+
* @static
|
|
27352
|
+
* @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse} message WorkflowExecutionGetMetricsResponse message or plain object to encode
|
|
27353
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
27354
|
+
* @returns {$protobuf.Writer} Writer
|
|
27355
|
+
*/
|
|
27356
|
+
WorkflowExecutionGetMetricsResponse.encode = function encode(message, writer) {
|
|
27357
|
+
if (!writer)
|
|
27358
|
+
writer = $Writer.create();
|
|
27359
|
+
if (message.span != null && message.hasOwnProperty("span"))
|
|
27360
|
+
$root.flyteidl.core.Span.encode(message.span, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
27361
|
+
return writer;
|
|
27362
|
+
};
|
|
27363
|
+
|
|
27364
|
+
/**
|
|
27365
|
+
* Decodes a WorkflowExecutionGetMetricsResponse message from the specified reader or buffer.
|
|
27366
|
+
* @function decode
|
|
27367
|
+
* @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse
|
|
27368
|
+
* @static
|
|
27369
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
27370
|
+
* @param {number} [length] Message length if known beforehand
|
|
27371
|
+
* @returns {flyteidl.admin.WorkflowExecutionGetMetricsResponse} WorkflowExecutionGetMetricsResponse
|
|
27372
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27373
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27374
|
+
*/
|
|
27375
|
+
WorkflowExecutionGetMetricsResponse.decode = function decode(reader, length) {
|
|
27376
|
+
if (!(reader instanceof $Reader))
|
|
27377
|
+
reader = $Reader.create(reader);
|
|
27378
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetMetricsResponse();
|
|
27379
|
+
while (reader.pos < end) {
|
|
27380
|
+
var tag = reader.uint32();
|
|
27381
|
+
switch (tag >>> 3) {
|
|
27382
|
+
case 1:
|
|
27383
|
+
message.span = $root.flyteidl.core.Span.decode(reader, reader.uint32());
|
|
27384
|
+
break;
|
|
27385
|
+
default:
|
|
27386
|
+
reader.skipType(tag & 7);
|
|
27387
|
+
break;
|
|
27388
|
+
}
|
|
27389
|
+
}
|
|
27390
|
+
return message;
|
|
27391
|
+
};
|
|
27392
|
+
|
|
27393
|
+
/**
|
|
27394
|
+
* Verifies a WorkflowExecutionGetMetricsResponse message.
|
|
27395
|
+
* @function verify
|
|
27396
|
+
* @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse
|
|
27397
|
+
* @static
|
|
27398
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
27399
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
27400
|
+
*/
|
|
27401
|
+
WorkflowExecutionGetMetricsResponse.verify = function verify(message) {
|
|
27402
|
+
if (typeof message !== "object" || message === null)
|
|
27403
|
+
return "object expected";
|
|
27404
|
+
if (message.span != null && message.hasOwnProperty("span")) {
|
|
27405
|
+
var error = $root.flyteidl.core.Span.verify(message.span);
|
|
27406
|
+
if (error)
|
|
27407
|
+
return "span." + error;
|
|
27408
|
+
}
|
|
27409
|
+
return null;
|
|
27410
|
+
};
|
|
27411
|
+
|
|
27412
|
+
return WorkflowExecutionGetMetricsResponse;
|
|
27413
|
+
})();
|
|
27414
|
+
|
|
26445
27415
|
admin.LaunchPlanCreateRequest = (function() {
|
|
26446
27416
|
|
|
26447
27417
|
/**
|
|
@@ -27115,6 +28085,7 @@
|
|
|
27115
28085
|
* @property {number|null} [maxParallelism] LaunchPlanSpec maxParallelism
|
|
27116
28086
|
* @property {google.protobuf.IBoolValue|null} [interruptible] LaunchPlanSpec interruptible
|
|
27117
28087
|
* @property {boolean|null} [overwriteCache] LaunchPlanSpec overwriteCache
|
|
28088
|
+
* @property {flyteidl.admin.IEnvs|null} [envs] LaunchPlanSpec envs
|
|
27118
28089
|
*/
|
|
27119
28090
|
|
|
27120
28091
|
/**
|
|
@@ -27252,6 +28223,14 @@
|
|
|
27252
28223
|
*/
|
|
27253
28224
|
LaunchPlanSpec.prototype.overwriteCache = false;
|
|
27254
28225
|
|
|
28226
|
+
/**
|
|
28227
|
+
* LaunchPlanSpec envs.
|
|
28228
|
+
* @member {flyteidl.admin.IEnvs|null|undefined} envs
|
|
28229
|
+
* @memberof flyteidl.admin.LaunchPlanSpec
|
|
28230
|
+
* @instance
|
|
28231
|
+
*/
|
|
28232
|
+
LaunchPlanSpec.prototype.envs = null;
|
|
28233
|
+
|
|
27255
28234
|
/**
|
|
27256
28235
|
* Creates a new LaunchPlanSpec instance using the specified properties.
|
|
27257
28236
|
* @function create
|
|
@@ -27306,6 +28285,8 @@
|
|
|
27306
28285
|
$root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
27307
28286
|
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
27308
28287
|
writer.uint32(/* id 20, wireType 0 =*/160).bool(message.overwriteCache);
|
|
28288
|
+
if (message.envs != null && message.hasOwnProperty("envs"))
|
|
28289
|
+
$root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
27309
28290
|
return writer;
|
|
27310
28291
|
};
|
|
27311
28292
|
|
|
@@ -27372,6 +28353,9 @@
|
|
|
27372
28353
|
case 20:
|
|
27373
28354
|
message.overwriteCache = reader.bool();
|
|
27374
28355
|
break;
|
|
28356
|
+
case 21:
|
|
28357
|
+
message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32());
|
|
28358
|
+
break;
|
|
27375
28359
|
default:
|
|
27376
28360
|
reader.skipType(tag & 7);
|
|
27377
28361
|
break;
|
|
@@ -27460,6 +28444,11 @@
|
|
|
27460
28444
|
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
27461
28445
|
if (typeof message.overwriteCache !== "boolean")
|
|
27462
28446
|
return "overwriteCache: boolean expected";
|
|
28447
|
+
if (message.envs != null && message.hasOwnProperty("envs")) {
|
|
28448
|
+
var error = $root.flyteidl.admin.Envs.verify(message.envs);
|
|
28449
|
+
if (error)
|
|
28450
|
+
return "envs." + error;
|
|
28451
|
+
}
|
|
27463
28452
|
return null;
|
|
27464
28453
|
};
|
|
27465
28454
|
|
|
@@ -29772,6 +30761,7 @@
|
|
|
29772
30761
|
* @property {flyteidl.admin.IAnnotations|null} [annotations] WorkflowExecutionConfig annotations
|
|
29773
30762
|
* @property {google.protobuf.IBoolValue|null} [interruptible] WorkflowExecutionConfig interruptible
|
|
29774
30763
|
* @property {boolean|null} [overwriteCache] WorkflowExecutionConfig overwriteCache
|
|
30764
|
+
* @property {flyteidl.admin.IEnvs|null} [envs] WorkflowExecutionConfig envs
|
|
29775
30765
|
*/
|
|
29776
30766
|
|
|
29777
30767
|
/**
|
|
@@ -29845,6 +30835,14 @@
|
|
|
29845
30835
|
*/
|
|
29846
30836
|
WorkflowExecutionConfig.prototype.overwriteCache = false;
|
|
29847
30837
|
|
|
30838
|
+
/**
|
|
30839
|
+
* WorkflowExecutionConfig envs.
|
|
30840
|
+
* @member {flyteidl.admin.IEnvs|null|undefined} envs
|
|
30841
|
+
* @memberof flyteidl.admin.WorkflowExecutionConfig
|
|
30842
|
+
* @instance
|
|
30843
|
+
*/
|
|
30844
|
+
WorkflowExecutionConfig.prototype.envs = null;
|
|
30845
|
+
|
|
29848
30846
|
/**
|
|
29849
30847
|
* Creates a new WorkflowExecutionConfig instance using the specified properties.
|
|
29850
30848
|
* @function create
|
|
@@ -29883,6 +30881,8 @@
|
|
|
29883
30881
|
$root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
29884
30882
|
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
29885
30883
|
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.overwriteCache);
|
|
30884
|
+
if (message.envs != null && message.hasOwnProperty("envs"))
|
|
30885
|
+
$root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
29886
30886
|
return writer;
|
|
29887
30887
|
};
|
|
29888
30888
|
|
|
@@ -29925,6 +30925,9 @@
|
|
|
29925
30925
|
case 7:
|
|
29926
30926
|
message.overwriteCache = reader.bool();
|
|
29927
30927
|
break;
|
|
30928
|
+
case 8:
|
|
30929
|
+
message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32());
|
|
30930
|
+
break;
|
|
29928
30931
|
default:
|
|
29929
30932
|
reader.skipType(tag & 7);
|
|
29930
30933
|
break;
|
|
@@ -29975,6 +30978,11 @@
|
|
|
29975
30978
|
if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
|
|
29976
30979
|
if (typeof message.overwriteCache !== "boolean")
|
|
29977
30980
|
return "overwriteCache: boolean expected";
|
|
30981
|
+
if (message.envs != null && message.hasOwnProperty("envs")) {
|
|
30982
|
+
var error = $root.flyteidl.admin.Envs.verify(message.envs);
|
|
30983
|
+
if (error)
|
|
30984
|
+
return "envs." + error;
|
|
30985
|
+
}
|
|
29978
30986
|
return null;
|
|
29979
30987
|
};
|
|
29980
30988
|
|
|
@@ -31675,6 +32683,7 @@
|
|
|
31675
32683
|
* @property {flyteidl.admin.IWorkflowNodeMetadata|null} [workflowNodeMetadata] NodeExecutionClosure workflowNodeMetadata
|
|
31676
32684
|
* @property {flyteidl.admin.ITaskNodeMetadata|null} [taskNodeMetadata] NodeExecutionClosure taskNodeMetadata
|
|
31677
32685
|
* @property {string|null} [deckUri] NodeExecutionClosure deckUri
|
|
32686
|
+
* @property {string|null} [dynamicJobSpecUri] NodeExecutionClosure dynamicJobSpecUri
|
|
31678
32687
|
*/
|
|
31679
32688
|
|
|
31680
32689
|
/**
|
|
@@ -31780,6 +32789,14 @@
|
|
|
31780
32789
|
*/
|
|
31781
32790
|
NodeExecutionClosure.prototype.deckUri = "";
|
|
31782
32791
|
|
|
32792
|
+
/**
|
|
32793
|
+
* NodeExecutionClosure dynamicJobSpecUri.
|
|
32794
|
+
* @member {string} dynamicJobSpecUri
|
|
32795
|
+
* @memberof flyteidl.admin.NodeExecutionClosure
|
|
32796
|
+
* @instance
|
|
32797
|
+
*/
|
|
32798
|
+
NodeExecutionClosure.prototype.dynamicJobSpecUri = "";
|
|
32799
|
+
|
|
31783
32800
|
// OneOf field names bound to virtual getters and setters
|
|
31784
32801
|
var $oneOfFields;
|
|
31785
32802
|
|
|
@@ -31851,6 +32868,8 @@
|
|
|
31851
32868
|
$root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
31852
32869
|
if (message.deckUri != null && message.hasOwnProperty("deckUri"))
|
|
31853
32870
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.deckUri);
|
|
32871
|
+
if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri"))
|
|
32872
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.dynamicJobSpecUri);
|
|
31854
32873
|
return writer;
|
|
31855
32874
|
};
|
|
31856
32875
|
|
|
@@ -31905,6 +32924,9 @@
|
|
|
31905
32924
|
case 11:
|
|
31906
32925
|
message.deckUri = reader.string();
|
|
31907
32926
|
break;
|
|
32927
|
+
case 12:
|
|
32928
|
+
message.dynamicJobSpecUri = reader.string();
|
|
32929
|
+
break;
|
|
31908
32930
|
default:
|
|
31909
32931
|
reader.skipType(tag & 7);
|
|
31910
32932
|
break;
|
|
@@ -32008,6 +33030,9 @@
|
|
|
32008
33030
|
if (message.deckUri != null && message.hasOwnProperty("deckUri"))
|
|
32009
33031
|
if (!$util.isString(message.deckUri))
|
|
32010
33032
|
return "deckUri: string expected";
|
|
33033
|
+
if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri"))
|
|
33034
|
+
if (!$util.isString(message.dynamicJobSpecUri))
|
|
33035
|
+
return "dynamicJobSpecUri: string expected";
|
|
32011
33036
|
return null;
|
|
32012
33037
|
};
|
|
32013
33038
|
|
|
@@ -32290,6 +33315,7 @@
|
|
|
32290
33315
|
* @interface IDynamicWorkflowNodeMetadata
|
|
32291
33316
|
* @property {flyteidl.core.IIdentifier|null} [id] DynamicWorkflowNodeMetadata id
|
|
32292
33317
|
* @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] DynamicWorkflowNodeMetadata compiledWorkflow
|
|
33318
|
+
* @property {string|null} [dynamicJobSpecUri] DynamicWorkflowNodeMetadata dynamicJobSpecUri
|
|
32293
33319
|
*/
|
|
32294
33320
|
|
|
32295
33321
|
/**
|
|
@@ -32323,6 +33349,14 @@
|
|
|
32323
33349
|
*/
|
|
32324
33350
|
DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null;
|
|
32325
33351
|
|
|
33352
|
+
/**
|
|
33353
|
+
* DynamicWorkflowNodeMetadata dynamicJobSpecUri.
|
|
33354
|
+
* @member {string} dynamicJobSpecUri
|
|
33355
|
+
* @memberof flyteidl.admin.DynamicWorkflowNodeMetadata
|
|
33356
|
+
* @instance
|
|
33357
|
+
*/
|
|
33358
|
+
DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = "";
|
|
33359
|
+
|
|
32326
33360
|
/**
|
|
32327
33361
|
* Creates a new DynamicWorkflowNodeMetadata instance using the specified properties.
|
|
32328
33362
|
* @function create
|
|
@@ -32351,6 +33385,8 @@
|
|
|
32351
33385
|
$root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
32352
33386
|
if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow"))
|
|
32353
33387
|
$root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
33388
|
+
if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri"))
|
|
33389
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.dynamicJobSpecUri);
|
|
32354
33390
|
return writer;
|
|
32355
33391
|
};
|
|
32356
33392
|
|
|
@@ -32378,6 +33414,9 @@
|
|
|
32378
33414
|
case 2:
|
|
32379
33415
|
message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32());
|
|
32380
33416
|
break;
|
|
33417
|
+
case 3:
|
|
33418
|
+
message.dynamicJobSpecUri = reader.string();
|
|
33419
|
+
break;
|
|
32381
33420
|
default:
|
|
32382
33421
|
reader.skipType(tag & 7);
|
|
32383
33422
|
break;
|
|
@@ -32407,6 +33446,9 @@
|
|
|
32407
33446
|
if (error)
|
|
32408
33447
|
return "compiledWorkflow." + error;
|
|
32409
33448
|
}
|
|
33449
|
+
if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri"))
|
|
33450
|
+
if (!$util.isString(message.dynamicJobSpecUri))
|
|
33451
|
+
return "dynamicJobSpecUri: string expected";
|
|
32410
33452
|
return null;
|
|
32411
33453
|
};
|
|
32412
33454
|
|
|
@@ -32536,6 +33578,7 @@
|
|
|
32536
33578
|
* @property {flyteidl.core.ILiteralMap|null} [fullInputs] NodeExecutionGetDataResponse fullInputs
|
|
32537
33579
|
* @property {flyteidl.core.ILiteralMap|null} [fullOutputs] NodeExecutionGetDataResponse fullOutputs
|
|
32538
33580
|
* @property {flyteidl.admin.IDynamicWorkflowNodeMetadata|null} [dynamicWorkflow] NodeExecutionGetDataResponse dynamicWorkflow
|
|
33581
|
+
* @property {flyteidl.admin.IFlyteURLs|null} [flyteUrls] NodeExecutionGetDataResponse flyteUrls
|
|
32539
33582
|
*/
|
|
32540
33583
|
|
|
32541
33584
|
/**
|
|
@@ -32593,6 +33636,14 @@
|
|
|
32593
33636
|
*/
|
|
32594
33637
|
NodeExecutionGetDataResponse.prototype.dynamicWorkflow = null;
|
|
32595
33638
|
|
|
33639
|
+
/**
|
|
33640
|
+
* NodeExecutionGetDataResponse flyteUrls.
|
|
33641
|
+
* @member {flyteidl.admin.IFlyteURLs|null|undefined} flyteUrls
|
|
33642
|
+
* @memberof flyteidl.admin.NodeExecutionGetDataResponse
|
|
33643
|
+
* @instance
|
|
33644
|
+
*/
|
|
33645
|
+
NodeExecutionGetDataResponse.prototype.flyteUrls = null;
|
|
33646
|
+
|
|
32596
33647
|
/**
|
|
32597
33648
|
* Creates a new NodeExecutionGetDataResponse instance using the specified properties.
|
|
32598
33649
|
* @function create
|
|
@@ -32627,6 +33678,8 @@
|
|
|
32627
33678
|
$root.flyteidl.core.LiteralMap.encode(message.fullOutputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
32628
33679
|
if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow"))
|
|
32629
33680
|
$root.flyteidl.admin.DynamicWorkflowNodeMetadata.encode(message.dynamicWorkflow, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
33681
|
+
if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls"))
|
|
33682
|
+
$root.flyteidl.admin.FlyteURLs.encode(message.flyteUrls, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
32630
33683
|
return writer;
|
|
32631
33684
|
};
|
|
32632
33685
|
|
|
@@ -32663,6 +33716,9 @@
|
|
|
32663
33716
|
case 16:
|
|
32664
33717
|
message.dynamicWorkflow = $root.flyteidl.admin.DynamicWorkflowNodeMetadata.decode(reader, reader.uint32());
|
|
32665
33718
|
break;
|
|
33719
|
+
case 17:
|
|
33720
|
+
message.flyteUrls = $root.flyteidl.admin.FlyteURLs.decode(reader, reader.uint32());
|
|
33721
|
+
break;
|
|
32666
33722
|
default:
|
|
32667
33723
|
reader.skipType(tag & 7);
|
|
32668
33724
|
break;
|
|
@@ -32707,6 +33763,11 @@
|
|
|
32707
33763
|
if (error)
|
|
32708
33764
|
return "dynamicWorkflow." + error;
|
|
32709
33765
|
}
|
|
33766
|
+
if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) {
|
|
33767
|
+
var error = $root.flyteidl.admin.FlyteURLs.verify(message.flyteUrls);
|
|
33768
|
+
if (error)
|
|
33769
|
+
return "flyteUrls." + error;
|
|
33770
|
+
}
|
|
32710
33771
|
return null;
|
|
32711
33772
|
};
|
|
32712
33773
|
|
|
@@ -37728,6 +38789,7 @@
|
|
|
37728
38789
|
* @property {string|null} [taskType] TaskExecutionClosure taskType
|
|
37729
38790
|
* @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionClosure metadata
|
|
37730
38791
|
* @property {number|null} [eventVersion] TaskExecutionClosure eventVersion
|
|
38792
|
+
* @property {Array.<flyteidl.admin.IReason>|null} [reasons] TaskExecutionClosure reasons
|
|
37731
38793
|
*/
|
|
37732
38794
|
|
|
37733
38795
|
/**
|
|
@@ -37740,6 +38802,7 @@
|
|
|
37740
38802
|
*/
|
|
37741
38803
|
function TaskExecutionClosure(properties) {
|
|
37742
38804
|
this.logs = [];
|
|
38805
|
+
this.reasons = [];
|
|
37743
38806
|
if (properties)
|
|
37744
38807
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37745
38808
|
if (properties[keys[i]] != null)
|
|
@@ -37858,6 +38921,14 @@
|
|
|
37858
38921
|
*/
|
|
37859
38922
|
TaskExecutionClosure.prototype.eventVersion = 0;
|
|
37860
38923
|
|
|
38924
|
+
/**
|
|
38925
|
+
* TaskExecutionClosure reasons.
|
|
38926
|
+
* @member {Array.<flyteidl.admin.IReason>} reasons
|
|
38927
|
+
* @memberof flyteidl.admin.TaskExecutionClosure
|
|
38928
|
+
* @instance
|
|
38929
|
+
*/
|
|
38930
|
+
TaskExecutionClosure.prototype.reasons = $util.emptyArray;
|
|
38931
|
+
|
|
37861
38932
|
// OneOf field names bound to virtual getters and setters
|
|
37862
38933
|
var $oneOfFields;
|
|
37863
38934
|
|
|
@@ -37925,6 +38996,9 @@
|
|
|
37925
38996
|
$root.flyteidl.event.TaskExecutionMetadata.encode(message.metadata, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
37926
38997
|
if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
|
|
37927
38998
|
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.eventVersion);
|
|
38999
|
+
if (message.reasons != null && message.reasons.length)
|
|
39000
|
+
for (var i = 0; i < message.reasons.length; ++i)
|
|
39001
|
+
$root.flyteidl.admin.Reason.encode(message.reasons[i], writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
37928
39002
|
return writer;
|
|
37929
39003
|
};
|
|
37930
39004
|
|
|
@@ -37990,6 +39064,11 @@
|
|
|
37990
39064
|
case 17:
|
|
37991
39065
|
message.eventVersion = reader.int32();
|
|
37992
39066
|
break;
|
|
39067
|
+
case 18:
|
|
39068
|
+
if (!(message.reasons && message.reasons.length))
|
|
39069
|
+
message.reasons = [];
|
|
39070
|
+
message.reasons.push($root.flyteidl.admin.Reason.decode(reader, reader.uint32()));
|
|
39071
|
+
break;
|
|
37993
39072
|
default:
|
|
37994
39073
|
reader.skipType(tag & 7);
|
|
37995
39074
|
break;
|
|
@@ -38097,12 +39176,150 @@
|
|
|
38097
39176
|
if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
|
|
38098
39177
|
if (!$util.isInteger(message.eventVersion))
|
|
38099
39178
|
return "eventVersion: integer expected";
|
|
39179
|
+
if (message.reasons != null && message.hasOwnProperty("reasons")) {
|
|
39180
|
+
if (!Array.isArray(message.reasons))
|
|
39181
|
+
return "reasons: array expected";
|
|
39182
|
+
for (var i = 0; i < message.reasons.length; ++i) {
|
|
39183
|
+
var error = $root.flyteidl.admin.Reason.verify(message.reasons[i]);
|
|
39184
|
+
if (error)
|
|
39185
|
+
return "reasons." + error;
|
|
39186
|
+
}
|
|
39187
|
+
}
|
|
38100
39188
|
return null;
|
|
38101
39189
|
};
|
|
38102
39190
|
|
|
38103
39191
|
return TaskExecutionClosure;
|
|
38104
39192
|
})();
|
|
38105
39193
|
|
|
39194
|
+
admin.Reason = (function() {
|
|
39195
|
+
|
|
39196
|
+
/**
|
|
39197
|
+
* Properties of a Reason.
|
|
39198
|
+
* @memberof flyteidl.admin
|
|
39199
|
+
* @interface IReason
|
|
39200
|
+
* @property {google.protobuf.ITimestamp|null} [occurredAt] Reason occurredAt
|
|
39201
|
+
* @property {string|null} [message] Reason message
|
|
39202
|
+
*/
|
|
39203
|
+
|
|
39204
|
+
/**
|
|
39205
|
+
* Constructs a new Reason.
|
|
39206
|
+
* @memberof flyteidl.admin
|
|
39207
|
+
* @classdesc Represents a Reason.
|
|
39208
|
+
* @implements IReason
|
|
39209
|
+
* @constructor
|
|
39210
|
+
* @param {flyteidl.admin.IReason=} [properties] Properties to set
|
|
39211
|
+
*/
|
|
39212
|
+
function Reason(properties) {
|
|
39213
|
+
if (properties)
|
|
39214
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
39215
|
+
if (properties[keys[i]] != null)
|
|
39216
|
+
this[keys[i]] = properties[keys[i]];
|
|
39217
|
+
}
|
|
39218
|
+
|
|
39219
|
+
/**
|
|
39220
|
+
* Reason occurredAt.
|
|
39221
|
+
* @member {google.protobuf.ITimestamp|null|undefined} occurredAt
|
|
39222
|
+
* @memberof flyteidl.admin.Reason
|
|
39223
|
+
* @instance
|
|
39224
|
+
*/
|
|
39225
|
+
Reason.prototype.occurredAt = null;
|
|
39226
|
+
|
|
39227
|
+
/**
|
|
39228
|
+
* Reason message.
|
|
39229
|
+
* @member {string} message
|
|
39230
|
+
* @memberof flyteidl.admin.Reason
|
|
39231
|
+
* @instance
|
|
39232
|
+
*/
|
|
39233
|
+
Reason.prototype.message = "";
|
|
39234
|
+
|
|
39235
|
+
/**
|
|
39236
|
+
* Creates a new Reason instance using the specified properties.
|
|
39237
|
+
* @function create
|
|
39238
|
+
* @memberof flyteidl.admin.Reason
|
|
39239
|
+
* @static
|
|
39240
|
+
* @param {flyteidl.admin.IReason=} [properties] Properties to set
|
|
39241
|
+
* @returns {flyteidl.admin.Reason} Reason instance
|
|
39242
|
+
*/
|
|
39243
|
+
Reason.create = function create(properties) {
|
|
39244
|
+
return new Reason(properties);
|
|
39245
|
+
};
|
|
39246
|
+
|
|
39247
|
+
/**
|
|
39248
|
+
* Encodes the specified Reason message. Does not implicitly {@link flyteidl.admin.Reason.verify|verify} messages.
|
|
39249
|
+
* @function encode
|
|
39250
|
+
* @memberof flyteidl.admin.Reason
|
|
39251
|
+
* @static
|
|
39252
|
+
* @param {flyteidl.admin.IReason} message Reason message or plain object to encode
|
|
39253
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39254
|
+
* @returns {$protobuf.Writer} Writer
|
|
39255
|
+
*/
|
|
39256
|
+
Reason.encode = function encode(message, writer) {
|
|
39257
|
+
if (!writer)
|
|
39258
|
+
writer = $Writer.create();
|
|
39259
|
+
if (message.occurredAt != null && message.hasOwnProperty("occurredAt"))
|
|
39260
|
+
$root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
39261
|
+
if (message.message != null && message.hasOwnProperty("message"))
|
|
39262
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
|
|
39263
|
+
return writer;
|
|
39264
|
+
};
|
|
39265
|
+
|
|
39266
|
+
/**
|
|
39267
|
+
* Decodes a Reason message from the specified reader or buffer.
|
|
39268
|
+
* @function decode
|
|
39269
|
+
* @memberof flyteidl.admin.Reason
|
|
39270
|
+
* @static
|
|
39271
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39272
|
+
* @param {number} [length] Message length if known beforehand
|
|
39273
|
+
* @returns {flyteidl.admin.Reason} Reason
|
|
39274
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39275
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39276
|
+
*/
|
|
39277
|
+
Reason.decode = function decode(reader, length) {
|
|
39278
|
+
if (!(reader instanceof $Reader))
|
|
39279
|
+
reader = $Reader.create(reader);
|
|
39280
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Reason();
|
|
39281
|
+
while (reader.pos < end) {
|
|
39282
|
+
var tag = reader.uint32();
|
|
39283
|
+
switch (tag >>> 3) {
|
|
39284
|
+
case 1:
|
|
39285
|
+
message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
39286
|
+
break;
|
|
39287
|
+
case 2:
|
|
39288
|
+
message.message = reader.string();
|
|
39289
|
+
break;
|
|
39290
|
+
default:
|
|
39291
|
+
reader.skipType(tag & 7);
|
|
39292
|
+
break;
|
|
39293
|
+
}
|
|
39294
|
+
}
|
|
39295
|
+
return message;
|
|
39296
|
+
};
|
|
39297
|
+
|
|
39298
|
+
/**
|
|
39299
|
+
* Verifies a Reason message.
|
|
39300
|
+
* @function verify
|
|
39301
|
+
* @memberof flyteidl.admin.Reason
|
|
39302
|
+
* @static
|
|
39303
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
39304
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
39305
|
+
*/
|
|
39306
|
+
Reason.verify = function verify(message) {
|
|
39307
|
+
if (typeof message !== "object" || message === null)
|
|
39308
|
+
return "object expected";
|
|
39309
|
+
if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) {
|
|
39310
|
+
var error = $root.google.protobuf.Timestamp.verify(message.occurredAt);
|
|
39311
|
+
if (error)
|
|
39312
|
+
return "occurredAt." + error;
|
|
39313
|
+
}
|
|
39314
|
+
if (message.message != null && message.hasOwnProperty("message"))
|
|
39315
|
+
if (!$util.isString(message.message))
|
|
39316
|
+
return "message: string expected";
|
|
39317
|
+
return null;
|
|
39318
|
+
};
|
|
39319
|
+
|
|
39320
|
+
return Reason;
|
|
39321
|
+
})();
|
|
39322
|
+
|
|
38106
39323
|
admin.TaskExecutionGetDataRequest = (function() {
|
|
38107
39324
|
|
|
38108
39325
|
/**
|
|
@@ -38225,6 +39442,7 @@
|
|
|
38225
39442
|
* @property {flyteidl.admin.IUrlBlob|null} [outputs] TaskExecutionGetDataResponse outputs
|
|
38226
39443
|
* @property {flyteidl.core.ILiteralMap|null} [fullInputs] TaskExecutionGetDataResponse fullInputs
|
|
38227
39444
|
* @property {flyteidl.core.ILiteralMap|null} [fullOutputs] TaskExecutionGetDataResponse fullOutputs
|
|
39445
|
+
* @property {flyteidl.admin.IFlyteURLs|null} [flyteUrls] TaskExecutionGetDataResponse flyteUrls
|
|
38228
39446
|
*/
|
|
38229
39447
|
|
|
38230
39448
|
/**
|
|
@@ -38274,6 +39492,14 @@
|
|
|
38274
39492
|
*/
|
|
38275
39493
|
TaskExecutionGetDataResponse.prototype.fullOutputs = null;
|
|
38276
39494
|
|
|
39495
|
+
/**
|
|
39496
|
+
* TaskExecutionGetDataResponse flyteUrls.
|
|
39497
|
+
* @member {flyteidl.admin.IFlyteURLs|null|undefined} flyteUrls
|
|
39498
|
+
* @memberof flyteidl.admin.TaskExecutionGetDataResponse
|
|
39499
|
+
* @instance
|
|
39500
|
+
*/
|
|
39501
|
+
TaskExecutionGetDataResponse.prototype.flyteUrls = null;
|
|
39502
|
+
|
|
38277
39503
|
/**
|
|
38278
39504
|
* Creates a new TaskExecutionGetDataResponse instance using the specified properties.
|
|
38279
39505
|
* @function create
|
|
@@ -38306,6 +39532,8 @@
|
|
|
38306
39532
|
$root.flyteidl.core.LiteralMap.encode(message.fullInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
38307
39533
|
if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs"))
|
|
38308
39534
|
$root.flyteidl.core.LiteralMap.encode(message.fullOutputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
39535
|
+
if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls"))
|
|
39536
|
+
$root.flyteidl.admin.FlyteURLs.encode(message.flyteUrls, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
38309
39537
|
return writer;
|
|
38310
39538
|
};
|
|
38311
39539
|
|
|
@@ -38339,6 +39567,9 @@
|
|
|
38339
39567
|
case 4:
|
|
38340
39568
|
message.fullOutputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32());
|
|
38341
39569
|
break;
|
|
39570
|
+
case 5:
|
|
39571
|
+
message.flyteUrls = $root.flyteidl.admin.FlyteURLs.decode(reader, reader.uint32());
|
|
39572
|
+
break;
|
|
38342
39573
|
default:
|
|
38343
39574
|
reader.skipType(tag & 7);
|
|
38344
39575
|
break;
|
|
@@ -38378,6 +39609,11 @@
|
|
|
38378
39609
|
if (error)
|
|
38379
39610
|
return "fullOutputs." + error;
|
|
38380
39611
|
}
|
|
39612
|
+
if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) {
|
|
39613
|
+
var error = $root.flyteidl.admin.FlyteURLs.verify(message.flyteUrls);
|
|
39614
|
+
if (error)
|
|
39615
|
+
return "flyteUrls." + error;
|
|
39616
|
+
}
|
|
38381
39617
|
return null;
|
|
38382
39618
|
};
|
|
38383
39619
|
|
|
@@ -42586,6 +43822,39 @@
|
|
|
42586
43822
|
* @variation 2
|
|
42587
43823
|
*/
|
|
42588
43824
|
|
|
43825
|
+
/**
|
|
43826
|
+
* Callback as used by {@link flyteidl.service.AdminService#getExecutionMetrics}.
|
|
43827
|
+
* @memberof flyteidl.service.AdminService
|
|
43828
|
+
* @typedef GetExecutionMetricsCallback
|
|
43829
|
+
* @type {function}
|
|
43830
|
+
* @param {Error|null} error Error, if any
|
|
43831
|
+
* @param {flyteidl.admin.WorkflowExecutionGetMetricsResponse} [response] WorkflowExecutionGetMetricsResponse
|
|
43832
|
+
*/
|
|
43833
|
+
|
|
43834
|
+
/**
|
|
43835
|
+
* Calls GetExecutionMetrics.
|
|
43836
|
+
* @function getExecutionMetrics
|
|
43837
|
+
* @memberof flyteidl.service.AdminService
|
|
43838
|
+
* @instance
|
|
43839
|
+
* @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} request WorkflowExecutionGetMetricsRequest message or plain object
|
|
43840
|
+
* @param {flyteidl.service.AdminService.GetExecutionMetricsCallback} callback Node-style callback called with the error, if any, and WorkflowExecutionGetMetricsResponse
|
|
43841
|
+
* @returns {undefined}
|
|
43842
|
+
* @variation 1
|
|
43843
|
+
*/
|
|
43844
|
+
Object.defineProperty(AdminService.prototype.getExecutionMetrics = function getExecutionMetrics(request, callback) {
|
|
43845
|
+
return this.rpcCall(getExecutionMetrics, $root.flyteidl.admin.WorkflowExecutionGetMetricsRequest, $root.flyteidl.admin.WorkflowExecutionGetMetricsResponse, request, callback);
|
|
43846
|
+
}, "name", { value: "GetExecutionMetrics" });
|
|
43847
|
+
|
|
43848
|
+
/**
|
|
43849
|
+
* Calls GetExecutionMetrics.
|
|
43850
|
+
* @function getExecutionMetrics
|
|
43851
|
+
* @memberof flyteidl.service.AdminService
|
|
43852
|
+
* @instance
|
|
43853
|
+
* @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} request WorkflowExecutionGetMetricsRequest message or plain object
|
|
43854
|
+
* @returns {Promise<flyteidl.admin.WorkflowExecutionGetMetricsResponse>} Promise
|
|
43855
|
+
* @variation 2
|
|
43856
|
+
*/
|
|
43857
|
+
|
|
42589
43858
|
return AdminService;
|
|
42590
43859
|
})();
|
|
42591
43860
|
|
|
@@ -44159,6 +45428,7 @@
|
|
|
44159
45428
|
* @interface ICreateDownloadLinkResponse
|
|
44160
45429
|
* @property {Array.<string>|null} [signedUrl] CreateDownloadLinkResponse signedUrl
|
|
44161
45430
|
* @property {google.protobuf.ITimestamp|null} [expiresAt] CreateDownloadLinkResponse expiresAt
|
|
45431
|
+
* @property {flyteidl.service.IPreSignedURLs|null} [preSignedUrls] CreateDownloadLinkResponse preSignedUrls
|
|
44162
45432
|
*/
|
|
44163
45433
|
|
|
44164
45434
|
/**
|
|
@@ -44193,6 +45463,14 @@
|
|
|
44193
45463
|
*/
|
|
44194
45464
|
CreateDownloadLinkResponse.prototype.expiresAt = null;
|
|
44195
45465
|
|
|
45466
|
+
/**
|
|
45467
|
+
* CreateDownloadLinkResponse preSignedUrls.
|
|
45468
|
+
* @member {flyteidl.service.IPreSignedURLs|null|undefined} preSignedUrls
|
|
45469
|
+
* @memberof flyteidl.service.CreateDownloadLinkResponse
|
|
45470
|
+
* @instance
|
|
45471
|
+
*/
|
|
45472
|
+
CreateDownloadLinkResponse.prototype.preSignedUrls = null;
|
|
45473
|
+
|
|
44196
45474
|
/**
|
|
44197
45475
|
* Creates a new CreateDownloadLinkResponse instance using the specified properties.
|
|
44198
45476
|
* @function create
|
|
@@ -44222,6 +45500,8 @@
|
|
|
44222
45500
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl[i]);
|
|
44223
45501
|
if (message.expiresAt != null && message.hasOwnProperty("expiresAt"))
|
|
44224
45502
|
$root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
45503
|
+
if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls"))
|
|
45504
|
+
$root.flyteidl.service.PreSignedURLs.encode(message.preSignedUrls, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
44225
45505
|
return writer;
|
|
44226
45506
|
};
|
|
44227
45507
|
|
|
@@ -44251,6 +45531,9 @@
|
|
|
44251
45531
|
case 2:
|
|
44252
45532
|
message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
44253
45533
|
break;
|
|
45534
|
+
case 3:
|
|
45535
|
+
message.preSignedUrls = $root.flyteidl.service.PreSignedURLs.decode(reader, reader.uint32());
|
|
45536
|
+
break;
|
|
44254
45537
|
default:
|
|
44255
45538
|
reader.skipType(tag & 7);
|
|
44256
45539
|
break;
|
|
@@ -44282,12 +45565,418 @@
|
|
|
44282
45565
|
if (error)
|
|
44283
45566
|
return "expiresAt." + error;
|
|
44284
45567
|
}
|
|
45568
|
+
if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) {
|
|
45569
|
+
var error = $root.flyteidl.service.PreSignedURLs.verify(message.preSignedUrls);
|
|
45570
|
+
if (error)
|
|
45571
|
+
return "preSignedUrls." + error;
|
|
45572
|
+
}
|
|
44285
45573
|
return null;
|
|
44286
45574
|
};
|
|
44287
45575
|
|
|
44288
45576
|
return CreateDownloadLinkResponse;
|
|
44289
45577
|
})();
|
|
44290
45578
|
|
|
45579
|
+
service.PreSignedURLs = (function() {
|
|
45580
|
+
|
|
45581
|
+
/**
|
|
45582
|
+
* Properties of a PreSignedURLs.
|
|
45583
|
+
* @memberof flyteidl.service
|
|
45584
|
+
* @interface IPreSignedURLs
|
|
45585
|
+
* @property {Array.<string>|null} [signedUrl] PreSignedURLs signedUrl
|
|
45586
|
+
* @property {google.protobuf.ITimestamp|null} [expiresAt] PreSignedURLs expiresAt
|
|
45587
|
+
*/
|
|
45588
|
+
|
|
45589
|
+
/**
|
|
45590
|
+
* Constructs a new PreSignedURLs.
|
|
45591
|
+
* @memberof flyteidl.service
|
|
45592
|
+
* @classdesc Represents a PreSignedURLs.
|
|
45593
|
+
* @implements IPreSignedURLs
|
|
45594
|
+
* @constructor
|
|
45595
|
+
* @param {flyteidl.service.IPreSignedURLs=} [properties] Properties to set
|
|
45596
|
+
*/
|
|
45597
|
+
function PreSignedURLs(properties) {
|
|
45598
|
+
this.signedUrl = [];
|
|
45599
|
+
if (properties)
|
|
45600
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
45601
|
+
if (properties[keys[i]] != null)
|
|
45602
|
+
this[keys[i]] = properties[keys[i]];
|
|
45603
|
+
}
|
|
45604
|
+
|
|
45605
|
+
/**
|
|
45606
|
+
* PreSignedURLs signedUrl.
|
|
45607
|
+
* @member {Array.<string>} signedUrl
|
|
45608
|
+
* @memberof flyteidl.service.PreSignedURLs
|
|
45609
|
+
* @instance
|
|
45610
|
+
*/
|
|
45611
|
+
PreSignedURLs.prototype.signedUrl = $util.emptyArray;
|
|
45612
|
+
|
|
45613
|
+
/**
|
|
45614
|
+
* PreSignedURLs expiresAt.
|
|
45615
|
+
* @member {google.protobuf.ITimestamp|null|undefined} expiresAt
|
|
45616
|
+
* @memberof flyteidl.service.PreSignedURLs
|
|
45617
|
+
* @instance
|
|
45618
|
+
*/
|
|
45619
|
+
PreSignedURLs.prototype.expiresAt = null;
|
|
45620
|
+
|
|
45621
|
+
/**
|
|
45622
|
+
* Creates a new PreSignedURLs instance using the specified properties.
|
|
45623
|
+
* @function create
|
|
45624
|
+
* @memberof flyteidl.service.PreSignedURLs
|
|
45625
|
+
* @static
|
|
45626
|
+
* @param {flyteidl.service.IPreSignedURLs=} [properties] Properties to set
|
|
45627
|
+
* @returns {flyteidl.service.PreSignedURLs} PreSignedURLs instance
|
|
45628
|
+
*/
|
|
45629
|
+
PreSignedURLs.create = function create(properties) {
|
|
45630
|
+
return new PreSignedURLs(properties);
|
|
45631
|
+
};
|
|
45632
|
+
|
|
45633
|
+
/**
|
|
45634
|
+
* Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages.
|
|
45635
|
+
* @function encode
|
|
45636
|
+
* @memberof flyteidl.service.PreSignedURLs
|
|
45637
|
+
* @static
|
|
45638
|
+
* @param {flyteidl.service.IPreSignedURLs} message PreSignedURLs message or plain object to encode
|
|
45639
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
45640
|
+
* @returns {$protobuf.Writer} Writer
|
|
45641
|
+
*/
|
|
45642
|
+
PreSignedURLs.encode = function encode(message, writer) {
|
|
45643
|
+
if (!writer)
|
|
45644
|
+
writer = $Writer.create();
|
|
45645
|
+
if (message.signedUrl != null && message.signedUrl.length)
|
|
45646
|
+
for (var i = 0; i < message.signedUrl.length; ++i)
|
|
45647
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl[i]);
|
|
45648
|
+
if (message.expiresAt != null && message.hasOwnProperty("expiresAt"))
|
|
45649
|
+
$root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
45650
|
+
return writer;
|
|
45651
|
+
};
|
|
45652
|
+
|
|
45653
|
+
/**
|
|
45654
|
+
* Decodes a PreSignedURLs message from the specified reader or buffer.
|
|
45655
|
+
* @function decode
|
|
45656
|
+
* @memberof flyteidl.service.PreSignedURLs
|
|
45657
|
+
* @static
|
|
45658
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
45659
|
+
* @param {number} [length] Message length if known beforehand
|
|
45660
|
+
* @returns {flyteidl.service.PreSignedURLs} PreSignedURLs
|
|
45661
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
45662
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
45663
|
+
*/
|
|
45664
|
+
PreSignedURLs.decode = function decode(reader, length) {
|
|
45665
|
+
if (!(reader instanceof $Reader))
|
|
45666
|
+
reader = $Reader.create(reader);
|
|
45667
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.PreSignedURLs();
|
|
45668
|
+
while (reader.pos < end) {
|
|
45669
|
+
var tag = reader.uint32();
|
|
45670
|
+
switch (tag >>> 3) {
|
|
45671
|
+
case 1:
|
|
45672
|
+
if (!(message.signedUrl && message.signedUrl.length))
|
|
45673
|
+
message.signedUrl = [];
|
|
45674
|
+
message.signedUrl.push(reader.string());
|
|
45675
|
+
break;
|
|
45676
|
+
case 2:
|
|
45677
|
+
message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
|
|
45678
|
+
break;
|
|
45679
|
+
default:
|
|
45680
|
+
reader.skipType(tag & 7);
|
|
45681
|
+
break;
|
|
45682
|
+
}
|
|
45683
|
+
}
|
|
45684
|
+
return message;
|
|
45685
|
+
};
|
|
45686
|
+
|
|
45687
|
+
/**
|
|
45688
|
+
* Verifies a PreSignedURLs message.
|
|
45689
|
+
* @function verify
|
|
45690
|
+
* @memberof flyteidl.service.PreSignedURLs
|
|
45691
|
+
* @static
|
|
45692
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
45693
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
45694
|
+
*/
|
|
45695
|
+
PreSignedURLs.verify = function verify(message) {
|
|
45696
|
+
if (typeof message !== "object" || message === null)
|
|
45697
|
+
return "object expected";
|
|
45698
|
+
if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) {
|
|
45699
|
+
if (!Array.isArray(message.signedUrl))
|
|
45700
|
+
return "signedUrl: array expected";
|
|
45701
|
+
for (var i = 0; i < message.signedUrl.length; ++i)
|
|
45702
|
+
if (!$util.isString(message.signedUrl[i]))
|
|
45703
|
+
return "signedUrl: string[] expected";
|
|
45704
|
+
}
|
|
45705
|
+
if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) {
|
|
45706
|
+
var error = $root.google.protobuf.Timestamp.verify(message.expiresAt);
|
|
45707
|
+
if (error)
|
|
45708
|
+
return "expiresAt." + error;
|
|
45709
|
+
}
|
|
45710
|
+
return null;
|
|
45711
|
+
};
|
|
45712
|
+
|
|
45713
|
+
return PreSignedURLs;
|
|
45714
|
+
})();
|
|
45715
|
+
|
|
45716
|
+
service.GetDataRequest = (function() {
|
|
45717
|
+
|
|
45718
|
+
/**
|
|
45719
|
+
* Properties of a GetDataRequest.
|
|
45720
|
+
* @memberof flyteidl.service
|
|
45721
|
+
* @interface IGetDataRequest
|
|
45722
|
+
* @property {string|null} [flyteUrl] GetDataRequest flyteUrl
|
|
45723
|
+
*/
|
|
45724
|
+
|
|
45725
|
+
/**
|
|
45726
|
+
* Constructs a new GetDataRequest.
|
|
45727
|
+
* @memberof flyteidl.service
|
|
45728
|
+
* @classdesc Represents a GetDataRequest.
|
|
45729
|
+
* @implements IGetDataRequest
|
|
45730
|
+
* @constructor
|
|
45731
|
+
* @param {flyteidl.service.IGetDataRequest=} [properties] Properties to set
|
|
45732
|
+
*/
|
|
45733
|
+
function GetDataRequest(properties) {
|
|
45734
|
+
if (properties)
|
|
45735
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
45736
|
+
if (properties[keys[i]] != null)
|
|
45737
|
+
this[keys[i]] = properties[keys[i]];
|
|
45738
|
+
}
|
|
45739
|
+
|
|
45740
|
+
/**
|
|
45741
|
+
* GetDataRequest flyteUrl.
|
|
45742
|
+
* @member {string} flyteUrl
|
|
45743
|
+
* @memberof flyteidl.service.GetDataRequest
|
|
45744
|
+
* @instance
|
|
45745
|
+
*/
|
|
45746
|
+
GetDataRequest.prototype.flyteUrl = "";
|
|
45747
|
+
|
|
45748
|
+
/**
|
|
45749
|
+
* Creates a new GetDataRequest instance using the specified properties.
|
|
45750
|
+
* @function create
|
|
45751
|
+
* @memberof flyteidl.service.GetDataRequest
|
|
45752
|
+
* @static
|
|
45753
|
+
* @param {flyteidl.service.IGetDataRequest=} [properties] Properties to set
|
|
45754
|
+
* @returns {flyteidl.service.GetDataRequest} GetDataRequest instance
|
|
45755
|
+
*/
|
|
45756
|
+
GetDataRequest.create = function create(properties) {
|
|
45757
|
+
return new GetDataRequest(properties);
|
|
45758
|
+
};
|
|
45759
|
+
|
|
45760
|
+
/**
|
|
45761
|
+
* Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages.
|
|
45762
|
+
* @function encode
|
|
45763
|
+
* @memberof flyteidl.service.GetDataRequest
|
|
45764
|
+
* @static
|
|
45765
|
+
* @param {flyteidl.service.IGetDataRequest} message GetDataRequest message or plain object to encode
|
|
45766
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
45767
|
+
* @returns {$protobuf.Writer} Writer
|
|
45768
|
+
*/
|
|
45769
|
+
GetDataRequest.encode = function encode(message, writer) {
|
|
45770
|
+
if (!writer)
|
|
45771
|
+
writer = $Writer.create();
|
|
45772
|
+
if (message.flyteUrl != null && message.hasOwnProperty("flyteUrl"))
|
|
45773
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.flyteUrl);
|
|
45774
|
+
return writer;
|
|
45775
|
+
};
|
|
45776
|
+
|
|
45777
|
+
/**
|
|
45778
|
+
* Decodes a GetDataRequest message from the specified reader or buffer.
|
|
45779
|
+
* @function decode
|
|
45780
|
+
* @memberof flyteidl.service.GetDataRequest
|
|
45781
|
+
* @static
|
|
45782
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
45783
|
+
* @param {number} [length] Message length if known beforehand
|
|
45784
|
+
* @returns {flyteidl.service.GetDataRequest} GetDataRequest
|
|
45785
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
45786
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
45787
|
+
*/
|
|
45788
|
+
GetDataRequest.decode = function decode(reader, length) {
|
|
45789
|
+
if (!(reader instanceof $Reader))
|
|
45790
|
+
reader = $Reader.create(reader);
|
|
45791
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.GetDataRequest();
|
|
45792
|
+
while (reader.pos < end) {
|
|
45793
|
+
var tag = reader.uint32();
|
|
45794
|
+
switch (tag >>> 3) {
|
|
45795
|
+
case 1:
|
|
45796
|
+
message.flyteUrl = reader.string();
|
|
45797
|
+
break;
|
|
45798
|
+
default:
|
|
45799
|
+
reader.skipType(tag & 7);
|
|
45800
|
+
break;
|
|
45801
|
+
}
|
|
45802
|
+
}
|
|
45803
|
+
return message;
|
|
45804
|
+
};
|
|
45805
|
+
|
|
45806
|
+
/**
|
|
45807
|
+
* Verifies a GetDataRequest message.
|
|
45808
|
+
* @function verify
|
|
45809
|
+
* @memberof flyteidl.service.GetDataRequest
|
|
45810
|
+
* @static
|
|
45811
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
45812
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
45813
|
+
*/
|
|
45814
|
+
GetDataRequest.verify = function verify(message) {
|
|
45815
|
+
if (typeof message !== "object" || message === null)
|
|
45816
|
+
return "object expected";
|
|
45817
|
+
if (message.flyteUrl != null && message.hasOwnProperty("flyteUrl"))
|
|
45818
|
+
if (!$util.isString(message.flyteUrl))
|
|
45819
|
+
return "flyteUrl: string expected";
|
|
45820
|
+
return null;
|
|
45821
|
+
};
|
|
45822
|
+
|
|
45823
|
+
return GetDataRequest;
|
|
45824
|
+
})();
|
|
45825
|
+
|
|
45826
|
+
service.GetDataResponse = (function() {
|
|
45827
|
+
|
|
45828
|
+
/**
|
|
45829
|
+
* Properties of a GetDataResponse.
|
|
45830
|
+
* @memberof flyteidl.service
|
|
45831
|
+
* @interface IGetDataResponse
|
|
45832
|
+
* @property {flyteidl.core.ILiteralMap|null} [literalMap] GetDataResponse literalMap
|
|
45833
|
+
* @property {flyteidl.service.IPreSignedURLs|null} [preSignedUrls] GetDataResponse preSignedUrls
|
|
45834
|
+
*/
|
|
45835
|
+
|
|
45836
|
+
/**
|
|
45837
|
+
* Constructs a new GetDataResponse.
|
|
45838
|
+
* @memberof flyteidl.service
|
|
45839
|
+
* @classdesc Represents a GetDataResponse.
|
|
45840
|
+
* @implements IGetDataResponse
|
|
45841
|
+
* @constructor
|
|
45842
|
+
* @param {flyteidl.service.IGetDataResponse=} [properties] Properties to set
|
|
45843
|
+
*/
|
|
45844
|
+
function GetDataResponse(properties) {
|
|
45845
|
+
if (properties)
|
|
45846
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
45847
|
+
if (properties[keys[i]] != null)
|
|
45848
|
+
this[keys[i]] = properties[keys[i]];
|
|
45849
|
+
}
|
|
45850
|
+
|
|
45851
|
+
/**
|
|
45852
|
+
* GetDataResponse literalMap.
|
|
45853
|
+
* @member {flyteidl.core.ILiteralMap|null|undefined} literalMap
|
|
45854
|
+
* @memberof flyteidl.service.GetDataResponse
|
|
45855
|
+
* @instance
|
|
45856
|
+
*/
|
|
45857
|
+
GetDataResponse.prototype.literalMap = null;
|
|
45858
|
+
|
|
45859
|
+
/**
|
|
45860
|
+
* GetDataResponse preSignedUrls.
|
|
45861
|
+
* @member {flyteidl.service.IPreSignedURLs|null|undefined} preSignedUrls
|
|
45862
|
+
* @memberof flyteidl.service.GetDataResponse
|
|
45863
|
+
* @instance
|
|
45864
|
+
*/
|
|
45865
|
+
GetDataResponse.prototype.preSignedUrls = null;
|
|
45866
|
+
|
|
45867
|
+
// OneOf field names bound to virtual getters and setters
|
|
45868
|
+
var $oneOfFields;
|
|
45869
|
+
|
|
45870
|
+
/**
|
|
45871
|
+
* GetDataResponse data.
|
|
45872
|
+
* @member {"literalMap"|"preSignedUrls"|undefined} data
|
|
45873
|
+
* @memberof flyteidl.service.GetDataResponse
|
|
45874
|
+
* @instance
|
|
45875
|
+
*/
|
|
45876
|
+
Object.defineProperty(GetDataResponse.prototype, "data", {
|
|
45877
|
+
get: $util.oneOfGetter($oneOfFields = ["literalMap", "preSignedUrls"]),
|
|
45878
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
45879
|
+
});
|
|
45880
|
+
|
|
45881
|
+
/**
|
|
45882
|
+
* Creates a new GetDataResponse instance using the specified properties.
|
|
45883
|
+
* @function create
|
|
45884
|
+
* @memberof flyteidl.service.GetDataResponse
|
|
45885
|
+
* @static
|
|
45886
|
+
* @param {flyteidl.service.IGetDataResponse=} [properties] Properties to set
|
|
45887
|
+
* @returns {flyteidl.service.GetDataResponse} GetDataResponse instance
|
|
45888
|
+
*/
|
|
45889
|
+
GetDataResponse.create = function create(properties) {
|
|
45890
|
+
return new GetDataResponse(properties);
|
|
45891
|
+
};
|
|
45892
|
+
|
|
45893
|
+
/**
|
|
45894
|
+
* Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages.
|
|
45895
|
+
* @function encode
|
|
45896
|
+
* @memberof flyteidl.service.GetDataResponse
|
|
45897
|
+
* @static
|
|
45898
|
+
* @param {flyteidl.service.IGetDataResponse} message GetDataResponse message or plain object to encode
|
|
45899
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
45900
|
+
* @returns {$protobuf.Writer} Writer
|
|
45901
|
+
*/
|
|
45902
|
+
GetDataResponse.encode = function encode(message, writer) {
|
|
45903
|
+
if (!writer)
|
|
45904
|
+
writer = $Writer.create();
|
|
45905
|
+
if (message.literalMap != null && message.hasOwnProperty("literalMap"))
|
|
45906
|
+
$root.flyteidl.core.LiteralMap.encode(message.literalMap, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
45907
|
+
if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls"))
|
|
45908
|
+
$root.flyteidl.service.PreSignedURLs.encode(message.preSignedUrls, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
45909
|
+
return writer;
|
|
45910
|
+
};
|
|
45911
|
+
|
|
45912
|
+
/**
|
|
45913
|
+
* Decodes a GetDataResponse message from the specified reader or buffer.
|
|
45914
|
+
* @function decode
|
|
45915
|
+
* @memberof flyteidl.service.GetDataResponse
|
|
45916
|
+
* @static
|
|
45917
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
45918
|
+
* @param {number} [length] Message length if known beforehand
|
|
45919
|
+
* @returns {flyteidl.service.GetDataResponse} GetDataResponse
|
|
45920
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
45921
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
45922
|
+
*/
|
|
45923
|
+
GetDataResponse.decode = function decode(reader, length) {
|
|
45924
|
+
if (!(reader instanceof $Reader))
|
|
45925
|
+
reader = $Reader.create(reader);
|
|
45926
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.GetDataResponse();
|
|
45927
|
+
while (reader.pos < end) {
|
|
45928
|
+
var tag = reader.uint32();
|
|
45929
|
+
switch (tag >>> 3) {
|
|
45930
|
+
case 1:
|
|
45931
|
+
message.literalMap = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32());
|
|
45932
|
+
break;
|
|
45933
|
+
case 2:
|
|
45934
|
+
message.preSignedUrls = $root.flyteidl.service.PreSignedURLs.decode(reader, reader.uint32());
|
|
45935
|
+
break;
|
|
45936
|
+
default:
|
|
45937
|
+
reader.skipType(tag & 7);
|
|
45938
|
+
break;
|
|
45939
|
+
}
|
|
45940
|
+
}
|
|
45941
|
+
return message;
|
|
45942
|
+
};
|
|
45943
|
+
|
|
45944
|
+
/**
|
|
45945
|
+
* Verifies a GetDataResponse message.
|
|
45946
|
+
* @function verify
|
|
45947
|
+
* @memberof flyteidl.service.GetDataResponse
|
|
45948
|
+
* @static
|
|
45949
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
45950
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
45951
|
+
*/
|
|
45952
|
+
GetDataResponse.verify = function verify(message) {
|
|
45953
|
+
if (typeof message !== "object" || message === null)
|
|
45954
|
+
return "object expected";
|
|
45955
|
+
var properties = {};
|
|
45956
|
+
if (message.literalMap != null && message.hasOwnProperty("literalMap")) {
|
|
45957
|
+
properties.data = 1;
|
|
45958
|
+
{
|
|
45959
|
+
var error = $root.flyteidl.core.LiteralMap.verify(message.literalMap);
|
|
45960
|
+
if (error)
|
|
45961
|
+
return "literalMap." + error;
|
|
45962
|
+
}
|
|
45963
|
+
}
|
|
45964
|
+
if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) {
|
|
45965
|
+
if (properties.data === 1)
|
|
45966
|
+
return "data: multiple values";
|
|
45967
|
+
properties.data = 1;
|
|
45968
|
+
{
|
|
45969
|
+
var error = $root.flyteidl.service.PreSignedURLs.verify(message.preSignedUrls);
|
|
45970
|
+
if (error)
|
|
45971
|
+
return "preSignedUrls." + error;
|
|
45972
|
+
}
|
|
45973
|
+
}
|
|
45974
|
+
return null;
|
|
45975
|
+
};
|
|
45976
|
+
|
|
45977
|
+
return GetDataResponse;
|
|
45978
|
+
})();
|
|
45979
|
+
|
|
44291
45980
|
service.DataProxyService = (function() {
|
|
44292
45981
|
|
|
44293
45982
|
/**
|
|
@@ -44419,9 +46108,938 @@
|
|
|
44419
46108
|
* @variation 2
|
|
44420
46109
|
*/
|
|
44421
46110
|
|
|
46111
|
+
/**
|
|
46112
|
+
* Callback as used by {@link flyteidl.service.DataProxyService#getData}.
|
|
46113
|
+
* @memberof flyteidl.service.DataProxyService
|
|
46114
|
+
* @typedef GetDataCallback
|
|
46115
|
+
* @type {function}
|
|
46116
|
+
* @param {Error|null} error Error, if any
|
|
46117
|
+
* @param {flyteidl.service.GetDataResponse} [response] GetDataResponse
|
|
46118
|
+
*/
|
|
46119
|
+
|
|
46120
|
+
/**
|
|
46121
|
+
* Calls GetData.
|
|
46122
|
+
* @function getData
|
|
46123
|
+
* @memberof flyteidl.service.DataProxyService
|
|
46124
|
+
* @instance
|
|
46125
|
+
* @param {flyteidl.service.IGetDataRequest} request GetDataRequest message or plain object
|
|
46126
|
+
* @param {flyteidl.service.DataProxyService.GetDataCallback} callback Node-style callback called with the error, if any, and GetDataResponse
|
|
46127
|
+
* @returns {undefined}
|
|
46128
|
+
* @variation 1
|
|
46129
|
+
*/
|
|
46130
|
+
Object.defineProperty(DataProxyService.prototype.getData = function getData(request, callback) {
|
|
46131
|
+
return this.rpcCall(getData, $root.flyteidl.service.GetDataRequest, $root.flyteidl.service.GetDataResponse, request, callback);
|
|
46132
|
+
}, "name", { value: "GetData" });
|
|
46133
|
+
|
|
46134
|
+
/**
|
|
46135
|
+
* Calls GetData.
|
|
46136
|
+
* @function getData
|
|
46137
|
+
* @memberof flyteidl.service.DataProxyService
|
|
46138
|
+
* @instance
|
|
46139
|
+
* @param {flyteidl.service.IGetDataRequest} request GetDataRequest message or plain object
|
|
46140
|
+
* @returns {Promise<flyteidl.service.GetDataResponse>} Promise
|
|
46141
|
+
* @variation 2
|
|
46142
|
+
*/
|
|
46143
|
+
|
|
44422
46144
|
return DataProxyService;
|
|
44423
46145
|
})();
|
|
44424
46146
|
|
|
46147
|
+
service.ExternalPluginService = (function() {
|
|
46148
|
+
|
|
46149
|
+
/**
|
|
46150
|
+
* Constructs a new ExternalPluginService service.
|
|
46151
|
+
* @memberof flyteidl.service
|
|
46152
|
+
* @classdesc Represents an ExternalPluginService
|
|
46153
|
+
* @extends $protobuf.rpc.Service
|
|
46154
|
+
* @constructor
|
|
46155
|
+
* @param {$protobuf.RPCImpl} rpcImpl RPC implementation
|
|
46156
|
+
* @param {boolean} [requestDelimited=false] Whether requests are length-delimited
|
|
46157
|
+
* @param {boolean} [responseDelimited=false] Whether responses are length-delimited
|
|
46158
|
+
*/
|
|
46159
|
+
function ExternalPluginService(rpcImpl, requestDelimited, responseDelimited) {
|
|
46160
|
+
$protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
|
|
46161
|
+
}
|
|
46162
|
+
|
|
46163
|
+
(ExternalPluginService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = ExternalPluginService;
|
|
46164
|
+
|
|
46165
|
+
/**
|
|
46166
|
+
* Creates new ExternalPluginService service using the specified rpc implementation.
|
|
46167
|
+
* @function create
|
|
46168
|
+
* @memberof flyteidl.service.ExternalPluginService
|
|
46169
|
+
* @static
|
|
46170
|
+
* @param {$protobuf.RPCImpl} rpcImpl RPC implementation
|
|
46171
|
+
* @param {boolean} [requestDelimited=false] Whether requests are length-delimited
|
|
46172
|
+
* @param {boolean} [responseDelimited=false] Whether responses are length-delimited
|
|
46173
|
+
* @returns {ExternalPluginService} RPC service. Useful where requests and/or responses are streamed.
|
|
46174
|
+
*/
|
|
46175
|
+
ExternalPluginService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
|
|
46176
|
+
return new this(rpcImpl, requestDelimited, responseDelimited);
|
|
46177
|
+
};
|
|
46178
|
+
|
|
46179
|
+
/**
|
|
46180
|
+
* Callback as used by {@link flyteidl.service.ExternalPluginService#createTask}.
|
|
46181
|
+
* @memberof flyteidl.service.ExternalPluginService
|
|
46182
|
+
* @typedef CreateTaskCallback
|
|
46183
|
+
* @type {function}
|
|
46184
|
+
* @param {Error|null} error Error, if any
|
|
46185
|
+
* @param {flyteidl.service.TaskCreateResponse} [response] TaskCreateResponse
|
|
46186
|
+
*/
|
|
46187
|
+
|
|
46188
|
+
/**
|
|
46189
|
+
* Calls CreateTask.
|
|
46190
|
+
* @function createTask
|
|
46191
|
+
* @memberof flyteidl.service.ExternalPluginService
|
|
46192
|
+
* @instance
|
|
46193
|
+
* @param {flyteidl.service.ITaskCreateRequest} request TaskCreateRequest message or plain object
|
|
46194
|
+
* @param {flyteidl.service.ExternalPluginService.CreateTaskCallback} callback Node-style callback called with the error, if any, and TaskCreateResponse
|
|
46195
|
+
* @returns {undefined}
|
|
46196
|
+
* @variation 1
|
|
46197
|
+
*/
|
|
46198
|
+
Object.defineProperty(ExternalPluginService.prototype.createTask = function createTask(request, callback) {
|
|
46199
|
+
return this.rpcCall(createTask, $root.flyteidl.service.TaskCreateRequest, $root.flyteidl.service.TaskCreateResponse, request, callback);
|
|
46200
|
+
}, "name", { value: "CreateTask" });
|
|
46201
|
+
|
|
46202
|
+
/**
|
|
46203
|
+
* Calls CreateTask.
|
|
46204
|
+
* @function createTask
|
|
46205
|
+
* @memberof flyteidl.service.ExternalPluginService
|
|
46206
|
+
* @instance
|
|
46207
|
+
* @param {flyteidl.service.ITaskCreateRequest} request TaskCreateRequest message or plain object
|
|
46208
|
+
* @returns {Promise<flyteidl.service.TaskCreateResponse>} Promise
|
|
46209
|
+
* @variation 2
|
|
46210
|
+
*/
|
|
46211
|
+
|
|
46212
|
+
/**
|
|
46213
|
+
* Callback as used by {@link flyteidl.service.ExternalPluginService#getTask}.
|
|
46214
|
+
* @memberof flyteidl.service.ExternalPluginService
|
|
46215
|
+
* @typedef GetTaskCallback
|
|
46216
|
+
* @type {function}
|
|
46217
|
+
* @param {Error|null} error Error, if any
|
|
46218
|
+
* @param {flyteidl.service.TaskGetResponse} [response] TaskGetResponse
|
|
46219
|
+
*/
|
|
46220
|
+
|
|
46221
|
+
/**
|
|
46222
|
+
* Calls GetTask.
|
|
46223
|
+
* @function getTask
|
|
46224
|
+
* @memberof flyteidl.service.ExternalPluginService
|
|
46225
|
+
* @instance
|
|
46226
|
+
* @param {flyteidl.service.ITaskGetRequest} request TaskGetRequest message or plain object
|
|
46227
|
+
* @param {flyteidl.service.ExternalPluginService.GetTaskCallback} callback Node-style callback called with the error, if any, and TaskGetResponse
|
|
46228
|
+
* @returns {undefined}
|
|
46229
|
+
* @variation 1
|
|
46230
|
+
*/
|
|
46231
|
+
Object.defineProperty(ExternalPluginService.prototype.getTask = function getTask(request, callback) {
|
|
46232
|
+
return this.rpcCall(getTask, $root.flyteidl.service.TaskGetRequest, $root.flyteidl.service.TaskGetResponse, request, callback);
|
|
46233
|
+
}, "name", { value: "GetTask" });
|
|
46234
|
+
|
|
46235
|
+
/**
|
|
46236
|
+
* Calls GetTask.
|
|
46237
|
+
* @function getTask
|
|
46238
|
+
* @memberof flyteidl.service.ExternalPluginService
|
|
46239
|
+
* @instance
|
|
46240
|
+
* @param {flyteidl.service.ITaskGetRequest} request TaskGetRequest message or plain object
|
|
46241
|
+
* @returns {Promise<flyteidl.service.TaskGetResponse>} Promise
|
|
46242
|
+
* @variation 2
|
|
46243
|
+
*/
|
|
46244
|
+
|
|
46245
|
+
/**
|
|
46246
|
+
* Callback as used by {@link flyteidl.service.ExternalPluginService#deleteTask}.
|
|
46247
|
+
* @memberof flyteidl.service.ExternalPluginService
|
|
46248
|
+
* @typedef DeleteTaskCallback
|
|
46249
|
+
* @type {function}
|
|
46250
|
+
* @param {Error|null} error Error, if any
|
|
46251
|
+
* @param {flyteidl.service.TaskDeleteResponse} [response] TaskDeleteResponse
|
|
46252
|
+
*/
|
|
46253
|
+
|
|
46254
|
+
/**
|
|
46255
|
+
* Calls DeleteTask.
|
|
46256
|
+
* @function deleteTask
|
|
46257
|
+
* @memberof flyteidl.service.ExternalPluginService
|
|
46258
|
+
* @instance
|
|
46259
|
+
* @param {flyteidl.service.ITaskDeleteRequest} request TaskDeleteRequest message or plain object
|
|
46260
|
+
* @param {flyteidl.service.ExternalPluginService.DeleteTaskCallback} callback Node-style callback called with the error, if any, and TaskDeleteResponse
|
|
46261
|
+
* @returns {undefined}
|
|
46262
|
+
* @variation 1
|
|
46263
|
+
*/
|
|
46264
|
+
Object.defineProperty(ExternalPluginService.prototype.deleteTask = function deleteTask(request, callback) {
|
|
46265
|
+
return this.rpcCall(deleteTask, $root.flyteidl.service.TaskDeleteRequest, $root.flyteidl.service.TaskDeleteResponse, request, callback);
|
|
46266
|
+
}, "name", { value: "DeleteTask" });
|
|
46267
|
+
|
|
46268
|
+
/**
|
|
46269
|
+
* Calls DeleteTask.
|
|
46270
|
+
* @function deleteTask
|
|
46271
|
+
* @memberof flyteidl.service.ExternalPluginService
|
|
46272
|
+
* @instance
|
|
46273
|
+
* @param {flyteidl.service.ITaskDeleteRequest} request TaskDeleteRequest message or plain object
|
|
46274
|
+
* @returns {Promise<flyteidl.service.TaskDeleteResponse>} Promise
|
|
46275
|
+
* @variation 2
|
|
46276
|
+
*/
|
|
46277
|
+
|
|
46278
|
+
return ExternalPluginService;
|
|
46279
|
+
})();
|
|
46280
|
+
|
|
46281
|
+
/**
|
|
46282
|
+
* State enum.
|
|
46283
|
+
* @name flyteidl.service.State
|
|
46284
|
+
* @enum {string}
|
|
46285
|
+
* @property {number} RETRYABLE_FAILURE=0 RETRYABLE_FAILURE value
|
|
46286
|
+
* @property {number} PERMANENT_FAILURE=1 PERMANENT_FAILURE value
|
|
46287
|
+
* @property {number} PENDING=2 PENDING value
|
|
46288
|
+
* @property {number} RUNNING=3 RUNNING value
|
|
46289
|
+
* @property {number} SUCCEEDED=4 SUCCEEDED value
|
|
46290
|
+
*/
|
|
46291
|
+
service.State = (function() {
|
|
46292
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
46293
|
+
values[valuesById[0] = "RETRYABLE_FAILURE"] = 0;
|
|
46294
|
+
values[valuesById[1] = "PERMANENT_FAILURE"] = 1;
|
|
46295
|
+
values[valuesById[2] = "PENDING"] = 2;
|
|
46296
|
+
values[valuesById[3] = "RUNNING"] = 3;
|
|
46297
|
+
values[valuesById[4] = "SUCCEEDED"] = 4;
|
|
46298
|
+
return values;
|
|
46299
|
+
})();
|
|
46300
|
+
|
|
46301
|
+
service.TaskCreateRequest = (function() {
|
|
46302
|
+
|
|
46303
|
+
/**
|
|
46304
|
+
* Properties of a TaskCreateRequest.
|
|
46305
|
+
* @memberof flyteidl.service
|
|
46306
|
+
* @interface ITaskCreateRequest
|
|
46307
|
+
* @property {flyteidl.core.ILiteralMap|null} [inputs] TaskCreateRequest inputs
|
|
46308
|
+
* @property {flyteidl.core.ITaskTemplate|null} [template] TaskCreateRequest template
|
|
46309
|
+
* @property {string|null} [outputPrefix] TaskCreateRequest outputPrefix
|
|
46310
|
+
*/
|
|
46311
|
+
|
|
46312
|
+
/**
|
|
46313
|
+
* Constructs a new TaskCreateRequest.
|
|
46314
|
+
* @memberof flyteidl.service
|
|
46315
|
+
* @classdesc Represents a TaskCreateRequest.
|
|
46316
|
+
* @implements ITaskCreateRequest
|
|
46317
|
+
* @constructor
|
|
46318
|
+
* @param {flyteidl.service.ITaskCreateRequest=} [properties] Properties to set
|
|
46319
|
+
*/
|
|
46320
|
+
function TaskCreateRequest(properties) {
|
|
46321
|
+
if (properties)
|
|
46322
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
46323
|
+
if (properties[keys[i]] != null)
|
|
46324
|
+
this[keys[i]] = properties[keys[i]];
|
|
46325
|
+
}
|
|
46326
|
+
|
|
46327
|
+
/**
|
|
46328
|
+
* TaskCreateRequest inputs.
|
|
46329
|
+
* @member {flyteidl.core.ILiteralMap|null|undefined} inputs
|
|
46330
|
+
* @memberof flyteidl.service.TaskCreateRequest
|
|
46331
|
+
* @instance
|
|
46332
|
+
*/
|
|
46333
|
+
TaskCreateRequest.prototype.inputs = null;
|
|
46334
|
+
|
|
46335
|
+
/**
|
|
46336
|
+
* TaskCreateRequest template.
|
|
46337
|
+
* @member {flyteidl.core.ITaskTemplate|null|undefined} template
|
|
46338
|
+
* @memberof flyteidl.service.TaskCreateRequest
|
|
46339
|
+
* @instance
|
|
46340
|
+
*/
|
|
46341
|
+
TaskCreateRequest.prototype.template = null;
|
|
46342
|
+
|
|
46343
|
+
/**
|
|
46344
|
+
* TaskCreateRequest outputPrefix.
|
|
46345
|
+
* @member {string} outputPrefix
|
|
46346
|
+
* @memberof flyteidl.service.TaskCreateRequest
|
|
46347
|
+
* @instance
|
|
46348
|
+
*/
|
|
46349
|
+
TaskCreateRequest.prototype.outputPrefix = "";
|
|
46350
|
+
|
|
46351
|
+
/**
|
|
46352
|
+
* Creates a new TaskCreateRequest instance using the specified properties.
|
|
46353
|
+
* @function create
|
|
46354
|
+
* @memberof flyteidl.service.TaskCreateRequest
|
|
46355
|
+
* @static
|
|
46356
|
+
* @param {flyteidl.service.ITaskCreateRequest=} [properties] Properties to set
|
|
46357
|
+
* @returns {flyteidl.service.TaskCreateRequest} TaskCreateRequest instance
|
|
46358
|
+
*/
|
|
46359
|
+
TaskCreateRequest.create = function create(properties) {
|
|
46360
|
+
return new TaskCreateRequest(properties);
|
|
46361
|
+
};
|
|
46362
|
+
|
|
46363
|
+
/**
|
|
46364
|
+
* Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.service.TaskCreateRequest.verify|verify} messages.
|
|
46365
|
+
* @function encode
|
|
46366
|
+
* @memberof flyteidl.service.TaskCreateRequest
|
|
46367
|
+
* @static
|
|
46368
|
+
* @param {flyteidl.service.ITaskCreateRequest} message TaskCreateRequest message or plain object to encode
|
|
46369
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
46370
|
+
* @returns {$protobuf.Writer} Writer
|
|
46371
|
+
*/
|
|
46372
|
+
TaskCreateRequest.encode = function encode(message, writer) {
|
|
46373
|
+
if (!writer)
|
|
46374
|
+
writer = $Writer.create();
|
|
46375
|
+
if (message.inputs != null && message.hasOwnProperty("inputs"))
|
|
46376
|
+
$root.flyteidl.core.LiteralMap.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
46377
|
+
if (message.template != null && message.hasOwnProperty("template"))
|
|
46378
|
+
$root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
46379
|
+
if (message.outputPrefix != null && message.hasOwnProperty("outputPrefix"))
|
|
46380
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputPrefix);
|
|
46381
|
+
return writer;
|
|
46382
|
+
};
|
|
46383
|
+
|
|
46384
|
+
/**
|
|
46385
|
+
* Decodes a TaskCreateRequest message from the specified reader or buffer.
|
|
46386
|
+
* @function decode
|
|
46387
|
+
* @memberof flyteidl.service.TaskCreateRequest
|
|
46388
|
+
* @static
|
|
46389
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
46390
|
+
* @param {number} [length] Message length if known beforehand
|
|
46391
|
+
* @returns {flyteidl.service.TaskCreateRequest} TaskCreateRequest
|
|
46392
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
46393
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
46394
|
+
*/
|
|
46395
|
+
TaskCreateRequest.decode = function decode(reader, length) {
|
|
46396
|
+
if (!(reader instanceof $Reader))
|
|
46397
|
+
reader = $Reader.create(reader);
|
|
46398
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskCreateRequest();
|
|
46399
|
+
while (reader.pos < end) {
|
|
46400
|
+
var tag = reader.uint32();
|
|
46401
|
+
switch (tag >>> 3) {
|
|
46402
|
+
case 1:
|
|
46403
|
+
message.inputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32());
|
|
46404
|
+
break;
|
|
46405
|
+
case 2:
|
|
46406
|
+
message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32());
|
|
46407
|
+
break;
|
|
46408
|
+
case 3:
|
|
46409
|
+
message.outputPrefix = reader.string();
|
|
46410
|
+
break;
|
|
46411
|
+
default:
|
|
46412
|
+
reader.skipType(tag & 7);
|
|
46413
|
+
break;
|
|
46414
|
+
}
|
|
46415
|
+
}
|
|
46416
|
+
return message;
|
|
46417
|
+
};
|
|
46418
|
+
|
|
46419
|
+
/**
|
|
46420
|
+
* Verifies a TaskCreateRequest message.
|
|
46421
|
+
* @function verify
|
|
46422
|
+
* @memberof flyteidl.service.TaskCreateRequest
|
|
46423
|
+
* @static
|
|
46424
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
46425
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
46426
|
+
*/
|
|
46427
|
+
TaskCreateRequest.verify = function verify(message) {
|
|
46428
|
+
if (typeof message !== "object" || message === null)
|
|
46429
|
+
return "object expected";
|
|
46430
|
+
if (message.inputs != null && message.hasOwnProperty("inputs")) {
|
|
46431
|
+
var error = $root.flyteidl.core.LiteralMap.verify(message.inputs);
|
|
46432
|
+
if (error)
|
|
46433
|
+
return "inputs." + error;
|
|
46434
|
+
}
|
|
46435
|
+
if (message.template != null && message.hasOwnProperty("template")) {
|
|
46436
|
+
var error = $root.flyteidl.core.TaskTemplate.verify(message.template);
|
|
46437
|
+
if (error)
|
|
46438
|
+
return "template." + error;
|
|
46439
|
+
}
|
|
46440
|
+
if (message.outputPrefix != null && message.hasOwnProperty("outputPrefix"))
|
|
46441
|
+
if (!$util.isString(message.outputPrefix))
|
|
46442
|
+
return "outputPrefix: string expected";
|
|
46443
|
+
return null;
|
|
46444
|
+
};
|
|
46445
|
+
|
|
46446
|
+
return TaskCreateRequest;
|
|
46447
|
+
})();
|
|
46448
|
+
|
|
46449
|
+
service.TaskCreateResponse = (function() {
|
|
46450
|
+
|
|
46451
|
+
/**
|
|
46452
|
+
* Properties of a TaskCreateResponse.
|
|
46453
|
+
* @memberof flyteidl.service
|
|
46454
|
+
* @interface ITaskCreateResponse
|
|
46455
|
+
* @property {string|null} [jobId] TaskCreateResponse jobId
|
|
46456
|
+
*/
|
|
46457
|
+
|
|
46458
|
+
/**
|
|
46459
|
+
* Constructs a new TaskCreateResponse.
|
|
46460
|
+
* @memberof flyteidl.service
|
|
46461
|
+
* @classdesc Represents a TaskCreateResponse.
|
|
46462
|
+
* @implements ITaskCreateResponse
|
|
46463
|
+
* @constructor
|
|
46464
|
+
* @param {flyteidl.service.ITaskCreateResponse=} [properties] Properties to set
|
|
46465
|
+
*/
|
|
46466
|
+
function TaskCreateResponse(properties) {
|
|
46467
|
+
if (properties)
|
|
46468
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
46469
|
+
if (properties[keys[i]] != null)
|
|
46470
|
+
this[keys[i]] = properties[keys[i]];
|
|
46471
|
+
}
|
|
46472
|
+
|
|
46473
|
+
/**
|
|
46474
|
+
* TaskCreateResponse jobId.
|
|
46475
|
+
* @member {string} jobId
|
|
46476
|
+
* @memberof flyteidl.service.TaskCreateResponse
|
|
46477
|
+
* @instance
|
|
46478
|
+
*/
|
|
46479
|
+
TaskCreateResponse.prototype.jobId = "";
|
|
46480
|
+
|
|
46481
|
+
/**
|
|
46482
|
+
* Creates a new TaskCreateResponse instance using the specified properties.
|
|
46483
|
+
* @function create
|
|
46484
|
+
* @memberof flyteidl.service.TaskCreateResponse
|
|
46485
|
+
* @static
|
|
46486
|
+
* @param {flyteidl.service.ITaskCreateResponse=} [properties] Properties to set
|
|
46487
|
+
* @returns {flyteidl.service.TaskCreateResponse} TaskCreateResponse instance
|
|
46488
|
+
*/
|
|
46489
|
+
TaskCreateResponse.create = function create(properties) {
|
|
46490
|
+
return new TaskCreateResponse(properties);
|
|
46491
|
+
};
|
|
46492
|
+
|
|
46493
|
+
/**
|
|
46494
|
+
* Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.service.TaskCreateResponse.verify|verify} messages.
|
|
46495
|
+
* @function encode
|
|
46496
|
+
* @memberof flyteidl.service.TaskCreateResponse
|
|
46497
|
+
* @static
|
|
46498
|
+
* @param {flyteidl.service.ITaskCreateResponse} message TaskCreateResponse message or plain object to encode
|
|
46499
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
46500
|
+
* @returns {$protobuf.Writer} Writer
|
|
46501
|
+
*/
|
|
46502
|
+
TaskCreateResponse.encode = function encode(message, writer) {
|
|
46503
|
+
if (!writer)
|
|
46504
|
+
writer = $Writer.create();
|
|
46505
|
+
if (message.jobId != null && message.hasOwnProperty("jobId"))
|
|
46506
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.jobId);
|
|
46507
|
+
return writer;
|
|
46508
|
+
};
|
|
46509
|
+
|
|
46510
|
+
/**
|
|
46511
|
+
* Decodes a TaskCreateResponse message from the specified reader or buffer.
|
|
46512
|
+
* @function decode
|
|
46513
|
+
* @memberof flyteidl.service.TaskCreateResponse
|
|
46514
|
+
* @static
|
|
46515
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
46516
|
+
* @param {number} [length] Message length if known beforehand
|
|
46517
|
+
* @returns {flyteidl.service.TaskCreateResponse} TaskCreateResponse
|
|
46518
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
46519
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
46520
|
+
*/
|
|
46521
|
+
TaskCreateResponse.decode = function decode(reader, length) {
|
|
46522
|
+
if (!(reader instanceof $Reader))
|
|
46523
|
+
reader = $Reader.create(reader);
|
|
46524
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskCreateResponse();
|
|
46525
|
+
while (reader.pos < end) {
|
|
46526
|
+
var tag = reader.uint32();
|
|
46527
|
+
switch (tag >>> 3) {
|
|
46528
|
+
case 1:
|
|
46529
|
+
message.jobId = reader.string();
|
|
46530
|
+
break;
|
|
46531
|
+
default:
|
|
46532
|
+
reader.skipType(tag & 7);
|
|
46533
|
+
break;
|
|
46534
|
+
}
|
|
46535
|
+
}
|
|
46536
|
+
return message;
|
|
46537
|
+
};
|
|
46538
|
+
|
|
46539
|
+
/**
|
|
46540
|
+
* Verifies a TaskCreateResponse message.
|
|
46541
|
+
* @function verify
|
|
46542
|
+
* @memberof flyteidl.service.TaskCreateResponse
|
|
46543
|
+
* @static
|
|
46544
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
46545
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
46546
|
+
*/
|
|
46547
|
+
TaskCreateResponse.verify = function verify(message) {
|
|
46548
|
+
if (typeof message !== "object" || message === null)
|
|
46549
|
+
return "object expected";
|
|
46550
|
+
if (message.jobId != null && message.hasOwnProperty("jobId"))
|
|
46551
|
+
if (!$util.isString(message.jobId))
|
|
46552
|
+
return "jobId: string expected";
|
|
46553
|
+
return null;
|
|
46554
|
+
};
|
|
46555
|
+
|
|
46556
|
+
return TaskCreateResponse;
|
|
46557
|
+
})();
|
|
46558
|
+
|
|
46559
|
+
service.TaskGetRequest = (function() {
|
|
46560
|
+
|
|
46561
|
+
/**
|
|
46562
|
+
* Properties of a TaskGetRequest.
|
|
46563
|
+
* @memberof flyteidl.service
|
|
46564
|
+
* @interface ITaskGetRequest
|
|
46565
|
+
* @property {string|null} [taskType] TaskGetRequest taskType
|
|
46566
|
+
* @property {string|null} [jobId] TaskGetRequest jobId
|
|
46567
|
+
*/
|
|
46568
|
+
|
|
46569
|
+
/**
|
|
46570
|
+
* Constructs a new TaskGetRequest.
|
|
46571
|
+
* @memberof flyteidl.service
|
|
46572
|
+
* @classdesc Represents a TaskGetRequest.
|
|
46573
|
+
* @implements ITaskGetRequest
|
|
46574
|
+
* @constructor
|
|
46575
|
+
* @param {flyteidl.service.ITaskGetRequest=} [properties] Properties to set
|
|
46576
|
+
*/
|
|
46577
|
+
function TaskGetRequest(properties) {
|
|
46578
|
+
if (properties)
|
|
46579
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
46580
|
+
if (properties[keys[i]] != null)
|
|
46581
|
+
this[keys[i]] = properties[keys[i]];
|
|
46582
|
+
}
|
|
46583
|
+
|
|
46584
|
+
/**
|
|
46585
|
+
* TaskGetRequest taskType.
|
|
46586
|
+
* @member {string} taskType
|
|
46587
|
+
* @memberof flyteidl.service.TaskGetRequest
|
|
46588
|
+
* @instance
|
|
46589
|
+
*/
|
|
46590
|
+
TaskGetRequest.prototype.taskType = "";
|
|
46591
|
+
|
|
46592
|
+
/**
|
|
46593
|
+
* TaskGetRequest jobId.
|
|
46594
|
+
* @member {string} jobId
|
|
46595
|
+
* @memberof flyteidl.service.TaskGetRequest
|
|
46596
|
+
* @instance
|
|
46597
|
+
*/
|
|
46598
|
+
TaskGetRequest.prototype.jobId = "";
|
|
46599
|
+
|
|
46600
|
+
/**
|
|
46601
|
+
* Creates a new TaskGetRequest instance using the specified properties.
|
|
46602
|
+
* @function create
|
|
46603
|
+
* @memberof flyteidl.service.TaskGetRequest
|
|
46604
|
+
* @static
|
|
46605
|
+
* @param {flyteidl.service.ITaskGetRequest=} [properties] Properties to set
|
|
46606
|
+
* @returns {flyteidl.service.TaskGetRequest} TaskGetRequest instance
|
|
46607
|
+
*/
|
|
46608
|
+
TaskGetRequest.create = function create(properties) {
|
|
46609
|
+
return new TaskGetRequest(properties);
|
|
46610
|
+
};
|
|
46611
|
+
|
|
46612
|
+
/**
|
|
46613
|
+
* Encodes the specified TaskGetRequest message. Does not implicitly {@link flyteidl.service.TaskGetRequest.verify|verify} messages.
|
|
46614
|
+
* @function encode
|
|
46615
|
+
* @memberof flyteidl.service.TaskGetRequest
|
|
46616
|
+
* @static
|
|
46617
|
+
* @param {flyteidl.service.ITaskGetRequest} message TaskGetRequest message or plain object to encode
|
|
46618
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
46619
|
+
* @returns {$protobuf.Writer} Writer
|
|
46620
|
+
*/
|
|
46621
|
+
TaskGetRequest.encode = function encode(message, writer) {
|
|
46622
|
+
if (!writer)
|
|
46623
|
+
writer = $Writer.create();
|
|
46624
|
+
if (message.taskType != null && message.hasOwnProperty("taskType"))
|
|
46625
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.taskType);
|
|
46626
|
+
if (message.jobId != null && message.hasOwnProperty("jobId"))
|
|
46627
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.jobId);
|
|
46628
|
+
return writer;
|
|
46629
|
+
};
|
|
46630
|
+
|
|
46631
|
+
/**
|
|
46632
|
+
* Decodes a TaskGetRequest message from the specified reader or buffer.
|
|
46633
|
+
* @function decode
|
|
46634
|
+
* @memberof flyteidl.service.TaskGetRequest
|
|
46635
|
+
* @static
|
|
46636
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
46637
|
+
* @param {number} [length] Message length if known beforehand
|
|
46638
|
+
* @returns {flyteidl.service.TaskGetRequest} TaskGetRequest
|
|
46639
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
46640
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
46641
|
+
*/
|
|
46642
|
+
TaskGetRequest.decode = function decode(reader, length) {
|
|
46643
|
+
if (!(reader instanceof $Reader))
|
|
46644
|
+
reader = $Reader.create(reader);
|
|
46645
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskGetRequest();
|
|
46646
|
+
while (reader.pos < end) {
|
|
46647
|
+
var tag = reader.uint32();
|
|
46648
|
+
switch (tag >>> 3) {
|
|
46649
|
+
case 1:
|
|
46650
|
+
message.taskType = reader.string();
|
|
46651
|
+
break;
|
|
46652
|
+
case 2:
|
|
46653
|
+
message.jobId = reader.string();
|
|
46654
|
+
break;
|
|
46655
|
+
default:
|
|
46656
|
+
reader.skipType(tag & 7);
|
|
46657
|
+
break;
|
|
46658
|
+
}
|
|
46659
|
+
}
|
|
46660
|
+
return message;
|
|
46661
|
+
};
|
|
46662
|
+
|
|
46663
|
+
/**
|
|
46664
|
+
* Verifies a TaskGetRequest message.
|
|
46665
|
+
* @function verify
|
|
46666
|
+
* @memberof flyteidl.service.TaskGetRequest
|
|
46667
|
+
* @static
|
|
46668
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
46669
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
46670
|
+
*/
|
|
46671
|
+
TaskGetRequest.verify = function verify(message) {
|
|
46672
|
+
if (typeof message !== "object" || message === null)
|
|
46673
|
+
return "object expected";
|
|
46674
|
+
if (message.taskType != null && message.hasOwnProperty("taskType"))
|
|
46675
|
+
if (!$util.isString(message.taskType))
|
|
46676
|
+
return "taskType: string expected";
|
|
46677
|
+
if (message.jobId != null && message.hasOwnProperty("jobId"))
|
|
46678
|
+
if (!$util.isString(message.jobId))
|
|
46679
|
+
return "jobId: string expected";
|
|
46680
|
+
return null;
|
|
46681
|
+
};
|
|
46682
|
+
|
|
46683
|
+
return TaskGetRequest;
|
|
46684
|
+
})();
|
|
46685
|
+
|
|
46686
|
+
service.TaskGetResponse = (function() {
|
|
46687
|
+
|
|
46688
|
+
/**
|
|
46689
|
+
* Properties of a TaskGetResponse.
|
|
46690
|
+
* @memberof flyteidl.service
|
|
46691
|
+
* @interface ITaskGetResponse
|
|
46692
|
+
* @property {flyteidl.service.State|null} [state] TaskGetResponse state
|
|
46693
|
+
* @property {flyteidl.core.ILiteralMap|null} [outputs] TaskGetResponse outputs
|
|
46694
|
+
*/
|
|
46695
|
+
|
|
46696
|
+
/**
|
|
46697
|
+
* Constructs a new TaskGetResponse.
|
|
46698
|
+
* @memberof flyteidl.service
|
|
46699
|
+
* @classdesc Represents a TaskGetResponse.
|
|
46700
|
+
* @implements ITaskGetResponse
|
|
46701
|
+
* @constructor
|
|
46702
|
+
* @param {flyteidl.service.ITaskGetResponse=} [properties] Properties to set
|
|
46703
|
+
*/
|
|
46704
|
+
function TaskGetResponse(properties) {
|
|
46705
|
+
if (properties)
|
|
46706
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
46707
|
+
if (properties[keys[i]] != null)
|
|
46708
|
+
this[keys[i]] = properties[keys[i]];
|
|
46709
|
+
}
|
|
46710
|
+
|
|
46711
|
+
/**
|
|
46712
|
+
* TaskGetResponse state.
|
|
46713
|
+
* @member {flyteidl.service.State} state
|
|
46714
|
+
* @memberof flyteidl.service.TaskGetResponse
|
|
46715
|
+
* @instance
|
|
46716
|
+
*/
|
|
46717
|
+
TaskGetResponse.prototype.state = 0;
|
|
46718
|
+
|
|
46719
|
+
/**
|
|
46720
|
+
* TaskGetResponse outputs.
|
|
46721
|
+
* @member {flyteidl.core.ILiteralMap|null|undefined} outputs
|
|
46722
|
+
* @memberof flyteidl.service.TaskGetResponse
|
|
46723
|
+
* @instance
|
|
46724
|
+
*/
|
|
46725
|
+
TaskGetResponse.prototype.outputs = null;
|
|
46726
|
+
|
|
46727
|
+
/**
|
|
46728
|
+
* Creates a new TaskGetResponse instance using the specified properties.
|
|
46729
|
+
* @function create
|
|
46730
|
+
* @memberof flyteidl.service.TaskGetResponse
|
|
46731
|
+
* @static
|
|
46732
|
+
* @param {flyteidl.service.ITaskGetResponse=} [properties] Properties to set
|
|
46733
|
+
* @returns {flyteidl.service.TaskGetResponse} TaskGetResponse instance
|
|
46734
|
+
*/
|
|
46735
|
+
TaskGetResponse.create = function create(properties) {
|
|
46736
|
+
return new TaskGetResponse(properties);
|
|
46737
|
+
};
|
|
46738
|
+
|
|
46739
|
+
/**
|
|
46740
|
+
* Encodes the specified TaskGetResponse message. Does not implicitly {@link flyteidl.service.TaskGetResponse.verify|verify} messages.
|
|
46741
|
+
* @function encode
|
|
46742
|
+
* @memberof flyteidl.service.TaskGetResponse
|
|
46743
|
+
* @static
|
|
46744
|
+
* @param {flyteidl.service.ITaskGetResponse} message TaskGetResponse message or plain object to encode
|
|
46745
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
46746
|
+
* @returns {$protobuf.Writer} Writer
|
|
46747
|
+
*/
|
|
46748
|
+
TaskGetResponse.encode = function encode(message, writer) {
|
|
46749
|
+
if (!writer)
|
|
46750
|
+
writer = $Writer.create();
|
|
46751
|
+
if (message.state != null && message.hasOwnProperty("state"))
|
|
46752
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.state);
|
|
46753
|
+
if (message.outputs != null && message.hasOwnProperty("outputs"))
|
|
46754
|
+
$root.flyteidl.core.LiteralMap.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
46755
|
+
return writer;
|
|
46756
|
+
};
|
|
46757
|
+
|
|
46758
|
+
/**
|
|
46759
|
+
* Decodes a TaskGetResponse message from the specified reader or buffer.
|
|
46760
|
+
* @function decode
|
|
46761
|
+
* @memberof flyteidl.service.TaskGetResponse
|
|
46762
|
+
* @static
|
|
46763
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
46764
|
+
* @param {number} [length] Message length if known beforehand
|
|
46765
|
+
* @returns {flyteidl.service.TaskGetResponse} TaskGetResponse
|
|
46766
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
46767
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
46768
|
+
*/
|
|
46769
|
+
TaskGetResponse.decode = function decode(reader, length) {
|
|
46770
|
+
if (!(reader instanceof $Reader))
|
|
46771
|
+
reader = $Reader.create(reader);
|
|
46772
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskGetResponse();
|
|
46773
|
+
while (reader.pos < end) {
|
|
46774
|
+
var tag = reader.uint32();
|
|
46775
|
+
switch (tag >>> 3) {
|
|
46776
|
+
case 1:
|
|
46777
|
+
message.state = reader.int32();
|
|
46778
|
+
break;
|
|
46779
|
+
case 2:
|
|
46780
|
+
message.outputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32());
|
|
46781
|
+
break;
|
|
46782
|
+
default:
|
|
46783
|
+
reader.skipType(tag & 7);
|
|
46784
|
+
break;
|
|
46785
|
+
}
|
|
46786
|
+
}
|
|
46787
|
+
return message;
|
|
46788
|
+
};
|
|
46789
|
+
|
|
46790
|
+
/**
|
|
46791
|
+
* Verifies a TaskGetResponse message.
|
|
46792
|
+
* @function verify
|
|
46793
|
+
* @memberof flyteidl.service.TaskGetResponse
|
|
46794
|
+
* @static
|
|
46795
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
46796
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
46797
|
+
*/
|
|
46798
|
+
TaskGetResponse.verify = function verify(message) {
|
|
46799
|
+
if (typeof message !== "object" || message === null)
|
|
46800
|
+
return "object expected";
|
|
46801
|
+
if (message.state != null && message.hasOwnProperty("state"))
|
|
46802
|
+
switch (message.state) {
|
|
46803
|
+
default:
|
|
46804
|
+
return "state: enum value expected";
|
|
46805
|
+
case 0:
|
|
46806
|
+
case 1:
|
|
46807
|
+
case 2:
|
|
46808
|
+
case 3:
|
|
46809
|
+
case 4:
|
|
46810
|
+
break;
|
|
46811
|
+
}
|
|
46812
|
+
if (message.outputs != null && message.hasOwnProperty("outputs")) {
|
|
46813
|
+
var error = $root.flyteidl.core.LiteralMap.verify(message.outputs);
|
|
46814
|
+
if (error)
|
|
46815
|
+
return "outputs." + error;
|
|
46816
|
+
}
|
|
46817
|
+
return null;
|
|
46818
|
+
};
|
|
46819
|
+
|
|
46820
|
+
return TaskGetResponse;
|
|
46821
|
+
})();
|
|
46822
|
+
|
|
46823
|
+
service.TaskDeleteRequest = (function() {
|
|
46824
|
+
|
|
46825
|
+
/**
|
|
46826
|
+
* Properties of a TaskDeleteRequest.
|
|
46827
|
+
* @memberof flyteidl.service
|
|
46828
|
+
* @interface ITaskDeleteRequest
|
|
46829
|
+
* @property {string|null} [taskType] TaskDeleteRequest taskType
|
|
46830
|
+
* @property {string|null} [jobId] TaskDeleteRequest jobId
|
|
46831
|
+
*/
|
|
46832
|
+
|
|
46833
|
+
/**
|
|
46834
|
+
* Constructs a new TaskDeleteRequest.
|
|
46835
|
+
* @memberof flyteidl.service
|
|
46836
|
+
* @classdesc Represents a TaskDeleteRequest.
|
|
46837
|
+
* @implements ITaskDeleteRequest
|
|
46838
|
+
* @constructor
|
|
46839
|
+
* @param {flyteidl.service.ITaskDeleteRequest=} [properties] Properties to set
|
|
46840
|
+
*/
|
|
46841
|
+
function TaskDeleteRequest(properties) {
|
|
46842
|
+
if (properties)
|
|
46843
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
46844
|
+
if (properties[keys[i]] != null)
|
|
46845
|
+
this[keys[i]] = properties[keys[i]];
|
|
46846
|
+
}
|
|
46847
|
+
|
|
46848
|
+
/**
|
|
46849
|
+
* TaskDeleteRequest taskType.
|
|
46850
|
+
* @member {string} taskType
|
|
46851
|
+
* @memberof flyteidl.service.TaskDeleteRequest
|
|
46852
|
+
* @instance
|
|
46853
|
+
*/
|
|
46854
|
+
TaskDeleteRequest.prototype.taskType = "";
|
|
46855
|
+
|
|
46856
|
+
/**
|
|
46857
|
+
* TaskDeleteRequest jobId.
|
|
46858
|
+
* @member {string} jobId
|
|
46859
|
+
* @memberof flyteidl.service.TaskDeleteRequest
|
|
46860
|
+
* @instance
|
|
46861
|
+
*/
|
|
46862
|
+
TaskDeleteRequest.prototype.jobId = "";
|
|
46863
|
+
|
|
46864
|
+
/**
|
|
46865
|
+
* Creates a new TaskDeleteRequest instance using the specified properties.
|
|
46866
|
+
* @function create
|
|
46867
|
+
* @memberof flyteidl.service.TaskDeleteRequest
|
|
46868
|
+
* @static
|
|
46869
|
+
* @param {flyteidl.service.ITaskDeleteRequest=} [properties] Properties to set
|
|
46870
|
+
* @returns {flyteidl.service.TaskDeleteRequest} TaskDeleteRequest instance
|
|
46871
|
+
*/
|
|
46872
|
+
TaskDeleteRequest.create = function create(properties) {
|
|
46873
|
+
return new TaskDeleteRequest(properties);
|
|
46874
|
+
};
|
|
46875
|
+
|
|
46876
|
+
/**
|
|
46877
|
+
* Encodes the specified TaskDeleteRequest message. Does not implicitly {@link flyteidl.service.TaskDeleteRequest.verify|verify} messages.
|
|
46878
|
+
* @function encode
|
|
46879
|
+
* @memberof flyteidl.service.TaskDeleteRequest
|
|
46880
|
+
* @static
|
|
46881
|
+
* @param {flyteidl.service.ITaskDeleteRequest} message TaskDeleteRequest message or plain object to encode
|
|
46882
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
46883
|
+
* @returns {$protobuf.Writer} Writer
|
|
46884
|
+
*/
|
|
46885
|
+
TaskDeleteRequest.encode = function encode(message, writer) {
|
|
46886
|
+
if (!writer)
|
|
46887
|
+
writer = $Writer.create();
|
|
46888
|
+
if (message.taskType != null && message.hasOwnProperty("taskType"))
|
|
46889
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.taskType);
|
|
46890
|
+
if (message.jobId != null && message.hasOwnProperty("jobId"))
|
|
46891
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.jobId);
|
|
46892
|
+
return writer;
|
|
46893
|
+
};
|
|
46894
|
+
|
|
46895
|
+
/**
|
|
46896
|
+
* Decodes a TaskDeleteRequest message from the specified reader or buffer.
|
|
46897
|
+
* @function decode
|
|
46898
|
+
* @memberof flyteidl.service.TaskDeleteRequest
|
|
46899
|
+
* @static
|
|
46900
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
46901
|
+
* @param {number} [length] Message length if known beforehand
|
|
46902
|
+
* @returns {flyteidl.service.TaskDeleteRequest} TaskDeleteRequest
|
|
46903
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
46904
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
46905
|
+
*/
|
|
46906
|
+
TaskDeleteRequest.decode = function decode(reader, length) {
|
|
46907
|
+
if (!(reader instanceof $Reader))
|
|
46908
|
+
reader = $Reader.create(reader);
|
|
46909
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskDeleteRequest();
|
|
46910
|
+
while (reader.pos < end) {
|
|
46911
|
+
var tag = reader.uint32();
|
|
46912
|
+
switch (tag >>> 3) {
|
|
46913
|
+
case 1:
|
|
46914
|
+
message.taskType = reader.string();
|
|
46915
|
+
break;
|
|
46916
|
+
case 2:
|
|
46917
|
+
message.jobId = reader.string();
|
|
46918
|
+
break;
|
|
46919
|
+
default:
|
|
46920
|
+
reader.skipType(tag & 7);
|
|
46921
|
+
break;
|
|
46922
|
+
}
|
|
46923
|
+
}
|
|
46924
|
+
return message;
|
|
46925
|
+
};
|
|
46926
|
+
|
|
46927
|
+
/**
|
|
46928
|
+
* Verifies a TaskDeleteRequest message.
|
|
46929
|
+
* @function verify
|
|
46930
|
+
* @memberof flyteidl.service.TaskDeleteRequest
|
|
46931
|
+
* @static
|
|
46932
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
46933
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
46934
|
+
*/
|
|
46935
|
+
TaskDeleteRequest.verify = function verify(message) {
|
|
46936
|
+
if (typeof message !== "object" || message === null)
|
|
46937
|
+
return "object expected";
|
|
46938
|
+
if (message.taskType != null && message.hasOwnProperty("taskType"))
|
|
46939
|
+
if (!$util.isString(message.taskType))
|
|
46940
|
+
return "taskType: string expected";
|
|
46941
|
+
if (message.jobId != null && message.hasOwnProperty("jobId"))
|
|
46942
|
+
if (!$util.isString(message.jobId))
|
|
46943
|
+
return "jobId: string expected";
|
|
46944
|
+
return null;
|
|
46945
|
+
};
|
|
46946
|
+
|
|
46947
|
+
return TaskDeleteRequest;
|
|
46948
|
+
})();
|
|
46949
|
+
|
|
46950
|
+
service.TaskDeleteResponse = (function() {
|
|
46951
|
+
|
|
46952
|
+
/**
|
|
46953
|
+
* Properties of a TaskDeleteResponse.
|
|
46954
|
+
* @memberof flyteidl.service
|
|
46955
|
+
* @interface ITaskDeleteResponse
|
|
46956
|
+
*/
|
|
46957
|
+
|
|
46958
|
+
/**
|
|
46959
|
+
* Constructs a new TaskDeleteResponse.
|
|
46960
|
+
* @memberof flyteidl.service
|
|
46961
|
+
* @classdesc Represents a TaskDeleteResponse.
|
|
46962
|
+
* @implements ITaskDeleteResponse
|
|
46963
|
+
* @constructor
|
|
46964
|
+
* @param {flyteidl.service.ITaskDeleteResponse=} [properties] Properties to set
|
|
46965
|
+
*/
|
|
46966
|
+
function TaskDeleteResponse(properties) {
|
|
46967
|
+
if (properties)
|
|
46968
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
46969
|
+
if (properties[keys[i]] != null)
|
|
46970
|
+
this[keys[i]] = properties[keys[i]];
|
|
46971
|
+
}
|
|
46972
|
+
|
|
46973
|
+
/**
|
|
46974
|
+
* Creates a new TaskDeleteResponse instance using the specified properties.
|
|
46975
|
+
* @function create
|
|
46976
|
+
* @memberof flyteidl.service.TaskDeleteResponse
|
|
46977
|
+
* @static
|
|
46978
|
+
* @param {flyteidl.service.ITaskDeleteResponse=} [properties] Properties to set
|
|
46979
|
+
* @returns {flyteidl.service.TaskDeleteResponse} TaskDeleteResponse instance
|
|
46980
|
+
*/
|
|
46981
|
+
TaskDeleteResponse.create = function create(properties) {
|
|
46982
|
+
return new TaskDeleteResponse(properties);
|
|
46983
|
+
};
|
|
46984
|
+
|
|
46985
|
+
/**
|
|
46986
|
+
* Encodes the specified TaskDeleteResponse message. Does not implicitly {@link flyteidl.service.TaskDeleteResponse.verify|verify} messages.
|
|
46987
|
+
* @function encode
|
|
46988
|
+
* @memberof flyteidl.service.TaskDeleteResponse
|
|
46989
|
+
* @static
|
|
46990
|
+
* @param {flyteidl.service.ITaskDeleteResponse} message TaskDeleteResponse message or plain object to encode
|
|
46991
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
46992
|
+
* @returns {$protobuf.Writer} Writer
|
|
46993
|
+
*/
|
|
46994
|
+
TaskDeleteResponse.encode = function encode(message, writer) {
|
|
46995
|
+
if (!writer)
|
|
46996
|
+
writer = $Writer.create();
|
|
46997
|
+
return writer;
|
|
46998
|
+
};
|
|
46999
|
+
|
|
47000
|
+
/**
|
|
47001
|
+
* Decodes a TaskDeleteResponse message from the specified reader or buffer.
|
|
47002
|
+
* @function decode
|
|
47003
|
+
* @memberof flyteidl.service.TaskDeleteResponse
|
|
47004
|
+
* @static
|
|
47005
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47006
|
+
* @param {number} [length] Message length if known beforehand
|
|
47007
|
+
* @returns {flyteidl.service.TaskDeleteResponse} TaskDeleteResponse
|
|
47008
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47009
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47010
|
+
*/
|
|
47011
|
+
TaskDeleteResponse.decode = function decode(reader, length) {
|
|
47012
|
+
if (!(reader instanceof $Reader))
|
|
47013
|
+
reader = $Reader.create(reader);
|
|
47014
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.TaskDeleteResponse();
|
|
47015
|
+
while (reader.pos < end) {
|
|
47016
|
+
var tag = reader.uint32();
|
|
47017
|
+
switch (tag >>> 3) {
|
|
47018
|
+
default:
|
|
47019
|
+
reader.skipType(tag & 7);
|
|
47020
|
+
break;
|
|
47021
|
+
}
|
|
47022
|
+
}
|
|
47023
|
+
return message;
|
|
47024
|
+
};
|
|
47025
|
+
|
|
47026
|
+
/**
|
|
47027
|
+
* Verifies a TaskDeleteResponse message.
|
|
47028
|
+
* @function verify
|
|
47029
|
+
* @memberof flyteidl.service.TaskDeleteResponse
|
|
47030
|
+
* @static
|
|
47031
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
47032
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
47033
|
+
*/
|
|
47034
|
+
TaskDeleteResponse.verify = function verify(message) {
|
|
47035
|
+
if (typeof message !== "object" || message === null)
|
|
47036
|
+
return "object expected";
|
|
47037
|
+
return null;
|
|
47038
|
+
};
|
|
47039
|
+
|
|
47040
|
+
return TaskDeleteResponse;
|
|
47041
|
+
})();
|
|
47042
|
+
|
|
44425
47043
|
service.UserInfoRequest = (function() {
|
|
44426
47044
|
|
|
44427
47045
|
/**
|
|
@@ -44528,6 +47146,7 @@
|
|
|
44528
47146
|
* @property {string|null} [familyName] UserInfoResponse familyName
|
|
44529
47147
|
* @property {string|null} [email] UserInfoResponse email
|
|
44530
47148
|
* @property {string|null} [picture] UserInfoResponse picture
|
|
47149
|
+
* @property {google.protobuf.IStruct|null} [additionalClaims] UserInfoResponse additionalClaims
|
|
44531
47150
|
*/
|
|
44532
47151
|
|
|
44533
47152
|
/**
|
|
@@ -44601,6 +47220,14 @@
|
|
|
44601
47220
|
*/
|
|
44602
47221
|
UserInfoResponse.prototype.picture = "";
|
|
44603
47222
|
|
|
47223
|
+
/**
|
|
47224
|
+
* UserInfoResponse additionalClaims.
|
|
47225
|
+
* @member {google.protobuf.IStruct|null|undefined} additionalClaims
|
|
47226
|
+
* @memberof flyteidl.service.UserInfoResponse
|
|
47227
|
+
* @instance
|
|
47228
|
+
*/
|
|
47229
|
+
UserInfoResponse.prototype.additionalClaims = null;
|
|
47230
|
+
|
|
44604
47231
|
/**
|
|
44605
47232
|
* Creates a new UserInfoResponse instance using the specified properties.
|
|
44606
47233
|
* @function create
|
|
@@ -44639,6 +47266,8 @@
|
|
|
44639
47266
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.email);
|
|
44640
47267
|
if (message.picture != null && message.hasOwnProperty("picture"))
|
|
44641
47268
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.picture);
|
|
47269
|
+
if (message.additionalClaims != null && message.hasOwnProperty("additionalClaims"))
|
|
47270
|
+
$root.google.protobuf.Struct.encode(message.additionalClaims, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
44642
47271
|
return writer;
|
|
44643
47272
|
};
|
|
44644
47273
|
|
|
@@ -44681,6 +47310,9 @@
|
|
|
44681
47310
|
case 7:
|
|
44682
47311
|
message.picture = reader.string();
|
|
44683
47312
|
break;
|
|
47313
|
+
case 8:
|
|
47314
|
+
message.additionalClaims = $root.google.protobuf.Struct.decode(reader, reader.uint32());
|
|
47315
|
+
break;
|
|
44684
47316
|
default:
|
|
44685
47317
|
reader.skipType(tag & 7);
|
|
44686
47318
|
break;
|
|
@@ -44721,6 +47353,11 @@
|
|
|
44721
47353
|
if (message.picture != null && message.hasOwnProperty("picture"))
|
|
44722
47354
|
if (!$util.isString(message.picture))
|
|
44723
47355
|
return "picture: string expected";
|
|
47356
|
+
if (message.additionalClaims != null && message.hasOwnProperty("additionalClaims")) {
|
|
47357
|
+
var error = $root.google.protobuf.Struct.verify(message.additionalClaims);
|
|
47358
|
+
if (error)
|
|
47359
|
+
return "additionalClaims." + error;
|
|
47360
|
+
}
|
|
44724
47361
|
return null;
|
|
44725
47362
|
};
|
|
44726
47363
|
|