diff --git a/flyteidl/clients/go/assets/admin.swagger.json b/flyteidl/clients/go/assets/admin.swagger.json index 7de9f2a697..acddf2fd52 100644 --- a/flyteidl/clients/go/assets/admin.swagger.json +++ b/flyteidl/clients/go/assets/admin.swagger.json @@ -7678,6 +7678,12 @@ }, "cache_serializable": { "type": "boolean" + }, + "labels": { + "$ref": "#/definitions/adminLabels" + }, + "annotations": { + "$ref": "#/definitions/adminAnnotations" } }, "description": "Defines extra information about the Node." @@ -8693,8 +8699,6 @@ "$ref": "#/definitions/coreTaskLog" }, "title": "log information for the external resource execution" -<<<<<<< HEAD -======= }, "workflow_node_metadata": { "$ref": "#/definitions/flyteidleventWorkflowNodeMetadata" @@ -8702,7 +8706,6 @@ "custom_info": { "type": "object", "title": "Extensible field for custom, plugin-specific info" ->>>>>>> 33bca79f0 (Send actor worker assignment in task events (#394)(#393)) } }, "description": "This message contains metadata about external resources produced or used by a specific task execution." diff --git a/flyteidl/gen/pb-es/flyteidl/core/workflow_pb.ts b/flyteidl/gen/pb-es/flyteidl/core/workflow_pb.ts index 04295d0a16..babe998e68 100644 --- a/flyteidl/gen/pb-es/flyteidl/core/workflow_pb.ts +++ b/flyteidl/gen/pb-es/flyteidl/core/workflow_pb.ts @@ -9,6 +9,7 @@ import { BooleanExpression } from "./condition_pb.js"; import { Error, LiteralType } from "./types_pb.js"; import { Identifier } from "./identifier_pb.js"; import { Binding, LiteralMap, RetryStrategy } from "./literals_pb.js"; +import { Annotations, Labels } from "../admin/common_pb.js"; import { QualityOfService } from "./execution_pb.js"; import { TypedInterface } from "./interface_pb.js"; import { ExtendedResources, Resources } from "./tasks_pb.js"; @@ -737,6 +738,16 @@ export class NodeMetadata extends Message { case: "cacheSerializable"; } | { case: undefined; value?: undefined } = { case: undefined }; + /** + * @generated from field: flyteidl.admin.Labels labels = 10; + */ + labels?: Labels; + + /** + * @generated from field: flyteidl.admin.Annotations annotations = 11; + */ + annotations?: Annotations; + constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); @@ -752,6 +763,8 @@ export class NodeMetadata extends Message { { no: 7, name: "cacheable", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "cacheable_value" }, { no: 8, name: "cache_version", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "cache_version_value" }, { no: 9, name: "cache_serializable", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "cache_serializable_value" }, + { no: 10, name: "labels", kind: "message", T: Labels }, + { no: 11, name: "annotations", kind: "message", T: Annotations }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): NodeMetadata { diff --git a/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.go b/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.go index 26392969fe..769847e1ee 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.go @@ -7,6 +7,7 @@ package core import ( + admin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" @@ -1012,6 +1013,8 @@ type NodeMetadata struct { // // *NodeMetadata_CacheSerializable CacheSerializableValue isNodeMetadata_CacheSerializableValue `protobuf_oneof:"cache_serializable_value"` + Labels *admin.Labels `protobuf:"bytes,10,opt,name=labels,proto3" json:"labels,omitempty"` + Annotations *admin.Annotations `protobuf:"bytes,11,opt,name=annotations,proto3" json:"annotations,omitempty"` } func (x *NodeMetadata) Reset() { @@ -1123,6 +1126,20 @@ func (x *NodeMetadata) GetCacheSerializable() bool { return false } +func (x *NodeMetadata) GetLabels() *admin.Labels { + if x != nil { + return x.Labels + } + return nil +} + +func (x *NodeMetadata) GetAnnotations() *admin.Annotations { + if x != nil { + return x.Annotations + } + return nil +} + type isNodeMetadata_InterruptibleValue interface { isNodeMetadata_InterruptibleValue() } @@ -1794,275 +1811,283 @@ var file_flyteidl_core_workflow_proto_rawDesc = []byte{ 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x65, - 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, - 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x07, - 0x49, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3e, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, - 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x65, - 0x61, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x63, 0x6f, - 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x09, 0x74, 0x68, 0x65, 0x6e, 0x5f, - 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, - 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, - 0x08, 0x74, 0x68, 0x65, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x0b, 0x49, 0x66, - 0x45, 0x6c, 0x73, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2a, 0x0a, 0x04, 0x63, 0x61, 0x73, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, - 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, - 0x04, 0x63, 0x61, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x6f, 0x74, - 0x68, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x09, 0x65, 0x6c, 0x73, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, - 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x08, 0x65, - 0x6c, 0x73, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, - 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x09, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, - 0x22, 0x41, 0x0a, 0x0a, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x33, - 0x0a, 0x07, 0x69, 0x66, 0x5f, 0x65, 0x6c, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x49, 0x66, 0x45, 0x6c, 0x73, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x06, 0x69, 0x66, 0x45, - 0x6c, 0x73, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, - 0x12, 0x3e, 0x0a, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, - 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, - 0x12, 0x3e, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, - 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x4f, 0x76, 0x65, 0x72, - 0x72, 0x69, 0x64, 0x65, 0x73, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, - 0x42, 0x0b, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xa6, 0x01, - 0x0a, 0x0c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x42, - 0x0a, 0x0e, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x66, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, + 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x07, 0x49, 0x66, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x3e, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x45, + 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x09, 0x74, 0x68, 0x65, 0x6e, 0x5f, 0x6e, 0x6f, 0x64, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x74, 0x68, + 0x65, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x0b, 0x49, 0x66, 0x45, 0x6c, 0x73, + 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2a, 0x0a, 0x04, 0x63, 0x61, 0x73, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x04, 0x63, 0x61, + 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x49, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x6f, 0x74, 0x68, 0x65, 0x72, + 0x12, 0x32, 0x0a, 0x09, 0x65, 0x6c, 0x73, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6c, 0x73, 0x65, + 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x42, 0x09, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22, 0x41, 0x0a, + 0x0a, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x69, + 0x66, 0x5f, 0x65, 0x6c, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x66, 0x45, + 0x6c, 0x73, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x06, 0x69, 0x66, 0x45, 0x6c, 0x73, 0x65, + 0x22, 0x97, 0x01, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x3e, 0x0a, + 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x48, 0x00, + 0x52, 0x0b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3e, 0x0a, + 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, + 0x65, 0x73, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x42, 0x0b, 0x0a, + 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xa6, 0x01, 0x0a, 0x0c, 0x57, + 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x6c, + 0x61, 0x75, 0x6e, 0x63, 0x68, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x48, 0x00, + 0x52, 0x0d, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x70, 0x6c, 0x61, 0x6e, 0x52, 0x65, 0x66, 0x12, + 0x45, 0x0a, 0x10, 0x73, 0x75, 0x62, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, + 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x75, 0x62, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x66, 0x42, 0x0b, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x22, 0x2f, 0x0a, 0x10, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, + 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x6c, 0x49, 0x64, 0x22, 0x90, 0x01, 0x0a, 0x0f, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x43, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x69, 0x67, + 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, + 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x12, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, + 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x47, 0x0a, 0x0e, 0x53, 0x6c, 0x65, 0x65, 0x70, + 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0xc5, 0x01, 0x0a, 0x08, 0x47, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x3b, 0x0a, + 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, + 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, + 0x00, 0x52, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, + 0x6c, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x6c, 0x65, 0x65, 0x70, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x05, 0x73, 0x6c, 0x65, 0x65, 0x70, 0x42, 0x0b, 0x0a, 0x09, 0x63, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb9, 0x04, 0x0a, 0x09, 0x41, 0x72, 0x72, + 0x61, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, + 0x22, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, + 0x69, 0x73, 0x6d, 0x12, 0x25, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, 0x6d, 0x69, + 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x6d, 0x69, + 0x6e, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x4d, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x5e, 0x0a, 0x1e, 0x69, 0x73, 0x5f, 0x6f, 0x72, + 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x62, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x1a, 0x69, 0x73, 0x4f, + 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x75, 0x62, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x3e, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, + 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, + 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x64, + 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x32, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x49, 0x4e, 0x49, + 0x4d, 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x46, + 0x55, 0x4c, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x01, 0x22, 0x3d, 0x0a, 0x08, 0x44, + 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x49, 0x4e, 0x47, 0x4c, + 0x45, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x1a, + 0x0a, 0x16, 0x49, 0x4e, 0x44, 0x49, 0x56, 0x49, 0x44, 0x55, 0x41, 0x4c, 0x5f, 0x49, 0x4e, 0x50, + 0x55, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x53, 0x10, 0x01, 0x42, 0x14, 0x0a, 0x12, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0x12, 0x0a, 0x10, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x72, 0x69, 0x74, + 0x65, 0x72, 0x69, 0x61, 0x22, 0xfb, 0x03, 0x0a, 0x0c, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, + 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x36, + 0x0a, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x07, 0x72, + 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, + 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, + 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x1e, + 0x0a, 0x09, 0x63, 0x61, 0x63, 0x68, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x08, 0x48, 0x01, 0x52, 0x09, 0x63, 0x61, 0x63, 0x68, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x25, + 0x0a, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0c, 0x63, 0x61, 0x63, 0x68, 0x65, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x12, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x73, + 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x08, 0x48, 0x03, 0x52, 0x11, 0x63, 0x61, 0x63, 0x68, 0x65, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, + 0x69, 0x7a, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x06, + 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3d, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x15, 0x0a, 0x13, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, + 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x11, 0x0a, 0x0f, + 0x63, 0x61, 0x63, 0x68, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, + 0x15, 0x0a, 0x13, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x1a, 0x0a, 0x18, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, + 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x22, 0x2f, 0x0a, 0x05, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x76, + 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x76, 0x61, 0x72, 0x12, 0x14, 0x0a, + 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6c, + 0x69, 0x61, 0x73, 0x22, 0x9f, 0x04, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, + 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2e, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x69, + 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0f, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, + 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x61, 0x6c, 0x69, 0x61, + 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, + 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x36, + 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x08, 0x74, 0x61, + 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x77, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x3c, 0x0a, 0x0b, 0x62, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x67, 0x61, 0x74, 0x65, + 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, + 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x61, 0x74, 0x65, + 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x08, 0x67, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x12, 0x39, 0x0a, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, + 0x52, 0x09, 0x61, 0x72, 0x72, 0x61, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xfc, 0x02, 0x0a, 0x10, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, + 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4d, 0x0a, 0x12, 0x71, 0x75, + 0x61, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x10, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, + 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4e, 0x0a, 0x0a, 0x6f, 0x6e, 0x5f, + 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, + 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, + 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4f, + 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x09, + 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x61, 0x67, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0x51, 0x0a, 0x0f, 0x4f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x49, 0x4d, 0x4d, + 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, 0x4c, 0x59, 0x10, 0x00, 0x12, 0x28, 0x0a, 0x24, 0x46, 0x41, + 0x49, 0x4c, 0x5f, 0x41, 0x46, 0x54, 0x45, 0x52, 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x41, + 0x42, 0x4c, 0x45, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x53, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, + 0x54, 0x45, 0x10, 0x01, 0x22, 0x40, 0x0a, 0x18, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, + 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, + 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x22, 0xa2, 0x03, 0x0a, 0x10, 0x57, 0x6f, 0x72, 0x6b, 0x66, + 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, + 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, + 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, + 0x12, 0x29, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x07, 0x6f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, + 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x69, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x36, 0x0a, + 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, + 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x54, 0x0a, 0x11, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x10, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x22, 0xc5, 0x01, 0x0a, 0x11, + 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, + 0x73, 0x12, 0x36, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x09, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x12, 0x65, 0x78, 0x74, + 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x11, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, + 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x22, 0xba, 0x01, 0x0a, 0x12, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x50, 0x6c, + 0x61, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x48, 0x00, 0x52, 0x0d, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x70, 0x6c, 0x61, 0x6e, 0x52, - 0x65, 0x66, 0x12, 0x45, 0x0a, 0x10, 0x73, 0x75, 0x62, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, - 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, - 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x75, 0x62, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x66, 0x42, 0x0b, 0x0a, 0x09, 0x72, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x2f, 0x0a, 0x10, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, - 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, - 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x22, 0x90, 0x01, 0x0a, 0x0f, 0x53, 0x69, 0x67, 0x6e, - 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x73, - 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, - 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x56, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x47, 0x0a, 0x0e, 0x53, 0x6c, - 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x08, - 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0xc5, 0x01, 0x0a, 0x08, 0x47, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, - 0x12, 0x3b, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, - 0x65, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x38, 0x0a, - 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, - 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x69, - 0x67, 0x6e, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, - 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x6c, 0x65, 0x65, 0x70, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, - 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x64, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x05, 0x73, 0x6c, 0x65, 0x65, 0x70, 0x42, 0x0b, - 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb9, 0x04, 0x0a, 0x09, - 0x41, 0x72, 0x72, 0x61, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x04, 0x6e, 0x6f, 0x64, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, - 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, - 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, - 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x12, 0x25, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x75, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, - 0x0c, 0x6d, 0x69, 0x6e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x2c, 0x0a, - 0x11, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x53, - 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x4d, 0x0a, 0x0e, 0x65, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, - 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x45, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0d, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x5e, 0x0a, 0x1e, 0x69, 0x73, - 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x62, 0x5f, 0x6e, 0x6f, - 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x1a, - 0x69, 0x73, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x75, 0x62, 0x4e, 0x6f, 0x64, - 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x3e, 0x0a, 0x09, 0x64, 0x61, - 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, - 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, - 0x72, 0x61, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, - 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x32, 0x0a, 0x0d, 0x45, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x4d, - 0x49, 0x4e, 0x49, 0x4d, 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x00, 0x12, 0x0e, - 0x0a, 0x0a, 0x46, 0x55, 0x4c, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x10, 0x01, 0x22, 0x3d, - 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x49, - 0x4e, 0x47, 0x4c, 0x45, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, - 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x49, 0x4e, 0x44, 0x49, 0x56, 0x49, 0x44, 0x55, 0x41, 0x4c, 0x5f, - 0x49, 0x4e, 0x50, 0x55, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x53, 0x10, 0x01, 0x42, 0x14, 0x0a, - 0x12, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x5f, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x12, 0x0a, 0x10, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, - 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x22, 0x8c, 0x03, 0x0a, 0x0c, 0x4e, 0x6f, 0x64, 0x65, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x07, - 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, - 0x74, 0x12, 0x36, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, - 0x72, 0x65, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, - 0x52, 0x07, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0d, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, - 0x48, 0x00, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, - 0x65, 0x12, 0x1e, 0x0a, 0x09, 0x63, 0x61, 0x63, 0x68, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x08, 0x48, 0x01, 0x52, 0x09, 0x63, 0x61, 0x63, 0x68, 0x65, 0x61, 0x62, 0x6c, - 0x65, 0x12, 0x25, 0x0a, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0c, 0x63, 0x61, 0x63, 0x68, - 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x12, 0x63, 0x61, 0x63, 0x68, - 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x08, 0x48, 0x03, 0x52, 0x11, 0x63, 0x61, 0x63, 0x68, 0x65, 0x53, 0x65, 0x72, - 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x15, 0x0a, 0x13, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x42, 0x11, 0x0a, 0x0f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x42, 0x15, 0x0a, 0x13, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x1a, 0x0a, 0x18, 0x63, 0x61, - 0x63, 0x68, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x61, 0x62, 0x6c, 0x65, - 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2f, 0x0a, 0x05, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, - 0x10, 0x0a, 0x03, 0x76, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x76, 0x61, - 0x72, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x22, 0x9f, 0x04, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x37, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, - 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2e, 0x0a, 0x06, 0x69, 0x6e, 0x70, - 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, - 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, - 0x67, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x75, 0x70, 0x73, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4e, 0x6f, - 0x64, 0x65, 0x49, 0x64, 0x73, 0x12, 0x3b, 0x0a, 0x0e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, - 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, - 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x6c, - 0x69, 0x61, 0x73, 0x52, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, - 0x65, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, - 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, - 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x77, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, - 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, - 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x3c, - 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, - 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, - 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x36, 0x0a, 0x09, - 0x67, 0x61, 0x74, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x47, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x08, 0x67, 0x61, 0x74, 0x65, - 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x6e, 0x6f, - 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, - 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4e, 0x6f, - 0x64, 0x65, 0x48, 0x00, 0x52, 0x09, 0x61, 0x72, 0x72, 0x61, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x42, - 0x08, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xfc, 0x02, 0x0a, 0x10, 0x57, 0x6f, - 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4d, - 0x0a, 0x12, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, 0x6c, 0x79, - 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6c, 0x69, - 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x10, 0x71, 0x75, 0x61, - 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4e, 0x0a, - 0x0a, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x2f, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, - 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x4f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x52, 0x09, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x3d, 0x0a, - 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x66, 0x6c, - 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x67, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x1a, 0x37, 0x0a, 0x09, - 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x51, 0x0a, 0x0f, 0x4f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, - 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x41, 0x49, 0x4c, - 0x5f, 0x49, 0x4d, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, 0x4c, 0x59, 0x10, 0x00, 0x12, 0x28, - 0x0a, 0x24, 0x46, 0x41, 0x49, 0x4c, 0x5f, 0x41, 0x46, 0x54, 0x45, 0x52, 0x5f, 0x45, 0x58, 0x45, - 0x43, 0x55, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x53, 0x5f, 0x43, 0x4f, - 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x01, 0x22, 0x40, 0x0a, 0x18, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x44, 0x65, 0x66, 0x61, - 0x75, 0x6c, 0x74, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, - 0x74, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x22, 0xa2, 0x03, 0x0a, 0x10, 0x57, - 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, - 0x29, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, - 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x08, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x66, - 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, - 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x66, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, - 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, - 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x66, 0x61, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, - 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, - 0x30, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x16, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, - 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x73, 0x12, 0x36, 0x0a, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x6e, 0x6f, 0x64, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, - 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0b, 0x66, 0x61, - 0x69, 0x6c, 0x75, 0x72, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x54, 0x0a, 0x11, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, - 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x10, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x22, - 0xc5, 0x01, 0x0a, 0x11, 0x54, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x4f, 0x76, 0x65, 0x72, - 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, - 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x4f, 0x0a, - 0x12, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x66, 0x6c, 0x79, 0x74, - 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, - 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x11, 0x65, 0x78, 0x74, - 0x65, 0x6e, 0x64, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x27, - 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, - 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x22, 0xba, 0x01, 0x0a, 0x12, 0x4c, 0x61, 0x75, 0x6e, - 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x29, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, - 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x09, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, - 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x79, 0x70, - 0x65, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0c, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, - 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, - 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, - 0x65, 0x72, 0x61, 0x6c, 0x4d, 0x61, 0x70, 0x52, 0x0b, 0x66, 0x69, 0x78, 0x65, 0x64, 0x49, 0x6e, - 0x70, 0x75, 0x74, 0x73, 0x42, 0xb3, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, - 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0d, 0x57, 0x6f, 0x72, 0x6b, - 0x66, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, - 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, - 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, - 0x64, 0x6c, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, - 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, - 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, - 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, - 0x65, 0x69, 0x64, 0x6c, 0x3a, 0x3a, 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x72, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, + 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, + 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x0c, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, + 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, + 0x4d, 0x61, 0x70, 0x52, 0x0b, 0x66, 0x69, 0x78, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, + 0x42, 0xb3, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, + 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 0x0d, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x6f, 0x72, 0x67, 0x2f, 0x66, 0x6c, 0x79, + 0x74, 0x65, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, + 0x70, 0x62, 0x2d, 0x67, 0x6f, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2f, 0x63, + 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x03, 0x46, 0x43, 0x58, 0xaa, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0d, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x19, 0x46, 0x6c, 0x79, 0x74, + 0x65, 0x69, 0x64, 0x6c, 0x5c, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x46, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, + 0x3a, 0x3a, 0x43, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2109,12 +2134,14 @@ var file_flyteidl_core_workflow_proto_goTypes = []interface{}{ (*durationpb.Duration)(nil), // 26: google.protobuf.Duration (*wrapperspb.BoolValue)(nil), // 27: google.protobuf.BoolValue (*RetryStrategy)(nil), // 28: flyteidl.core.RetryStrategy - (*Binding)(nil), // 29: flyteidl.core.Binding - (*QualityOfService)(nil), // 30: flyteidl.core.QualityOfService - (*TypedInterface)(nil), // 31: flyteidl.core.TypedInterface - (*Resources)(nil), // 32: flyteidl.core.Resources - (*ExtendedResources)(nil), // 33: flyteidl.core.ExtendedResources - (*LiteralMap)(nil), // 34: flyteidl.core.LiteralMap + (*admin.Labels)(nil), // 29: flyteidl.admin.Labels + (*admin.Annotations)(nil), // 30: flyteidl.admin.Annotations + (*Binding)(nil), // 31: flyteidl.core.Binding + (*QualityOfService)(nil), // 32: flyteidl.core.QualityOfService + (*TypedInterface)(nil), // 33: flyteidl.core.TypedInterface + (*Resources)(nil), // 34: flyteidl.core.Resources + (*ExtendedResources)(nil), // 35: flyteidl.core.ExtendedResources + (*LiteralMap)(nil), // 36: flyteidl.core.LiteralMap } var file_flyteidl_core_workflow_proto_depIdxs = []int32{ 22, // 0: flyteidl.core.IfBlock.condition:type_name -> flyteidl.core.BooleanExpression @@ -2139,34 +2166,36 @@ var file_flyteidl_core_workflow_proto_depIdxs = []int32{ 1, // 19: flyteidl.core.ArrayNode.data_mode:type_name -> flyteidl.core.ArrayNode.DataMode 26, // 20: flyteidl.core.NodeMetadata.timeout:type_name -> google.protobuf.Duration 28, // 21: flyteidl.core.NodeMetadata.retries:type_name -> flyteidl.core.RetryStrategy - 13, // 22: flyteidl.core.Node.metadata:type_name -> flyteidl.core.NodeMetadata - 29, // 23: flyteidl.core.Node.inputs:type_name -> flyteidl.core.Binding - 14, // 24: flyteidl.core.Node.output_aliases:type_name -> flyteidl.core.Alias - 6, // 25: flyteidl.core.Node.task_node:type_name -> flyteidl.core.TaskNode - 7, // 26: flyteidl.core.Node.workflow_node:type_name -> flyteidl.core.WorkflowNode - 5, // 27: flyteidl.core.Node.branch_node:type_name -> flyteidl.core.BranchNode - 11, // 28: flyteidl.core.Node.gate_node:type_name -> flyteidl.core.GateNode - 12, // 29: flyteidl.core.Node.array_node:type_name -> flyteidl.core.ArrayNode - 30, // 30: flyteidl.core.WorkflowMetadata.quality_of_service:type_name -> flyteidl.core.QualityOfService - 2, // 31: flyteidl.core.WorkflowMetadata.on_failure:type_name -> flyteidl.core.WorkflowMetadata.OnFailurePolicy - 21, // 32: flyteidl.core.WorkflowMetadata.tags:type_name -> flyteidl.core.WorkflowMetadata.TagsEntry - 24, // 33: flyteidl.core.WorkflowTemplate.id:type_name -> flyteidl.core.Identifier - 16, // 34: flyteidl.core.WorkflowTemplate.metadata:type_name -> flyteidl.core.WorkflowMetadata - 31, // 35: flyteidl.core.WorkflowTemplate.interface:type_name -> flyteidl.core.TypedInterface - 15, // 36: flyteidl.core.WorkflowTemplate.nodes:type_name -> flyteidl.core.Node - 29, // 37: flyteidl.core.WorkflowTemplate.outputs:type_name -> flyteidl.core.Binding - 15, // 38: flyteidl.core.WorkflowTemplate.failure_node:type_name -> flyteidl.core.Node - 17, // 39: flyteidl.core.WorkflowTemplate.metadata_defaults:type_name -> flyteidl.core.WorkflowMetadataDefaults - 32, // 40: flyteidl.core.TaskNodeOverrides.resources:type_name -> flyteidl.core.Resources - 33, // 41: flyteidl.core.TaskNodeOverrides.extended_resources:type_name -> flyteidl.core.ExtendedResources - 24, // 42: flyteidl.core.LaunchPlanTemplate.id:type_name -> flyteidl.core.Identifier - 31, // 43: flyteidl.core.LaunchPlanTemplate.interface:type_name -> flyteidl.core.TypedInterface - 34, // 44: flyteidl.core.LaunchPlanTemplate.fixed_inputs:type_name -> flyteidl.core.LiteralMap - 45, // [45:45] is the sub-list for method output_type - 45, // [45:45] is the sub-list for method input_type - 45, // [45:45] is the sub-list for extension type_name - 45, // [45:45] is the sub-list for extension extendee - 0, // [0:45] is the sub-list for field type_name + 29, // 22: flyteidl.core.NodeMetadata.labels:type_name -> flyteidl.admin.Labels + 30, // 23: flyteidl.core.NodeMetadata.annotations:type_name -> flyteidl.admin.Annotations + 13, // 24: flyteidl.core.Node.metadata:type_name -> flyteidl.core.NodeMetadata + 31, // 25: flyteidl.core.Node.inputs:type_name -> flyteidl.core.Binding + 14, // 26: flyteidl.core.Node.output_aliases:type_name -> flyteidl.core.Alias + 6, // 27: flyteidl.core.Node.task_node:type_name -> flyteidl.core.TaskNode + 7, // 28: flyteidl.core.Node.workflow_node:type_name -> flyteidl.core.WorkflowNode + 5, // 29: flyteidl.core.Node.branch_node:type_name -> flyteidl.core.BranchNode + 11, // 30: flyteidl.core.Node.gate_node:type_name -> flyteidl.core.GateNode + 12, // 31: flyteidl.core.Node.array_node:type_name -> flyteidl.core.ArrayNode + 32, // 32: flyteidl.core.WorkflowMetadata.quality_of_service:type_name -> flyteidl.core.QualityOfService + 2, // 33: flyteidl.core.WorkflowMetadata.on_failure:type_name -> flyteidl.core.WorkflowMetadata.OnFailurePolicy + 21, // 34: flyteidl.core.WorkflowMetadata.tags:type_name -> flyteidl.core.WorkflowMetadata.TagsEntry + 24, // 35: flyteidl.core.WorkflowTemplate.id:type_name -> flyteidl.core.Identifier + 16, // 36: flyteidl.core.WorkflowTemplate.metadata:type_name -> flyteidl.core.WorkflowMetadata + 33, // 37: flyteidl.core.WorkflowTemplate.interface:type_name -> flyteidl.core.TypedInterface + 15, // 38: flyteidl.core.WorkflowTemplate.nodes:type_name -> flyteidl.core.Node + 31, // 39: flyteidl.core.WorkflowTemplate.outputs:type_name -> flyteidl.core.Binding + 15, // 40: flyteidl.core.WorkflowTemplate.failure_node:type_name -> flyteidl.core.Node + 17, // 41: flyteidl.core.WorkflowTemplate.metadata_defaults:type_name -> flyteidl.core.WorkflowMetadataDefaults + 34, // 42: flyteidl.core.TaskNodeOverrides.resources:type_name -> flyteidl.core.Resources + 35, // 43: flyteidl.core.TaskNodeOverrides.extended_resources:type_name -> flyteidl.core.ExtendedResources + 24, // 44: flyteidl.core.LaunchPlanTemplate.id:type_name -> flyteidl.core.Identifier + 33, // 45: flyteidl.core.LaunchPlanTemplate.interface:type_name -> flyteidl.core.TypedInterface + 36, // 46: flyteidl.core.LaunchPlanTemplate.fixed_inputs:type_name -> flyteidl.core.LiteralMap + 47, // [47:47] is the sub-list for method output_type + 47, // [47:47] is the sub-list for method input_type + 47, // [47:47] is the sub-list for extension type_name + 47, // [47:47] is the sub-list for extension extendee + 0, // [0:47] is the sub-list for field type_name } func init() { file_flyteidl_core_workflow_proto_init() } diff --git a/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.swagger.json b/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.swagger.json index bb7df6af74..acddf2fd52 100644 --- a/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.swagger.json +++ b/flyteidl/gen/pb-go/gateway/flyteidl/service/admin.swagger.json @@ -7678,6 +7678,12 @@ }, "cache_serializable": { "type": "boolean" + }, + "labels": { + "$ref": "#/definitions/adminLabels" + }, + "annotations": { + "$ref": "#/definitions/adminAnnotations" } }, "description": "Defines extra information about the Node." diff --git a/flyteidl/gen/pb-js/flyteidl.d.ts b/flyteidl/gen/pb-js/flyteidl.d.ts index 1a5b3356c4..94f3678883 100644 --- a/flyteidl/gen/pb-js/flyteidl.d.ts +++ b/flyteidl/gen/pb-js/flyteidl.d.ts @@ -4707,6 +4707,12 @@ export namespace flyteidl { /** NodeMetadata cacheSerializable */ cacheSerializable?: (boolean|null); + + /** NodeMetadata labels */ + labels?: (flyteidl.admin.ILabels|null); + + /** NodeMetadata annotations */ + annotations?: (flyteidl.admin.IAnnotations|null); } /** Represents a NodeMetadata. */ @@ -4739,6 +4745,12 @@ export namespace flyteidl { /** NodeMetadata cacheSerializable. */ public cacheSerializable: boolean; + /** NodeMetadata labels. */ + public labels?: (flyteidl.admin.ILabels|null); + + /** NodeMetadata annotations. */ + public annotations?: (flyteidl.admin.IAnnotations|null); + /** NodeMetadata interruptibleValue. */ public interruptibleValue?: "interruptible"; @@ -8077,13594 +8089,13594 @@ export namespace flyteidl { } } - /** Namespace event. */ - namespace event { - - /** Properties of a CloudEventWorkflowExecution. */ - interface ICloudEventWorkflowExecution { - - /** CloudEventWorkflowExecution rawEvent */ - rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); - - /** CloudEventWorkflowExecution outputInterface */ - outputInterface?: (flyteidl.core.ITypedInterface|null); + /** Namespace admin. */ + namespace admin { - /** CloudEventWorkflowExecution artifactIds */ - artifactIds?: (flyteidl.core.IArtifactID[]|null); + /** Properties of a NamedEntityIdentifier. */ + interface INamedEntityIdentifier { - /** CloudEventWorkflowExecution referenceExecution */ - referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** NamedEntityIdentifier project */ + project?: (string|null); - /** CloudEventWorkflowExecution principal */ - principal?: (string|null); + /** NamedEntityIdentifier domain */ + domain?: (string|null); - /** CloudEventWorkflowExecution launchPlanId */ - launchPlanId?: (flyteidl.core.IIdentifier|null); + /** NamedEntityIdentifier name */ + name?: (string|null); - /** CloudEventWorkflowExecution labels */ - labels?: ({ [k: string]: string }|null); + /** NamedEntityIdentifier org */ + org?: (string|null); } - /** Represents a CloudEventWorkflowExecution. */ - class CloudEventWorkflowExecution implements ICloudEventWorkflowExecution { + /** Represents a NamedEntityIdentifier. */ + class NamedEntityIdentifier implements INamedEntityIdentifier { /** - * Constructs a new CloudEventWorkflowExecution. + * Constructs a new NamedEntityIdentifier. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.ICloudEventWorkflowExecution); - - /** CloudEventWorkflowExecution rawEvent. */ - public rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); - - /** CloudEventWorkflowExecution outputInterface. */ - public outputInterface?: (flyteidl.core.ITypedInterface|null); - - /** CloudEventWorkflowExecution artifactIds. */ - public artifactIds: flyteidl.core.IArtifactID[]; + constructor(properties?: flyteidl.admin.INamedEntityIdentifier); - /** CloudEventWorkflowExecution referenceExecution. */ - public referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** NamedEntityIdentifier project. */ + public project: string; - /** CloudEventWorkflowExecution principal. */ - public principal: string; + /** NamedEntityIdentifier domain. */ + public domain: string; - /** CloudEventWorkflowExecution launchPlanId. */ - public launchPlanId?: (flyteidl.core.IIdentifier|null); + /** NamedEntityIdentifier name. */ + public name: string; - /** CloudEventWorkflowExecution labels. */ - public labels: { [k: string]: string }; + /** NamedEntityIdentifier org. */ + public org: string; /** - * Creates a new CloudEventWorkflowExecution instance using the specified properties. + * Creates a new NamedEntityIdentifier instance using the specified properties. * @param [properties] Properties to set - * @returns CloudEventWorkflowExecution instance + * @returns NamedEntityIdentifier instance */ - public static create(properties?: flyteidl.event.ICloudEventWorkflowExecution): flyteidl.event.CloudEventWorkflowExecution; + public static create(properties?: flyteidl.admin.INamedEntityIdentifier): flyteidl.admin.NamedEntityIdentifier; /** - * Encodes the specified CloudEventWorkflowExecution message. Does not implicitly {@link flyteidl.event.CloudEventWorkflowExecution.verify|verify} messages. - * @param message CloudEventWorkflowExecution message or plain object to encode + * Encodes the specified NamedEntityIdentifier message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifier.verify|verify} messages. + * @param message NamedEntityIdentifier message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.ICloudEventWorkflowExecution, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CloudEventWorkflowExecution message from the specified reader or buffer. + * Decodes a NamedEntityIdentifier message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CloudEventWorkflowExecution + * @returns NamedEntityIdentifier * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventWorkflowExecution; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityIdentifier; /** - * Verifies a CloudEventWorkflowExecution message. + * Verifies a NamedEntityIdentifier message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a CloudEventNodeExecution. */ - interface ICloudEventNodeExecution { - - /** CloudEventNodeExecution rawEvent */ - rawEvent?: (flyteidl.event.INodeExecutionEvent|null); - - /** CloudEventNodeExecution taskExecId */ - taskExecId?: (flyteidl.core.ITaskExecutionIdentifier|null); - - /** CloudEventNodeExecution outputInterface */ - outputInterface?: (flyteidl.core.ITypedInterface|null); - - /** CloudEventNodeExecution artifactIds */ - artifactIds?: (flyteidl.core.IArtifactID[]|null); + /** NamedEntityState enum. */ + enum NamedEntityState { + NAMED_ENTITY_ACTIVE = 0, + NAMED_ENTITY_ARCHIVED = 1, + SYSTEM_GENERATED = 2 + } - /** CloudEventNodeExecution principal */ - principal?: (string|null); + /** Properties of a NamedEntityMetadata. */ + interface INamedEntityMetadata { - /** CloudEventNodeExecution launchPlanId */ - launchPlanId?: (flyteidl.core.IIdentifier|null); + /** NamedEntityMetadata description */ + description?: (string|null); - /** CloudEventNodeExecution labels */ - labels?: ({ [k: string]: string }|null); + /** NamedEntityMetadata state */ + state?: (flyteidl.admin.NamedEntityState|null); } - /** Represents a CloudEventNodeExecution. */ - class CloudEventNodeExecution implements ICloudEventNodeExecution { + /** Represents a NamedEntityMetadata. */ + class NamedEntityMetadata implements INamedEntityMetadata { /** - * Constructs a new CloudEventNodeExecution. + * Constructs a new NamedEntityMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.ICloudEventNodeExecution); - - /** CloudEventNodeExecution rawEvent. */ - public rawEvent?: (flyteidl.event.INodeExecutionEvent|null); - - /** CloudEventNodeExecution taskExecId. */ - public taskExecId?: (flyteidl.core.ITaskExecutionIdentifier|null); - - /** CloudEventNodeExecution outputInterface. */ - public outputInterface?: (flyteidl.core.ITypedInterface|null); - - /** CloudEventNodeExecution artifactIds. */ - public artifactIds: flyteidl.core.IArtifactID[]; - - /** CloudEventNodeExecution principal. */ - public principal: string; + constructor(properties?: flyteidl.admin.INamedEntityMetadata); - /** CloudEventNodeExecution launchPlanId. */ - public launchPlanId?: (flyteidl.core.IIdentifier|null); + /** NamedEntityMetadata description. */ + public description: string; - /** CloudEventNodeExecution labels. */ - public labels: { [k: string]: string }; + /** NamedEntityMetadata state. */ + public state: flyteidl.admin.NamedEntityState; /** - * Creates a new CloudEventNodeExecution instance using the specified properties. + * Creates a new NamedEntityMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns CloudEventNodeExecution instance + * @returns NamedEntityMetadata instance */ - public static create(properties?: flyteidl.event.ICloudEventNodeExecution): flyteidl.event.CloudEventNodeExecution; + public static create(properties?: flyteidl.admin.INamedEntityMetadata): flyteidl.admin.NamedEntityMetadata; /** - * Encodes the specified CloudEventNodeExecution message. Does not implicitly {@link flyteidl.event.CloudEventNodeExecution.verify|verify} messages. - * @param message CloudEventNodeExecution message or plain object to encode + * Encodes the specified NamedEntityMetadata message. Does not implicitly {@link flyteidl.admin.NamedEntityMetadata.verify|verify} messages. + * @param message NamedEntityMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.ICloudEventNodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CloudEventNodeExecution message from the specified reader or buffer. + * Decodes a NamedEntityMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CloudEventNodeExecution + * @returns NamedEntityMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventNodeExecution; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityMetadata; /** - * Verifies a CloudEventNodeExecution message. + * Verifies a NamedEntityMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a CloudEventTaskExecution. */ - interface ICloudEventTaskExecution { + /** Properties of a NamedEntity. */ + interface INamedEntity { - /** CloudEventTaskExecution rawEvent */ - rawEvent?: (flyteidl.event.ITaskExecutionEvent|null); + /** NamedEntity resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); - /** CloudEventTaskExecution labels */ - labels?: ({ [k: string]: string }|null); + /** NamedEntity id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** NamedEntity metadata */ + metadata?: (flyteidl.admin.INamedEntityMetadata|null); } - /** Represents a CloudEventTaskExecution. */ - class CloudEventTaskExecution implements ICloudEventTaskExecution { + /** Represents a NamedEntity. */ + class NamedEntity implements INamedEntity { /** - * Constructs a new CloudEventTaskExecution. + * Constructs a new NamedEntity. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.ICloudEventTaskExecution); + constructor(properties?: flyteidl.admin.INamedEntity); - /** CloudEventTaskExecution rawEvent. */ - public rawEvent?: (flyteidl.event.ITaskExecutionEvent|null); + /** NamedEntity resourceType. */ + public resourceType: flyteidl.core.ResourceType; - /** CloudEventTaskExecution labels. */ - public labels: { [k: string]: string }; + /** NamedEntity id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** NamedEntity metadata. */ + public metadata?: (flyteidl.admin.INamedEntityMetadata|null); /** - * Creates a new CloudEventTaskExecution instance using the specified properties. + * Creates a new NamedEntity instance using the specified properties. * @param [properties] Properties to set - * @returns CloudEventTaskExecution instance + * @returns NamedEntity instance */ - public static create(properties?: flyteidl.event.ICloudEventTaskExecution): flyteidl.event.CloudEventTaskExecution; + public static create(properties?: flyteidl.admin.INamedEntity): flyteidl.admin.NamedEntity; /** - * Encodes the specified CloudEventTaskExecution message. Does not implicitly {@link flyteidl.event.CloudEventTaskExecution.verify|verify} messages. - * @param message CloudEventTaskExecution message or plain object to encode + * Encodes the specified NamedEntity message. Does not implicitly {@link flyteidl.admin.NamedEntity.verify|verify} messages. + * @param message NamedEntity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.ICloudEventTaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntity, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CloudEventTaskExecution message from the specified reader or buffer. + * Decodes a NamedEntity message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CloudEventTaskExecution + * @returns NamedEntity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventTaskExecution; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntity; /** - * Verifies a CloudEventTaskExecution message. + * Verifies a NamedEntity message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a CloudEventExecutionStart. */ - interface ICloudEventExecutionStart { + /** Properties of a Sort. */ + interface ISort { - /** CloudEventExecutionStart executionId */ - executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** Sort key */ + key?: (string|null); - /** CloudEventExecutionStart launchPlanId */ - launchPlanId?: (flyteidl.core.IIdentifier|null); + /** Sort direction */ + direction?: (flyteidl.admin.Sort.Direction|null); + } - /** CloudEventExecutionStart workflowId */ - workflowId?: (flyteidl.core.IIdentifier|null); + /** Represents a Sort. */ + class Sort implements ISort { - /** CloudEventExecutionStart artifactIds */ - artifactIds?: (flyteidl.core.IArtifactID[]|null); + /** + * Constructs a new Sort. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISort); - /** CloudEventExecutionStart artifactTrackers */ - artifactTrackers?: (string[]|null); - - /** CloudEventExecutionStart principal */ - principal?: (string|null); - } - - /** Represents a CloudEventExecutionStart. */ - class CloudEventExecutionStart implements ICloudEventExecutionStart { - - /** - * Constructs a new CloudEventExecutionStart. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.event.ICloudEventExecutionStart); - - /** CloudEventExecutionStart executionId. */ - public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** CloudEventExecutionStart launchPlanId. */ - public launchPlanId?: (flyteidl.core.IIdentifier|null); - - /** CloudEventExecutionStart workflowId. */ - public workflowId?: (flyteidl.core.IIdentifier|null); - - /** CloudEventExecutionStart artifactIds. */ - public artifactIds: flyteidl.core.IArtifactID[]; - - /** CloudEventExecutionStart artifactTrackers. */ - public artifactTrackers: string[]; + /** Sort key. */ + public key: string; - /** CloudEventExecutionStart principal. */ - public principal: string; + /** Sort direction. */ + public direction: flyteidl.admin.Sort.Direction; /** - * Creates a new CloudEventExecutionStart instance using the specified properties. + * Creates a new Sort instance using the specified properties. * @param [properties] Properties to set - * @returns CloudEventExecutionStart instance + * @returns Sort instance */ - public static create(properties?: flyteidl.event.ICloudEventExecutionStart): flyteidl.event.CloudEventExecutionStart; + public static create(properties?: flyteidl.admin.ISort): flyteidl.admin.Sort; /** - * Encodes the specified CloudEventExecutionStart message. Does not implicitly {@link flyteidl.event.CloudEventExecutionStart.verify|verify} messages. - * @param message CloudEventExecutionStart message or plain object to encode + * Encodes the specified Sort message. Does not implicitly {@link flyteidl.admin.Sort.verify|verify} messages. + * @param message Sort message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.ICloudEventExecutionStart, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISort, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CloudEventExecutionStart message from the specified reader or buffer. + * Decodes a Sort message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CloudEventExecutionStart + * @returns Sort * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventExecutionStart; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Sort; /** - * Verifies a CloudEventExecutionStart message. + * Verifies a Sort message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowExecutionEvent. */ - interface IWorkflowExecutionEvent { + namespace Sort { - /** WorkflowExecutionEvent executionId */ - executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** Direction enum. */ + enum Direction { + DESCENDING = 0, + ASCENDING = 1 + } + } - /** WorkflowExecutionEvent producerId */ - producerId?: (string|null); + /** Properties of a NamedEntityIdentifierListRequest. */ + interface INamedEntityIdentifierListRequest { - /** WorkflowExecutionEvent phase */ - phase?: (flyteidl.core.WorkflowExecution.Phase|null); + /** NamedEntityIdentifierListRequest project */ + project?: (string|null); - /** WorkflowExecutionEvent occurredAt */ - occurredAt?: (google.protobuf.ITimestamp|null); + /** NamedEntityIdentifierListRequest domain */ + domain?: (string|null); - /** WorkflowExecutionEvent outputUri */ - outputUri?: (string|null); + /** NamedEntityIdentifierListRequest limit */ + limit?: (number|null); - /** WorkflowExecutionEvent error */ - error?: (flyteidl.core.IExecutionError|null); + /** NamedEntityIdentifierListRequest token */ + token?: (string|null); - /** WorkflowExecutionEvent outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); + /** NamedEntityIdentifierListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + + /** NamedEntityIdentifierListRequest filters */ + filters?: (string|null); + + /** NamedEntityIdentifierListRequest org */ + org?: (string|null); } - /** Represents a WorkflowExecutionEvent. */ - class WorkflowExecutionEvent implements IWorkflowExecutionEvent { + /** Represents a NamedEntityIdentifierListRequest. */ + class NamedEntityIdentifierListRequest implements INamedEntityIdentifierListRequest { /** - * Constructs a new WorkflowExecutionEvent. + * Constructs a new NamedEntityIdentifierListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IWorkflowExecutionEvent); - - /** WorkflowExecutionEvent executionId. */ - public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + constructor(properties?: flyteidl.admin.INamedEntityIdentifierListRequest); - /** WorkflowExecutionEvent producerId. */ - public producerId: string; + /** NamedEntityIdentifierListRequest project. */ + public project: string; - /** WorkflowExecutionEvent phase. */ - public phase: flyteidl.core.WorkflowExecution.Phase; + /** NamedEntityIdentifierListRequest domain. */ + public domain: string; - /** WorkflowExecutionEvent occurredAt. */ - public occurredAt?: (google.protobuf.ITimestamp|null); + /** NamedEntityIdentifierListRequest limit. */ + public limit: number; - /** WorkflowExecutionEvent outputUri. */ - public outputUri: string; + /** NamedEntityIdentifierListRequest token. */ + public token: string; - /** WorkflowExecutionEvent error. */ - public error?: (flyteidl.core.IExecutionError|null); + /** NamedEntityIdentifierListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); - /** WorkflowExecutionEvent outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); + /** NamedEntityIdentifierListRequest filters. */ + public filters: string; - /** WorkflowExecutionEvent outputResult. */ - public outputResult?: ("outputUri"|"error"|"outputData"); + /** NamedEntityIdentifierListRequest org. */ + public org: string; /** - * Creates a new WorkflowExecutionEvent instance using the specified properties. + * Creates a new NamedEntityIdentifierListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionEvent instance + * @returns NamedEntityIdentifierListRequest instance */ - public static create(properties?: flyteidl.event.IWorkflowExecutionEvent): flyteidl.event.WorkflowExecutionEvent; + public static create(properties?: flyteidl.admin.INamedEntityIdentifierListRequest): flyteidl.admin.NamedEntityIdentifierListRequest; /** - * Encodes the specified WorkflowExecutionEvent message. Does not implicitly {@link flyteidl.event.WorkflowExecutionEvent.verify|verify} messages. - * @param message WorkflowExecutionEvent message or plain object to encode + * Encodes the specified NamedEntityIdentifierListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierListRequest.verify|verify} messages. + * @param message NamedEntityIdentifierListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.IWorkflowExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityIdentifierListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionEvent message from the specified reader or buffer. + * Decodes a NamedEntityIdentifierListRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowExecutionEvent + * @returns NamedEntityIdentifierListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.WorkflowExecutionEvent; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityIdentifierListRequest; /** - * Verifies a WorkflowExecutionEvent message. + * Verifies a NamedEntityIdentifierListRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NodeExecutionEvent. */ - interface INodeExecutionEvent { - - /** NodeExecutionEvent id */ - id?: (flyteidl.core.INodeExecutionIdentifier|null); + /** Properties of a NamedEntityListRequest. */ + interface INamedEntityListRequest { - /** NodeExecutionEvent producerId */ - producerId?: (string|null); + /** NamedEntityListRequest resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); - /** NodeExecutionEvent phase */ - phase?: (flyteidl.core.NodeExecution.Phase|null); + /** NamedEntityListRequest project */ + project?: (string|null); - /** NodeExecutionEvent occurredAt */ - occurredAt?: (google.protobuf.ITimestamp|null); + /** NamedEntityListRequest domain */ + domain?: (string|null); - /** NodeExecutionEvent inputUri */ - inputUri?: (string|null); + /** NamedEntityListRequest limit */ + limit?: (number|null); - /** NodeExecutionEvent inputData */ - inputData?: (flyteidl.core.ILiteralMap|null); + /** NamedEntityListRequest token */ + token?: (string|null); - /** NodeExecutionEvent outputUri */ - outputUri?: (string|null); + /** NamedEntityListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); - /** NodeExecutionEvent error */ - error?: (flyteidl.core.IExecutionError|null); + /** NamedEntityListRequest filters */ + filters?: (string|null); - /** NodeExecutionEvent outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); + /** NamedEntityListRequest org */ + org?: (string|null); + } - /** NodeExecutionEvent workflowNodeMetadata */ - workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); + /** Represents a NamedEntityListRequest. */ + class NamedEntityListRequest implements INamedEntityListRequest { - /** NodeExecutionEvent taskNodeMetadata */ - taskNodeMetadata?: (flyteidl.event.ITaskNodeMetadata|null); + /** + * Constructs a new NamedEntityListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INamedEntityListRequest); - /** NodeExecutionEvent parentTaskMetadata */ - parentTaskMetadata?: (flyteidl.event.IParentTaskExecutionMetadata|null); + /** NamedEntityListRequest resourceType. */ + public resourceType: flyteidl.core.ResourceType; - /** NodeExecutionEvent parentNodeMetadata */ - parentNodeMetadata?: (flyteidl.event.IParentNodeExecutionMetadata|null); + /** NamedEntityListRequest project. */ + public project: string; - /** NodeExecutionEvent retryGroup */ - retryGroup?: (string|null); + /** NamedEntityListRequest domain. */ + public domain: string; - /** NodeExecutionEvent specNodeId */ - specNodeId?: (string|null); + /** NamedEntityListRequest limit. */ + public limit: number; - /** NodeExecutionEvent nodeName */ - nodeName?: (string|null); + /** NamedEntityListRequest token. */ + public token: string; - /** NodeExecutionEvent eventVersion */ - eventVersion?: (number|null); + /** NamedEntityListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); - /** NodeExecutionEvent isParent */ - isParent?: (boolean|null); + /** NamedEntityListRequest filters. */ + public filters: string; - /** NodeExecutionEvent isDynamic */ - isDynamic?: (boolean|null); + /** NamedEntityListRequest org. */ + public org: string; - /** NodeExecutionEvent deckUri */ - deckUri?: (string|null); + /** + * Creates a new NamedEntityListRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns NamedEntityListRequest instance + */ + public static create(properties?: flyteidl.admin.INamedEntityListRequest): flyteidl.admin.NamedEntityListRequest; - /** NodeExecutionEvent reportedAt */ - reportedAt?: (google.protobuf.ITimestamp|null); + /** + * Encodes the specified NamedEntityListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityListRequest.verify|verify} messages. + * @param message NamedEntityListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INamedEntityListRequest, writer?: $protobuf.Writer): $protobuf.Writer; - /** NodeExecutionEvent isArray */ - isArray?: (boolean|null); + /** + * Decodes a NamedEntityListRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NamedEntityListRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityListRequest; - /** NodeExecutionEvent targetEntity */ - targetEntity?: (flyteidl.core.IIdentifier|null); + /** + * Verifies a NamedEntityListRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } - /** NodeExecutionEvent isInDynamicChain */ - isInDynamicChain?: (boolean|null); + /** Properties of a NamedEntityIdentifierList. */ + interface INamedEntityIdentifierList { - /** NodeExecutionEvent isEager */ - isEager?: (boolean|null); + /** NamedEntityIdentifierList entities */ + entities?: (flyteidl.admin.INamedEntityIdentifier[]|null); + + /** NamedEntityIdentifierList token */ + token?: (string|null); } - /** Represents a NodeExecutionEvent. */ - class NodeExecutionEvent implements INodeExecutionEvent { + /** Represents a NamedEntityIdentifierList. */ + class NamedEntityIdentifierList implements INamedEntityIdentifierList { /** - * Constructs a new NodeExecutionEvent. + * Constructs a new NamedEntityIdentifierList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.INodeExecutionEvent); - - /** NodeExecutionEvent id. */ - public id?: (flyteidl.core.INodeExecutionIdentifier|null); - - /** NodeExecutionEvent producerId. */ - public producerId: string; - - /** NodeExecutionEvent phase. */ - public phase: flyteidl.core.NodeExecution.Phase; - - /** NodeExecutionEvent occurredAt. */ - public occurredAt?: (google.protobuf.ITimestamp|null); - - /** NodeExecutionEvent inputUri. */ - public inputUri: string; - - /** NodeExecutionEvent inputData. */ - public inputData?: (flyteidl.core.ILiteralMap|null); - - /** NodeExecutionEvent outputUri. */ - public outputUri: string; - - /** NodeExecutionEvent error. */ - public error?: (flyteidl.core.IExecutionError|null); - - /** NodeExecutionEvent outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); - - /** NodeExecutionEvent workflowNodeMetadata. */ - public workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); - - /** NodeExecutionEvent taskNodeMetadata. */ - public taskNodeMetadata?: (flyteidl.event.ITaskNodeMetadata|null); - - /** NodeExecutionEvent parentTaskMetadata. */ - public parentTaskMetadata?: (flyteidl.event.IParentTaskExecutionMetadata|null); - - /** NodeExecutionEvent parentNodeMetadata. */ - public parentNodeMetadata?: (flyteidl.event.IParentNodeExecutionMetadata|null); - - /** NodeExecutionEvent retryGroup. */ - public retryGroup: string; - - /** NodeExecutionEvent specNodeId. */ - public specNodeId: string; - - /** NodeExecutionEvent nodeName. */ - public nodeName: string; - - /** NodeExecutionEvent eventVersion. */ - public eventVersion: number; - - /** NodeExecutionEvent isParent. */ - public isParent: boolean; - - /** NodeExecutionEvent isDynamic. */ - public isDynamic: boolean; - - /** NodeExecutionEvent deckUri. */ - public deckUri: string; - - /** NodeExecutionEvent reportedAt. */ - public reportedAt?: (google.protobuf.ITimestamp|null); - - /** NodeExecutionEvent isArray. */ - public isArray: boolean; - - /** NodeExecutionEvent targetEntity. */ - public targetEntity?: (flyteidl.core.IIdentifier|null); - - /** NodeExecutionEvent isInDynamicChain. */ - public isInDynamicChain: boolean; - - /** NodeExecutionEvent isEager. */ - public isEager: boolean; - - /** NodeExecutionEvent inputValue. */ - public inputValue?: ("inputUri"|"inputData"); + constructor(properties?: flyteidl.admin.INamedEntityIdentifierList); - /** NodeExecutionEvent outputResult. */ - public outputResult?: ("outputUri"|"error"|"outputData"); + /** NamedEntityIdentifierList entities. */ + public entities: flyteidl.admin.INamedEntityIdentifier[]; - /** NodeExecutionEvent targetMetadata. */ - public targetMetadata?: ("workflowNodeMetadata"|"taskNodeMetadata"); + /** NamedEntityIdentifierList token. */ + public token: string; /** - * Creates a new NodeExecutionEvent instance using the specified properties. + * Creates a new NamedEntityIdentifierList instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionEvent instance + * @returns NamedEntityIdentifierList instance */ - public static create(properties?: flyteidl.event.INodeExecutionEvent): flyteidl.event.NodeExecutionEvent; + public static create(properties?: flyteidl.admin.INamedEntityIdentifierList): flyteidl.admin.NamedEntityIdentifierList; /** - * Encodes the specified NodeExecutionEvent message. Does not implicitly {@link flyteidl.event.NodeExecutionEvent.verify|verify} messages. - * @param message NodeExecutionEvent message or plain object to encode + * Encodes the specified NamedEntityIdentifierList message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierList.verify|verify} messages. + * @param message NamedEntityIdentifierList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.INodeExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityIdentifierList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionEvent message from the specified reader or buffer. + * Decodes a NamedEntityIdentifierList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeExecutionEvent + * @returns NamedEntityIdentifierList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.NodeExecutionEvent; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityIdentifierList; /** - * Verifies a NodeExecutionEvent message. + * Verifies a NamedEntityIdentifierList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowNodeMetadata. */ - interface IWorkflowNodeMetadata { + /** Properties of a NamedEntityList. */ + interface INamedEntityList { - /** WorkflowNodeMetadata executionId */ - executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** NamedEntityList entities */ + entities?: (flyteidl.admin.INamedEntity[]|null); + + /** NamedEntityList token */ + token?: (string|null); } - /** Represents a WorkflowNodeMetadata. */ - class WorkflowNodeMetadata implements IWorkflowNodeMetadata { + /** Represents a NamedEntityList. */ + class NamedEntityList implements INamedEntityList { /** - * Constructs a new WorkflowNodeMetadata. + * Constructs a new NamedEntityList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IWorkflowNodeMetadata); + constructor(properties?: flyteidl.admin.INamedEntityList); - /** WorkflowNodeMetadata executionId. */ - public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** NamedEntityList entities. */ + public entities: flyteidl.admin.INamedEntity[]; + + /** NamedEntityList token. */ + public token: string; /** - * Creates a new WorkflowNodeMetadata instance using the specified properties. + * Creates a new NamedEntityList instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowNodeMetadata instance + * @returns NamedEntityList instance */ - public static create(properties?: flyteidl.event.IWorkflowNodeMetadata): flyteidl.event.WorkflowNodeMetadata; + public static create(properties?: flyteidl.admin.INamedEntityList): flyteidl.admin.NamedEntityList; /** - * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.WorkflowNodeMetadata.verify|verify} messages. - * @param message WorkflowNodeMetadata message or plain object to encode + * Encodes the specified NamedEntityList message. Does not implicitly {@link flyteidl.admin.NamedEntityList.verify|verify} messages. + * @param message NamedEntityList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.IWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a NamedEntityList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowNodeMetadata + * @returns NamedEntityList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.WorkflowNodeMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityList; /** - * Verifies a WorkflowNodeMetadata message. + * Verifies a NamedEntityList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskNodeMetadata. */ - interface ITaskNodeMetadata { - - /** TaskNodeMetadata cacheStatus */ - cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); - - /** TaskNodeMetadata catalogKey */ - catalogKey?: (flyteidl.core.ICatalogMetadata|null); - - /** TaskNodeMetadata reservationStatus */ - reservationStatus?: (flyteidl.core.CatalogReservation.Status|null); + /** Properties of a NamedEntityGetRequest. */ + interface INamedEntityGetRequest { - /** TaskNodeMetadata checkpointUri */ - checkpointUri?: (string|null); + /** NamedEntityGetRequest resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); - /** TaskNodeMetadata dynamicWorkflow */ - dynamicWorkflow?: (flyteidl.event.IDynamicWorkflowNodeMetadata|null); + /** NamedEntityGetRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); } - /** Represents a TaskNodeMetadata. */ - class TaskNodeMetadata implements ITaskNodeMetadata { + /** Represents a NamedEntityGetRequest. */ + class NamedEntityGetRequest implements INamedEntityGetRequest { /** - * Constructs a new TaskNodeMetadata. + * Constructs a new NamedEntityGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.ITaskNodeMetadata); - - /** TaskNodeMetadata cacheStatus. */ - public cacheStatus: flyteidl.core.CatalogCacheStatus; - - /** TaskNodeMetadata catalogKey. */ - public catalogKey?: (flyteidl.core.ICatalogMetadata|null); - - /** TaskNodeMetadata reservationStatus. */ - public reservationStatus: flyteidl.core.CatalogReservation.Status; + constructor(properties?: flyteidl.admin.INamedEntityGetRequest); - /** TaskNodeMetadata checkpointUri. */ - public checkpointUri: string; + /** NamedEntityGetRequest resourceType. */ + public resourceType: flyteidl.core.ResourceType; - /** TaskNodeMetadata dynamicWorkflow. */ - public dynamicWorkflow?: (flyteidl.event.IDynamicWorkflowNodeMetadata|null); + /** NamedEntityGetRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); /** - * Creates a new TaskNodeMetadata instance using the specified properties. + * Creates a new NamedEntityGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns TaskNodeMetadata instance + * @returns NamedEntityGetRequest instance */ - public static create(properties?: flyteidl.event.ITaskNodeMetadata): flyteidl.event.TaskNodeMetadata; + public static create(properties?: flyteidl.admin.INamedEntityGetRequest): flyteidl.admin.NamedEntityGetRequest; /** - * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.event.TaskNodeMetadata.verify|verify} messages. - * @param message TaskNodeMetadata message or plain object to encode + * Encodes the specified NamedEntityGetRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityGetRequest.verify|verify} messages. + * @param message NamedEntityGetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.ITaskNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskNodeMetadata message from the specified reader or buffer. + * Decodes a NamedEntityGetRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskNodeMetadata + * @returns NamedEntityGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.TaskNodeMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityGetRequest; /** - * Verifies a TaskNodeMetadata message. + * Verifies a NamedEntityGetRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a DynamicWorkflowNodeMetadata. */ - interface IDynamicWorkflowNodeMetadata { + /** Properties of a NamedEntityUpdateRequest. */ + interface INamedEntityUpdateRequest { - /** DynamicWorkflowNodeMetadata id */ - id?: (flyteidl.core.IIdentifier|null); + /** NamedEntityUpdateRequest resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); - /** DynamicWorkflowNodeMetadata compiledWorkflow */ - compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** NamedEntityUpdateRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); - /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */ - dynamicJobSpecUri?: (string|null); + /** NamedEntityUpdateRequest metadata */ + metadata?: (flyteidl.admin.INamedEntityMetadata|null); } - /** Represents a DynamicWorkflowNodeMetadata. */ - class DynamicWorkflowNodeMetadata implements IDynamicWorkflowNodeMetadata { + /** Represents a NamedEntityUpdateRequest. */ + class NamedEntityUpdateRequest implements INamedEntityUpdateRequest { /** - * Constructs a new DynamicWorkflowNodeMetadata. + * Constructs a new NamedEntityUpdateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IDynamicWorkflowNodeMetadata); + constructor(properties?: flyteidl.admin.INamedEntityUpdateRequest); - /** DynamicWorkflowNodeMetadata id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** NamedEntityUpdateRequest resourceType. */ + public resourceType: flyteidl.core.ResourceType; - /** DynamicWorkflowNodeMetadata compiledWorkflow. */ - public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** NamedEntityUpdateRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); - /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */ - public dynamicJobSpecUri: string; + /** NamedEntityUpdateRequest metadata. */ + public metadata?: (flyteidl.admin.INamedEntityMetadata|null); /** - * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. + * Creates a new NamedEntityUpdateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns DynamicWorkflowNodeMetadata instance + * @returns NamedEntityUpdateRequest instance */ - public static create(properties?: flyteidl.event.IDynamicWorkflowNodeMetadata): flyteidl.event.DynamicWorkflowNodeMetadata; + public static create(properties?: flyteidl.admin.INamedEntityUpdateRequest): flyteidl.admin.NamedEntityUpdateRequest; /** - * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.DynamicWorkflowNodeMetadata.verify|verify} messages. - * @param message DynamicWorkflowNodeMetadata message or plain object to encode + * Encodes the specified NamedEntityUpdateRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateRequest.verify|verify} messages. + * @param message NamedEntityUpdateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.IDynamicWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a NamedEntityUpdateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DynamicWorkflowNodeMetadata + * @returns NamedEntityUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.DynamicWorkflowNodeMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityUpdateRequest; /** - * Verifies a DynamicWorkflowNodeMetadata message. + * Verifies a NamedEntityUpdateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ParentTaskExecutionMetadata. */ - interface IParentTaskExecutionMetadata { - - /** ParentTaskExecutionMetadata id */ - id?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** Properties of a NamedEntityUpdateResponse. */ + interface INamedEntityUpdateResponse { } - /** Represents a ParentTaskExecutionMetadata. */ - class ParentTaskExecutionMetadata implements IParentTaskExecutionMetadata { + /** Represents a NamedEntityUpdateResponse. */ + class NamedEntityUpdateResponse implements INamedEntityUpdateResponse { /** - * Constructs a new ParentTaskExecutionMetadata. + * Constructs a new NamedEntityUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IParentTaskExecutionMetadata); - - /** ParentTaskExecutionMetadata id. */ - public id?: (flyteidl.core.ITaskExecutionIdentifier|null); + constructor(properties?: flyteidl.admin.INamedEntityUpdateResponse); /** - * Creates a new ParentTaskExecutionMetadata instance using the specified properties. + * Creates a new NamedEntityUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ParentTaskExecutionMetadata instance + * @returns NamedEntityUpdateResponse instance */ - public static create(properties?: flyteidl.event.IParentTaskExecutionMetadata): flyteidl.event.ParentTaskExecutionMetadata; + public static create(properties?: flyteidl.admin.INamedEntityUpdateResponse): flyteidl.admin.NamedEntityUpdateResponse; /** - * Encodes the specified ParentTaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentTaskExecutionMetadata.verify|verify} messages. - * @param message ParentTaskExecutionMetadata message or plain object to encode + * Encodes the specified NamedEntityUpdateResponse message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateResponse.verify|verify} messages. + * @param message NamedEntityUpdateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.IParentTaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INamedEntityUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ParentTaskExecutionMetadata message from the specified reader or buffer. + * Decodes a NamedEntityUpdateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ParentTaskExecutionMetadata + * @returns NamedEntityUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.ParentTaskExecutionMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityUpdateResponse; /** - * Verifies a ParentTaskExecutionMetadata message. + * Verifies a NamedEntityUpdateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ParentNodeExecutionMetadata. */ - interface IParentNodeExecutionMetadata { + /** Properties of an ObjectGetRequest. */ + interface IObjectGetRequest { - /** ParentNodeExecutionMetadata nodeId */ - nodeId?: (string|null); + /** ObjectGetRequest id */ + id?: (flyteidl.core.IIdentifier|null); } - /** Represents a ParentNodeExecutionMetadata. */ - class ParentNodeExecutionMetadata implements IParentNodeExecutionMetadata { + /** Represents an ObjectGetRequest. */ + class ObjectGetRequest implements IObjectGetRequest { /** - * Constructs a new ParentNodeExecutionMetadata. + * Constructs a new ObjectGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IParentNodeExecutionMetadata); + constructor(properties?: flyteidl.admin.IObjectGetRequest); - /** ParentNodeExecutionMetadata nodeId. */ - public nodeId: string; + /** ObjectGetRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); /** - * Creates a new ParentNodeExecutionMetadata instance using the specified properties. + * Creates a new ObjectGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ParentNodeExecutionMetadata instance + * @returns ObjectGetRequest instance */ - public static create(properties?: flyteidl.event.IParentNodeExecutionMetadata): flyteidl.event.ParentNodeExecutionMetadata; + public static create(properties?: flyteidl.admin.IObjectGetRequest): flyteidl.admin.ObjectGetRequest; /** - * Encodes the specified ParentNodeExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentNodeExecutionMetadata.verify|verify} messages. - * @param message ParentNodeExecutionMetadata message or plain object to encode + * Encodes the specified ObjectGetRequest message. Does not implicitly {@link flyteidl.admin.ObjectGetRequest.verify|verify} messages. + * @param message ObjectGetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.IParentNodeExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IObjectGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ParentNodeExecutionMetadata message from the specified reader or buffer. + * Decodes an ObjectGetRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ParentNodeExecutionMetadata + * @returns ObjectGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.ParentNodeExecutionMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ObjectGetRequest; /** - * Verifies a ParentNodeExecutionMetadata message. + * Verifies an ObjectGetRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an EventReason. */ - interface IEventReason { + /** Properties of a ResourceListRequest. */ + interface IResourceListRequest { - /** EventReason reason */ - reason?: (string|null); + /** ResourceListRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); - /** EventReason occurredAt */ - occurredAt?: (google.protobuf.ITimestamp|null); + /** ResourceListRequest limit */ + limit?: (number|null); + + /** ResourceListRequest token */ + token?: (string|null); + + /** ResourceListRequest filters */ + filters?: (string|null); + + /** ResourceListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); } - /** Represents an EventReason. */ - class EventReason implements IEventReason { + /** Represents a ResourceListRequest. */ + class ResourceListRequest implements IResourceListRequest { /** - * Constructs a new EventReason. + * Constructs a new ResourceListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IEventReason); + constructor(properties?: flyteidl.admin.IResourceListRequest); - /** EventReason reason. */ - public reason: string; + /** ResourceListRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); - /** EventReason occurredAt. */ - public occurredAt?: (google.protobuf.ITimestamp|null); + /** ResourceListRequest limit. */ + public limit: number; + + /** ResourceListRequest token. */ + public token: string; + + /** ResourceListRequest filters. */ + public filters: string; + + /** ResourceListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); /** - * Creates a new EventReason instance using the specified properties. + * Creates a new ResourceListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns EventReason instance + * @returns ResourceListRequest instance */ - public static create(properties?: flyteidl.event.IEventReason): flyteidl.event.EventReason; + public static create(properties?: flyteidl.admin.IResourceListRequest): flyteidl.admin.ResourceListRequest; /** - * Encodes the specified EventReason message. Does not implicitly {@link flyteidl.event.EventReason.verify|verify} messages. - * @param message EventReason message or plain object to encode + * Encodes the specified ResourceListRequest message. Does not implicitly {@link flyteidl.admin.ResourceListRequest.verify|verify} messages. + * @param message ResourceListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.IEventReason, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IResourceListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an EventReason message from the specified reader or buffer. + * Decodes a ResourceListRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns EventReason + * @returns ResourceListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.EventReason; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ResourceListRequest; /** - * Verifies an EventReason message. + * Verifies a ResourceListRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskExecutionEvent. */ - interface ITaskExecutionEvent { - - /** TaskExecutionEvent taskId */ - taskId?: (flyteidl.core.IIdentifier|null); + /** Properties of an EmailNotification. */ + interface IEmailNotification { - /** TaskExecutionEvent parentNodeExecutionId */ - parentNodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + /** EmailNotification recipientsEmail */ + recipientsEmail?: (string[]|null); + } - /** TaskExecutionEvent retryAttempt */ - retryAttempt?: (number|null); + /** Represents an EmailNotification. */ + class EmailNotification implements IEmailNotification { - /** TaskExecutionEvent phase */ - phase?: (flyteidl.core.TaskExecution.Phase|null); + /** + * Constructs a new EmailNotification. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IEmailNotification); - /** TaskExecutionEvent producerId */ - producerId?: (string|null); + /** EmailNotification recipientsEmail. */ + public recipientsEmail: string[]; - /** TaskExecutionEvent logs */ - logs?: (flyteidl.core.ITaskLog[]|null); + /** + * Creates a new EmailNotification instance using the specified properties. + * @param [properties] Properties to set + * @returns EmailNotification instance + */ + public static create(properties?: flyteidl.admin.IEmailNotification): flyteidl.admin.EmailNotification; - /** TaskExecutionEvent occurredAt */ - occurredAt?: (google.protobuf.ITimestamp|null); + /** + * Encodes the specified EmailNotification message. Does not implicitly {@link flyteidl.admin.EmailNotification.verify|verify} messages. + * @param message EmailNotification message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IEmailNotification, writer?: $protobuf.Writer): $protobuf.Writer; - /** TaskExecutionEvent inputUri */ - inputUri?: (string|null); + /** + * Decodes an EmailNotification message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EmailNotification + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EmailNotification; - /** TaskExecutionEvent inputData */ - inputData?: (flyteidl.core.ILiteralMap|null); - - /** TaskExecutionEvent outputUri */ - outputUri?: (string|null); - - /** TaskExecutionEvent error */ - error?: (flyteidl.core.IExecutionError|null); - - /** TaskExecutionEvent outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); - - /** TaskExecutionEvent customInfo */ - customInfo?: (google.protobuf.IStruct|null); - - /** TaskExecutionEvent phaseVersion */ - phaseVersion?: (number|null); - - /** TaskExecutionEvent reason */ - reason?: (string|null); - - /** TaskExecutionEvent reasons */ - reasons?: (flyteidl.event.IEventReason[]|null); - - /** TaskExecutionEvent taskType */ - taskType?: (string|null); - - /** TaskExecutionEvent metadata */ - metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + /** + * Verifies an EmailNotification message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } - /** TaskExecutionEvent eventVersion */ - eventVersion?: (number|null); + /** Properties of a PagerDutyNotification. */ + interface IPagerDutyNotification { - /** TaskExecutionEvent reportedAt */ - reportedAt?: (google.protobuf.ITimestamp|null); + /** PagerDutyNotification recipientsEmail */ + recipientsEmail?: (string[]|null); } - /** Represents a TaskExecutionEvent. */ - class TaskExecutionEvent implements ITaskExecutionEvent { + /** Represents a PagerDutyNotification. */ + class PagerDutyNotification implements IPagerDutyNotification { /** - * Constructs a new TaskExecutionEvent. + * Constructs a new PagerDutyNotification. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.ITaskExecutionEvent); - - /** TaskExecutionEvent taskId. */ - public taskId?: (flyteidl.core.IIdentifier|null); - - /** TaskExecutionEvent parentNodeExecutionId. */ - public parentNodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - - /** TaskExecutionEvent retryAttempt. */ - public retryAttempt: number; - - /** TaskExecutionEvent phase. */ - public phase: flyteidl.core.TaskExecution.Phase; - - /** TaskExecutionEvent producerId. */ - public producerId: string; - - /** TaskExecutionEvent logs. */ - public logs: flyteidl.core.ITaskLog[]; - - /** TaskExecutionEvent occurredAt. */ - public occurredAt?: (google.protobuf.ITimestamp|null); - - /** TaskExecutionEvent inputUri. */ - public inputUri: string; - - /** TaskExecutionEvent inputData. */ - public inputData?: (flyteidl.core.ILiteralMap|null); - - /** TaskExecutionEvent outputUri. */ - public outputUri: string; - - /** TaskExecutionEvent error. */ - public error?: (flyteidl.core.IExecutionError|null); - - /** TaskExecutionEvent outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); - - /** TaskExecutionEvent customInfo. */ - public customInfo?: (google.protobuf.IStruct|null); - - /** TaskExecutionEvent phaseVersion. */ - public phaseVersion: number; - - /** TaskExecutionEvent reason. */ - public reason: string; - - /** TaskExecutionEvent reasons. */ - public reasons: flyteidl.event.IEventReason[]; - - /** TaskExecutionEvent taskType. */ - public taskType: string; - - /** TaskExecutionEvent metadata. */ - public metadata?: (flyteidl.event.ITaskExecutionMetadata|null); - - /** TaskExecutionEvent eventVersion. */ - public eventVersion: number; - - /** TaskExecutionEvent reportedAt. */ - public reportedAt?: (google.protobuf.ITimestamp|null); - - /** TaskExecutionEvent inputValue. */ - public inputValue?: ("inputUri"|"inputData"); + constructor(properties?: flyteidl.admin.IPagerDutyNotification); - /** TaskExecutionEvent outputResult. */ - public outputResult?: ("outputUri"|"error"|"outputData"); + /** PagerDutyNotification recipientsEmail. */ + public recipientsEmail: string[]; /** - * Creates a new TaskExecutionEvent instance using the specified properties. + * Creates a new PagerDutyNotification instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionEvent instance + * @returns PagerDutyNotification instance */ - public static create(properties?: flyteidl.event.ITaskExecutionEvent): flyteidl.event.TaskExecutionEvent; + public static create(properties?: flyteidl.admin.IPagerDutyNotification): flyteidl.admin.PagerDutyNotification; /** - * Encodes the specified TaskExecutionEvent message. Does not implicitly {@link flyteidl.event.TaskExecutionEvent.verify|verify} messages. - * @param message TaskExecutionEvent message or plain object to encode + * Encodes the specified PagerDutyNotification message. Does not implicitly {@link flyteidl.admin.PagerDutyNotification.verify|verify} messages. + * @param message PagerDutyNotification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.ITaskExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IPagerDutyNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionEvent message from the specified reader or buffer. + * Decodes a PagerDutyNotification message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskExecutionEvent + * @returns PagerDutyNotification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.TaskExecutionEvent; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.PagerDutyNotification; /** - * Verifies a TaskExecutionEvent message. + * Verifies a PagerDutyNotification message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExternalResourceInfo. */ - interface IExternalResourceInfo { - - /** ExternalResourceInfo externalId */ - externalId?: (string|null); - - /** ExternalResourceInfo index */ - index?: (number|null); - - /** ExternalResourceInfo retryAttempt */ - retryAttempt?: (number|null); - - /** ExternalResourceInfo phase */ - phase?: (flyteidl.core.TaskExecution.Phase|null); - - /** ExternalResourceInfo cacheStatus */ - cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); - - /** ExternalResourceInfo logs */ - logs?: (flyteidl.core.ITaskLog[]|null); - - /** ExternalResourceInfo workflowNodeMetadata */ - workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); + /** Properties of a SlackNotification. */ + interface ISlackNotification { - /** ExternalResourceInfo customInfo */ - customInfo?: (google.protobuf.IStruct|null); + /** SlackNotification recipientsEmail */ + recipientsEmail?: (string[]|null); } - /** Represents an ExternalResourceInfo. */ - class ExternalResourceInfo implements IExternalResourceInfo { + /** Represents a SlackNotification. */ + class SlackNotification implements ISlackNotification { /** - * Constructs a new ExternalResourceInfo. + * Constructs a new SlackNotification. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IExternalResourceInfo); - - /** ExternalResourceInfo externalId. */ - public externalId: string; - - /** ExternalResourceInfo index. */ - public index: number; - - /** ExternalResourceInfo retryAttempt. */ - public retryAttempt: number; - - /** ExternalResourceInfo phase. */ - public phase: flyteidl.core.TaskExecution.Phase; - - /** ExternalResourceInfo cacheStatus. */ - public cacheStatus: flyteidl.core.CatalogCacheStatus; - - /** ExternalResourceInfo logs. */ - public logs: flyteidl.core.ITaskLog[]; - - /** ExternalResourceInfo workflowNodeMetadata. */ - public workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); - - /** ExternalResourceInfo customInfo. */ - public customInfo?: (google.protobuf.IStruct|null); + constructor(properties?: flyteidl.admin.ISlackNotification); - /** ExternalResourceInfo targetMetadata. */ - public targetMetadata?: "workflowNodeMetadata"; + /** SlackNotification recipientsEmail. */ + public recipientsEmail: string[]; /** - * Creates a new ExternalResourceInfo instance using the specified properties. + * Creates a new SlackNotification instance using the specified properties. * @param [properties] Properties to set - * @returns ExternalResourceInfo instance + * @returns SlackNotification instance */ - public static create(properties?: flyteidl.event.IExternalResourceInfo): flyteidl.event.ExternalResourceInfo; + public static create(properties?: flyteidl.admin.ISlackNotification): flyteidl.admin.SlackNotification; /** - * Encodes the specified ExternalResourceInfo message. Does not implicitly {@link flyteidl.event.ExternalResourceInfo.verify|verify} messages. - * @param message ExternalResourceInfo message or plain object to encode + * Encodes the specified SlackNotification message. Does not implicitly {@link flyteidl.admin.SlackNotification.verify|verify} messages. + * @param message SlackNotification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.IExternalResourceInfo, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISlackNotification, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExternalResourceInfo message from the specified reader or buffer. + * Decodes a SlackNotification message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExternalResourceInfo + * @returns SlackNotification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.ExternalResourceInfo; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SlackNotification; /** - * Verifies an ExternalResourceInfo message. + * Verifies a SlackNotification message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ResourcePoolInfo. */ - interface IResourcePoolInfo { + /** Properties of a Notification. */ + interface INotification { - /** ResourcePoolInfo allocationToken */ - allocationToken?: (string|null); + /** Notification phases */ + phases?: (flyteidl.core.WorkflowExecution.Phase[]|null); - /** ResourcePoolInfo namespace */ - namespace?: (string|null); + /** Notification email */ + email?: (flyteidl.admin.IEmailNotification|null); + + /** Notification pagerDuty */ + pagerDuty?: (flyteidl.admin.IPagerDutyNotification|null); + + /** Notification slack */ + slack?: (flyteidl.admin.ISlackNotification|null); } - /** Represents a ResourcePoolInfo. */ - class ResourcePoolInfo implements IResourcePoolInfo { + /** Represents a Notification. */ + class Notification implements INotification { /** - * Constructs a new ResourcePoolInfo. + * Constructs a new Notification. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.IResourcePoolInfo); - - /** ResourcePoolInfo allocationToken. */ - public allocationToken: string; + constructor(properties?: flyteidl.admin.INotification); - /** ResourcePoolInfo namespace. */ - public namespace: string; + /** Notification phases. */ + public phases: flyteidl.core.WorkflowExecution.Phase[]; + + /** Notification email. */ + public email?: (flyteidl.admin.IEmailNotification|null); + + /** Notification pagerDuty. */ + public pagerDuty?: (flyteidl.admin.IPagerDutyNotification|null); + + /** Notification slack. */ + public slack?: (flyteidl.admin.ISlackNotification|null); + + /** Notification type. */ + public type?: ("email"|"pagerDuty"|"slack"); /** - * Creates a new ResourcePoolInfo instance using the specified properties. + * Creates a new Notification instance using the specified properties. * @param [properties] Properties to set - * @returns ResourcePoolInfo instance + * @returns Notification instance */ - public static create(properties?: flyteidl.event.IResourcePoolInfo): flyteidl.event.ResourcePoolInfo; + public static create(properties?: flyteidl.admin.INotification): flyteidl.admin.Notification; /** - * Encodes the specified ResourcePoolInfo message. Does not implicitly {@link flyteidl.event.ResourcePoolInfo.verify|verify} messages. - * @param message ResourcePoolInfo message or plain object to encode + * Encodes the specified Notification message. Does not implicitly {@link flyteidl.admin.Notification.verify|verify} messages. + * @param message Notification message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.IResourcePoolInfo, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INotification, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ResourcePoolInfo message from the specified reader or buffer. + * Decodes a Notification message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ResourcePoolInfo + * @returns Notification * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.ResourcePoolInfo; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Notification; /** - * Verifies a ResourcePoolInfo message. + * Verifies a Notification message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskExecutionMetadata. */ - interface ITaskExecutionMetadata { - - /** TaskExecutionMetadata generatedName */ - generatedName?: (string|null); - - /** TaskExecutionMetadata externalResources */ - externalResources?: (flyteidl.event.IExternalResourceInfo[]|null); - - /** TaskExecutionMetadata resourcePoolInfo */ - resourcePoolInfo?: (flyteidl.event.IResourcePoolInfo[]|null); + /** Properties of an UrlBlob. */ + interface IUrlBlob { - /** TaskExecutionMetadata pluginIdentifier */ - pluginIdentifier?: (string|null); + /** UrlBlob url */ + url?: (string|null); - /** TaskExecutionMetadata instanceClass */ - instanceClass?: (flyteidl.event.TaskExecutionMetadata.InstanceClass|null); + /** UrlBlob bytes */ + bytes?: (Long|null); } - /** Represents a TaskExecutionMetadata. */ - class TaskExecutionMetadata implements ITaskExecutionMetadata { + /** Represents an UrlBlob. */ + class UrlBlob implements IUrlBlob { /** - * Constructs a new TaskExecutionMetadata. + * Constructs a new UrlBlob. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.event.ITaskExecutionMetadata); - - /** TaskExecutionMetadata generatedName. */ - public generatedName: string; - - /** TaskExecutionMetadata externalResources. */ - public externalResources: flyteidl.event.IExternalResourceInfo[]; - - /** TaskExecutionMetadata resourcePoolInfo. */ - public resourcePoolInfo: flyteidl.event.IResourcePoolInfo[]; + constructor(properties?: flyteidl.admin.IUrlBlob); - /** TaskExecutionMetadata pluginIdentifier. */ - public pluginIdentifier: string; + /** UrlBlob url. */ + public url: string; - /** TaskExecutionMetadata instanceClass. */ - public instanceClass: flyteidl.event.TaskExecutionMetadata.InstanceClass; + /** UrlBlob bytes. */ + public bytes: Long; /** - * Creates a new TaskExecutionMetadata instance using the specified properties. + * Creates a new UrlBlob instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionMetadata instance + * @returns UrlBlob instance */ - public static create(properties?: flyteidl.event.ITaskExecutionMetadata): flyteidl.event.TaskExecutionMetadata; + public static create(properties?: flyteidl.admin.IUrlBlob): flyteidl.admin.UrlBlob; /** - * Encodes the specified TaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.TaskExecutionMetadata.verify|verify} messages. - * @param message TaskExecutionMetadata message or plain object to encode + * Encodes the specified UrlBlob message. Does not implicitly {@link flyteidl.admin.UrlBlob.verify|verify} messages. + * @param message UrlBlob message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.event.ITaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IUrlBlob, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionMetadata message from the specified reader or buffer. + * Decodes an UrlBlob message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskExecutionMetadata + * @returns UrlBlob * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.TaskExecutionMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.UrlBlob; /** - * Verifies a TaskExecutionMetadata message. + * Verifies an UrlBlob message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - namespace TaskExecutionMetadata { - - /** InstanceClass enum. */ - enum InstanceClass { - DEFAULT = 0, - INTERRUPTIBLE = 1 - } - } - } - - /** Namespace admin. */ - namespace admin { + /** Properties of a Labels. */ + interface ILabels { - /** State enum. */ - enum State { - RETRYABLE_FAILURE = 0, - PERMANENT_FAILURE = 1, - PENDING = 2, - RUNNING = 3, - SUCCEEDED = 4 + /** Labels values */ + values?: ({ [k: string]: string }|null); } - /** Properties of a TaskExecutionMetadata. */ - interface ITaskExecutionMetadata { - - /** TaskExecutionMetadata taskExecutionId */ - taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); - - /** TaskExecutionMetadata namespace */ - namespace?: (string|null); - - /** TaskExecutionMetadata labels */ - labels?: ({ [k: string]: string }|null); + /** Represents a Labels. */ + class Labels implements ILabels { - /** TaskExecutionMetadata annotations */ - annotations?: ({ [k: string]: string }|null); + /** + * Constructs a new Labels. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILabels); - /** TaskExecutionMetadata k8sServiceAccount */ - k8sServiceAccount?: (string|null); + /** Labels values. */ + public values: { [k: string]: string }; - /** TaskExecutionMetadata environmentVariables */ - environmentVariables?: ({ [k: string]: string }|null); + /** + * Creates a new Labels instance using the specified properties. + * @param [properties] Properties to set + * @returns Labels instance + */ + public static create(properties?: flyteidl.admin.ILabels): flyteidl.admin.Labels; - /** TaskExecutionMetadata maxAttempts */ - maxAttempts?: (number|null); + /** + * Encodes the specified Labels message. Does not implicitly {@link flyteidl.admin.Labels.verify|verify} messages. + * @param message Labels message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILabels, writer?: $protobuf.Writer): $protobuf.Writer; - /** TaskExecutionMetadata interruptible */ - interruptible?: (boolean|null); + /** + * Decodes a Labels message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Labels + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Labels; - /** TaskExecutionMetadata interruptibleFailureThreshold */ - interruptibleFailureThreshold?: (number|null); + /** + * Verifies a Labels message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } - /** TaskExecutionMetadata overrides */ - overrides?: (flyteidl.core.ITaskNodeOverrides|null); + /** Properties of an Annotations. */ + interface IAnnotations { - /** TaskExecutionMetadata identity */ - identity?: (flyteidl.core.IIdentity|null); + /** Annotations values */ + values?: ({ [k: string]: string }|null); } - /** Represents a TaskExecutionMetadata. */ - class TaskExecutionMetadata implements ITaskExecutionMetadata { + /** Represents an Annotations. */ + class Annotations implements IAnnotations { /** - * Constructs a new TaskExecutionMetadata. + * Constructs a new Annotations. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionMetadata); - - /** TaskExecutionMetadata taskExecutionId. */ - public taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); - - /** TaskExecutionMetadata namespace. */ - public namespace: string; - - /** TaskExecutionMetadata labels. */ - public labels: { [k: string]: string }; - - /** TaskExecutionMetadata annotations. */ - public annotations: { [k: string]: string }; - - /** TaskExecutionMetadata k8sServiceAccount. */ - public k8sServiceAccount: string; - - /** TaskExecutionMetadata environmentVariables. */ - public environmentVariables: { [k: string]: string }; - - /** TaskExecutionMetadata maxAttempts. */ - public maxAttempts: number; - - /** TaskExecutionMetadata interruptible. */ - public interruptible: boolean; - - /** TaskExecutionMetadata interruptibleFailureThreshold. */ - public interruptibleFailureThreshold: number; - - /** TaskExecutionMetadata overrides. */ - public overrides?: (flyteidl.core.ITaskNodeOverrides|null); + constructor(properties?: flyteidl.admin.IAnnotations); - /** TaskExecutionMetadata identity. */ - public identity?: (flyteidl.core.IIdentity|null); + /** Annotations values. */ + public values: { [k: string]: string }; /** - * Creates a new TaskExecutionMetadata instance using the specified properties. + * Creates a new Annotations instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionMetadata instance + * @returns Annotations instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionMetadata): flyteidl.admin.TaskExecutionMetadata; + public static create(properties?: flyteidl.admin.IAnnotations): flyteidl.admin.Annotations; /** - * Encodes the specified TaskExecutionMetadata message. Does not implicitly {@link flyteidl.admin.TaskExecutionMetadata.verify|verify} messages. - * @param message TaskExecutionMetadata message or plain object to encode + * Encodes the specified Annotations message. Does not implicitly {@link flyteidl.admin.Annotations.verify|verify} messages. + * @param message Annotations message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IAnnotations, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionMetadata message from the specified reader or buffer. + * Decodes an Annotations message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskExecutionMetadata + * @returns Annotations * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Annotations; /** - * Verifies a TaskExecutionMetadata message. + * Verifies an Annotations message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a CreateTaskRequest. */ - interface ICreateTaskRequest { + /** Properties of an Envs. */ + interface IEnvs { - /** CreateTaskRequest inputs */ - inputs?: (flyteidl.core.ILiteralMap|null); - - /** CreateTaskRequest template */ - template?: (flyteidl.core.ITaskTemplate|null); - - /** CreateTaskRequest outputPrefix */ - outputPrefix?: (string|null); - - /** CreateTaskRequest taskExecutionMetadata */ - taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); + /** Envs values */ + values?: (flyteidl.core.IKeyValuePair[]|null); } - /** Represents a CreateTaskRequest. */ - class CreateTaskRequest implements ICreateTaskRequest { + /** Represents an Envs. */ + class Envs implements IEnvs { /** - * Constructs a new CreateTaskRequest. + * Constructs a new Envs. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ICreateTaskRequest); - - /** CreateTaskRequest inputs. */ - public inputs?: (flyteidl.core.ILiteralMap|null); - - /** CreateTaskRequest template. */ - public template?: (flyteidl.core.ITaskTemplate|null); - - /** CreateTaskRequest outputPrefix. */ - public outputPrefix: string; + constructor(properties?: flyteidl.admin.IEnvs); - /** CreateTaskRequest taskExecutionMetadata. */ - public taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); + /** Envs values. */ + public values: flyteidl.core.IKeyValuePair[]; /** - * Creates a new CreateTaskRequest instance using the specified properties. + * Creates a new Envs instance using the specified properties. * @param [properties] Properties to set - * @returns CreateTaskRequest instance + * @returns Envs instance */ - public static create(properties?: flyteidl.admin.ICreateTaskRequest): flyteidl.admin.CreateTaskRequest; + public static create(properties?: flyteidl.admin.IEnvs): flyteidl.admin.Envs; /** - * Encodes the specified CreateTaskRequest message. Does not implicitly {@link flyteidl.admin.CreateTaskRequest.verify|verify} messages. - * @param message CreateTaskRequest message or plain object to encode + * Encodes the specified Envs message. Does not implicitly {@link flyteidl.admin.Envs.verify|verify} messages. + * @param message Envs message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IEnvs, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateTaskRequest message from the specified reader or buffer. + * Decodes an Envs message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CreateTaskRequest + * @returns Envs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateTaskRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Envs; /** - * Verifies a CreateTaskRequest message. + * Verifies an Envs message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a CreateTaskResponse. */ - interface ICreateTaskResponse { + /** Properties of an AuthRole. */ + interface IAuthRole { - /** CreateTaskResponse resourceMeta */ - resourceMeta?: (Uint8Array|null); + /** AuthRole assumableIamRole */ + assumableIamRole?: (string|null); + + /** AuthRole kubernetesServiceAccount */ + kubernetesServiceAccount?: (string|null); } - /** Represents a CreateTaskResponse. */ - class CreateTaskResponse implements ICreateTaskResponse { + /** Represents an AuthRole. */ + class AuthRole implements IAuthRole { /** - * Constructs a new CreateTaskResponse. + * Constructs a new AuthRole. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ICreateTaskResponse); + constructor(properties?: flyteidl.admin.IAuthRole); - /** CreateTaskResponse resourceMeta. */ - public resourceMeta: Uint8Array; + /** AuthRole assumableIamRole. */ + public assumableIamRole: string; + + /** AuthRole kubernetesServiceAccount. */ + public kubernetesServiceAccount: string; /** - * Creates a new CreateTaskResponse instance using the specified properties. + * Creates a new AuthRole instance using the specified properties. * @param [properties] Properties to set - * @returns CreateTaskResponse instance + * @returns AuthRole instance */ - public static create(properties?: flyteidl.admin.ICreateTaskResponse): flyteidl.admin.CreateTaskResponse; + public static create(properties?: flyteidl.admin.IAuthRole): flyteidl.admin.AuthRole; /** - * Encodes the specified CreateTaskResponse message. Does not implicitly {@link flyteidl.admin.CreateTaskResponse.verify|verify} messages. - * @param message CreateTaskResponse message or plain object to encode + * Encodes the specified AuthRole message. Does not implicitly {@link flyteidl.admin.AuthRole.verify|verify} messages. + * @param message AuthRole message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ICreateTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IAuthRole, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateTaskResponse message from the specified reader or buffer. + * Decodes an AuthRole message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CreateTaskResponse + * @returns AuthRole * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateTaskResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.AuthRole; /** - * Verifies a CreateTaskResponse message. + * Verifies an AuthRole message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a CreateRequestHeader. */ - interface ICreateRequestHeader { - - /** CreateRequestHeader template */ - template?: (flyteidl.core.ITaskTemplate|null); - - /** CreateRequestHeader outputPrefix */ - outputPrefix?: (string|null); - - /** CreateRequestHeader taskExecutionMetadata */ - taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); + /** Properties of a RawOutputDataConfig. */ + interface IRawOutputDataConfig { - /** CreateRequestHeader maxDatasetSizeBytes */ - maxDatasetSizeBytes?: (Long|null); + /** RawOutputDataConfig outputLocationPrefix */ + outputLocationPrefix?: (string|null); } - /** Represents a CreateRequestHeader. */ - class CreateRequestHeader implements ICreateRequestHeader { + /** Represents a RawOutputDataConfig. */ + class RawOutputDataConfig implements IRawOutputDataConfig { /** - * Constructs a new CreateRequestHeader. + * Constructs a new RawOutputDataConfig. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ICreateRequestHeader); - - /** CreateRequestHeader template. */ - public template?: (flyteidl.core.ITaskTemplate|null); - - /** CreateRequestHeader outputPrefix. */ - public outputPrefix: string; - - /** CreateRequestHeader taskExecutionMetadata. */ - public taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); + constructor(properties?: flyteidl.admin.IRawOutputDataConfig); - /** CreateRequestHeader maxDatasetSizeBytes. */ - public maxDatasetSizeBytes: Long; + /** RawOutputDataConfig outputLocationPrefix. */ + public outputLocationPrefix: string; /** - * Creates a new CreateRequestHeader instance using the specified properties. + * Creates a new RawOutputDataConfig instance using the specified properties. * @param [properties] Properties to set - * @returns CreateRequestHeader instance + * @returns RawOutputDataConfig instance */ - public static create(properties?: flyteidl.admin.ICreateRequestHeader): flyteidl.admin.CreateRequestHeader; + public static create(properties?: flyteidl.admin.IRawOutputDataConfig): flyteidl.admin.RawOutputDataConfig; /** - * Encodes the specified CreateRequestHeader message. Does not implicitly {@link flyteidl.admin.CreateRequestHeader.verify|verify} messages. - * @param message CreateRequestHeader message or plain object to encode + * Encodes the specified RawOutputDataConfig message. Does not implicitly {@link flyteidl.admin.RawOutputDataConfig.verify|verify} messages. + * @param message RawOutputDataConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ICreateRequestHeader, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IRawOutputDataConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateRequestHeader message from the specified reader or buffer. + * Decodes a RawOutputDataConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CreateRequestHeader + * @returns RawOutputDataConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateRequestHeader; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.RawOutputDataConfig; /** - * Verifies a CreateRequestHeader message. + * Verifies a RawOutputDataConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecuteTaskSyncRequest. */ - interface IExecuteTaskSyncRequest { + /** Properties of a FlyteURLs. */ + interface IFlyteURLs { - /** ExecuteTaskSyncRequest header */ - header?: (flyteidl.admin.ICreateRequestHeader|null); + /** FlyteURLs inputs */ + inputs?: (string|null); - /** ExecuteTaskSyncRequest inputs */ - inputs?: (flyteidl.core.ILiteralMap|null); + /** FlyteURLs outputs */ + outputs?: (string|null); + + /** FlyteURLs deck */ + deck?: (string|null); } - /** Represents an ExecuteTaskSyncRequest. */ - class ExecuteTaskSyncRequest implements IExecuteTaskSyncRequest { + /** Represents a FlyteURLs. */ + class FlyteURLs implements IFlyteURLs { /** - * Constructs a new ExecuteTaskSyncRequest. + * Constructs a new FlyteURLs. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecuteTaskSyncRequest); + constructor(properties?: flyteidl.admin.IFlyteURLs); - /** ExecuteTaskSyncRequest header. */ - public header?: (flyteidl.admin.ICreateRequestHeader|null); + /** FlyteURLs inputs. */ + public inputs: string; - /** ExecuteTaskSyncRequest inputs. */ - public inputs?: (flyteidl.core.ILiteralMap|null); + /** FlyteURLs outputs. */ + public outputs: string; - /** ExecuteTaskSyncRequest part. */ - public part?: ("header"|"inputs"); + /** FlyteURLs deck. */ + public deck: string; /** - * Creates a new ExecuteTaskSyncRequest instance using the specified properties. + * Creates a new FlyteURLs instance using the specified properties. * @param [properties] Properties to set - * @returns ExecuteTaskSyncRequest instance + * @returns FlyteURLs instance */ - public static create(properties?: flyteidl.admin.IExecuteTaskSyncRequest): flyteidl.admin.ExecuteTaskSyncRequest; + public static create(properties?: flyteidl.admin.IFlyteURLs): flyteidl.admin.FlyteURLs; /** - * Encodes the specified ExecuteTaskSyncRequest message. Does not implicitly {@link flyteidl.admin.ExecuteTaskSyncRequest.verify|verify} messages. - * @param message ExecuteTaskSyncRequest message or plain object to encode + * Encodes the specified FlyteURLs message. Does not implicitly {@link flyteidl.admin.FlyteURLs.verify|verify} messages. + * @param message FlyteURLs message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecuteTaskSyncRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IFlyteURLs, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecuteTaskSyncRequest message from the specified reader or buffer. + * Decodes a FlyteURLs message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecuteTaskSyncRequest + * @returns FlyteURLs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecuteTaskSyncRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.FlyteURLs; /** - * Verifies an ExecuteTaskSyncRequest message. + * Verifies a FlyteURLs message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecuteTaskSyncResponseHeader. */ - interface IExecuteTaskSyncResponseHeader { - - /** ExecuteTaskSyncResponseHeader resource */ - resource?: (flyteidl.admin.IResource|null); + /** State enum. */ + enum State { + RETRYABLE_FAILURE = 0, + PERMANENT_FAILURE = 1, + PENDING = 2, + RUNNING = 3, + SUCCEEDED = 4 } - /** Represents an ExecuteTaskSyncResponseHeader. */ - class ExecuteTaskSyncResponseHeader implements IExecuteTaskSyncResponseHeader { - - /** - * Constructs a new ExecuteTaskSyncResponseHeader. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IExecuteTaskSyncResponseHeader); + /** Properties of a TaskExecutionMetadata. */ + interface ITaskExecutionMetadata { - /** ExecuteTaskSyncResponseHeader resource. */ - public resource?: (flyteidl.admin.IResource|null); + /** TaskExecutionMetadata taskExecutionId */ + taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); - /** - * Creates a new ExecuteTaskSyncResponseHeader instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecuteTaskSyncResponseHeader instance - */ - public static create(properties?: flyteidl.admin.IExecuteTaskSyncResponseHeader): flyteidl.admin.ExecuteTaskSyncResponseHeader; + /** TaskExecutionMetadata namespace */ + namespace?: (string|null); - /** - * Encodes the specified ExecuteTaskSyncResponseHeader message. Does not implicitly {@link flyteidl.admin.ExecuteTaskSyncResponseHeader.verify|verify} messages. - * @param message ExecuteTaskSyncResponseHeader message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.admin.IExecuteTaskSyncResponseHeader, writer?: $protobuf.Writer): $protobuf.Writer; + /** TaskExecutionMetadata labels */ + labels?: ({ [k: string]: string }|null); - /** - * Decodes an ExecuteTaskSyncResponseHeader message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecuteTaskSyncResponseHeader - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecuteTaskSyncResponseHeader; + /** TaskExecutionMetadata annotations */ + annotations?: ({ [k: string]: string }|null); - /** - * Verifies an ExecuteTaskSyncResponseHeader message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - } + /** TaskExecutionMetadata k8sServiceAccount */ + k8sServiceAccount?: (string|null); - /** Properties of an ExecuteTaskSyncResponse. */ - interface IExecuteTaskSyncResponse { + /** TaskExecutionMetadata environmentVariables */ + environmentVariables?: ({ [k: string]: string }|null); - /** ExecuteTaskSyncResponse header */ - header?: (flyteidl.admin.IExecuteTaskSyncResponseHeader|null); + /** TaskExecutionMetadata maxAttempts */ + maxAttempts?: (number|null); - /** ExecuteTaskSyncResponse outputs */ - outputs?: (flyteidl.core.ILiteralMap|null); + /** TaskExecutionMetadata interruptible */ + interruptible?: (boolean|null); + + /** TaskExecutionMetadata interruptibleFailureThreshold */ + interruptibleFailureThreshold?: (number|null); + + /** TaskExecutionMetadata overrides */ + overrides?: (flyteidl.core.ITaskNodeOverrides|null); + + /** TaskExecutionMetadata identity */ + identity?: (flyteidl.core.IIdentity|null); } - /** Represents an ExecuteTaskSyncResponse. */ - class ExecuteTaskSyncResponse implements IExecuteTaskSyncResponse { + /** Represents a TaskExecutionMetadata. */ + class TaskExecutionMetadata implements ITaskExecutionMetadata { /** - * Constructs a new ExecuteTaskSyncResponse. + * Constructs a new TaskExecutionMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecuteTaskSyncResponse); + constructor(properties?: flyteidl.admin.ITaskExecutionMetadata); - /** ExecuteTaskSyncResponse header. */ - public header?: (flyteidl.admin.IExecuteTaskSyncResponseHeader|null); + /** TaskExecutionMetadata taskExecutionId. */ + public taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); - /** ExecuteTaskSyncResponse outputs. */ - public outputs?: (flyteidl.core.ILiteralMap|null); + /** TaskExecutionMetadata namespace. */ + public namespace: string; - /** ExecuteTaskSyncResponse res. */ - public res?: ("header"|"outputs"); + /** TaskExecutionMetadata labels. */ + public labels: { [k: string]: string }; + + /** TaskExecutionMetadata annotations. */ + public annotations: { [k: string]: string }; + + /** TaskExecutionMetadata k8sServiceAccount. */ + public k8sServiceAccount: string; + + /** TaskExecutionMetadata environmentVariables. */ + public environmentVariables: { [k: string]: string }; + + /** TaskExecutionMetadata maxAttempts. */ + public maxAttempts: number; + + /** TaskExecutionMetadata interruptible. */ + public interruptible: boolean; + + /** TaskExecutionMetadata interruptibleFailureThreshold. */ + public interruptibleFailureThreshold: number; + + /** TaskExecutionMetadata overrides. */ + public overrides?: (flyteidl.core.ITaskNodeOverrides|null); + + /** TaskExecutionMetadata identity. */ + public identity?: (flyteidl.core.IIdentity|null); /** - * Creates a new ExecuteTaskSyncResponse instance using the specified properties. + * Creates a new TaskExecutionMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns ExecuteTaskSyncResponse instance + * @returns TaskExecutionMetadata instance */ - public static create(properties?: flyteidl.admin.IExecuteTaskSyncResponse): flyteidl.admin.ExecuteTaskSyncResponse; + public static create(properties?: flyteidl.admin.ITaskExecutionMetadata): flyteidl.admin.TaskExecutionMetadata; /** - * Encodes the specified ExecuteTaskSyncResponse message. Does not implicitly {@link flyteidl.admin.ExecuteTaskSyncResponse.verify|verify} messages. - * @param message ExecuteTaskSyncResponse message or plain object to encode + * Encodes the specified TaskExecutionMetadata message. Does not implicitly {@link flyteidl.admin.TaskExecutionMetadata.verify|verify} messages. + * @param message TaskExecutionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecuteTaskSyncResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecuteTaskSyncResponse message from the specified reader or buffer. + * Decodes a TaskExecutionMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecuteTaskSyncResponse + * @returns TaskExecutionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecuteTaskSyncResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionMetadata; /** - * Verifies an ExecuteTaskSyncResponse message. + * Verifies a TaskExecutionMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetTaskRequest. */ - interface IGetTaskRequest { + /** Properties of a CreateTaskRequest. */ + interface ICreateTaskRequest { - /** GetTaskRequest taskType */ - taskType?: (string|null); + /** CreateTaskRequest inputs */ + inputs?: (flyteidl.core.ILiteralMap|null); - /** GetTaskRequest resourceMeta */ - resourceMeta?: (Uint8Array|null); + /** CreateTaskRequest template */ + template?: (flyteidl.core.ITaskTemplate|null); - /** GetTaskRequest taskCategory */ - taskCategory?: (flyteidl.admin.ITaskCategory|null); + /** CreateTaskRequest outputPrefix */ + outputPrefix?: (string|null); + + /** CreateTaskRequest taskExecutionMetadata */ + taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); } - /** Represents a GetTaskRequest. */ - class GetTaskRequest implements IGetTaskRequest { + /** Represents a CreateTaskRequest. */ + class CreateTaskRequest implements ICreateTaskRequest { /** - * Constructs a new GetTaskRequest. + * Constructs a new CreateTaskRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetTaskRequest); + constructor(properties?: flyteidl.admin.ICreateTaskRequest); - /** GetTaskRequest taskType. */ - public taskType: string; + /** CreateTaskRequest inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); - /** GetTaskRequest resourceMeta. */ - public resourceMeta: Uint8Array; + /** CreateTaskRequest template. */ + public template?: (flyteidl.core.ITaskTemplate|null); - /** GetTaskRequest taskCategory. */ - public taskCategory?: (flyteidl.admin.ITaskCategory|null); + /** CreateTaskRequest outputPrefix. */ + public outputPrefix: string; + + /** CreateTaskRequest taskExecutionMetadata. */ + public taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); /** - * Creates a new GetTaskRequest instance using the specified properties. + * Creates a new CreateTaskRequest instance using the specified properties. * @param [properties] Properties to set - * @returns GetTaskRequest instance + * @returns CreateTaskRequest instance */ - public static create(properties?: flyteidl.admin.IGetTaskRequest): flyteidl.admin.GetTaskRequest; + public static create(properties?: flyteidl.admin.ICreateTaskRequest): flyteidl.admin.CreateTaskRequest; /** - * Encodes the specified GetTaskRequest message. Does not implicitly {@link flyteidl.admin.GetTaskRequest.verify|verify} messages. - * @param message GetTaskRequest message or plain object to encode + * Encodes the specified CreateTaskRequest message. Does not implicitly {@link flyteidl.admin.CreateTaskRequest.verify|verify} messages. + * @param message CreateTaskRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetTaskRequest message from the specified reader or buffer. + * Decodes a CreateTaskRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetTaskRequest + * @returns CreateTaskRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateTaskRequest; /** - * Verifies a GetTaskRequest message. + * Verifies a CreateTaskRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetTaskResponse. */ - interface IGetTaskResponse { + /** Properties of a CreateTaskResponse. */ + interface ICreateTaskResponse { - /** GetTaskResponse resource */ - resource?: (flyteidl.admin.IResource|null); + /** CreateTaskResponse resourceMeta */ + resourceMeta?: (Uint8Array|null); } - /** Represents a GetTaskResponse. */ - class GetTaskResponse implements IGetTaskResponse { + /** Represents a CreateTaskResponse. */ + class CreateTaskResponse implements ICreateTaskResponse { /** - * Constructs a new GetTaskResponse. + * Constructs a new CreateTaskResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetTaskResponse); + constructor(properties?: flyteidl.admin.ICreateTaskResponse); - /** GetTaskResponse resource. */ - public resource?: (flyteidl.admin.IResource|null); + /** CreateTaskResponse resourceMeta. */ + public resourceMeta: Uint8Array; /** - * Creates a new GetTaskResponse instance using the specified properties. + * Creates a new CreateTaskResponse instance using the specified properties. * @param [properties] Properties to set - * @returns GetTaskResponse instance + * @returns CreateTaskResponse instance */ - public static create(properties?: flyteidl.admin.IGetTaskResponse): flyteidl.admin.GetTaskResponse; + public static create(properties?: flyteidl.admin.ICreateTaskResponse): flyteidl.admin.CreateTaskResponse; /** - * Encodes the specified GetTaskResponse message. Does not implicitly {@link flyteidl.admin.GetTaskResponse.verify|verify} messages. - * @param message GetTaskResponse message or plain object to encode + * Encodes the specified CreateTaskResponse message. Does not implicitly {@link flyteidl.admin.CreateTaskResponse.verify|verify} messages. + * @param message CreateTaskResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ICreateTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetTaskResponse message from the specified reader or buffer. + * Decodes a CreateTaskResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetTaskResponse + * @returns CreateTaskResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateTaskResponse; /** - * Verifies a GetTaskResponse message. + * Verifies a CreateTaskResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a Resource. */ - interface IResource { - - /** Resource state */ - state?: (flyteidl.admin.State|null); - - /** Resource outputs */ - outputs?: (flyteidl.core.ILiteralMap|null); - - /** Resource message */ - message?: (string|null); + /** Properties of a CreateRequestHeader. */ + interface ICreateRequestHeader { - /** Resource logLinks */ - logLinks?: (flyteidl.core.ITaskLog[]|null); + /** CreateRequestHeader template */ + template?: (flyteidl.core.ITaskTemplate|null); - /** Resource phase */ - phase?: (flyteidl.core.TaskExecution.Phase|null); + /** CreateRequestHeader outputPrefix */ + outputPrefix?: (string|null); - /** Resource customInfo */ - customInfo?: (google.protobuf.IStruct|null); + /** CreateRequestHeader taskExecutionMetadata */ + taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); - /** Resource agentError */ - agentError?: (flyteidl.admin.IAgentError|null); + /** CreateRequestHeader maxDatasetSizeBytes */ + maxDatasetSizeBytes?: (Long|null); } - /** Represents a Resource. */ - class Resource implements IResource { + /** Represents a CreateRequestHeader. */ + class CreateRequestHeader implements ICreateRequestHeader { /** - * Constructs a new Resource. + * Constructs a new CreateRequestHeader. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IResource); + constructor(properties?: flyteidl.admin.ICreateRequestHeader); - /** Resource state. */ - public state: flyteidl.admin.State; + /** CreateRequestHeader template. */ + public template?: (flyteidl.core.ITaskTemplate|null); - /** Resource outputs. */ - public outputs?: (flyteidl.core.ILiteralMap|null); + /** CreateRequestHeader outputPrefix. */ + public outputPrefix: string; - /** Resource message. */ - public message: string; + /** CreateRequestHeader taskExecutionMetadata. */ + public taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); - /** Resource logLinks. */ - public logLinks: flyteidl.core.ITaskLog[]; - - /** Resource phase. */ - public phase: flyteidl.core.TaskExecution.Phase; - - /** Resource customInfo. */ - public customInfo?: (google.protobuf.IStruct|null); - - /** Resource agentError. */ - public agentError?: (flyteidl.admin.IAgentError|null); + /** CreateRequestHeader maxDatasetSizeBytes. */ + public maxDatasetSizeBytes: Long; /** - * Creates a new Resource instance using the specified properties. + * Creates a new CreateRequestHeader instance using the specified properties. * @param [properties] Properties to set - * @returns Resource instance + * @returns CreateRequestHeader instance */ - public static create(properties?: flyteidl.admin.IResource): flyteidl.admin.Resource; + public static create(properties?: flyteidl.admin.ICreateRequestHeader): flyteidl.admin.CreateRequestHeader; /** - * Encodes the specified Resource message. Does not implicitly {@link flyteidl.admin.Resource.verify|verify} messages. - * @param message Resource message or plain object to encode + * Encodes the specified CreateRequestHeader message. Does not implicitly {@link flyteidl.admin.CreateRequestHeader.verify|verify} messages. + * @param message CreateRequestHeader message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IResource, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ICreateRequestHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Resource message from the specified reader or buffer. + * Decodes a CreateRequestHeader message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Resource + * @returns CreateRequestHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Resource; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateRequestHeader; /** - * Verifies a Resource message. + * Verifies a CreateRequestHeader message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a DeleteTaskRequest. */ - interface IDeleteTaskRequest { - - /** DeleteTaskRequest taskType */ - taskType?: (string|null); + /** Properties of an ExecuteTaskSyncRequest. */ + interface IExecuteTaskSyncRequest { - /** DeleteTaskRequest resourceMeta */ - resourceMeta?: (Uint8Array|null); + /** ExecuteTaskSyncRequest header */ + header?: (flyteidl.admin.ICreateRequestHeader|null); - /** DeleteTaskRequest taskCategory */ - taskCategory?: (flyteidl.admin.ITaskCategory|null); + /** ExecuteTaskSyncRequest inputs */ + inputs?: (flyteidl.core.ILiteralMap|null); } - /** Represents a DeleteTaskRequest. */ - class DeleteTaskRequest implements IDeleteTaskRequest { + /** Represents an ExecuteTaskSyncRequest. */ + class ExecuteTaskSyncRequest implements IExecuteTaskSyncRequest { /** - * Constructs a new DeleteTaskRequest. + * Constructs a new ExecuteTaskSyncRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDeleteTaskRequest); + constructor(properties?: flyteidl.admin.IExecuteTaskSyncRequest); - /** DeleteTaskRequest taskType. */ - public taskType: string; + /** ExecuteTaskSyncRequest header. */ + public header?: (flyteidl.admin.ICreateRequestHeader|null); - /** DeleteTaskRequest resourceMeta. */ - public resourceMeta: Uint8Array; + /** ExecuteTaskSyncRequest inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); - /** DeleteTaskRequest taskCategory. */ - public taskCategory?: (flyteidl.admin.ITaskCategory|null); + /** ExecuteTaskSyncRequest part. */ + public part?: ("header"|"inputs"); /** - * Creates a new DeleteTaskRequest instance using the specified properties. + * Creates a new ExecuteTaskSyncRequest instance using the specified properties. * @param [properties] Properties to set - * @returns DeleteTaskRequest instance + * @returns ExecuteTaskSyncRequest instance */ - public static create(properties?: flyteidl.admin.IDeleteTaskRequest): flyteidl.admin.DeleteTaskRequest; + public static create(properties?: flyteidl.admin.IExecuteTaskSyncRequest): flyteidl.admin.ExecuteTaskSyncRequest; /** - * Encodes the specified DeleteTaskRequest message. Does not implicitly {@link flyteidl.admin.DeleteTaskRequest.verify|verify} messages. - * @param message DeleteTaskRequest message or plain object to encode + * Encodes the specified ExecuteTaskSyncRequest message. Does not implicitly {@link flyteidl.admin.ExecuteTaskSyncRequest.verify|verify} messages. + * @param message ExecuteTaskSyncRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecuteTaskSyncRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DeleteTaskRequest message from the specified reader or buffer. + * Decodes an ExecuteTaskSyncRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DeleteTaskRequest + * @returns ExecuteTaskSyncRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DeleteTaskRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecuteTaskSyncRequest; /** - * Verifies a DeleteTaskRequest message. + * Verifies an ExecuteTaskSyncRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a DeleteTaskResponse. */ - interface IDeleteTaskResponse { + /** Properties of an ExecuteTaskSyncResponseHeader. */ + interface IExecuteTaskSyncResponseHeader { + + /** ExecuteTaskSyncResponseHeader resource */ + resource?: (flyteidl.admin.IResource|null); } - /** Represents a DeleteTaskResponse. */ - class DeleteTaskResponse implements IDeleteTaskResponse { + /** Represents an ExecuteTaskSyncResponseHeader. */ + class ExecuteTaskSyncResponseHeader implements IExecuteTaskSyncResponseHeader { /** - * Constructs a new DeleteTaskResponse. + * Constructs a new ExecuteTaskSyncResponseHeader. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDeleteTaskResponse); + constructor(properties?: flyteidl.admin.IExecuteTaskSyncResponseHeader); + + /** ExecuteTaskSyncResponseHeader resource. */ + public resource?: (flyteidl.admin.IResource|null); /** - * Creates a new DeleteTaskResponse instance using the specified properties. + * Creates a new ExecuteTaskSyncResponseHeader instance using the specified properties. * @param [properties] Properties to set - * @returns DeleteTaskResponse instance + * @returns ExecuteTaskSyncResponseHeader instance */ - public static create(properties?: flyteidl.admin.IDeleteTaskResponse): flyteidl.admin.DeleteTaskResponse; + public static create(properties?: flyteidl.admin.IExecuteTaskSyncResponseHeader): flyteidl.admin.ExecuteTaskSyncResponseHeader; /** - * Encodes the specified DeleteTaskResponse message. Does not implicitly {@link flyteidl.admin.DeleteTaskResponse.verify|verify} messages. - * @param message DeleteTaskResponse message or plain object to encode + * Encodes the specified ExecuteTaskSyncResponseHeader message. Does not implicitly {@link flyteidl.admin.ExecuteTaskSyncResponseHeader.verify|verify} messages. + * @param message ExecuteTaskSyncResponseHeader message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IDeleteTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecuteTaskSyncResponseHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DeleteTaskResponse message from the specified reader or buffer. + * Decodes an ExecuteTaskSyncResponseHeader message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DeleteTaskResponse + * @returns ExecuteTaskSyncResponseHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DeleteTaskResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecuteTaskSyncResponseHeader; /** - * Verifies a DeleteTaskResponse message. + * Verifies an ExecuteTaskSyncResponseHeader message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an Agent. */ - interface IAgent { - - /** Agent name */ - name?: (string|null); - - /** Agent supportedTaskTypes */ - supportedTaskTypes?: (string[]|null); + /** Properties of an ExecuteTaskSyncResponse. */ + interface IExecuteTaskSyncResponse { - /** Agent isSync */ - isSync?: (boolean|null); + /** ExecuteTaskSyncResponse header */ + header?: (flyteidl.admin.IExecuteTaskSyncResponseHeader|null); - /** Agent supportedTaskCategories */ - supportedTaskCategories?: (flyteidl.admin.ITaskCategory[]|null); + /** ExecuteTaskSyncResponse outputs */ + outputs?: (flyteidl.core.ILiteralMap|null); } - /** Represents an Agent. */ - class Agent implements IAgent { + /** Represents an ExecuteTaskSyncResponse. */ + class ExecuteTaskSyncResponse implements IExecuteTaskSyncResponse { /** - * Constructs a new Agent. + * Constructs a new ExecuteTaskSyncResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IAgent); - - /** Agent name. */ - public name: string; + constructor(properties?: flyteidl.admin.IExecuteTaskSyncResponse); - /** Agent supportedTaskTypes. */ - public supportedTaskTypes: string[]; + /** ExecuteTaskSyncResponse header. */ + public header?: (flyteidl.admin.IExecuteTaskSyncResponseHeader|null); - /** Agent isSync. */ - public isSync: boolean; + /** ExecuteTaskSyncResponse outputs. */ + public outputs?: (flyteidl.core.ILiteralMap|null); - /** Agent supportedTaskCategories. */ - public supportedTaskCategories: flyteidl.admin.ITaskCategory[]; + /** ExecuteTaskSyncResponse res. */ + public res?: ("header"|"outputs"); /** - * Creates a new Agent instance using the specified properties. + * Creates a new ExecuteTaskSyncResponse instance using the specified properties. * @param [properties] Properties to set - * @returns Agent instance + * @returns ExecuteTaskSyncResponse instance */ - public static create(properties?: flyteidl.admin.IAgent): flyteidl.admin.Agent; + public static create(properties?: flyteidl.admin.IExecuteTaskSyncResponse): flyteidl.admin.ExecuteTaskSyncResponse; /** - * Encodes the specified Agent message. Does not implicitly {@link flyteidl.admin.Agent.verify|verify} messages. - * @param message Agent message or plain object to encode + * Encodes the specified ExecuteTaskSyncResponse message. Does not implicitly {@link flyteidl.admin.ExecuteTaskSyncResponse.verify|verify} messages. + * @param message ExecuteTaskSyncResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IAgent, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecuteTaskSyncResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Agent message from the specified reader or buffer. + * Decodes an ExecuteTaskSyncResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Agent + * @returns ExecuteTaskSyncResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Agent; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecuteTaskSyncResponse; /** - * Verifies an Agent message. + * Verifies an ExecuteTaskSyncResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskCategory. */ - interface ITaskCategory { + /** Properties of a GetTaskRequest. */ + interface IGetTaskRequest { - /** TaskCategory name */ - name?: (string|null); + /** GetTaskRequest taskType */ + taskType?: (string|null); - /** TaskCategory version */ - version?: (number|null); + /** GetTaskRequest resourceMeta */ + resourceMeta?: (Uint8Array|null); + + /** GetTaskRequest taskCategory */ + taskCategory?: (flyteidl.admin.ITaskCategory|null); } - /** Represents a TaskCategory. */ - class TaskCategory implements ITaskCategory { + /** Represents a GetTaskRequest. */ + class GetTaskRequest implements IGetTaskRequest { /** - * Constructs a new TaskCategory. + * Constructs a new GetTaskRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskCategory); + constructor(properties?: flyteidl.admin.IGetTaskRequest); - /** TaskCategory name. */ - public name: string; + /** GetTaskRequest taskType. */ + public taskType: string; - /** TaskCategory version. */ - public version: number; + /** GetTaskRequest resourceMeta. */ + public resourceMeta: Uint8Array; + + /** GetTaskRequest taskCategory. */ + public taskCategory?: (flyteidl.admin.ITaskCategory|null); /** - * Creates a new TaskCategory instance using the specified properties. + * Creates a new GetTaskRequest instance using the specified properties. * @param [properties] Properties to set - * @returns TaskCategory instance + * @returns GetTaskRequest instance */ - public static create(properties?: flyteidl.admin.ITaskCategory): flyteidl.admin.TaskCategory; + public static create(properties?: flyteidl.admin.IGetTaskRequest): flyteidl.admin.GetTaskRequest; /** - * Encodes the specified TaskCategory message. Does not implicitly {@link flyteidl.admin.TaskCategory.verify|verify} messages. - * @param message TaskCategory message or plain object to encode + * Encodes the specified GetTaskRequest message. Does not implicitly {@link flyteidl.admin.GetTaskRequest.verify|verify} messages. + * @param message GetTaskRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskCategory, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskCategory message from the specified reader or buffer. + * Decodes a GetTaskRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskCategory + * @returns GetTaskRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskCategory; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskRequest; /** - * Verifies a TaskCategory message. + * Verifies a GetTaskRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetAgentRequest. */ - interface IGetAgentRequest { + /** Properties of a GetTaskResponse. */ + interface IGetTaskResponse { - /** GetAgentRequest name */ - name?: (string|null); + /** GetTaskResponse resource */ + resource?: (flyteidl.admin.IResource|null); } - /** Represents a GetAgentRequest. */ - class GetAgentRequest implements IGetAgentRequest { + /** Represents a GetTaskResponse. */ + class GetTaskResponse implements IGetTaskResponse { /** - * Constructs a new GetAgentRequest. + * Constructs a new GetTaskResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetAgentRequest); + constructor(properties?: flyteidl.admin.IGetTaskResponse); - /** GetAgentRequest name. */ - public name: string; + /** GetTaskResponse resource. */ + public resource?: (flyteidl.admin.IResource|null); /** - * Creates a new GetAgentRequest instance using the specified properties. + * Creates a new GetTaskResponse instance using the specified properties. * @param [properties] Properties to set - * @returns GetAgentRequest instance + * @returns GetTaskResponse instance */ - public static create(properties?: flyteidl.admin.IGetAgentRequest): flyteidl.admin.GetAgentRequest; + public static create(properties?: flyteidl.admin.IGetTaskResponse): flyteidl.admin.GetTaskResponse; /** - * Encodes the specified GetAgentRequest message. Does not implicitly {@link flyteidl.admin.GetAgentRequest.verify|verify} messages. - * @param message GetAgentRequest message or plain object to encode + * Encodes the specified GetTaskResponse message. Does not implicitly {@link flyteidl.admin.GetTaskResponse.verify|verify} messages. + * @param message GetTaskResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetAgentRequest message from the specified reader or buffer. + * Decodes a GetTaskResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetAgentRequest + * @returns GetTaskResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetAgentRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskResponse; /** - * Verifies a GetAgentRequest message. + * Verifies a GetTaskResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetAgentResponse. */ - interface IGetAgentResponse { + /** Properties of a Resource. */ + interface IResource { - /** GetAgentResponse agent */ - agent?: (flyteidl.admin.IAgent|null); + /** Resource state */ + state?: (flyteidl.admin.State|null); + + /** Resource outputs */ + outputs?: (flyteidl.core.ILiteralMap|null); + + /** Resource message */ + message?: (string|null); + + /** Resource logLinks */ + logLinks?: (flyteidl.core.ITaskLog[]|null); + + /** Resource phase */ + phase?: (flyteidl.core.TaskExecution.Phase|null); + + /** Resource customInfo */ + customInfo?: (google.protobuf.IStruct|null); + + /** Resource agentError */ + agentError?: (flyteidl.admin.IAgentError|null); } - /** Represents a GetAgentResponse. */ - class GetAgentResponse implements IGetAgentResponse { + /** Represents a Resource. */ + class Resource implements IResource { /** - * Constructs a new GetAgentResponse. + * Constructs a new Resource. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetAgentResponse); + constructor(properties?: flyteidl.admin.IResource); - /** GetAgentResponse agent. */ - public agent?: (flyteidl.admin.IAgent|null); + /** Resource state. */ + public state: flyteidl.admin.State; + + /** Resource outputs. */ + public outputs?: (flyteidl.core.ILiteralMap|null); + + /** Resource message. */ + public message: string; + + /** Resource logLinks. */ + public logLinks: flyteidl.core.ITaskLog[]; + + /** Resource phase. */ + public phase: flyteidl.core.TaskExecution.Phase; + + /** Resource customInfo. */ + public customInfo?: (google.protobuf.IStruct|null); + + /** Resource agentError. */ + public agentError?: (flyteidl.admin.IAgentError|null); /** - * Creates a new GetAgentResponse instance using the specified properties. + * Creates a new Resource instance using the specified properties. * @param [properties] Properties to set - * @returns GetAgentResponse instance + * @returns Resource instance */ - public static create(properties?: flyteidl.admin.IGetAgentResponse): flyteidl.admin.GetAgentResponse; + public static create(properties?: flyteidl.admin.IResource): flyteidl.admin.Resource; /** - * Encodes the specified GetAgentResponse message. Does not implicitly {@link flyteidl.admin.GetAgentResponse.verify|verify} messages. - * @param message GetAgentResponse message or plain object to encode + * Encodes the specified Resource message. Does not implicitly {@link flyteidl.admin.Resource.verify|verify} messages. + * @param message Resource message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetAgentResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IResource, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetAgentResponse message from the specified reader or buffer. + * Decodes a Resource message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetAgentResponse + * @returns Resource * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetAgentResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Resource; /** - * Verifies a GetAgentResponse message. + * Verifies a Resource message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ListAgentsRequest. */ - interface IListAgentsRequest { + /** Properties of a DeleteTaskRequest. */ + interface IDeleteTaskRequest { + + /** DeleteTaskRequest taskType */ + taskType?: (string|null); + + /** DeleteTaskRequest resourceMeta */ + resourceMeta?: (Uint8Array|null); + + /** DeleteTaskRequest taskCategory */ + taskCategory?: (flyteidl.admin.ITaskCategory|null); } - /** Represents a ListAgentsRequest. */ - class ListAgentsRequest implements IListAgentsRequest { + /** Represents a DeleteTaskRequest. */ + class DeleteTaskRequest implements IDeleteTaskRequest { /** - * Constructs a new ListAgentsRequest. + * Constructs a new DeleteTaskRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IListAgentsRequest); + constructor(properties?: flyteidl.admin.IDeleteTaskRequest); + + /** DeleteTaskRequest taskType. */ + public taskType: string; + + /** DeleteTaskRequest resourceMeta. */ + public resourceMeta: Uint8Array; + + /** DeleteTaskRequest taskCategory. */ + public taskCategory?: (flyteidl.admin.ITaskCategory|null); /** - * Creates a new ListAgentsRequest instance using the specified properties. + * Creates a new DeleteTaskRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ListAgentsRequest instance + * @returns DeleteTaskRequest instance */ - public static create(properties?: flyteidl.admin.IListAgentsRequest): flyteidl.admin.ListAgentsRequest; + public static create(properties?: flyteidl.admin.IDeleteTaskRequest): flyteidl.admin.DeleteTaskRequest; /** - * Encodes the specified ListAgentsRequest message. Does not implicitly {@link flyteidl.admin.ListAgentsRequest.verify|verify} messages. - * @param message ListAgentsRequest message or plain object to encode + * Encodes the specified DeleteTaskRequest message. Does not implicitly {@link flyteidl.admin.DeleteTaskRequest.verify|verify} messages. + * @param message DeleteTaskRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IListAgentsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ListAgentsRequest message from the specified reader or buffer. + * Decodes a DeleteTaskRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ListAgentsRequest + * @returns DeleteTaskRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ListAgentsRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DeleteTaskRequest; /** - * Verifies a ListAgentsRequest message. + * Verifies a DeleteTaskRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ListAgentsResponse. */ - interface IListAgentsResponse { - - /** ListAgentsResponse agents */ - agents?: (flyteidl.admin.IAgent[]|null); + /** Properties of a DeleteTaskResponse. */ + interface IDeleteTaskResponse { } - /** Represents a ListAgentsResponse. */ - class ListAgentsResponse implements IListAgentsResponse { + /** Represents a DeleteTaskResponse. */ + class DeleteTaskResponse implements IDeleteTaskResponse { /** - * Constructs a new ListAgentsResponse. + * Constructs a new DeleteTaskResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IListAgentsResponse); - - /** ListAgentsResponse agents. */ - public agents: flyteidl.admin.IAgent[]; + constructor(properties?: flyteidl.admin.IDeleteTaskResponse); /** - * Creates a new ListAgentsResponse instance using the specified properties. + * Creates a new DeleteTaskResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ListAgentsResponse instance + * @returns DeleteTaskResponse instance */ - public static create(properties?: flyteidl.admin.IListAgentsResponse): flyteidl.admin.ListAgentsResponse; + public static create(properties?: flyteidl.admin.IDeleteTaskResponse): flyteidl.admin.DeleteTaskResponse; /** - * Encodes the specified ListAgentsResponse message. Does not implicitly {@link flyteidl.admin.ListAgentsResponse.verify|verify} messages. - * @param message ListAgentsResponse message or plain object to encode + * Encodes the specified DeleteTaskResponse message. Does not implicitly {@link flyteidl.admin.DeleteTaskResponse.verify|verify} messages. + * @param message DeleteTaskResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IListAgentsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDeleteTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ListAgentsResponse message from the specified reader or buffer. + * Decodes a DeleteTaskResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ListAgentsResponse + * @returns DeleteTaskResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ListAgentsResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DeleteTaskResponse; /** - * Verifies a ListAgentsResponse message. + * Verifies a DeleteTaskResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetTaskMetricsRequest. */ - interface IGetTaskMetricsRequest { - - /** GetTaskMetricsRequest taskType */ - taskType?: (string|null); - - /** GetTaskMetricsRequest resourceMeta */ - resourceMeta?: (Uint8Array|null); - - /** GetTaskMetricsRequest queries */ - queries?: (string[]|null); + /** Properties of an Agent. */ + interface IAgent { - /** GetTaskMetricsRequest startTime */ - startTime?: (google.protobuf.ITimestamp|null); + /** Agent name */ + name?: (string|null); - /** GetTaskMetricsRequest endTime */ - endTime?: (google.protobuf.ITimestamp|null); + /** Agent supportedTaskTypes */ + supportedTaskTypes?: (string[]|null); - /** GetTaskMetricsRequest step */ - step?: (google.protobuf.IDuration|null); + /** Agent isSync */ + isSync?: (boolean|null); - /** GetTaskMetricsRequest taskCategory */ - taskCategory?: (flyteidl.admin.ITaskCategory|null); + /** Agent supportedTaskCategories */ + supportedTaskCategories?: (flyteidl.admin.ITaskCategory[]|null); } - /** Represents a GetTaskMetricsRequest. */ - class GetTaskMetricsRequest implements IGetTaskMetricsRequest { + /** Represents an Agent. */ + class Agent implements IAgent { /** - * Constructs a new GetTaskMetricsRequest. + * Constructs a new Agent. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetTaskMetricsRequest); - - /** GetTaskMetricsRequest taskType. */ - public taskType: string; - - /** GetTaskMetricsRequest resourceMeta. */ - public resourceMeta: Uint8Array; - - /** GetTaskMetricsRequest queries. */ - public queries: string[]; + constructor(properties?: flyteidl.admin.IAgent); - /** GetTaskMetricsRequest startTime. */ - public startTime?: (google.protobuf.ITimestamp|null); + /** Agent name. */ + public name: string; - /** GetTaskMetricsRequest endTime. */ - public endTime?: (google.protobuf.ITimestamp|null); + /** Agent supportedTaskTypes. */ + public supportedTaskTypes: string[]; - /** GetTaskMetricsRequest step. */ - public step?: (google.protobuf.IDuration|null); + /** Agent isSync. */ + public isSync: boolean; - /** GetTaskMetricsRequest taskCategory. */ - public taskCategory?: (flyteidl.admin.ITaskCategory|null); + /** Agent supportedTaskCategories. */ + public supportedTaskCategories: flyteidl.admin.ITaskCategory[]; /** - * Creates a new GetTaskMetricsRequest instance using the specified properties. + * Creates a new Agent instance using the specified properties. * @param [properties] Properties to set - * @returns GetTaskMetricsRequest instance + * @returns Agent instance */ - public static create(properties?: flyteidl.admin.IGetTaskMetricsRequest): flyteidl.admin.GetTaskMetricsRequest; + public static create(properties?: flyteidl.admin.IAgent): flyteidl.admin.Agent; /** - * Encodes the specified GetTaskMetricsRequest message. Does not implicitly {@link flyteidl.admin.GetTaskMetricsRequest.verify|verify} messages. - * @param message GetTaskMetricsRequest message or plain object to encode + * Encodes the specified Agent message. Does not implicitly {@link flyteidl.admin.Agent.verify|verify} messages. + * @param message Agent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetTaskMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IAgent, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetTaskMetricsRequest message from the specified reader or buffer. + * Decodes an Agent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetTaskMetricsRequest + * @returns Agent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskMetricsRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Agent; /** - * Verifies a GetTaskMetricsRequest message. + * Verifies an Agent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetTaskMetricsResponse. */ - interface IGetTaskMetricsResponse { + /** Properties of a TaskCategory. */ + interface ITaskCategory { - /** GetTaskMetricsResponse results */ - results?: (flyteidl.core.IExecutionMetricResult[]|null); + /** TaskCategory name */ + name?: (string|null); + + /** TaskCategory version */ + version?: (number|null); } - /** Represents a GetTaskMetricsResponse. */ - class GetTaskMetricsResponse implements IGetTaskMetricsResponse { + /** Represents a TaskCategory. */ + class TaskCategory implements ITaskCategory { /** - * Constructs a new GetTaskMetricsResponse. + * Constructs a new TaskCategory. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetTaskMetricsResponse); + constructor(properties?: flyteidl.admin.ITaskCategory); - /** GetTaskMetricsResponse results. */ - public results: flyteidl.core.IExecutionMetricResult[]; + /** TaskCategory name. */ + public name: string; + + /** TaskCategory version. */ + public version: number; /** - * Creates a new GetTaskMetricsResponse instance using the specified properties. + * Creates a new TaskCategory instance using the specified properties. * @param [properties] Properties to set - * @returns GetTaskMetricsResponse instance + * @returns TaskCategory instance */ - public static create(properties?: flyteidl.admin.IGetTaskMetricsResponse): flyteidl.admin.GetTaskMetricsResponse; + public static create(properties?: flyteidl.admin.ITaskCategory): flyteidl.admin.TaskCategory; /** - * Encodes the specified GetTaskMetricsResponse message. Does not implicitly {@link flyteidl.admin.GetTaskMetricsResponse.verify|verify} messages. - * @param message GetTaskMetricsResponse message or plain object to encode + * Encodes the specified TaskCategory message. Does not implicitly {@link flyteidl.admin.TaskCategory.verify|verify} messages. + * @param message TaskCategory message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetTaskMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskCategory, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetTaskMetricsResponse message from the specified reader or buffer. + * Decodes a TaskCategory message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetTaskMetricsResponse + * @returns TaskCategory * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskMetricsResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskCategory; /** - * Verifies a GetTaskMetricsResponse message. + * Verifies a TaskCategory message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetTaskLogsRequest. */ - interface IGetTaskLogsRequest { - - /** GetTaskLogsRequest taskType */ - taskType?: (string|null); - - /** GetTaskLogsRequest resourceMeta */ - resourceMeta?: (Uint8Array|null); - - /** GetTaskLogsRequest lines */ - lines?: (Long|null); - - /** GetTaskLogsRequest token */ - token?: (string|null); + /** Properties of a GetAgentRequest. */ + interface IGetAgentRequest { - /** GetTaskLogsRequest taskCategory */ - taskCategory?: (flyteidl.admin.ITaskCategory|null); + /** GetAgentRequest name */ + name?: (string|null); } - /** Represents a GetTaskLogsRequest. */ - class GetTaskLogsRequest implements IGetTaskLogsRequest { + /** Represents a GetAgentRequest. */ + class GetAgentRequest implements IGetAgentRequest { /** - * Constructs a new GetTaskLogsRequest. + * Constructs a new GetAgentRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetTaskLogsRequest); - - /** GetTaskLogsRequest taskType. */ - public taskType: string; - - /** GetTaskLogsRequest resourceMeta. */ - public resourceMeta: Uint8Array; - - /** GetTaskLogsRequest lines. */ - public lines: Long; - - /** GetTaskLogsRequest token. */ - public token: string; + constructor(properties?: flyteidl.admin.IGetAgentRequest); - /** GetTaskLogsRequest taskCategory. */ - public taskCategory?: (flyteidl.admin.ITaskCategory|null); + /** GetAgentRequest name. */ + public name: string; /** - * Creates a new GetTaskLogsRequest instance using the specified properties. + * Creates a new GetAgentRequest instance using the specified properties. * @param [properties] Properties to set - * @returns GetTaskLogsRequest instance + * @returns GetAgentRequest instance */ - public static create(properties?: flyteidl.admin.IGetTaskLogsRequest): flyteidl.admin.GetTaskLogsRequest; + public static create(properties?: flyteidl.admin.IGetAgentRequest): flyteidl.admin.GetAgentRequest; /** - * Encodes the specified GetTaskLogsRequest message. Does not implicitly {@link flyteidl.admin.GetTaskLogsRequest.verify|verify} messages. - * @param message GetTaskLogsRequest message or plain object to encode + * Encodes the specified GetAgentRequest message. Does not implicitly {@link flyteidl.admin.GetAgentRequest.verify|verify} messages. + * @param message GetAgentRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetTaskLogsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetTaskLogsRequest message from the specified reader or buffer. + * Decodes a GetAgentRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetTaskLogsRequest + * @returns GetAgentRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskLogsRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetAgentRequest; /** - * Verifies a GetTaskLogsRequest message. + * Verifies a GetAgentRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetTaskLogsResponseHeader. */ - interface IGetTaskLogsResponseHeader { + /** Properties of a GetAgentResponse. */ + interface IGetAgentResponse { - /** GetTaskLogsResponseHeader token */ - token?: (string|null); + /** GetAgentResponse agent */ + agent?: (flyteidl.admin.IAgent|null); } - /** Represents a GetTaskLogsResponseHeader. */ - class GetTaskLogsResponseHeader implements IGetTaskLogsResponseHeader { + /** Represents a GetAgentResponse. */ + class GetAgentResponse implements IGetAgentResponse { /** - * Constructs a new GetTaskLogsResponseHeader. + * Constructs a new GetAgentResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetTaskLogsResponseHeader); + constructor(properties?: flyteidl.admin.IGetAgentResponse); - /** GetTaskLogsResponseHeader token. */ - public token: string; + /** GetAgentResponse agent. */ + public agent?: (flyteidl.admin.IAgent|null); /** - * Creates a new GetTaskLogsResponseHeader instance using the specified properties. + * Creates a new GetAgentResponse instance using the specified properties. * @param [properties] Properties to set - * @returns GetTaskLogsResponseHeader instance + * @returns GetAgentResponse instance */ - public static create(properties?: flyteidl.admin.IGetTaskLogsResponseHeader): flyteidl.admin.GetTaskLogsResponseHeader; + public static create(properties?: flyteidl.admin.IGetAgentResponse): flyteidl.admin.GetAgentResponse; /** - * Encodes the specified GetTaskLogsResponseHeader message. Does not implicitly {@link flyteidl.admin.GetTaskLogsResponseHeader.verify|verify} messages. - * @param message GetTaskLogsResponseHeader message or plain object to encode + * Encodes the specified GetAgentResponse message. Does not implicitly {@link flyteidl.admin.GetAgentResponse.verify|verify} messages. + * @param message GetAgentResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetTaskLogsResponseHeader, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetAgentResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetTaskLogsResponseHeader message from the specified reader or buffer. + * Decodes a GetAgentResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetTaskLogsResponseHeader + * @returns GetAgentResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskLogsResponseHeader; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetAgentResponse; /** - * Verifies a GetTaskLogsResponseHeader message. + * Verifies a GetAgentResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetTaskLogsResponseBody. */ - interface IGetTaskLogsResponseBody { - - /** GetTaskLogsResponseBody results */ - results?: (string[]|null); + /** Properties of a ListAgentsRequest. */ + interface IListAgentsRequest { } - /** Represents a GetTaskLogsResponseBody. */ - class GetTaskLogsResponseBody implements IGetTaskLogsResponseBody { + /** Represents a ListAgentsRequest. */ + class ListAgentsRequest implements IListAgentsRequest { /** - * Constructs a new GetTaskLogsResponseBody. + * Constructs a new ListAgentsRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetTaskLogsResponseBody); - - /** GetTaskLogsResponseBody results. */ - public results: string[]; + constructor(properties?: flyteidl.admin.IListAgentsRequest); /** - * Creates a new GetTaskLogsResponseBody instance using the specified properties. + * Creates a new ListAgentsRequest instance using the specified properties. * @param [properties] Properties to set - * @returns GetTaskLogsResponseBody instance + * @returns ListAgentsRequest instance */ - public static create(properties?: flyteidl.admin.IGetTaskLogsResponseBody): flyteidl.admin.GetTaskLogsResponseBody; + public static create(properties?: flyteidl.admin.IListAgentsRequest): flyteidl.admin.ListAgentsRequest; /** - * Encodes the specified GetTaskLogsResponseBody message. Does not implicitly {@link flyteidl.admin.GetTaskLogsResponseBody.verify|verify} messages. - * @param message GetTaskLogsResponseBody message or plain object to encode + * Encodes the specified ListAgentsRequest message. Does not implicitly {@link flyteidl.admin.ListAgentsRequest.verify|verify} messages. + * @param message ListAgentsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetTaskLogsResponseBody, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IListAgentsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetTaskLogsResponseBody message from the specified reader or buffer. + * Decodes a ListAgentsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetTaskLogsResponseBody + * @returns ListAgentsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskLogsResponseBody; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ListAgentsRequest; /** - * Verifies a GetTaskLogsResponseBody message. + * Verifies a ListAgentsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetTaskLogsResponse. */ - interface IGetTaskLogsResponse { - - /** GetTaskLogsResponse header */ - header?: (flyteidl.admin.IGetTaskLogsResponseHeader|null); + /** Properties of a ListAgentsResponse. */ + interface IListAgentsResponse { - /** GetTaskLogsResponse body */ - body?: (flyteidl.admin.IGetTaskLogsResponseBody|null); + /** ListAgentsResponse agents */ + agents?: (flyteidl.admin.IAgent[]|null); } - /** Represents a GetTaskLogsResponse. */ - class GetTaskLogsResponse implements IGetTaskLogsResponse { + /** Represents a ListAgentsResponse. */ + class ListAgentsResponse implements IListAgentsResponse { /** - * Constructs a new GetTaskLogsResponse. + * Constructs a new ListAgentsResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetTaskLogsResponse); - - /** GetTaskLogsResponse header. */ - public header?: (flyteidl.admin.IGetTaskLogsResponseHeader|null); - - /** GetTaskLogsResponse body. */ - public body?: (flyteidl.admin.IGetTaskLogsResponseBody|null); + constructor(properties?: flyteidl.admin.IListAgentsResponse); - /** GetTaskLogsResponse part. */ - public part?: ("header"|"body"); + /** ListAgentsResponse agents. */ + public agents: flyteidl.admin.IAgent[]; /** - * Creates a new GetTaskLogsResponse instance using the specified properties. + * Creates a new ListAgentsResponse instance using the specified properties. * @param [properties] Properties to set - * @returns GetTaskLogsResponse instance + * @returns ListAgentsResponse instance */ - public static create(properties?: flyteidl.admin.IGetTaskLogsResponse): flyteidl.admin.GetTaskLogsResponse; + public static create(properties?: flyteidl.admin.IListAgentsResponse): flyteidl.admin.ListAgentsResponse; /** - * Encodes the specified GetTaskLogsResponse message. Does not implicitly {@link flyteidl.admin.GetTaskLogsResponse.verify|verify} messages. - * @param message GetTaskLogsResponse message or plain object to encode + * Encodes the specified ListAgentsResponse message. Does not implicitly {@link flyteidl.admin.ListAgentsResponse.verify|verify} messages. + * @param message ListAgentsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetTaskLogsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IListAgentsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetTaskLogsResponse message from the specified reader or buffer. + * Decodes a ListAgentsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetTaskLogsResponse + * @returns ListAgentsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskLogsResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ListAgentsResponse; /** - * Verifies a GetTaskLogsResponse message. + * Verifies a ListAgentsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an AgentError. */ - interface IAgentError { + /** Properties of a GetTaskMetricsRequest. */ + interface IGetTaskMetricsRequest { - /** AgentError code */ - code?: (string|null); + /** GetTaskMetricsRequest taskType */ + taskType?: (string|null); - /** AgentError kind */ - kind?: (flyteidl.admin.AgentError.Kind|null); + /** GetTaskMetricsRequest resourceMeta */ + resourceMeta?: (Uint8Array|null); - /** AgentError origin */ - origin?: (flyteidl.core.ExecutionError.ErrorKind|null); + /** GetTaskMetricsRequest queries */ + queries?: (string[]|null); + + /** GetTaskMetricsRequest startTime */ + startTime?: (google.protobuf.ITimestamp|null); + + /** GetTaskMetricsRequest endTime */ + endTime?: (google.protobuf.ITimestamp|null); + + /** GetTaskMetricsRequest step */ + step?: (google.protobuf.IDuration|null); + + /** GetTaskMetricsRequest taskCategory */ + taskCategory?: (flyteidl.admin.ITaskCategory|null); } - /** Represents an AgentError. */ - class AgentError implements IAgentError { + /** Represents a GetTaskMetricsRequest. */ + class GetTaskMetricsRequest implements IGetTaskMetricsRequest { /** - * Constructs a new AgentError. + * Constructs a new GetTaskMetricsRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IAgentError); + constructor(properties?: flyteidl.admin.IGetTaskMetricsRequest); - /** AgentError code. */ - public code: string; + /** GetTaskMetricsRequest taskType. */ + public taskType: string; - /** AgentError kind. */ - public kind: flyteidl.admin.AgentError.Kind; + /** GetTaskMetricsRequest resourceMeta. */ + public resourceMeta: Uint8Array; - /** AgentError origin. */ - public origin: flyteidl.core.ExecutionError.ErrorKind; + /** GetTaskMetricsRequest queries. */ + public queries: string[]; + + /** GetTaskMetricsRequest startTime. */ + public startTime?: (google.protobuf.ITimestamp|null); + + /** GetTaskMetricsRequest endTime. */ + public endTime?: (google.protobuf.ITimestamp|null); + + /** GetTaskMetricsRequest step. */ + public step?: (google.protobuf.IDuration|null); + + /** GetTaskMetricsRequest taskCategory. */ + public taskCategory?: (flyteidl.admin.ITaskCategory|null); /** - * Creates a new AgentError instance using the specified properties. + * Creates a new GetTaskMetricsRequest instance using the specified properties. * @param [properties] Properties to set - * @returns AgentError instance + * @returns GetTaskMetricsRequest instance */ - public static create(properties?: flyteidl.admin.IAgentError): flyteidl.admin.AgentError; + public static create(properties?: flyteidl.admin.IGetTaskMetricsRequest): flyteidl.admin.GetTaskMetricsRequest; /** - * Encodes the specified AgentError message. Does not implicitly {@link flyteidl.admin.AgentError.verify|verify} messages. - * @param message AgentError message or plain object to encode + * Encodes the specified GetTaskMetricsRequest message. Does not implicitly {@link flyteidl.admin.GetTaskMetricsRequest.verify|verify} messages. + * @param message GetTaskMetricsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IAgentError, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetTaskMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an AgentError message from the specified reader or buffer. + * Decodes a GetTaskMetricsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns AgentError + * @returns GetTaskMetricsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.AgentError; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskMetricsRequest; /** - * Verifies an AgentError message. + * Verifies a GetTaskMetricsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - namespace AgentError { - - /** Kind enum. */ - enum Kind { - NON_RECOVERABLE = 0, - RECOVERABLE = 1 - } - } - - /** Properties of a ClusterAssignment. */ - interface IClusterAssignment { + /** Properties of a GetTaskMetricsResponse. */ + interface IGetTaskMetricsResponse { - /** ClusterAssignment clusterPoolName */ - clusterPoolName?: (string|null); + /** GetTaskMetricsResponse results */ + results?: (flyteidl.core.IExecutionMetricResult[]|null); } - /** Represents a ClusterAssignment. */ - class ClusterAssignment implements IClusterAssignment { + /** Represents a GetTaskMetricsResponse. */ + class GetTaskMetricsResponse implements IGetTaskMetricsResponse { /** - * Constructs a new ClusterAssignment. + * Constructs a new GetTaskMetricsResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IClusterAssignment); + constructor(properties?: flyteidl.admin.IGetTaskMetricsResponse); - /** ClusterAssignment clusterPoolName. */ - public clusterPoolName: string; + /** GetTaskMetricsResponse results. */ + public results: flyteidl.core.IExecutionMetricResult[]; /** - * Creates a new ClusterAssignment instance using the specified properties. + * Creates a new GetTaskMetricsResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ClusterAssignment instance + * @returns GetTaskMetricsResponse instance */ - public static create(properties?: flyteidl.admin.IClusterAssignment): flyteidl.admin.ClusterAssignment; + public static create(properties?: flyteidl.admin.IGetTaskMetricsResponse): flyteidl.admin.GetTaskMetricsResponse; /** - * Encodes the specified ClusterAssignment message. Does not implicitly {@link flyteidl.admin.ClusterAssignment.verify|verify} messages. - * @param message ClusterAssignment message or plain object to encode + * Encodes the specified GetTaskMetricsResponse message. Does not implicitly {@link flyteidl.admin.GetTaskMetricsResponse.verify|verify} messages. + * @param message GetTaskMetricsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IClusterAssignment, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetTaskMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ClusterAssignment message from the specified reader or buffer. + * Decodes a GetTaskMetricsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ClusterAssignment + * @returns GetTaskMetricsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ClusterAssignment; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskMetricsResponse; /** - * Verifies a ClusterAssignment message. + * Verifies a GetTaskMetricsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NamedEntityIdentifier. */ - interface INamedEntityIdentifier { + /** Properties of a GetTaskLogsRequest. */ + interface IGetTaskLogsRequest { - /** NamedEntityIdentifier project */ - project?: (string|null); + /** GetTaskLogsRequest taskType */ + taskType?: (string|null); - /** NamedEntityIdentifier domain */ - domain?: (string|null); + /** GetTaskLogsRequest resourceMeta */ + resourceMeta?: (Uint8Array|null); - /** NamedEntityIdentifier name */ - name?: (string|null); + /** GetTaskLogsRequest lines */ + lines?: (Long|null); - /** NamedEntityIdentifier org */ - org?: (string|null); + /** GetTaskLogsRequest token */ + token?: (string|null); + + /** GetTaskLogsRequest taskCategory */ + taskCategory?: (flyteidl.admin.ITaskCategory|null); } - /** Represents a NamedEntityIdentifier. */ - class NamedEntityIdentifier implements INamedEntityIdentifier { + /** Represents a GetTaskLogsRequest. */ + class GetTaskLogsRequest implements IGetTaskLogsRequest { /** - * Constructs a new NamedEntityIdentifier. + * Constructs a new GetTaskLogsRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityIdentifier); + constructor(properties?: flyteidl.admin.IGetTaskLogsRequest); - /** NamedEntityIdentifier project. */ - public project: string; + /** GetTaskLogsRequest taskType. */ + public taskType: string; - /** NamedEntityIdentifier domain. */ - public domain: string; + /** GetTaskLogsRequest resourceMeta. */ + public resourceMeta: Uint8Array; - /** NamedEntityIdentifier name. */ - public name: string; + /** GetTaskLogsRequest lines. */ + public lines: Long; - /** NamedEntityIdentifier org. */ - public org: string; + /** GetTaskLogsRequest token. */ + public token: string; + + /** GetTaskLogsRequest taskCategory. */ + public taskCategory?: (flyteidl.admin.ITaskCategory|null); /** - * Creates a new NamedEntityIdentifier instance using the specified properties. + * Creates a new GetTaskLogsRequest instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityIdentifier instance + * @returns GetTaskLogsRequest instance */ - public static create(properties?: flyteidl.admin.INamedEntityIdentifier): flyteidl.admin.NamedEntityIdentifier; + public static create(properties?: flyteidl.admin.IGetTaskLogsRequest): flyteidl.admin.GetTaskLogsRequest; /** - * Encodes the specified NamedEntityIdentifier message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifier.verify|verify} messages. - * @param message NamedEntityIdentifier message or plain object to encode + * Encodes the specified GetTaskLogsRequest message. Does not implicitly {@link flyteidl.admin.GetTaskLogsRequest.verify|verify} messages. + * @param message GetTaskLogsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INamedEntityIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetTaskLogsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityIdentifier message from the specified reader or buffer. + * Decodes a GetTaskLogsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NamedEntityIdentifier + * @returns GetTaskLogsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityIdentifier; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskLogsRequest; /** - * Verifies a NamedEntityIdentifier message. + * Verifies a GetTaskLogsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** NamedEntityState enum. */ - enum NamedEntityState { - NAMED_ENTITY_ACTIVE = 0, - NAMED_ENTITY_ARCHIVED = 1, - SYSTEM_GENERATED = 2 - } - - /** Properties of a NamedEntityMetadata. */ - interface INamedEntityMetadata { - - /** NamedEntityMetadata description */ - description?: (string|null); + /** Properties of a GetTaskLogsResponseHeader. */ + interface IGetTaskLogsResponseHeader { - /** NamedEntityMetadata state */ - state?: (flyteidl.admin.NamedEntityState|null); + /** GetTaskLogsResponseHeader token */ + token?: (string|null); } - /** Represents a NamedEntityMetadata. */ - class NamedEntityMetadata implements INamedEntityMetadata { + /** Represents a GetTaskLogsResponseHeader. */ + class GetTaskLogsResponseHeader implements IGetTaskLogsResponseHeader { /** - * Constructs a new NamedEntityMetadata. + * Constructs a new GetTaskLogsResponseHeader. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityMetadata); - - /** NamedEntityMetadata description. */ - public description: string; + constructor(properties?: flyteidl.admin.IGetTaskLogsResponseHeader); - /** NamedEntityMetadata state. */ - public state: flyteidl.admin.NamedEntityState; + /** GetTaskLogsResponseHeader token. */ + public token: string; /** - * Creates a new NamedEntityMetadata instance using the specified properties. + * Creates a new GetTaskLogsResponseHeader instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityMetadata instance + * @returns GetTaskLogsResponseHeader instance */ - public static create(properties?: flyteidl.admin.INamedEntityMetadata): flyteidl.admin.NamedEntityMetadata; + public static create(properties?: flyteidl.admin.IGetTaskLogsResponseHeader): flyteidl.admin.GetTaskLogsResponseHeader; /** - * Encodes the specified NamedEntityMetadata message. Does not implicitly {@link flyteidl.admin.NamedEntityMetadata.verify|verify} messages. - * @param message NamedEntityMetadata message or plain object to encode + * Encodes the specified GetTaskLogsResponseHeader message. Does not implicitly {@link flyteidl.admin.GetTaskLogsResponseHeader.verify|verify} messages. + * @param message GetTaskLogsResponseHeader message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INamedEntityMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetTaskLogsResponseHeader, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityMetadata message from the specified reader or buffer. + * Decodes a GetTaskLogsResponseHeader message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NamedEntityMetadata + * @returns GetTaskLogsResponseHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskLogsResponseHeader; /** - * Verifies a NamedEntityMetadata message. + * Verifies a GetTaskLogsResponseHeader message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NamedEntity. */ - interface INamedEntity { - - /** NamedEntity resourceType */ - resourceType?: (flyteidl.core.ResourceType|null); + /** Properties of a GetTaskLogsResponseBody. */ + interface IGetTaskLogsResponseBody { - /** NamedEntity id */ - id?: (flyteidl.admin.INamedEntityIdentifier|null); - - /** NamedEntity metadata */ - metadata?: (flyteidl.admin.INamedEntityMetadata|null); + /** GetTaskLogsResponseBody results */ + results?: (string[]|null); } - /** Represents a NamedEntity. */ - class NamedEntity implements INamedEntity { + /** Represents a GetTaskLogsResponseBody. */ + class GetTaskLogsResponseBody implements IGetTaskLogsResponseBody { /** - * Constructs a new NamedEntity. + * Constructs a new GetTaskLogsResponseBody. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntity); - - /** NamedEntity resourceType. */ - public resourceType: flyteidl.core.ResourceType; - - /** NamedEntity id. */ - public id?: (flyteidl.admin.INamedEntityIdentifier|null); + constructor(properties?: flyteidl.admin.IGetTaskLogsResponseBody); - /** NamedEntity metadata. */ - public metadata?: (flyteidl.admin.INamedEntityMetadata|null); + /** GetTaskLogsResponseBody results. */ + public results: string[]; /** - * Creates a new NamedEntity instance using the specified properties. + * Creates a new GetTaskLogsResponseBody instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntity instance + * @returns GetTaskLogsResponseBody instance */ - public static create(properties?: flyteidl.admin.INamedEntity): flyteidl.admin.NamedEntity; + public static create(properties?: flyteidl.admin.IGetTaskLogsResponseBody): flyteidl.admin.GetTaskLogsResponseBody; /** - * Encodes the specified NamedEntity message. Does not implicitly {@link flyteidl.admin.NamedEntity.verify|verify} messages. - * @param message NamedEntity message or plain object to encode + * Encodes the specified GetTaskLogsResponseBody message. Does not implicitly {@link flyteidl.admin.GetTaskLogsResponseBody.verify|verify} messages. + * @param message GetTaskLogsResponseBody message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INamedEntity, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetTaskLogsResponseBody, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntity message from the specified reader or buffer. + * Decodes a GetTaskLogsResponseBody message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NamedEntity + * @returns GetTaskLogsResponseBody * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntity; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskLogsResponseBody; /** - * Verifies a NamedEntity message. + * Verifies a GetTaskLogsResponseBody message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a Sort. */ - interface ISort { + /** Properties of a GetTaskLogsResponse. */ + interface IGetTaskLogsResponse { - /** Sort key */ - key?: (string|null); + /** GetTaskLogsResponse header */ + header?: (flyteidl.admin.IGetTaskLogsResponseHeader|null); - /** Sort direction */ - direction?: (flyteidl.admin.Sort.Direction|null); + /** GetTaskLogsResponse body */ + body?: (flyteidl.admin.IGetTaskLogsResponseBody|null); } - /** Represents a Sort. */ - class Sort implements ISort { + /** Represents a GetTaskLogsResponse. */ + class GetTaskLogsResponse implements IGetTaskLogsResponse { /** - * Constructs a new Sort. + * Constructs a new GetTaskLogsResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISort); + constructor(properties?: flyteidl.admin.IGetTaskLogsResponse); - /** Sort key. */ - public key: string; + /** GetTaskLogsResponse header. */ + public header?: (flyteidl.admin.IGetTaskLogsResponseHeader|null); - /** Sort direction. */ - public direction: flyteidl.admin.Sort.Direction; + /** GetTaskLogsResponse body. */ + public body?: (flyteidl.admin.IGetTaskLogsResponseBody|null); + + /** GetTaskLogsResponse part. */ + public part?: ("header"|"body"); /** - * Creates a new Sort instance using the specified properties. + * Creates a new GetTaskLogsResponse instance using the specified properties. * @param [properties] Properties to set - * @returns Sort instance + * @returns GetTaskLogsResponse instance */ - public static create(properties?: flyteidl.admin.ISort): flyteidl.admin.Sort; + public static create(properties?: flyteidl.admin.IGetTaskLogsResponse): flyteidl.admin.GetTaskLogsResponse; /** - * Encodes the specified Sort message. Does not implicitly {@link flyteidl.admin.Sort.verify|verify} messages. - * @param message Sort message or plain object to encode + * Encodes the specified GetTaskLogsResponse message. Does not implicitly {@link flyteidl.admin.GetTaskLogsResponse.verify|verify} messages. + * @param message GetTaskLogsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ISort, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetTaskLogsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Sort message from the specified reader or buffer. + * Decodes a GetTaskLogsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Sort + * @returns GetTaskLogsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Sort; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskLogsResponse; /** - * Verifies a Sort message. + * Verifies a GetTaskLogsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - namespace Sort { - - /** Direction enum. */ - enum Direction { - DESCENDING = 0, - ASCENDING = 1 - } - } - - /** Properties of a NamedEntityIdentifierListRequest. */ - interface INamedEntityIdentifierListRequest { - - /** NamedEntityIdentifierListRequest project */ - project?: (string|null); - - /** NamedEntityIdentifierListRequest domain */ - domain?: (string|null); - - /** NamedEntityIdentifierListRequest limit */ - limit?: (number|null); - - /** NamedEntityIdentifierListRequest token */ - token?: (string|null); + /** Properties of an AgentError. */ + interface IAgentError { - /** NamedEntityIdentifierListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** AgentError code */ + code?: (string|null); - /** NamedEntityIdentifierListRequest filters */ - filters?: (string|null); + /** AgentError kind */ + kind?: (flyteidl.admin.AgentError.Kind|null); - /** NamedEntityIdentifierListRequest org */ - org?: (string|null); + /** AgentError origin */ + origin?: (flyteidl.core.ExecutionError.ErrorKind|null); } - /** Represents a NamedEntityIdentifierListRequest. */ - class NamedEntityIdentifierListRequest implements INamedEntityIdentifierListRequest { + /** Represents an AgentError. */ + class AgentError implements IAgentError { /** - * Constructs a new NamedEntityIdentifierListRequest. + * Constructs a new AgentError. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityIdentifierListRequest); - - /** NamedEntityIdentifierListRequest project. */ - public project: string; - - /** NamedEntityIdentifierListRequest domain. */ - public domain: string; - - /** NamedEntityIdentifierListRequest limit. */ - public limit: number; - - /** NamedEntityIdentifierListRequest token. */ - public token: string; + constructor(properties?: flyteidl.admin.IAgentError); - /** NamedEntityIdentifierListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** AgentError code. */ + public code: string; - /** NamedEntityIdentifierListRequest filters. */ - public filters: string; + /** AgentError kind. */ + public kind: flyteidl.admin.AgentError.Kind; - /** NamedEntityIdentifierListRequest org. */ - public org: string; + /** AgentError origin. */ + public origin: flyteidl.core.ExecutionError.ErrorKind; /** - * Creates a new NamedEntityIdentifierListRequest instance using the specified properties. + * Creates a new AgentError instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityIdentifierListRequest instance + * @returns AgentError instance */ - public static create(properties?: flyteidl.admin.INamedEntityIdentifierListRequest): flyteidl.admin.NamedEntityIdentifierListRequest; + public static create(properties?: flyteidl.admin.IAgentError): flyteidl.admin.AgentError; /** - * Encodes the specified NamedEntityIdentifierListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierListRequest.verify|verify} messages. - * @param message NamedEntityIdentifierListRequest message or plain object to encode + * Encodes the specified AgentError message. Does not implicitly {@link flyteidl.admin.AgentError.verify|verify} messages. + * @param message AgentError message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INamedEntityIdentifierListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IAgentError, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityIdentifierListRequest message from the specified reader or buffer. + * Decodes an AgentError message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NamedEntityIdentifierListRequest + * @returns AgentError * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityIdentifierListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.AgentError; /** - * Verifies a NamedEntityIdentifierListRequest message. + * Verifies an AgentError message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NamedEntityListRequest. */ - interface INamedEntityListRequest { - - /** NamedEntityListRequest resourceType */ - resourceType?: (flyteidl.core.ResourceType|null); - - /** NamedEntityListRequest project */ - project?: (string|null); - - /** NamedEntityListRequest domain */ - domain?: (string|null); - - /** NamedEntityListRequest limit */ - limit?: (number|null); - - /** NamedEntityListRequest token */ - token?: (string|null); + namespace AgentError { - /** NamedEntityListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** Kind enum. */ + enum Kind { + NON_RECOVERABLE = 0, + RECOVERABLE = 1 + } + } - /** NamedEntityListRequest filters */ - filters?: (string|null); + /** Properties of a ClusterAssignment. */ + interface IClusterAssignment { - /** NamedEntityListRequest org */ - org?: (string|null); + /** ClusterAssignment clusterPoolName */ + clusterPoolName?: (string|null); } - /** Represents a NamedEntityListRequest. */ - class NamedEntityListRequest implements INamedEntityListRequest { + /** Represents a ClusterAssignment. */ + class ClusterAssignment implements IClusterAssignment { /** - * Constructs a new NamedEntityListRequest. + * Constructs a new ClusterAssignment. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityListRequest); - - /** NamedEntityListRequest resourceType. */ - public resourceType: flyteidl.core.ResourceType; - - /** NamedEntityListRequest project. */ - public project: string; - - /** NamedEntityListRequest domain. */ - public domain: string; - - /** NamedEntityListRequest limit. */ - public limit: number; - - /** NamedEntityListRequest token. */ - public token: string; - - /** NamedEntityListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); - - /** NamedEntityListRequest filters. */ - public filters: string; + constructor(properties?: flyteidl.admin.IClusterAssignment); - /** NamedEntityListRequest org. */ - public org: string; + /** ClusterAssignment clusterPoolName. */ + public clusterPoolName: string; /** - * Creates a new NamedEntityListRequest instance using the specified properties. + * Creates a new ClusterAssignment instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityListRequest instance + * @returns ClusterAssignment instance */ - public static create(properties?: flyteidl.admin.INamedEntityListRequest): flyteidl.admin.NamedEntityListRequest; + public static create(properties?: flyteidl.admin.IClusterAssignment): flyteidl.admin.ClusterAssignment; /** - * Encodes the specified NamedEntityListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityListRequest.verify|verify} messages. - * @param message NamedEntityListRequest message or plain object to encode + * Encodes the specified ClusterAssignment message. Does not implicitly {@link flyteidl.admin.ClusterAssignment.verify|verify} messages. + * @param message ClusterAssignment message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INamedEntityListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IClusterAssignment, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityListRequest message from the specified reader or buffer. + * Decodes a ClusterAssignment message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NamedEntityListRequest + * @returns ClusterAssignment * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ClusterAssignment; /** - * Verifies a NamedEntityListRequest message. + * Verifies a ClusterAssignment message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NamedEntityIdentifierList. */ - interface INamedEntityIdentifierList { + /** Properties of a DescriptionEntity. */ + interface IDescriptionEntity { - /** NamedEntityIdentifierList entities */ - entities?: (flyteidl.admin.INamedEntityIdentifier[]|null); + /** DescriptionEntity id */ + id?: (flyteidl.core.IIdentifier|null); - /** NamedEntityIdentifierList token */ - token?: (string|null); + /** DescriptionEntity shortDescription */ + shortDescription?: (string|null); + + /** DescriptionEntity longDescription */ + longDescription?: (flyteidl.admin.IDescription|null); + + /** DescriptionEntity sourceCode */ + sourceCode?: (flyteidl.admin.ISourceCode|null); + + /** DescriptionEntity tags */ + tags?: (string[]|null); } - /** Represents a NamedEntityIdentifierList. */ - class NamedEntityIdentifierList implements INamedEntityIdentifierList { + /** Represents a DescriptionEntity. */ + class DescriptionEntity implements IDescriptionEntity { /** - * Constructs a new NamedEntityIdentifierList. + * Constructs a new DescriptionEntity. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityIdentifierList); + constructor(properties?: flyteidl.admin.IDescriptionEntity); - /** NamedEntityIdentifierList entities. */ - public entities: flyteidl.admin.INamedEntityIdentifier[]; + /** DescriptionEntity id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** NamedEntityIdentifierList token. */ - public token: string; + /** DescriptionEntity shortDescription. */ + public shortDescription: string; + + /** DescriptionEntity longDescription. */ + public longDescription?: (flyteidl.admin.IDescription|null); + + /** DescriptionEntity sourceCode. */ + public sourceCode?: (flyteidl.admin.ISourceCode|null); + + /** DescriptionEntity tags. */ + public tags: string[]; /** - * Creates a new NamedEntityIdentifierList instance using the specified properties. + * Creates a new DescriptionEntity instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityIdentifierList instance + * @returns DescriptionEntity instance */ - public static create(properties?: flyteidl.admin.INamedEntityIdentifierList): flyteidl.admin.NamedEntityIdentifierList; + public static create(properties?: flyteidl.admin.IDescriptionEntity): flyteidl.admin.DescriptionEntity; /** - * Encodes the specified NamedEntityIdentifierList message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierList.verify|verify} messages. - * @param message NamedEntityIdentifierList message or plain object to encode + * Encodes the specified DescriptionEntity message. Does not implicitly {@link flyteidl.admin.DescriptionEntity.verify|verify} messages. + * @param message DescriptionEntity message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INamedEntityIdentifierList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDescriptionEntity, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityIdentifierList message from the specified reader or buffer. + * Decodes a DescriptionEntity message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NamedEntityIdentifierList + * @returns DescriptionEntity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityIdentifierList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DescriptionEntity; /** - * Verifies a NamedEntityIdentifierList message. + * Verifies a DescriptionEntity message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NamedEntityList. */ - interface INamedEntityList { + /** DescriptionFormat enum. */ + enum DescriptionFormat { + DESCRIPTION_FORMAT_UNKNOWN = 0, + DESCRIPTION_FORMAT_MARKDOWN = 1, + DESCRIPTION_FORMAT_HTML = 2, + DESCRIPTION_FORMAT_RST = 3 + } - /** NamedEntityList entities */ - entities?: (flyteidl.admin.INamedEntity[]|null); + /** Properties of a Description. */ + interface IDescription { - /** NamedEntityList token */ - token?: (string|null); + /** Description value */ + value?: (string|null); + + /** Description uri */ + uri?: (string|null); + + /** Description format */ + format?: (flyteidl.admin.DescriptionFormat|null); + + /** Description iconLink */ + iconLink?: (string|null); } - /** Represents a NamedEntityList. */ - class NamedEntityList implements INamedEntityList { + /** Represents a Description. */ + class Description implements IDescription { /** - * Constructs a new NamedEntityList. + * Constructs a new Description. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityList); + constructor(properties?: flyteidl.admin.IDescription); - /** NamedEntityList entities. */ - public entities: flyteidl.admin.INamedEntity[]; + /** Description value. */ + public value: string; - /** NamedEntityList token. */ - public token: string; + /** Description uri. */ + public uri: string; + + /** Description format. */ + public format: flyteidl.admin.DescriptionFormat; + + /** Description iconLink. */ + public iconLink: string; + + /** Description content. */ + public content?: ("value"|"uri"); /** - * Creates a new NamedEntityList instance using the specified properties. + * Creates a new Description instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityList instance + * @returns Description instance */ - public static create(properties?: flyteidl.admin.INamedEntityList): flyteidl.admin.NamedEntityList; + public static create(properties?: flyteidl.admin.IDescription): flyteidl.admin.Description; /** - * Encodes the specified NamedEntityList message. Does not implicitly {@link flyteidl.admin.NamedEntityList.verify|verify} messages. - * @param message NamedEntityList message or plain object to encode + * Encodes the specified Description message. Does not implicitly {@link flyteidl.admin.Description.verify|verify} messages. + * @param message Description message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INamedEntityList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDescription, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityList message from the specified reader or buffer. + * Decodes a Description message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NamedEntityList + * @returns Description * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Description; /** - * Verifies a NamedEntityList message. + * Verifies a Description message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NamedEntityGetRequest. */ - interface INamedEntityGetRequest { - - /** NamedEntityGetRequest resourceType */ - resourceType?: (flyteidl.core.ResourceType|null); + /** Properties of a SourceCode. */ + interface ISourceCode { - /** NamedEntityGetRequest id */ - id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** SourceCode link */ + link?: (string|null); } - /** Represents a NamedEntityGetRequest. */ - class NamedEntityGetRequest implements INamedEntityGetRequest { + /** Represents a SourceCode. */ + class SourceCode implements ISourceCode { /** - * Constructs a new NamedEntityGetRequest. + * Constructs a new SourceCode. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityGetRequest); - - /** NamedEntityGetRequest resourceType. */ - public resourceType: flyteidl.core.ResourceType; + constructor(properties?: flyteidl.admin.ISourceCode); - /** NamedEntityGetRequest id. */ - public id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** SourceCode link. */ + public link: string; /** - * Creates a new NamedEntityGetRequest instance using the specified properties. + * Creates a new SourceCode instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityGetRequest instance + * @returns SourceCode instance */ - public static create(properties?: flyteidl.admin.INamedEntityGetRequest): flyteidl.admin.NamedEntityGetRequest; + public static create(properties?: flyteidl.admin.ISourceCode): flyteidl.admin.SourceCode; /** - * Encodes the specified NamedEntityGetRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityGetRequest.verify|verify} messages. - * @param message NamedEntityGetRequest message or plain object to encode + * Encodes the specified SourceCode message. Does not implicitly {@link flyteidl.admin.SourceCode.verify|verify} messages. + * @param message SourceCode message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INamedEntityGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISourceCode, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityGetRequest message from the specified reader or buffer. + * Decodes a SourceCode message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NamedEntityGetRequest + * @returns SourceCode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SourceCode; /** - * Verifies a NamedEntityGetRequest message. + * Verifies a SourceCode message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NamedEntityUpdateRequest. */ - interface INamedEntityUpdateRequest { - - /** NamedEntityUpdateRequest resourceType */ - resourceType?: (flyteidl.core.ResourceType|null); + /** Properties of a DescriptionEntityList. */ + interface IDescriptionEntityList { - /** NamedEntityUpdateRequest id */ - id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** DescriptionEntityList descriptionEntities */ + descriptionEntities?: (flyteidl.admin.IDescriptionEntity[]|null); - /** NamedEntityUpdateRequest metadata */ - metadata?: (flyteidl.admin.INamedEntityMetadata|null); + /** DescriptionEntityList token */ + token?: (string|null); } - /** Represents a NamedEntityUpdateRequest. */ - class NamedEntityUpdateRequest implements INamedEntityUpdateRequest { + /** Represents a DescriptionEntityList. */ + class DescriptionEntityList implements IDescriptionEntityList { /** - * Constructs a new NamedEntityUpdateRequest. + * Constructs a new DescriptionEntityList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityUpdateRequest); - - /** NamedEntityUpdateRequest resourceType. */ - public resourceType: flyteidl.core.ResourceType; + constructor(properties?: flyteidl.admin.IDescriptionEntityList); - /** NamedEntityUpdateRequest id. */ - public id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** DescriptionEntityList descriptionEntities. */ + public descriptionEntities: flyteidl.admin.IDescriptionEntity[]; - /** NamedEntityUpdateRequest metadata. */ - public metadata?: (flyteidl.admin.INamedEntityMetadata|null); + /** DescriptionEntityList token. */ + public token: string; /** - * Creates a new NamedEntityUpdateRequest instance using the specified properties. + * Creates a new DescriptionEntityList instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityUpdateRequest instance + * @returns DescriptionEntityList instance */ - public static create(properties?: flyteidl.admin.INamedEntityUpdateRequest): flyteidl.admin.NamedEntityUpdateRequest; + public static create(properties?: flyteidl.admin.IDescriptionEntityList): flyteidl.admin.DescriptionEntityList; /** - * Encodes the specified NamedEntityUpdateRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateRequest.verify|verify} messages. - * @param message NamedEntityUpdateRequest message or plain object to encode + * Encodes the specified DescriptionEntityList message. Does not implicitly {@link flyteidl.admin.DescriptionEntityList.verify|verify} messages. + * @param message DescriptionEntityList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INamedEntityUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDescriptionEntityList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityUpdateRequest message from the specified reader or buffer. + * Decodes a DescriptionEntityList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NamedEntityUpdateRequest + * @returns DescriptionEntityList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DescriptionEntityList; /** - * Verifies a NamedEntityUpdateRequest message. + * Verifies a DescriptionEntityList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NamedEntityUpdateResponse. */ - interface INamedEntityUpdateResponse { - } - - /** Represents a NamedEntityUpdateResponse. */ - class NamedEntityUpdateResponse implements INamedEntityUpdateResponse { + /** Properties of a DescriptionEntityListRequest. */ + interface IDescriptionEntityListRequest { + + /** DescriptionEntityListRequest resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); + + /** DescriptionEntityListRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** DescriptionEntityListRequest limit */ + limit?: (number|null); + + /** DescriptionEntityListRequest token */ + token?: (string|null); + + /** DescriptionEntityListRequest filters */ + filters?: (string|null); + + /** DescriptionEntityListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + } + + /** Represents a DescriptionEntityListRequest. */ + class DescriptionEntityListRequest implements IDescriptionEntityListRequest { /** - * Constructs a new NamedEntityUpdateResponse. + * Constructs a new DescriptionEntityListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INamedEntityUpdateResponse); + constructor(properties?: flyteidl.admin.IDescriptionEntityListRequest); + + /** DescriptionEntityListRequest resourceType. */ + public resourceType: flyteidl.core.ResourceType; + + /** DescriptionEntityListRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** DescriptionEntityListRequest limit. */ + public limit: number; + + /** DescriptionEntityListRequest token. */ + public token: string; + + /** DescriptionEntityListRequest filters. */ + public filters: string; + + /** DescriptionEntityListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); /** - * Creates a new NamedEntityUpdateResponse instance using the specified properties. + * Creates a new DescriptionEntityListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns NamedEntityUpdateResponse instance + * @returns DescriptionEntityListRequest instance */ - public static create(properties?: flyteidl.admin.INamedEntityUpdateResponse): flyteidl.admin.NamedEntityUpdateResponse; + public static create(properties?: flyteidl.admin.IDescriptionEntityListRequest): flyteidl.admin.DescriptionEntityListRequest; /** - * Encodes the specified NamedEntityUpdateResponse message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateResponse.verify|verify} messages. - * @param message NamedEntityUpdateResponse message or plain object to encode + * Encodes the specified DescriptionEntityListRequest message. Does not implicitly {@link flyteidl.admin.DescriptionEntityListRequest.verify|verify} messages. + * @param message DescriptionEntityListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INamedEntityUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDescriptionEntityListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamedEntityUpdateResponse message from the specified reader or buffer. + * Decodes a DescriptionEntityListRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NamedEntityUpdateResponse + * @returns DescriptionEntityListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NamedEntityUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DescriptionEntityListRequest; /** - * Verifies a NamedEntityUpdateResponse message. + * Verifies a DescriptionEntityListRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ObjectGetRequest. */ - interface IObjectGetRequest { + /** Properties of an EventErrorAlreadyInTerminalState. */ + interface IEventErrorAlreadyInTerminalState { - /** ObjectGetRequest id */ - id?: (flyteidl.core.IIdentifier|null); + /** EventErrorAlreadyInTerminalState currentPhase */ + currentPhase?: (string|null); } - /** Represents an ObjectGetRequest. */ - class ObjectGetRequest implements IObjectGetRequest { + /** Represents an EventErrorAlreadyInTerminalState. */ + class EventErrorAlreadyInTerminalState implements IEventErrorAlreadyInTerminalState { /** - * Constructs a new ObjectGetRequest. + * Constructs a new EventErrorAlreadyInTerminalState. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IObjectGetRequest); + constructor(properties?: flyteidl.admin.IEventErrorAlreadyInTerminalState); - /** ObjectGetRequest id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** EventErrorAlreadyInTerminalState currentPhase. */ + public currentPhase: string; /** - * Creates a new ObjectGetRequest instance using the specified properties. + * Creates a new EventErrorAlreadyInTerminalState instance using the specified properties. * @param [properties] Properties to set - * @returns ObjectGetRequest instance + * @returns EventErrorAlreadyInTerminalState instance */ - public static create(properties?: flyteidl.admin.IObjectGetRequest): flyteidl.admin.ObjectGetRequest; + public static create(properties?: flyteidl.admin.IEventErrorAlreadyInTerminalState): flyteidl.admin.EventErrorAlreadyInTerminalState; /** - * Encodes the specified ObjectGetRequest message. Does not implicitly {@link flyteidl.admin.ObjectGetRequest.verify|verify} messages. - * @param message ObjectGetRequest message or plain object to encode + * Encodes the specified EventErrorAlreadyInTerminalState message. Does not implicitly {@link flyteidl.admin.EventErrorAlreadyInTerminalState.verify|verify} messages. + * @param message EventErrorAlreadyInTerminalState message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IObjectGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IEventErrorAlreadyInTerminalState, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ObjectGetRequest message from the specified reader or buffer. + * Decodes an EventErrorAlreadyInTerminalState message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ObjectGetRequest + * @returns EventErrorAlreadyInTerminalState * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ObjectGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EventErrorAlreadyInTerminalState; /** - * Verifies an ObjectGetRequest message. + * Verifies an EventErrorAlreadyInTerminalState message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ResourceListRequest. */ - interface IResourceListRequest { - - /** ResourceListRequest id */ - id?: (flyteidl.admin.INamedEntityIdentifier|null); - - /** ResourceListRequest limit */ - limit?: (number|null); - - /** ResourceListRequest token */ - token?: (string|null); - - /** ResourceListRequest filters */ - filters?: (string|null); + /** Properties of an EventErrorIncompatibleCluster. */ + interface IEventErrorIncompatibleCluster { - /** ResourceListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** EventErrorIncompatibleCluster cluster */ + cluster?: (string|null); } - /** Represents a ResourceListRequest. */ - class ResourceListRequest implements IResourceListRequest { + /** Represents an EventErrorIncompatibleCluster. */ + class EventErrorIncompatibleCluster implements IEventErrorIncompatibleCluster { /** - * Constructs a new ResourceListRequest. + * Constructs a new EventErrorIncompatibleCluster. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IResourceListRequest); - - /** ResourceListRequest id. */ - public id?: (flyteidl.admin.INamedEntityIdentifier|null); - - /** ResourceListRequest limit. */ - public limit: number; - - /** ResourceListRequest token. */ - public token: string; - - /** ResourceListRequest filters. */ - public filters: string; + constructor(properties?: flyteidl.admin.IEventErrorIncompatibleCluster); - /** ResourceListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** EventErrorIncompatibleCluster cluster. */ + public cluster: string; /** - * Creates a new ResourceListRequest instance using the specified properties. + * Creates a new EventErrorIncompatibleCluster instance using the specified properties. * @param [properties] Properties to set - * @returns ResourceListRequest instance + * @returns EventErrorIncompatibleCluster instance */ - public static create(properties?: flyteidl.admin.IResourceListRequest): flyteidl.admin.ResourceListRequest; + public static create(properties?: flyteidl.admin.IEventErrorIncompatibleCluster): flyteidl.admin.EventErrorIncompatibleCluster; /** - * Encodes the specified ResourceListRequest message. Does not implicitly {@link flyteidl.admin.ResourceListRequest.verify|verify} messages. - * @param message ResourceListRequest message or plain object to encode + * Encodes the specified EventErrorIncompatibleCluster message. Does not implicitly {@link flyteidl.admin.EventErrorIncompatibleCluster.verify|verify} messages. + * @param message EventErrorIncompatibleCluster message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IResourceListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IEventErrorIncompatibleCluster, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ResourceListRequest message from the specified reader or buffer. + * Decodes an EventErrorIncompatibleCluster message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ResourceListRequest + * @returns EventErrorIncompatibleCluster * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ResourceListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EventErrorIncompatibleCluster; /** - * Verifies a ResourceListRequest message. + * Verifies an EventErrorIncompatibleCluster message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an EmailNotification. */ - interface IEmailNotification { + /** Properties of an EventFailureReason. */ + interface IEventFailureReason { - /** EmailNotification recipientsEmail */ - recipientsEmail?: (string[]|null); + /** EventFailureReason alreadyInTerminalState */ + alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null); + + /** EventFailureReason incompatibleCluster */ + incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null); } - /** Represents an EmailNotification. */ - class EmailNotification implements IEmailNotification { + /** Represents an EventFailureReason. */ + class EventFailureReason implements IEventFailureReason { /** - * Constructs a new EmailNotification. + * Constructs a new EventFailureReason. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IEmailNotification); + constructor(properties?: flyteidl.admin.IEventFailureReason); - /** EmailNotification recipientsEmail. */ - public recipientsEmail: string[]; + /** EventFailureReason alreadyInTerminalState. */ + public alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null); + + /** EventFailureReason incompatibleCluster. */ + public incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null); + + /** EventFailureReason reason. */ + public reason?: ("alreadyInTerminalState"|"incompatibleCluster"); /** - * Creates a new EmailNotification instance using the specified properties. + * Creates a new EventFailureReason instance using the specified properties. * @param [properties] Properties to set - * @returns EmailNotification instance + * @returns EventFailureReason instance */ - public static create(properties?: flyteidl.admin.IEmailNotification): flyteidl.admin.EmailNotification; + public static create(properties?: flyteidl.admin.IEventFailureReason): flyteidl.admin.EventFailureReason; /** - * Encodes the specified EmailNotification message. Does not implicitly {@link flyteidl.admin.EmailNotification.verify|verify} messages. - * @param message EmailNotification message or plain object to encode + * Encodes the specified EventFailureReason message. Does not implicitly {@link flyteidl.admin.EventFailureReason.verify|verify} messages. + * @param message EventFailureReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IEmailNotification, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IEventFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an EmailNotification message from the specified reader or buffer. + * Decodes an EventFailureReason message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns EmailNotification + * @returns EventFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EmailNotification; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EventFailureReason; /** - * Verifies an EmailNotification message. + * Verifies an EventFailureReason message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a PagerDutyNotification. */ - interface IPagerDutyNotification { + /** Properties of a WorkflowExecutionEventRequest. */ + interface IWorkflowExecutionEventRequest { - /** PagerDutyNotification recipientsEmail */ - recipientsEmail?: (string[]|null); + /** WorkflowExecutionEventRequest requestId */ + requestId?: (string|null); + + /** WorkflowExecutionEventRequest event */ + event?: (flyteidl.event.IWorkflowExecutionEvent|null); } - /** Represents a PagerDutyNotification. */ - class PagerDutyNotification implements IPagerDutyNotification { + /** Represents a WorkflowExecutionEventRequest. */ + class WorkflowExecutionEventRequest implements IWorkflowExecutionEventRequest { /** - * Constructs a new PagerDutyNotification. + * Constructs a new WorkflowExecutionEventRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IPagerDutyNotification); + constructor(properties?: flyteidl.admin.IWorkflowExecutionEventRequest); - /** PagerDutyNotification recipientsEmail. */ - public recipientsEmail: string[]; + /** WorkflowExecutionEventRequest requestId. */ + public requestId: string; + + /** WorkflowExecutionEventRequest event. */ + public event?: (flyteidl.event.IWorkflowExecutionEvent|null); /** - * Creates a new PagerDutyNotification instance using the specified properties. + * Creates a new WorkflowExecutionEventRequest instance using the specified properties. * @param [properties] Properties to set - * @returns PagerDutyNotification instance + * @returns WorkflowExecutionEventRequest instance */ - public static create(properties?: flyteidl.admin.IPagerDutyNotification): flyteidl.admin.PagerDutyNotification; + public static create(properties?: flyteidl.admin.IWorkflowExecutionEventRequest): flyteidl.admin.WorkflowExecutionEventRequest; /** - * Encodes the specified PagerDutyNotification message. Does not implicitly {@link flyteidl.admin.PagerDutyNotification.verify|verify} messages. - * @param message PagerDutyNotification message or plain object to encode - * @param [writer] Writer to encode to + * Encodes the specified WorkflowExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventRequest.verify|verify} messages. + * @param message WorkflowExecutionEventRequest message or plain object to encode + * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IPagerDutyNotification, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a PagerDutyNotification message from the specified reader or buffer. + * Decodes a WorkflowExecutionEventRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns PagerDutyNotification + * @returns WorkflowExecutionEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.PagerDutyNotification; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionEventRequest; /** - * Verifies a PagerDutyNotification message. + * Verifies a WorkflowExecutionEventRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a SlackNotification. */ - interface ISlackNotification { - - /** SlackNotification recipientsEmail */ - recipientsEmail?: (string[]|null); + /** Properties of a WorkflowExecutionEventResponse. */ + interface IWorkflowExecutionEventResponse { } - /** Represents a SlackNotification. */ - class SlackNotification implements ISlackNotification { + /** Represents a WorkflowExecutionEventResponse. */ + class WorkflowExecutionEventResponse implements IWorkflowExecutionEventResponse { /** - * Constructs a new SlackNotification. + * Constructs a new WorkflowExecutionEventResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISlackNotification); - - /** SlackNotification recipientsEmail. */ - public recipientsEmail: string[]; + constructor(properties?: flyteidl.admin.IWorkflowExecutionEventResponse); /** - * Creates a new SlackNotification instance using the specified properties. + * Creates a new WorkflowExecutionEventResponse instance using the specified properties. * @param [properties] Properties to set - * @returns SlackNotification instance + * @returns WorkflowExecutionEventResponse instance */ - public static create(properties?: flyteidl.admin.ISlackNotification): flyteidl.admin.SlackNotification; + public static create(properties?: flyteidl.admin.IWorkflowExecutionEventResponse): flyteidl.admin.WorkflowExecutionEventResponse; /** - * Encodes the specified SlackNotification message. Does not implicitly {@link flyteidl.admin.SlackNotification.verify|verify} messages. - * @param message SlackNotification message or plain object to encode + * Encodes the specified WorkflowExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventResponse.verify|verify} messages. + * @param message WorkflowExecutionEventResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ISlackNotification, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SlackNotification message from the specified reader or buffer. + * Decodes a WorkflowExecutionEventResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SlackNotification + * @returns WorkflowExecutionEventResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SlackNotification; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionEventResponse; /** - * Verifies a SlackNotification message. + * Verifies a WorkflowExecutionEventResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a Notification. */ - interface INotification { - - /** Notification phases */ - phases?: (flyteidl.core.WorkflowExecution.Phase[]|null); - - /** Notification email */ - email?: (flyteidl.admin.IEmailNotification|null); + /** Properties of a NodeExecutionEventRequest. */ + interface INodeExecutionEventRequest { - /** Notification pagerDuty */ - pagerDuty?: (flyteidl.admin.IPagerDutyNotification|null); + /** NodeExecutionEventRequest requestId */ + requestId?: (string|null); - /** Notification slack */ - slack?: (flyteidl.admin.ISlackNotification|null); + /** NodeExecutionEventRequest event */ + event?: (flyteidl.event.INodeExecutionEvent|null); } - /** Represents a Notification. */ - class Notification implements INotification { + /** Represents a NodeExecutionEventRequest. */ + class NodeExecutionEventRequest implements INodeExecutionEventRequest { /** - * Constructs a new Notification. + * Constructs a new NodeExecutionEventRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INotification); - - /** Notification phases. */ - public phases: flyteidl.core.WorkflowExecution.Phase[]; - - /** Notification email. */ - public email?: (flyteidl.admin.IEmailNotification|null); - - /** Notification pagerDuty. */ - public pagerDuty?: (flyteidl.admin.IPagerDutyNotification|null); + constructor(properties?: flyteidl.admin.INodeExecutionEventRequest); - /** Notification slack. */ - public slack?: (flyteidl.admin.ISlackNotification|null); + /** NodeExecutionEventRequest requestId. */ + public requestId: string; - /** Notification type. */ - public type?: ("email"|"pagerDuty"|"slack"); + /** NodeExecutionEventRequest event. */ + public event?: (flyteidl.event.INodeExecutionEvent|null); /** - * Creates a new Notification instance using the specified properties. + * Creates a new NodeExecutionEventRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Notification instance + * @returns NodeExecutionEventRequest instance */ - public static create(properties?: flyteidl.admin.INotification): flyteidl.admin.Notification; + public static create(properties?: flyteidl.admin.INodeExecutionEventRequest): flyteidl.admin.NodeExecutionEventRequest; /** - * Encodes the specified Notification message. Does not implicitly {@link flyteidl.admin.Notification.verify|verify} messages. - * @param message Notification message or plain object to encode + * Encodes the specified NodeExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventRequest.verify|verify} messages. + * @param message NodeExecutionEventRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INotification, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Notification message from the specified reader or buffer. + * Decodes a NodeExecutionEventRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Notification + * @returns NodeExecutionEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Notification; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionEventRequest; /** - * Verifies a Notification message. + * Verifies a NodeExecutionEventRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an UrlBlob. */ - interface IUrlBlob { - - /** UrlBlob url */ - url?: (string|null); - - /** UrlBlob bytes */ - bytes?: (Long|null); + /** Properties of a NodeExecutionEventResponse. */ + interface INodeExecutionEventResponse { } - /** Represents an UrlBlob. */ - class UrlBlob implements IUrlBlob { + /** Represents a NodeExecutionEventResponse. */ + class NodeExecutionEventResponse implements INodeExecutionEventResponse { /** - * Constructs a new UrlBlob. + * Constructs a new NodeExecutionEventResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IUrlBlob); - - /** UrlBlob url. */ - public url: string; - - /** UrlBlob bytes. */ - public bytes: Long; + constructor(properties?: flyteidl.admin.INodeExecutionEventResponse); /** - * Creates a new UrlBlob instance using the specified properties. + * Creates a new NodeExecutionEventResponse instance using the specified properties. * @param [properties] Properties to set - * @returns UrlBlob instance + * @returns NodeExecutionEventResponse instance */ - public static create(properties?: flyteidl.admin.IUrlBlob): flyteidl.admin.UrlBlob; + public static create(properties?: flyteidl.admin.INodeExecutionEventResponse): flyteidl.admin.NodeExecutionEventResponse; /** - * Encodes the specified UrlBlob message. Does not implicitly {@link flyteidl.admin.UrlBlob.verify|verify} messages. - * @param message UrlBlob message or plain object to encode + * Encodes the specified NodeExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventResponse.verify|verify} messages. + * @param message NodeExecutionEventResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IUrlBlob, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an UrlBlob message from the specified reader or buffer. + * Decodes a NodeExecutionEventResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns UrlBlob + * @returns NodeExecutionEventResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.UrlBlob; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionEventResponse; /** - * Verifies an UrlBlob message. + * Verifies a NodeExecutionEventResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a Labels. */ - interface ILabels { + /** Properties of a TaskExecutionEventRequest. */ + interface ITaskExecutionEventRequest { - /** Labels values */ - values?: ({ [k: string]: string }|null); + /** TaskExecutionEventRequest requestId */ + requestId?: (string|null); + + /** TaskExecutionEventRequest event */ + event?: (flyteidl.event.ITaskExecutionEvent|null); } - /** Represents a Labels. */ - class Labels implements ILabels { + /** Represents a TaskExecutionEventRequest. */ + class TaskExecutionEventRequest implements ITaskExecutionEventRequest { /** - * Constructs a new Labels. + * Constructs a new TaskExecutionEventRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILabels); + constructor(properties?: flyteidl.admin.ITaskExecutionEventRequest); - /** Labels values. */ - public values: { [k: string]: string }; + /** TaskExecutionEventRequest requestId. */ + public requestId: string; + + /** TaskExecutionEventRequest event. */ + public event?: (flyteidl.event.ITaskExecutionEvent|null); /** - * Creates a new Labels instance using the specified properties. + * Creates a new TaskExecutionEventRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Labels instance + * @returns TaskExecutionEventRequest instance */ - public static create(properties?: flyteidl.admin.ILabels): flyteidl.admin.Labels; + public static create(properties?: flyteidl.admin.ITaskExecutionEventRequest): flyteidl.admin.TaskExecutionEventRequest; /** - * Encodes the specified Labels message. Does not implicitly {@link flyteidl.admin.Labels.verify|verify} messages. - * @param message Labels message or plain object to encode + * Encodes the specified TaskExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventRequest.verify|verify} messages. + * @param message TaskExecutionEventRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ILabels, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Labels message from the specified reader or buffer. + * Decodes a TaskExecutionEventRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Labels + * @returns TaskExecutionEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Labels; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionEventRequest; /** - * Verifies a Labels message. + * Verifies a TaskExecutionEventRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an Annotations. */ - interface IAnnotations { - - /** Annotations values */ - values?: ({ [k: string]: string }|null); + /** Properties of a TaskExecutionEventResponse. */ + interface ITaskExecutionEventResponse { } - /** Represents an Annotations. */ - class Annotations implements IAnnotations { + /** Represents a TaskExecutionEventResponse. */ + class TaskExecutionEventResponse implements ITaskExecutionEventResponse { /** - * Constructs a new Annotations. + * Constructs a new TaskExecutionEventResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IAnnotations); - - /** Annotations values. */ - public values: { [k: string]: string }; + constructor(properties?: flyteidl.admin.ITaskExecutionEventResponse); /** - * Creates a new Annotations instance using the specified properties. + * Creates a new TaskExecutionEventResponse instance using the specified properties. * @param [properties] Properties to set - * @returns Annotations instance + * @returns TaskExecutionEventResponse instance */ - public static create(properties?: flyteidl.admin.IAnnotations): flyteidl.admin.Annotations; + public static create(properties?: flyteidl.admin.ITaskExecutionEventResponse): flyteidl.admin.TaskExecutionEventResponse; /** - * Encodes the specified Annotations message. Does not implicitly {@link flyteidl.admin.Annotations.verify|verify} messages. - * @param message Annotations message or plain object to encode + * Encodes the specified TaskExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventResponse.verify|verify} messages. + * @param message TaskExecutionEventResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IAnnotations, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Annotations message from the specified reader or buffer. + * Decodes a TaskExecutionEventResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Annotations + * @returns TaskExecutionEventResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Annotations; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionEventResponse; /** - * Verifies an Annotations message. + * Verifies a TaskExecutionEventResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an Envs. */ - interface IEnvs { + /** Properties of an ExecutionCreateRequest. */ + interface IExecutionCreateRequest { - /** Envs values */ - values?: (flyteidl.core.IKeyValuePair[]|null); - } + /** ExecutionCreateRequest project */ + project?: (string|null); - /** Represents an Envs. */ - class Envs implements IEnvs { + /** ExecutionCreateRequest domain */ + domain?: (string|null); - /** - * Constructs a new Envs. + /** ExecutionCreateRequest name */ + name?: (string|null); + + /** ExecutionCreateRequest spec */ + spec?: (flyteidl.admin.IExecutionSpec|null); + + /** ExecutionCreateRequest inputs */ + inputs?: (flyteidl.core.ILiteralMap|null); + + /** ExecutionCreateRequest org */ + org?: (string|null); + } + + /** Represents an ExecutionCreateRequest. */ + class ExecutionCreateRequest implements IExecutionCreateRequest { + + /** + * Constructs a new ExecutionCreateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IEnvs); + constructor(properties?: flyteidl.admin.IExecutionCreateRequest); - /** Envs values. */ - public values: flyteidl.core.IKeyValuePair[]; + /** ExecutionCreateRequest project. */ + public project: string; + + /** ExecutionCreateRequest domain. */ + public domain: string; + + /** ExecutionCreateRequest name. */ + public name: string; + + /** ExecutionCreateRequest spec. */ + public spec?: (flyteidl.admin.IExecutionSpec|null); + + /** ExecutionCreateRequest inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); + + /** ExecutionCreateRequest org. */ + public org: string; /** - * Creates a new Envs instance using the specified properties. + * Creates a new ExecutionCreateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Envs instance + * @returns ExecutionCreateRequest instance */ - public static create(properties?: flyteidl.admin.IEnvs): flyteidl.admin.Envs; + public static create(properties?: flyteidl.admin.IExecutionCreateRequest): flyteidl.admin.ExecutionCreateRequest; /** - * Encodes the specified Envs message. Does not implicitly {@link flyteidl.admin.Envs.verify|verify} messages. - * @param message Envs message or plain object to encode + * Encodes the specified ExecutionCreateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionCreateRequest.verify|verify} messages. + * @param message ExecutionCreateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IEnvs, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Envs message from the specified reader or buffer. + * Decodes an ExecutionCreateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Envs + * @returns ExecutionCreateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Envs; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionCreateRequest; /** - * Verifies an Envs message. + * Verifies an ExecutionCreateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an AuthRole. */ - interface IAuthRole { + /** Properties of an ExecutionRelaunchRequest. */ + interface IExecutionRelaunchRequest { - /** AuthRole assumableIamRole */ - assumableIamRole?: (string|null); + /** ExecutionRelaunchRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** AuthRole kubernetesServiceAccount */ - kubernetesServiceAccount?: (string|null); + /** ExecutionRelaunchRequest name */ + name?: (string|null); + + /** ExecutionRelaunchRequest overwriteCache */ + overwriteCache?: (boolean|null); } - /** Represents an AuthRole. */ - class AuthRole implements IAuthRole { + /** Represents an ExecutionRelaunchRequest. */ + class ExecutionRelaunchRequest implements IExecutionRelaunchRequest { /** - * Constructs a new AuthRole. + * Constructs a new ExecutionRelaunchRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IAuthRole); + constructor(properties?: flyteidl.admin.IExecutionRelaunchRequest); - /** AuthRole assumableIamRole. */ - public assumableIamRole: string; + /** ExecutionRelaunchRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** AuthRole kubernetesServiceAccount. */ - public kubernetesServiceAccount: string; + /** ExecutionRelaunchRequest name. */ + public name: string; + + /** ExecutionRelaunchRequest overwriteCache. */ + public overwriteCache: boolean; /** - * Creates a new AuthRole instance using the specified properties. + * Creates a new ExecutionRelaunchRequest instance using the specified properties. * @param [properties] Properties to set - * @returns AuthRole instance + * @returns ExecutionRelaunchRequest instance */ - public static create(properties?: flyteidl.admin.IAuthRole): flyteidl.admin.AuthRole; + public static create(properties?: flyteidl.admin.IExecutionRelaunchRequest): flyteidl.admin.ExecutionRelaunchRequest; /** - * Encodes the specified AuthRole message. Does not implicitly {@link flyteidl.admin.AuthRole.verify|verify} messages. - * @param message AuthRole message or plain object to encode + * Encodes the specified ExecutionRelaunchRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRelaunchRequest.verify|verify} messages. + * @param message ExecutionRelaunchRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IAuthRole, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionRelaunchRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an AuthRole message from the specified reader or buffer. + * Decodes an ExecutionRelaunchRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns AuthRole + * @returns ExecutionRelaunchRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.AuthRole; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionRelaunchRequest; /** - * Verifies an AuthRole message. + * Verifies an ExecutionRelaunchRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a RawOutputDataConfig. */ - interface IRawOutputDataConfig { + /** Properties of an ExecutionRecoverRequest. */ + interface IExecutionRecoverRequest { - /** RawOutputDataConfig outputLocationPrefix */ - outputLocationPrefix?: (string|null); + /** ExecutionRecoverRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionRecoverRequest name */ + name?: (string|null); + + /** ExecutionRecoverRequest metadata */ + metadata?: (flyteidl.admin.IExecutionMetadata|null); } - /** Represents a RawOutputDataConfig. */ - class RawOutputDataConfig implements IRawOutputDataConfig { + /** Represents an ExecutionRecoverRequest. */ + class ExecutionRecoverRequest implements IExecutionRecoverRequest { /** - * Constructs a new RawOutputDataConfig. + * Constructs a new ExecutionRecoverRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IRawOutputDataConfig); + constructor(properties?: flyteidl.admin.IExecutionRecoverRequest); - /** RawOutputDataConfig outputLocationPrefix. */ - public outputLocationPrefix: string; + /** ExecutionRecoverRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionRecoverRequest name. */ + public name: string; + + /** ExecutionRecoverRequest metadata. */ + public metadata?: (flyteidl.admin.IExecutionMetadata|null); /** - * Creates a new RawOutputDataConfig instance using the specified properties. + * Creates a new ExecutionRecoverRequest instance using the specified properties. * @param [properties] Properties to set - * @returns RawOutputDataConfig instance + * @returns ExecutionRecoverRequest instance */ - public static create(properties?: flyteidl.admin.IRawOutputDataConfig): flyteidl.admin.RawOutputDataConfig; + public static create(properties?: flyteidl.admin.IExecutionRecoverRequest): flyteidl.admin.ExecutionRecoverRequest; /** - * Encodes the specified RawOutputDataConfig message. Does not implicitly {@link flyteidl.admin.RawOutputDataConfig.verify|verify} messages. - * @param message RawOutputDataConfig message or plain object to encode + * Encodes the specified ExecutionRecoverRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRecoverRequest.verify|verify} messages. + * @param message ExecutionRecoverRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IRawOutputDataConfig, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionRecoverRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a RawOutputDataConfig message from the specified reader or buffer. + * Decodes an ExecutionRecoverRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns RawOutputDataConfig + * @returns ExecutionRecoverRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.RawOutputDataConfig; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionRecoverRequest; /** - * Verifies a RawOutputDataConfig message. + * Verifies an ExecutionRecoverRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a FlyteURLs. */ - interface IFlyteURLs { - - /** FlyteURLs inputs */ - inputs?: (string|null); - - /** FlyteURLs outputs */ - outputs?: (string|null); + /** Properties of an ExecutionCreateResponse. */ + interface IExecutionCreateResponse { - /** FlyteURLs deck */ - deck?: (string|null); + /** ExecutionCreateResponse id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents a FlyteURLs. */ - class FlyteURLs implements IFlyteURLs { + /** Represents an ExecutionCreateResponse. */ + class ExecutionCreateResponse implements IExecutionCreateResponse { /** - * Constructs a new FlyteURLs. + * Constructs a new ExecutionCreateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IFlyteURLs); - - /** FlyteURLs inputs. */ - public inputs: string; - - /** FlyteURLs outputs. */ - public outputs: string; + constructor(properties?: flyteidl.admin.IExecutionCreateResponse); - /** FlyteURLs deck. */ - public deck: string; + /** ExecutionCreateResponse id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new FlyteURLs instance using the specified properties. + * Creates a new ExecutionCreateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns FlyteURLs instance + * @returns ExecutionCreateResponse instance */ - public static create(properties?: flyteidl.admin.IFlyteURLs): flyteidl.admin.FlyteURLs; + public static create(properties?: flyteidl.admin.IExecutionCreateResponse): flyteidl.admin.ExecutionCreateResponse; /** - * Encodes the specified FlyteURLs message. Does not implicitly {@link flyteidl.admin.FlyteURLs.verify|verify} messages. - * @param message FlyteURLs message or plain object to encode + * Encodes the specified ExecutionCreateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionCreateResponse.verify|verify} messages. + * @param message ExecutionCreateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IFlyteURLs, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a FlyteURLs message from the specified reader or buffer. + * Decodes an ExecutionCreateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns FlyteURLs + * @returns ExecutionCreateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.FlyteURLs; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionCreateResponse; /** - * Verifies a FlyteURLs message. + * Verifies an ExecutionCreateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a DescriptionEntity. */ - interface IDescriptionEntity { - - /** DescriptionEntity id */ - id?: (flyteidl.core.IIdentifier|null); - - /** DescriptionEntity shortDescription */ - shortDescription?: (string|null); - - /** DescriptionEntity longDescription */ - longDescription?: (flyteidl.admin.IDescription|null); - - /** DescriptionEntity sourceCode */ - sourceCode?: (flyteidl.admin.ISourceCode|null); + /** Properties of a WorkflowExecutionGetRequest. */ + interface IWorkflowExecutionGetRequest { - /** DescriptionEntity tags */ - tags?: (string[]|null); + /** WorkflowExecutionGetRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents a DescriptionEntity. */ - class DescriptionEntity implements IDescriptionEntity { + /** Represents a WorkflowExecutionGetRequest. */ + class WorkflowExecutionGetRequest implements IWorkflowExecutionGetRequest { /** - * Constructs a new DescriptionEntity. + * Constructs a new WorkflowExecutionGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDescriptionEntity); - - /** DescriptionEntity id. */ - public id?: (flyteidl.core.IIdentifier|null); - - /** DescriptionEntity shortDescription. */ - public shortDescription: string; + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetRequest); - /** DescriptionEntity longDescription. */ - public longDescription?: (flyteidl.admin.IDescription|null); - - /** DescriptionEntity sourceCode. */ - public sourceCode?: (flyteidl.admin.ISourceCode|null); - - /** DescriptionEntity tags. */ - public tags: string[]; + /** WorkflowExecutionGetRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new DescriptionEntity instance using the specified properties. + * Creates a new WorkflowExecutionGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns DescriptionEntity instance + * @returns WorkflowExecutionGetRequest instance */ - public static create(properties?: flyteidl.admin.IDescriptionEntity): flyteidl.admin.DescriptionEntity; + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetRequest): flyteidl.admin.WorkflowExecutionGetRequest; /** - * Encodes the specified DescriptionEntity message. Does not implicitly {@link flyteidl.admin.DescriptionEntity.verify|verify} messages. - * @param message DescriptionEntity message or plain object to encode + * Encodes the specified WorkflowExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetRequest.verify|verify} messages. + * @param message WorkflowExecutionGetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IDescriptionEntity, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DescriptionEntity message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DescriptionEntity + * @returns WorkflowExecutionGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DescriptionEntity; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetRequest; /** - * Verifies a DescriptionEntity message. + * Verifies a WorkflowExecutionGetRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** DescriptionFormat enum. */ - enum DescriptionFormat { - DESCRIPTION_FORMAT_UNKNOWN = 0, - DESCRIPTION_FORMAT_MARKDOWN = 1, - DESCRIPTION_FORMAT_HTML = 2, - DESCRIPTION_FORMAT_RST = 3 - } - - /** Properties of a Description. */ - interface IDescription { - - /** Description value */ - value?: (string|null); + /** Properties of an Execution. */ + interface IExecution { - /** Description uri */ - uri?: (string|null); + /** Execution id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** Description format */ - format?: (flyteidl.admin.DescriptionFormat|null); + /** Execution spec */ + spec?: (flyteidl.admin.IExecutionSpec|null); - /** Description iconLink */ - iconLink?: (string|null); + /** Execution closure */ + closure?: (flyteidl.admin.IExecutionClosure|null); } - /** Represents a Description. */ - class Description implements IDescription { + /** Represents an Execution. */ + class Execution implements IExecution { /** - * Constructs a new Description. + * Constructs a new Execution. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDescription); - - /** Description value. */ - public value: string; - - /** Description uri. */ - public uri: string; + constructor(properties?: flyteidl.admin.IExecution); - /** Description format. */ - public format: flyteidl.admin.DescriptionFormat; + /** Execution id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** Description iconLink. */ - public iconLink: string; + /** Execution spec. */ + public spec?: (flyteidl.admin.IExecutionSpec|null); - /** Description content. */ - public content?: ("value"|"uri"); + /** Execution closure. */ + public closure?: (flyteidl.admin.IExecutionClosure|null); /** - * Creates a new Description instance using the specified properties. + * Creates a new Execution instance using the specified properties. * @param [properties] Properties to set - * @returns Description instance + * @returns Execution instance */ - public static create(properties?: flyteidl.admin.IDescription): flyteidl.admin.Description; + public static create(properties?: flyteidl.admin.IExecution): flyteidl.admin.Execution; /** - * Encodes the specified Description message. Does not implicitly {@link flyteidl.admin.Description.verify|verify} messages. - * @param message Description message or plain object to encode + * Encodes the specified Execution message. Does not implicitly {@link flyteidl.admin.Execution.verify|verify} messages. + * @param message Execution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IDescription, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Description message from the specified reader or buffer. + * Decodes an Execution message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Description + * @returns Execution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Description; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Execution; /** - * Verifies a Description message. + * Verifies an Execution message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a SourceCode. */ - interface ISourceCode { + /** Properties of an ExecutionList. */ + interface IExecutionList { - /** SourceCode link */ - link?: (string|null); + /** ExecutionList executions */ + executions?: (flyteidl.admin.IExecution[]|null); + + /** ExecutionList token */ + token?: (string|null); } - /** Represents a SourceCode. */ - class SourceCode implements ISourceCode { + /** Represents an ExecutionList. */ + class ExecutionList implements IExecutionList { /** - * Constructs a new SourceCode. + * Constructs a new ExecutionList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISourceCode); + constructor(properties?: flyteidl.admin.IExecutionList); - /** SourceCode link. */ - public link: string; + /** ExecutionList executions. */ + public executions: flyteidl.admin.IExecution[]; + + /** ExecutionList token. */ + public token: string; /** - * Creates a new SourceCode instance using the specified properties. + * Creates a new ExecutionList instance using the specified properties. * @param [properties] Properties to set - * @returns SourceCode instance + * @returns ExecutionList instance */ - public static create(properties?: flyteidl.admin.ISourceCode): flyteidl.admin.SourceCode; + public static create(properties?: flyteidl.admin.IExecutionList): flyteidl.admin.ExecutionList; /** - * Encodes the specified SourceCode message. Does not implicitly {@link flyteidl.admin.SourceCode.verify|verify} messages. - * @param message SourceCode message or plain object to encode + * Encodes the specified ExecutionList message. Does not implicitly {@link flyteidl.admin.ExecutionList.verify|verify} messages. + * @param message ExecutionList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ISourceCode, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SourceCode message from the specified reader or buffer. + * Decodes an ExecutionList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SourceCode + * @returns ExecutionList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SourceCode; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionList; /** - * Verifies a SourceCode message. + * Verifies an ExecutionList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a DescriptionEntityList. */ - interface IDescriptionEntityList { + /** Properties of a LiteralMapBlob. */ + interface ILiteralMapBlob { - /** DescriptionEntityList descriptionEntities */ - descriptionEntities?: (flyteidl.admin.IDescriptionEntity[]|null); + /** LiteralMapBlob values */ + values?: (flyteidl.core.ILiteralMap|null); - /** DescriptionEntityList token */ - token?: (string|null); + /** LiteralMapBlob uri */ + uri?: (string|null); } - /** Represents a DescriptionEntityList. */ - class DescriptionEntityList implements IDescriptionEntityList { + /** Represents a LiteralMapBlob. */ + class LiteralMapBlob implements ILiteralMapBlob { /** - * Constructs a new DescriptionEntityList. + * Constructs a new LiteralMapBlob. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDescriptionEntityList); + constructor(properties?: flyteidl.admin.ILiteralMapBlob); - /** DescriptionEntityList descriptionEntities. */ - public descriptionEntities: flyteidl.admin.IDescriptionEntity[]; + /** LiteralMapBlob values. */ + public values?: (flyteidl.core.ILiteralMap|null); - /** DescriptionEntityList token. */ - public token: string; + /** LiteralMapBlob uri. */ + public uri: string; + + /** LiteralMapBlob data. */ + public data?: ("values"|"uri"); /** - * Creates a new DescriptionEntityList instance using the specified properties. + * Creates a new LiteralMapBlob instance using the specified properties. * @param [properties] Properties to set - * @returns DescriptionEntityList instance + * @returns LiteralMapBlob instance */ - public static create(properties?: flyteidl.admin.IDescriptionEntityList): flyteidl.admin.DescriptionEntityList; + public static create(properties?: flyteidl.admin.ILiteralMapBlob): flyteidl.admin.LiteralMapBlob; /** - * Encodes the specified DescriptionEntityList message. Does not implicitly {@link flyteidl.admin.DescriptionEntityList.verify|verify} messages. - * @param message DescriptionEntityList message or plain object to encode + * Encodes the specified LiteralMapBlob message. Does not implicitly {@link flyteidl.admin.LiteralMapBlob.verify|verify} messages. + * @param message LiteralMapBlob message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IDescriptionEntityList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILiteralMapBlob, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DescriptionEntityList message from the specified reader or buffer. + * Decodes a LiteralMapBlob message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DescriptionEntityList + * @returns LiteralMapBlob * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DescriptionEntityList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LiteralMapBlob; /** - * Verifies a DescriptionEntityList message. + * Verifies a LiteralMapBlob message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a DescriptionEntityListRequest. */ - interface IDescriptionEntityListRequest { - - /** DescriptionEntityListRequest resourceType */ - resourceType?: (flyteidl.core.ResourceType|null); - - /** DescriptionEntityListRequest id */ - id?: (flyteidl.admin.INamedEntityIdentifier|null); - - /** DescriptionEntityListRequest limit */ - limit?: (number|null); - - /** DescriptionEntityListRequest token */ - token?: (string|null); + /** Properties of an AbortMetadata. */ + interface IAbortMetadata { - /** DescriptionEntityListRequest filters */ - filters?: (string|null); + /** AbortMetadata cause */ + cause?: (string|null); - /** DescriptionEntityListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** AbortMetadata principal */ + principal?: (string|null); } - /** Represents a DescriptionEntityListRequest. */ - class DescriptionEntityListRequest implements IDescriptionEntityListRequest { + /** Represents an AbortMetadata. */ + class AbortMetadata implements IAbortMetadata { /** - * Constructs a new DescriptionEntityListRequest. + * Constructs a new AbortMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDescriptionEntityListRequest); - - /** DescriptionEntityListRequest resourceType. */ - public resourceType: flyteidl.core.ResourceType; - - /** DescriptionEntityListRequest id. */ - public id?: (flyteidl.admin.INamedEntityIdentifier|null); - - /** DescriptionEntityListRequest limit. */ - public limit: number; - - /** DescriptionEntityListRequest token. */ - public token: string; + constructor(properties?: flyteidl.admin.IAbortMetadata); - /** DescriptionEntityListRequest filters. */ - public filters: string; + /** AbortMetadata cause. */ + public cause: string; - /** DescriptionEntityListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** AbortMetadata principal. */ + public principal: string; /** - * Creates a new DescriptionEntityListRequest instance using the specified properties. + * Creates a new AbortMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns DescriptionEntityListRequest instance + * @returns AbortMetadata instance */ - public static create(properties?: flyteidl.admin.IDescriptionEntityListRequest): flyteidl.admin.DescriptionEntityListRequest; + public static create(properties?: flyteidl.admin.IAbortMetadata): flyteidl.admin.AbortMetadata; /** - * Encodes the specified DescriptionEntityListRequest message. Does not implicitly {@link flyteidl.admin.DescriptionEntityListRequest.verify|verify} messages. - * @param message DescriptionEntityListRequest message or plain object to encode + * Encodes the specified AbortMetadata message. Does not implicitly {@link flyteidl.admin.AbortMetadata.verify|verify} messages. + * @param message AbortMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IDescriptionEntityListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IAbortMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DescriptionEntityListRequest message from the specified reader or buffer. + * Decodes an AbortMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DescriptionEntityListRequest + * @returns AbortMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DescriptionEntityListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.AbortMetadata; /** - * Verifies a DescriptionEntityListRequest message. + * Verifies an AbortMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an EventErrorAlreadyInTerminalState. */ - interface IEventErrorAlreadyInTerminalState { + /** Properties of an ExecutionClosure. */ + interface IExecutionClosure { - /** EventErrorAlreadyInTerminalState currentPhase */ - currentPhase?: (string|null); - } + /** ExecutionClosure outputs */ + outputs?: (flyteidl.admin.ILiteralMapBlob|null); - /** Represents an EventErrorAlreadyInTerminalState. */ - class EventErrorAlreadyInTerminalState implements IEventErrorAlreadyInTerminalState { + /** ExecutionClosure error */ + error?: (flyteidl.core.IExecutionError|null); - /** - * Constructs a new EventErrorAlreadyInTerminalState. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IEventErrorAlreadyInTerminalState); + /** ExecutionClosure abortCause */ + abortCause?: (string|null); - /** EventErrorAlreadyInTerminalState currentPhase. */ - public currentPhase: string; + /** ExecutionClosure abortMetadata */ + abortMetadata?: (flyteidl.admin.IAbortMetadata|null); - /** - * Creates a new EventErrorAlreadyInTerminalState instance using the specified properties. - * @param [properties] Properties to set - * @returns EventErrorAlreadyInTerminalState instance - */ - public static create(properties?: flyteidl.admin.IEventErrorAlreadyInTerminalState): flyteidl.admin.EventErrorAlreadyInTerminalState; + /** ExecutionClosure outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); - /** - * Encodes the specified EventErrorAlreadyInTerminalState message. Does not implicitly {@link flyteidl.admin.EventErrorAlreadyInTerminalState.verify|verify} messages. - * @param message EventErrorAlreadyInTerminalState message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.admin.IEventErrorAlreadyInTerminalState, writer?: $protobuf.Writer): $protobuf.Writer; + /** ExecutionClosure computedInputs */ + computedInputs?: (flyteidl.core.ILiteralMap|null); - /** - * Decodes an EventErrorAlreadyInTerminalState message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns EventErrorAlreadyInTerminalState - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EventErrorAlreadyInTerminalState; + /** ExecutionClosure phase */ + phase?: (flyteidl.core.WorkflowExecution.Phase|null); - /** - * Verifies an EventErrorAlreadyInTerminalState message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - } + /** ExecutionClosure startedAt */ + startedAt?: (google.protobuf.ITimestamp|null); - /** Properties of an EventErrorIncompatibleCluster. */ - interface IEventErrorIncompatibleCluster { + /** ExecutionClosure duration */ + duration?: (google.protobuf.IDuration|null); - /** EventErrorIncompatibleCluster cluster */ - cluster?: (string|null); + /** ExecutionClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionClosure updatedAt */ + updatedAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionClosure notifications */ + notifications?: (flyteidl.admin.INotification[]|null); + + /** ExecutionClosure workflowId */ + workflowId?: (flyteidl.core.IIdentifier|null); + + /** ExecutionClosure stateChangeDetails */ + stateChangeDetails?: (flyteidl.admin.IExecutionStateChangeDetails|null); } - /** Represents an EventErrorIncompatibleCluster. */ - class EventErrorIncompatibleCluster implements IEventErrorIncompatibleCluster { + /** Represents an ExecutionClosure. */ + class ExecutionClosure implements IExecutionClosure { /** - * Constructs a new EventErrorIncompatibleCluster. + * Constructs a new ExecutionClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IEventErrorIncompatibleCluster); + constructor(properties?: flyteidl.admin.IExecutionClosure); - /** EventErrorIncompatibleCluster cluster. */ - public cluster: string; + /** ExecutionClosure outputs. */ + public outputs?: (flyteidl.admin.ILiteralMapBlob|null); - /** - * Creates a new EventErrorIncompatibleCluster instance using the specified properties. - * @param [properties] Properties to set - * @returns EventErrorIncompatibleCluster instance - */ - public static create(properties?: flyteidl.admin.IEventErrorIncompatibleCluster): flyteidl.admin.EventErrorIncompatibleCluster; + /** ExecutionClosure error. */ + public error?: (flyteidl.core.IExecutionError|null); - /** - * Encodes the specified EventErrorIncompatibleCluster message. Does not implicitly {@link flyteidl.admin.EventErrorIncompatibleCluster.verify|verify} messages. - * @param message EventErrorIncompatibleCluster message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.admin.IEventErrorIncompatibleCluster, writer?: $protobuf.Writer): $protobuf.Writer; + /** ExecutionClosure abortCause. */ + public abortCause: string; - /** - * Decodes an EventErrorIncompatibleCluster message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns EventErrorIncompatibleCluster - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EventErrorIncompatibleCluster; + /** ExecutionClosure abortMetadata. */ + public abortMetadata?: (flyteidl.admin.IAbortMetadata|null); - /** - * Verifies an EventErrorIncompatibleCluster message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - } + /** ExecutionClosure outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); - /** Properties of an EventFailureReason. */ - interface IEventFailureReason { + /** ExecutionClosure computedInputs. */ + public computedInputs?: (flyteidl.core.ILiteralMap|null); - /** EventFailureReason alreadyInTerminalState */ - alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null); + /** ExecutionClosure phase. */ + public phase: flyteidl.core.WorkflowExecution.Phase; - /** EventFailureReason incompatibleCluster */ - incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null); - } + /** ExecutionClosure startedAt. */ + public startedAt?: (google.protobuf.ITimestamp|null); - /** Represents an EventFailureReason. */ - class EventFailureReason implements IEventFailureReason { + /** ExecutionClosure duration. */ + public duration?: (google.protobuf.IDuration|null); - /** - * Constructs a new EventFailureReason. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IEventFailureReason); + /** ExecutionClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); - /** EventFailureReason alreadyInTerminalState. */ - public alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null); + /** ExecutionClosure updatedAt. */ + public updatedAt?: (google.protobuf.ITimestamp|null); - /** EventFailureReason incompatibleCluster. */ - public incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null); + /** ExecutionClosure notifications. */ + public notifications: flyteidl.admin.INotification[]; - /** EventFailureReason reason. */ - public reason?: ("alreadyInTerminalState"|"incompatibleCluster"); + /** ExecutionClosure workflowId. */ + public workflowId?: (flyteidl.core.IIdentifier|null); + + /** ExecutionClosure stateChangeDetails. */ + public stateChangeDetails?: (flyteidl.admin.IExecutionStateChangeDetails|null); + + /** ExecutionClosure outputResult. */ + public outputResult?: ("outputs"|"error"|"abortCause"|"abortMetadata"|"outputData"); /** - * Creates a new EventFailureReason instance using the specified properties. + * Creates a new ExecutionClosure instance using the specified properties. * @param [properties] Properties to set - * @returns EventFailureReason instance + * @returns ExecutionClosure instance */ - public static create(properties?: flyteidl.admin.IEventFailureReason): flyteidl.admin.EventFailureReason; + public static create(properties?: flyteidl.admin.IExecutionClosure): flyteidl.admin.ExecutionClosure; /** - * Encodes the specified EventFailureReason message. Does not implicitly {@link flyteidl.admin.EventFailureReason.verify|verify} messages. - * @param message EventFailureReason message or plain object to encode + * Encodes the specified ExecutionClosure message. Does not implicitly {@link flyteidl.admin.ExecutionClosure.verify|verify} messages. + * @param message ExecutionClosure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IEventFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an EventFailureReason message from the specified reader or buffer. + * Decodes an ExecutionClosure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns EventFailureReason + * @returns ExecutionClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EventFailureReason; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionClosure; /** - * Verifies an EventFailureReason message. + * Verifies an ExecutionClosure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowExecutionEventRequest. */ - interface IWorkflowExecutionEventRequest { + /** Properties of a SystemMetadata. */ + interface ISystemMetadata { - /** WorkflowExecutionEventRequest requestId */ - requestId?: (string|null); + /** SystemMetadata executionCluster */ + executionCluster?: (string|null); - /** WorkflowExecutionEventRequest event */ - event?: (flyteidl.event.IWorkflowExecutionEvent|null); + /** SystemMetadata namespace */ + namespace?: (string|null); } - /** Represents a WorkflowExecutionEventRequest. */ - class WorkflowExecutionEventRequest implements IWorkflowExecutionEventRequest { + /** Represents a SystemMetadata. */ + class SystemMetadata implements ISystemMetadata { /** - * Constructs a new WorkflowExecutionEventRequest. + * Constructs a new SystemMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionEventRequest); + constructor(properties?: flyteidl.admin.ISystemMetadata); - /** WorkflowExecutionEventRequest requestId. */ - public requestId: string; + /** SystemMetadata executionCluster. */ + public executionCluster: string; - /** WorkflowExecutionEventRequest event. */ - public event?: (flyteidl.event.IWorkflowExecutionEvent|null); + /** SystemMetadata namespace. */ + public namespace: string; /** - * Creates a new WorkflowExecutionEventRequest instance using the specified properties. + * Creates a new SystemMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionEventRequest instance + * @returns SystemMetadata instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionEventRequest): flyteidl.admin.WorkflowExecutionEventRequest; + public static create(properties?: flyteidl.admin.ISystemMetadata): flyteidl.admin.SystemMetadata; /** - * Encodes the specified WorkflowExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventRequest.verify|verify} messages. - * @param message WorkflowExecutionEventRequest message or plain object to encode + * Encodes the specified SystemMetadata message. Does not implicitly {@link flyteidl.admin.SystemMetadata.verify|verify} messages. + * @param message SystemMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISystemMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionEventRequest message from the specified reader or buffer. + * Decodes a SystemMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowExecutionEventRequest + * @returns SystemMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionEventRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SystemMetadata; /** - * Verifies a WorkflowExecutionEventRequest message. + * Verifies a SystemMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowExecutionEventResponse. */ - interface IWorkflowExecutionEventResponse { - } - - /** Represents a WorkflowExecutionEventResponse. */ - class WorkflowExecutionEventResponse implements IWorkflowExecutionEventResponse { + /** Properties of an ExecutionMetadata. */ + interface IExecutionMetadata { - /** - * Constructs a new WorkflowExecutionEventResponse. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionEventResponse); + /** ExecutionMetadata mode */ + mode?: (flyteidl.admin.ExecutionMetadata.ExecutionMode|null); - /** - * Creates a new WorkflowExecutionEventResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns WorkflowExecutionEventResponse instance - */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionEventResponse): flyteidl.admin.WorkflowExecutionEventResponse; + /** ExecutionMetadata principal */ + principal?: (string|null); - /** - * Encodes the specified WorkflowExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventResponse.verify|verify} messages. - * @param message WorkflowExecutionEventResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.admin.IWorkflowExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; + /** ExecutionMetadata nesting */ + nesting?: (number|null); - /** - * Decodes a WorkflowExecutionEventResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns WorkflowExecutionEventResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionEventResponse; + /** ExecutionMetadata scheduledAt */ + scheduledAt?: (google.protobuf.ITimestamp|null); - /** - * Verifies a WorkflowExecutionEventResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - } + /** ExecutionMetadata parentNodeExecution */ + parentNodeExecution?: (flyteidl.core.INodeExecutionIdentifier|null); - /** Properties of a NodeExecutionEventRequest. */ - interface INodeExecutionEventRequest { + /** ExecutionMetadata referenceExecution */ + referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** NodeExecutionEventRequest requestId */ - requestId?: (string|null); + /** ExecutionMetadata systemMetadata */ + systemMetadata?: (flyteidl.admin.ISystemMetadata|null); - /** NodeExecutionEventRequest event */ - event?: (flyteidl.event.INodeExecutionEvent|null); + /** ExecutionMetadata artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); } - /** Represents a NodeExecutionEventRequest. */ - class NodeExecutionEventRequest implements INodeExecutionEventRequest { + /** Represents an ExecutionMetadata. */ + class ExecutionMetadata implements IExecutionMetadata { /** - * Constructs a new NodeExecutionEventRequest. + * Constructs a new ExecutionMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionEventRequest); - - /** NodeExecutionEventRequest requestId. */ - public requestId: string; + constructor(properties?: flyteidl.admin.IExecutionMetadata); - /** NodeExecutionEventRequest event. */ - public event?: (flyteidl.event.INodeExecutionEvent|null); + /** ExecutionMetadata mode. */ + public mode: flyteidl.admin.ExecutionMetadata.ExecutionMode; - /** - * Creates a new NodeExecutionEventRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns NodeExecutionEventRequest instance - */ - public static create(properties?: flyteidl.admin.INodeExecutionEventRequest): flyteidl.admin.NodeExecutionEventRequest; + /** ExecutionMetadata principal. */ + public principal: string; - /** - * Encodes the specified NodeExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventRequest.verify|verify} messages. - * @param message NodeExecutionEventRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.admin.INodeExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; + /** ExecutionMetadata nesting. */ + public nesting: number; - /** - * Decodes a NodeExecutionEventRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns NodeExecutionEventRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionEventRequest; + /** ExecutionMetadata scheduledAt. */ + public scheduledAt?: (google.protobuf.ITimestamp|null); - /** - * Verifies a NodeExecutionEventRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - } + /** ExecutionMetadata parentNodeExecution. */ + public parentNodeExecution?: (flyteidl.core.INodeExecutionIdentifier|null); - /** Properties of a NodeExecutionEventResponse. */ - interface INodeExecutionEventResponse { - } + /** ExecutionMetadata referenceExecution. */ + public referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** Represents a NodeExecutionEventResponse. */ - class NodeExecutionEventResponse implements INodeExecutionEventResponse { + /** ExecutionMetadata systemMetadata. */ + public systemMetadata?: (flyteidl.admin.ISystemMetadata|null); - /** - * Constructs a new NodeExecutionEventResponse. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.INodeExecutionEventResponse); + /** ExecutionMetadata artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; /** - * Creates a new NodeExecutionEventResponse instance using the specified properties. + * Creates a new ExecutionMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionEventResponse instance + * @returns ExecutionMetadata instance */ - public static create(properties?: flyteidl.admin.INodeExecutionEventResponse): flyteidl.admin.NodeExecutionEventResponse; + public static create(properties?: flyteidl.admin.IExecutionMetadata): flyteidl.admin.ExecutionMetadata; /** - * Encodes the specified NodeExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventResponse.verify|verify} messages. - * @param message NodeExecutionEventResponse message or plain object to encode + * Encodes the specified ExecutionMetadata message. Does not implicitly {@link flyteidl.admin.ExecutionMetadata.verify|verify} messages. + * @param message ExecutionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INodeExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionEventResponse message from the specified reader or buffer. + * Decodes an ExecutionMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeExecutionEventResponse + * @returns ExecutionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionEventResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionMetadata; /** - * Verifies a NodeExecutionEventResponse message. + * Verifies an ExecutionMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskExecutionEventRequest. */ - interface ITaskExecutionEventRequest { + namespace ExecutionMetadata { - /** TaskExecutionEventRequest requestId */ - requestId?: (string|null); + /** ExecutionMode enum. */ + enum ExecutionMode { + MANUAL = 0, + SCHEDULED = 1, + SYSTEM = 2, + RELAUNCH = 3, + CHILD_WORKFLOW = 4, + RECOVERED = 5, + TRIGGER = 6 + } + } - /** TaskExecutionEventRequest event */ - event?: (flyteidl.event.ITaskExecutionEvent|null); + /** Properties of a NotificationList. */ + interface INotificationList { + + /** NotificationList notifications */ + notifications?: (flyteidl.admin.INotification[]|null); } - /** Represents a TaskExecutionEventRequest. */ - class TaskExecutionEventRequest implements ITaskExecutionEventRequest { + /** Represents a NotificationList. */ + class NotificationList implements INotificationList { /** - * Constructs a new TaskExecutionEventRequest. + * Constructs a new NotificationList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionEventRequest); - - /** TaskExecutionEventRequest requestId. */ - public requestId: string; + constructor(properties?: flyteidl.admin.INotificationList); - /** TaskExecutionEventRequest event. */ - public event?: (flyteidl.event.ITaskExecutionEvent|null); + /** NotificationList notifications. */ + public notifications: flyteidl.admin.INotification[]; /** - * Creates a new TaskExecutionEventRequest instance using the specified properties. + * Creates a new NotificationList instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionEventRequest instance + * @returns NotificationList instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionEventRequest): flyteidl.admin.TaskExecutionEventRequest; + public static create(properties?: flyteidl.admin.INotificationList): flyteidl.admin.NotificationList; /** - * Encodes the specified TaskExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventRequest.verify|verify} messages. - * @param message TaskExecutionEventRequest message or plain object to encode + * Encodes the specified NotificationList message. Does not implicitly {@link flyteidl.admin.NotificationList.verify|verify} messages. + * @param message NotificationList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INotificationList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionEventRequest message from the specified reader or buffer. + * Decodes a NotificationList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskExecutionEventRequest + * @returns NotificationList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionEventRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NotificationList; /** - * Verifies a TaskExecutionEventRequest message. + * Verifies a NotificationList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskExecutionEventResponse. */ - interface ITaskExecutionEventResponse { - } + /** Properties of an ExecutionSpec. */ + interface IExecutionSpec { - /** Represents a TaskExecutionEventResponse. */ - class TaskExecutionEventResponse implements ITaskExecutionEventResponse { + /** ExecutionSpec launchPlan */ + launchPlan?: (flyteidl.core.IIdentifier|null); - /** - * Constructs a new TaskExecutionEventResponse. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.ITaskExecutionEventResponse); + /** ExecutionSpec inputs */ + inputs?: (flyteidl.core.ILiteralMap|null); - /** - * Creates a new TaskExecutionEventResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns TaskExecutionEventResponse instance - */ - public static create(properties?: flyteidl.admin.ITaskExecutionEventResponse): flyteidl.admin.TaskExecutionEventResponse; + /** ExecutionSpec metadata */ + metadata?: (flyteidl.admin.IExecutionMetadata|null); - /** - * Encodes the specified TaskExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventResponse.verify|verify} messages. - * @param message TaskExecutionEventResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.admin.ITaskExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; + /** ExecutionSpec notifications */ + notifications?: (flyteidl.admin.INotificationList|null); - /** - * Decodes a TaskExecutionEventResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TaskExecutionEventResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionEventResponse; + /** ExecutionSpec disableAll */ + disableAll?: (boolean|null); - /** - * Verifies a TaskExecutionEventResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - } + /** ExecutionSpec labels */ + labels?: (flyteidl.admin.ILabels|null); - /** Properties of an ExecutionCreateRequest. */ - interface IExecutionCreateRequest { + /** ExecutionSpec annotations */ + annotations?: (flyteidl.admin.IAnnotations|null); - /** ExecutionCreateRequest project */ - project?: (string|null); + /** ExecutionSpec securityContext */ + securityContext?: (flyteidl.core.ISecurityContext|null); - /** ExecutionCreateRequest domain */ - domain?: (string|null); + /** ExecutionSpec authRole */ + authRole?: (flyteidl.admin.IAuthRole|null); - /** ExecutionCreateRequest name */ - name?: (string|null); + /** ExecutionSpec qualityOfService */ + qualityOfService?: (flyteidl.core.IQualityOfService|null); - /** ExecutionCreateRequest spec */ - spec?: (flyteidl.admin.IExecutionSpec|null); + /** ExecutionSpec maxParallelism */ + maxParallelism?: (number|null); - /** ExecutionCreateRequest inputs */ - inputs?: (flyteidl.core.ILiteralMap|null); + /** ExecutionSpec rawOutputDataConfig */ + rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); - /** ExecutionCreateRequest org */ - org?: (string|null); + /** ExecutionSpec clusterAssignment */ + clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + + /** ExecutionSpec interruptible */ + interruptible?: (google.protobuf.IBoolValue|null); + + /** ExecutionSpec overwriteCache */ + overwriteCache?: (boolean|null); + + /** ExecutionSpec envs */ + envs?: (flyteidl.admin.IEnvs|null); + + /** ExecutionSpec tags */ + tags?: (string[]|null); + + /** ExecutionSpec executionClusterLabel */ + executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); + + /** ExecutionSpec executionEnvAssignments */ + executionEnvAssignments?: (flyteidl.core.IExecutionEnvAssignment[]|null); } - /** Represents an ExecutionCreateRequest. */ - class ExecutionCreateRequest implements IExecutionCreateRequest { + /** Represents an ExecutionSpec. */ + class ExecutionSpec implements IExecutionSpec { /** - * Constructs a new ExecutionCreateRequest. + * Constructs a new ExecutionSpec. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionCreateRequest); + constructor(properties?: flyteidl.admin.IExecutionSpec); - /** ExecutionCreateRequest project. */ - public project: string; + /** ExecutionSpec launchPlan. */ + public launchPlan?: (flyteidl.core.IIdentifier|null); - /** ExecutionCreateRequest domain. */ - public domain: string; + /** ExecutionSpec inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); - /** ExecutionCreateRequest name. */ - public name: string; + /** ExecutionSpec metadata. */ + public metadata?: (flyteidl.admin.IExecutionMetadata|null); - /** ExecutionCreateRequest spec. */ - public spec?: (flyteidl.admin.IExecutionSpec|null); + /** ExecutionSpec notifications. */ + public notifications?: (flyteidl.admin.INotificationList|null); - /** ExecutionCreateRequest inputs. */ - public inputs?: (flyteidl.core.ILiteralMap|null); + /** ExecutionSpec disableAll. */ + public disableAll: boolean; - /** ExecutionCreateRequest org. */ - public org: string; + /** ExecutionSpec labels. */ + public labels?: (flyteidl.admin.ILabels|null); + + /** ExecutionSpec annotations. */ + public annotations?: (flyteidl.admin.IAnnotations|null); + + /** ExecutionSpec securityContext. */ + public securityContext?: (flyteidl.core.ISecurityContext|null); + + /** ExecutionSpec authRole. */ + public authRole?: (flyteidl.admin.IAuthRole|null); + + /** ExecutionSpec qualityOfService. */ + public qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** ExecutionSpec maxParallelism. */ + public maxParallelism: number; + + /** ExecutionSpec rawOutputDataConfig. */ + public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + + /** ExecutionSpec clusterAssignment. */ + public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + + /** ExecutionSpec interruptible. */ + public interruptible?: (google.protobuf.IBoolValue|null); + + /** ExecutionSpec overwriteCache. */ + public overwriteCache: boolean; + + /** ExecutionSpec envs. */ + public envs?: (flyteidl.admin.IEnvs|null); + + /** ExecutionSpec tags. */ + public tags: string[]; + + /** ExecutionSpec executionClusterLabel. */ + public executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); + + /** ExecutionSpec executionEnvAssignments. */ + public executionEnvAssignments: flyteidl.core.IExecutionEnvAssignment[]; + + /** ExecutionSpec notificationOverrides. */ + public notificationOverrides?: ("notifications"|"disableAll"); /** - * Creates a new ExecutionCreateRequest instance using the specified properties. + * Creates a new ExecutionSpec instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionCreateRequest instance + * @returns ExecutionSpec instance */ - public static create(properties?: flyteidl.admin.IExecutionCreateRequest): flyteidl.admin.ExecutionCreateRequest; + public static create(properties?: flyteidl.admin.IExecutionSpec): flyteidl.admin.ExecutionSpec; /** - * Encodes the specified ExecutionCreateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionCreateRequest.verify|verify} messages. - * @param message ExecutionCreateRequest message or plain object to encode + * Encodes the specified ExecutionSpec message. Does not implicitly {@link flyteidl.admin.ExecutionSpec.verify|verify} messages. + * @param message ExecutionSpec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionCreateRequest message from the specified reader or buffer. + * Decodes an ExecutionSpec message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionCreateRequest + * @returns ExecutionSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionCreateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionSpec; /** - * Verifies an ExecutionCreateRequest message. + * Verifies an ExecutionSpec message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionRelaunchRequest. */ - interface IExecutionRelaunchRequest { + /** Properties of an ExecutionTerminateRequest. */ + interface IExecutionTerminateRequest { - /** ExecutionRelaunchRequest id */ + /** ExecutionTerminateRequest id */ id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** ExecutionRelaunchRequest name */ - name?: (string|null); - - /** ExecutionRelaunchRequest overwriteCache */ - overwriteCache?: (boolean|null); + /** ExecutionTerminateRequest cause */ + cause?: (string|null); } - /** Represents an ExecutionRelaunchRequest. */ - class ExecutionRelaunchRequest implements IExecutionRelaunchRequest { + /** Represents an ExecutionTerminateRequest. */ + class ExecutionTerminateRequest implements IExecutionTerminateRequest { /** - * Constructs a new ExecutionRelaunchRequest. + * Constructs a new ExecutionTerminateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionRelaunchRequest); + constructor(properties?: flyteidl.admin.IExecutionTerminateRequest); - /** ExecutionRelaunchRequest id. */ + /** ExecutionTerminateRequest id. */ public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** ExecutionRelaunchRequest name. */ - public name: string; - - /** ExecutionRelaunchRequest overwriteCache. */ - public overwriteCache: boolean; + /** ExecutionTerminateRequest cause. */ + public cause: string; /** - * Creates a new ExecutionRelaunchRequest instance using the specified properties. + * Creates a new ExecutionTerminateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionRelaunchRequest instance + * @returns ExecutionTerminateRequest instance */ - public static create(properties?: flyteidl.admin.IExecutionRelaunchRequest): flyteidl.admin.ExecutionRelaunchRequest; + public static create(properties?: flyteidl.admin.IExecutionTerminateRequest): flyteidl.admin.ExecutionTerminateRequest; /** - * Encodes the specified ExecutionRelaunchRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRelaunchRequest.verify|verify} messages. - * @param message ExecutionRelaunchRequest message or plain object to encode + * Encodes the specified ExecutionTerminateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateRequest.verify|verify} messages. + * @param message ExecutionTerminateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionRelaunchRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionTerminateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionRelaunchRequest message from the specified reader or buffer. + * Decodes an ExecutionTerminateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionRelaunchRequest + * @returns ExecutionTerminateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionRelaunchRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionTerminateRequest; /** - * Verifies an ExecutionRelaunchRequest message. + * Verifies an ExecutionTerminateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionRecoverRequest. */ - interface IExecutionRecoverRequest { - - /** ExecutionRecoverRequest id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** ExecutionRecoverRequest name */ - name?: (string|null); - - /** ExecutionRecoverRequest metadata */ - metadata?: (flyteidl.admin.IExecutionMetadata|null); + /** Properties of an ExecutionTerminateResponse. */ + interface IExecutionTerminateResponse { } - /** Represents an ExecutionRecoverRequest. */ - class ExecutionRecoverRequest implements IExecutionRecoverRequest { + /** Represents an ExecutionTerminateResponse. */ + class ExecutionTerminateResponse implements IExecutionTerminateResponse { /** - * Constructs a new ExecutionRecoverRequest. + * Constructs a new ExecutionTerminateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionRecoverRequest); - - /** ExecutionRecoverRequest id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** ExecutionRecoverRequest name. */ - public name: string; - - /** ExecutionRecoverRequest metadata. */ - public metadata?: (flyteidl.admin.IExecutionMetadata|null); + constructor(properties?: flyteidl.admin.IExecutionTerminateResponse); /** - * Creates a new ExecutionRecoverRequest instance using the specified properties. + * Creates a new ExecutionTerminateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionRecoverRequest instance + * @returns ExecutionTerminateResponse instance */ - public static create(properties?: flyteidl.admin.IExecutionRecoverRequest): flyteidl.admin.ExecutionRecoverRequest; + public static create(properties?: flyteidl.admin.IExecutionTerminateResponse): flyteidl.admin.ExecutionTerminateResponse; /** - * Encodes the specified ExecutionRecoverRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRecoverRequest.verify|verify} messages. - * @param message ExecutionRecoverRequest message or plain object to encode + * Encodes the specified ExecutionTerminateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateResponse.verify|verify} messages. + * @param message ExecutionTerminateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionRecoverRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionTerminateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionRecoverRequest message from the specified reader or buffer. + * Decodes an ExecutionTerminateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionRecoverRequest + * @returns ExecutionTerminateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionRecoverRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionTerminateResponse; /** - * Verifies an ExecutionRecoverRequest message. + * Verifies an ExecutionTerminateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionCreateResponse. */ - interface IExecutionCreateResponse { + /** Properties of a WorkflowExecutionGetDataRequest. */ + interface IWorkflowExecutionGetDataRequest { - /** ExecutionCreateResponse id */ + /** WorkflowExecutionGetDataRequest id */ id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents an ExecutionCreateResponse. */ - class ExecutionCreateResponse implements IExecutionCreateResponse { + /** Represents a WorkflowExecutionGetDataRequest. */ + class WorkflowExecutionGetDataRequest implements IWorkflowExecutionGetDataRequest { /** - * Constructs a new ExecutionCreateResponse. + * Constructs a new WorkflowExecutionGetDataRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionCreateResponse); + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetDataRequest); - /** ExecutionCreateResponse id. */ + /** WorkflowExecutionGetDataRequest id. */ public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new ExecutionCreateResponse instance using the specified properties. + * Creates a new WorkflowExecutionGetDataRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionCreateResponse instance + * @returns WorkflowExecutionGetDataRequest instance */ - public static create(properties?: flyteidl.admin.IExecutionCreateResponse): flyteidl.admin.ExecutionCreateResponse; + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetDataRequest): flyteidl.admin.WorkflowExecutionGetDataRequest; /** - * Encodes the specified ExecutionCreateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionCreateResponse.verify|verify} messages. - * @param message ExecutionCreateResponse message or plain object to encode + * Encodes the specified WorkflowExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataRequest.verify|verify} messages. + * @param message WorkflowExecutionGetDataRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionCreateResponse message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetDataRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionCreateResponse + * @returns WorkflowExecutionGetDataRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionCreateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetDataRequest; /** - * Verifies an ExecutionCreateResponse message. + * Verifies a WorkflowExecutionGetDataRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowExecutionGetRequest. */ - interface IWorkflowExecutionGetRequest { + /** Properties of a WorkflowExecutionGetDataResponse. */ + interface IWorkflowExecutionGetDataResponse { - /** WorkflowExecutionGetRequest id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** WorkflowExecutionGetDataResponse outputs */ + outputs?: (flyteidl.admin.IUrlBlob|null); + + /** WorkflowExecutionGetDataResponse inputs */ + inputs?: (flyteidl.admin.IUrlBlob|null); + + /** WorkflowExecutionGetDataResponse fullInputs */ + fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** WorkflowExecutionGetDataResponse fullOutputs */ + fullOutputs?: (flyteidl.core.ILiteralMap|null); } - /** Represents a WorkflowExecutionGetRequest. */ - class WorkflowExecutionGetRequest implements IWorkflowExecutionGetRequest { + /** Represents a WorkflowExecutionGetDataResponse. */ + class WorkflowExecutionGetDataResponse implements IWorkflowExecutionGetDataResponse { /** - * Constructs a new WorkflowExecutionGetRequest. + * Constructs a new WorkflowExecutionGetDataResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionGetRequest); + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetDataResponse); - /** WorkflowExecutionGetRequest id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** WorkflowExecutionGetDataResponse outputs. */ + public outputs?: (flyteidl.admin.IUrlBlob|null); + + /** WorkflowExecutionGetDataResponse inputs. */ + public inputs?: (flyteidl.admin.IUrlBlob|null); + + /** WorkflowExecutionGetDataResponse fullInputs. */ + public fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** WorkflowExecutionGetDataResponse fullOutputs. */ + public fullOutputs?: (flyteidl.core.ILiteralMap|null); /** - * Creates a new WorkflowExecutionGetRequest instance using the specified properties. + * Creates a new WorkflowExecutionGetDataResponse instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionGetRequest instance + * @returns WorkflowExecutionGetDataResponse instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionGetRequest): flyteidl.admin.WorkflowExecutionGetRequest; + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetDataResponse): flyteidl.admin.WorkflowExecutionGetDataResponse; /** - * Encodes the specified WorkflowExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetRequest.verify|verify} messages. - * @param message WorkflowExecutionGetRequest message or plain object to encode + * Encodes the specified WorkflowExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataResponse.verify|verify} messages. + * @param message WorkflowExecutionGetDataResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionGetRequest message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetDataResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowExecutionGetRequest + * @returns WorkflowExecutionGetDataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetDataResponse; /** - * Verifies a WorkflowExecutionGetRequest message. + * Verifies a WorkflowExecutionGetDataResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an Execution. */ - interface IExecution { + /** ExecutionState enum. */ + enum ExecutionState { + EXECUTION_ACTIVE = 0, + EXECUTION_ARCHIVED = 1 + } - /** Execution id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** Properties of an ExecutionUpdateRequest. */ + interface IExecutionUpdateRequest { - /** Execution spec */ - spec?: (flyteidl.admin.IExecutionSpec|null); + /** ExecutionUpdateRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** Execution closure */ - closure?: (flyteidl.admin.IExecutionClosure|null); + /** ExecutionUpdateRequest state */ + state?: (flyteidl.admin.ExecutionState|null); } - /** Represents an Execution. */ - class Execution implements IExecution { + /** Represents an ExecutionUpdateRequest. */ + class ExecutionUpdateRequest implements IExecutionUpdateRequest { /** - * Constructs a new Execution. + * Constructs a new ExecutionUpdateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecution); + constructor(properties?: flyteidl.admin.IExecutionUpdateRequest); - /** Execution id. */ + /** ExecutionUpdateRequest id. */ public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** Execution spec. */ - public spec?: (flyteidl.admin.IExecutionSpec|null); - - /** Execution closure. */ - public closure?: (flyteidl.admin.IExecutionClosure|null); + /** ExecutionUpdateRequest state. */ + public state: flyteidl.admin.ExecutionState; /** - * Creates a new Execution instance using the specified properties. + * Creates a new ExecutionUpdateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Execution instance + * @returns ExecutionUpdateRequest instance */ - public static create(properties?: flyteidl.admin.IExecution): flyteidl.admin.Execution; + public static create(properties?: flyteidl.admin.IExecutionUpdateRequest): flyteidl.admin.ExecutionUpdateRequest; /** - * Encodes the specified Execution message. Does not implicitly {@link flyteidl.admin.Execution.verify|verify} messages. - * @param message Execution message or plain object to encode + * Encodes the specified ExecutionUpdateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateRequest.verify|verify} messages. + * @param message ExecutionUpdateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecution, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Execution message from the specified reader or buffer. + * Decodes an ExecutionUpdateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Execution + * @returns ExecutionUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Execution; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionUpdateRequest; /** - * Verifies an Execution message. + * Verifies an ExecutionUpdateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionList. */ - interface IExecutionList { + /** Properties of an ExecutionStateChangeDetails. */ + interface IExecutionStateChangeDetails { - /** ExecutionList executions */ - executions?: (flyteidl.admin.IExecution[]|null); + /** ExecutionStateChangeDetails state */ + state?: (flyteidl.admin.ExecutionState|null); - /** ExecutionList token */ - token?: (string|null); + /** ExecutionStateChangeDetails occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionStateChangeDetails principal */ + principal?: (string|null); } - /** Represents an ExecutionList. */ - class ExecutionList implements IExecutionList { + /** Represents an ExecutionStateChangeDetails. */ + class ExecutionStateChangeDetails implements IExecutionStateChangeDetails { /** - * Constructs a new ExecutionList. + * Constructs a new ExecutionStateChangeDetails. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionList); + constructor(properties?: flyteidl.admin.IExecutionStateChangeDetails); - /** ExecutionList executions. */ - public executions: flyteidl.admin.IExecution[]; + /** ExecutionStateChangeDetails state. */ + public state: flyteidl.admin.ExecutionState; - /** ExecutionList token. */ - public token: string; + /** ExecutionStateChangeDetails occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionStateChangeDetails principal. */ + public principal: string; /** - * Creates a new ExecutionList instance using the specified properties. + * Creates a new ExecutionStateChangeDetails instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionList instance + * @returns ExecutionStateChangeDetails instance */ - public static create(properties?: flyteidl.admin.IExecutionList): flyteidl.admin.ExecutionList; + public static create(properties?: flyteidl.admin.IExecutionStateChangeDetails): flyteidl.admin.ExecutionStateChangeDetails; /** - * Encodes the specified ExecutionList message. Does not implicitly {@link flyteidl.admin.ExecutionList.verify|verify} messages. - * @param message ExecutionList message or plain object to encode + * Encodes the specified ExecutionStateChangeDetails message. Does not implicitly {@link flyteidl.admin.ExecutionStateChangeDetails.verify|verify} messages. + * @param message ExecutionStateChangeDetails message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionStateChangeDetails, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionList message from the specified reader or buffer. + * Decodes an ExecutionStateChangeDetails message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionList + * @returns ExecutionStateChangeDetails * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionStateChangeDetails; /** - * Verifies an ExecutionList message. + * Verifies an ExecutionStateChangeDetails message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a LiteralMapBlob. */ - interface ILiteralMapBlob { - - /** LiteralMapBlob values */ - values?: (flyteidl.core.ILiteralMap|null); - - /** LiteralMapBlob uri */ - uri?: (string|null); + /** Properties of an ExecutionUpdateResponse. */ + interface IExecutionUpdateResponse { } - /** Represents a LiteralMapBlob. */ - class LiteralMapBlob implements ILiteralMapBlob { + /** Represents an ExecutionUpdateResponse. */ + class ExecutionUpdateResponse implements IExecutionUpdateResponse { /** - * Constructs a new LiteralMapBlob. + * Constructs a new ExecutionUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILiteralMapBlob); - - /** LiteralMapBlob values. */ - public values?: (flyteidl.core.ILiteralMap|null); - - /** LiteralMapBlob uri. */ - public uri: string; - - /** LiteralMapBlob data. */ - public data?: ("values"|"uri"); + constructor(properties?: flyteidl.admin.IExecutionUpdateResponse); /** - * Creates a new LiteralMapBlob instance using the specified properties. + * Creates a new ExecutionUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns LiteralMapBlob instance + * @returns ExecutionUpdateResponse instance */ - public static create(properties?: flyteidl.admin.ILiteralMapBlob): flyteidl.admin.LiteralMapBlob; + public static create(properties?: flyteidl.admin.IExecutionUpdateResponse): flyteidl.admin.ExecutionUpdateResponse; /** - * Encodes the specified LiteralMapBlob message. Does not implicitly {@link flyteidl.admin.LiteralMapBlob.verify|verify} messages. - * @param message LiteralMapBlob message or plain object to encode + * Encodes the specified ExecutionUpdateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateResponse.verify|verify} messages. + * @param message ExecutionUpdateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ILiteralMapBlob, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LiteralMapBlob message from the specified reader or buffer. + * Decodes an ExecutionUpdateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LiteralMapBlob + * @returns ExecutionUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LiteralMapBlob; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionUpdateResponse; /** - * Verifies a LiteralMapBlob message. + * Verifies an ExecutionUpdateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an AbortMetadata. */ - interface IAbortMetadata { + /** Properties of a WorkflowExecutionGetMetricsRequest. */ + interface IWorkflowExecutionGetMetricsRequest { - /** AbortMetadata cause */ - cause?: (string|null); + /** WorkflowExecutionGetMetricsRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** AbortMetadata principal */ - principal?: (string|null); + /** WorkflowExecutionGetMetricsRequest depth */ + depth?: (number|null); } - /** Represents an AbortMetadata. */ - class AbortMetadata implements IAbortMetadata { + /** Represents a WorkflowExecutionGetMetricsRequest. */ + class WorkflowExecutionGetMetricsRequest implements IWorkflowExecutionGetMetricsRequest { /** - * Constructs a new AbortMetadata. + * Constructs a new WorkflowExecutionGetMetricsRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IAbortMetadata); + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest); - /** AbortMetadata cause. */ - public cause: string; + /** WorkflowExecutionGetMetricsRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** AbortMetadata principal. */ - public principal: string; + /** WorkflowExecutionGetMetricsRequest depth. */ + public depth: number; /** - * Creates a new AbortMetadata instance using the specified properties. + * Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties. * @param [properties] Properties to set - * @returns AbortMetadata instance + * @returns WorkflowExecutionGetMetricsRequest instance */ - public static create(properties?: flyteidl.admin.IAbortMetadata): flyteidl.admin.AbortMetadata; + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest): flyteidl.admin.WorkflowExecutionGetMetricsRequest; /** - * Encodes the specified AbortMetadata message. Does not implicitly {@link flyteidl.admin.AbortMetadata.verify|verify} messages. - * @param message AbortMetadata message or plain object to encode + * Encodes the specified WorkflowExecutionGetMetricsRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsRequest.verify|verify} messages. + * @param message WorkflowExecutionGetMetricsRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IAbortMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionGetMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an AbortMetadata message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetMetricsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns AbortMetadata + * @returns WorkflowExecutionGetMetricsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.AbortMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetMetricsRequest; /** - * Verifies an AbortMetadata message. + * Verifies a WorkflowExecutionGetMetricsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionClosure. */ - interface IExecutionClosure { + /** Properties of a WorkflowExecutionGetMetricsResponse. */ + interface IWorkflowExecutionGetMetricsResponse { - /** ExecutionClosure outputs */ - outputs?: (flyteidl.admin.ILiteralMapBlob|null); + /** WorkflowExecutionGetMetricsResponse span */ + span?: (flyteidl.core.ISpan|null); + } - /** ExecutionClosure error */ - error?: (flyteidl.core.IExecutionError|null); + /** Represents a WorkflowExecutionGetMetricsResponse. */ + class WorkflowExecutionGetMetricsResponse implements IWorkflowExecutionGetMetricsResponse { - /** ExecutionClosure abortCause */ - abortCause?: (string|null); + /** + * Constructs a new WorkflowExecutionGetMetricsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse); - /** ExecutionClosure abortMetadata */ - abortMetadata?: (flyteidl.admin.IAbortMetadata|null); + /** WorkflowExecutionGetMetricsResponse span. */ + public span?: (flyteidl.core.ISpan|null); - /** ExecutionClosure outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); + /** + * Creates a new WorkflowExecutionGetMetricsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecutionGetMetricsResponse instance + */ + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse): flyteidl.admin.WorkflowExecutionGetMetricsResponse; - /** ExecutionClosure computedInputs */ - computedInputs?: (flyteidl.core.ILiteralMap|null); + /** + * Encodes the specified WorkflowExecutionGetMetricsResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsResponse.verify|verify} messages. + * @param message WorkflowExecutionGetMetricsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowExecutionGetMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer; - /** ExecutionClosure phase */ - phase?: (flyteidl.core.WorkflowExecution.Phase|null); + /** + * Decodes a WorkflowExecutionGetMetricsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecutionGetMetricsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetMetricsResponse; - /** ExecutionClosure startedAt */ - startedAt?: (google.protobuf.ITimestamp|null); + /** + * Verifies a WorkflowExecutionGetMetricsResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } - /** ExecutionClosure duration */ - duration?: (google.protobuf.IDuration|null); + /** MatchableResource enum. */ + enum MatchableResource { + TASK_RESOURCE = 0, + CLUSTER_RESOURCE = 1, + EXECUTION_QUEUE = 2, + EXECUTION_CLUSTER_LABEL = 3, + QUALITY_OF_SERVICE_SPECIFICATION = 4, + PLUGIN_OVERRIDE = 5, + WORKFLOW_EXECUTION_CONFIG = 6, + CLUSTER_ASSIGNMENT = 7 + } - /** ExecutionClosure createdAt */ - createdAt?: (google.protobuf.ITimestamp|null); + /** Properties of a TaskResourceSpec. */ + interface ITaskResourceSpec { - /** ExecutionClosure updatedAt */ - updatedAt?: (google.protobuf.ITimestamp|null); + /** TaskResourceSpec cpu */ + cpu?: (string|null); - /** ExecutionClosure notifications */ - notifications?: (flyteidl.admin.INotification[]|null); + /** TaskResourceSpec gpu */ + gpu?: (string|null); - /** ExecutionClosure workflowId */ - workflowId?: (flyteidl.core.IIdentifier|null); + /** TaskResourceSpec memory */ + memory?: (string|null); - /** ExecutionClosure stateChangeDetails */ - stateChangeDetails?: (flyteidl.admin.IExecutionStateChangeDetails|null); + /** TaskResourceSpec storage */ + storage?: (string|null); + + /** TaskResourceSpec ephemeralStorage */ + ephemeralStorage?: (string|null); } - /** Represents an ExecutionClosure. */ - class ExecutionClosure implements IExecutionClosure { + /** Represents a TaskResourceSpec. */ + class TaskResourceSpec implements ITaskResourceSpec { /** - * Constructs a new ExecutionClosure. + * Constructs a new TaskResourceSpec. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionClosure); - - /** ExecutionClosure outputs. */ - public outputs?: (flyteidl.admin.ILiteralMapBlob|null); - - /** ExecutionClosure error. */ - public error?: (flyteidl.core.IExecutionError|null); - - /** ExecutionClosure abortCause. */ - public abortCause: string; - - /** ExecutionClosure abortMetadata. */ - public abortMetadata?: (flyteidl.admin.IAbortMetadata|null); - - /** ExecutionClosure outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); - - /** ExecutionClosure computedInputs. */ - public computedInputs?: (flyteidl.core.ILiteralMap|null); - - /** ExecutionClosure phase. */ - public phase: flyteidl.core.WorkflowExecution.Phase; - - /** ExecutionClosure startedAt. */ - public startedAt?: (google.protobuf.ITimestamp|null); - - /** ExecutionClosure duration. */ - public duration?: (google.protobuf.IDuration|null); - - /** ExecutionClosure createdAt. */ - public createdAt?: (google.protobuf.ITimestamp|null); + constructor(properties?: flyteidl.admin.ITaskResourceSpec); - /** ExecutionClosure updatedAt. */ - public updatedAt?: (google.protobuf.ITimestamp|null); + /** TaskResourceSpec cpu. */ + public cpu: string; - /** ExecutionClosure notifications. */ - public notifications: flyteidl.admin.INotification[]; + /** TaskResourceSpec gpu. */ + public gpu: string; - /** ExecutionClosure workflowId. */ - public workflowId?: (flyteidl.core.IIdentifier|null); + /** TaskResourceSpec memory. */ + public memory: string; - /** ExecutionClosure stateChangeDetails. */ - public stateChangeDetails?: (flyteidl.admin.IExecutionStateChangeDetails|null); + /** TaskResourceSpec storage. */ + public storage: string; - /** ExecutionClosure outputResult. */ - public outputResult?: ("outputs"|"error"|"abortCause"|"abortMetadata"|"outputData"); + /** TaskResourceSpec ephemeralStorage. */ + public ephemeralStorage: string; /** - * Creates a new ExecutionClosure instance using the specified properties. + * Creates a new TaskResourceSpec instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionClosure instance + * @returns TaskResourceSpec instance */ - public static create(properties?: flyteidl.admin.IExecutionClosure): flyteidl.admin.ExecutionClosure; + public static create(properties?: flyteidl.admin.ITaskResourceSpec): flyteidl.admin.TaskResourceSpec; /** - * Encodes the specified ExecutionClosure message. Does not implicitly {@link flyteidl.admin.ExecutionClosure.verify|verify} messages. - * @param message ExecutionClosure message or plain object to encode + * Encodes the specified TaskResourceSpec message. Does not implicitly {@link flyteidl.admin.TaskResourceSpec.verify|verify} messages. + * @param message TaskResourceSpec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskResourceSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionClosure message from the specified reader or buffer. + * Decodes a TaskResourceSpec message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionClosure + * @returns TaskResourceSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskResourceSpec; /** - * Verifies an ExecutionClosure message. + * Verifies a TaskResourceSpec message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a SystemMetadata. */ - interface ISystemMetadata { + /** Properties of a TaskResourceAttributes. */ + interface ITaskResourceAttributes { - /** SystemMetadata executionCluster */ - executionCluster?: (string|null); + /** TaskResourceAttributes defaults */ + defaults?: (flyteidl.admin.ITaskResourceSpec|null); - /** SystemMetadata namespace */ - namespace?: (string|null); + /** TaskResourceAttributes limits */ + limits?: (flyteidl.admin.ITaskResourceSpec|null); } - /** Represents a SystemMetadata. */ - class SystemMetadata implements ISystemMetadata { + /** Represents a TaskResourceAttributes. */ + class TaskResourceAttributes implements ITaskResourceAttributes { /** - * Constructs a new SystemMetadata. + * Constructs a new TaskResourceAttributes. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISystemMetadata); + constructor(properties?: flyteidl.admin.ITaskResourceAttributes); - /** SystemMetadata executionCluster. */ - public executionCluster: string; + /** TaskResourceAttributes defaults. */ + public defaults?: (flyteidl.admin.ITaskResourceSpec|null); - /** SystemMetadata namespace. */ - public namespace: string; + /** TaskResourceAttributes limits. */ + public limits?: (flyteidl.admin.ITaskResourceSpec|null); /** - * Creates a new SystemMetadata instance using the specified properties. + * Creates a new TaskResourceAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns SystemMetadata instance + * @returns TaskResourceAttributes instance */ - public static create(properties?: flyteidl.admin.ISystemMetadata): flyteidl.admin.SystemMetadata; + public static create(properties?: flyteidl.admin.ITaskResourceAttributes): flyteidl.admin.TaskResourceAttributes; /** - * Encodes the specified SystemMetadata message. Does not implicitly {@link flyteidl.admin.SystemMetadata.verify|verify} messages. - * @param message SystemMetadata message or plain object to encode + * Encodes the specified TaskResourceAttributes message. Does not implicitly {@link flyteidl.admin.TaskResourceAttributes.verify|verify} messages. + * @param message TaskResourceAttributes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ISystemMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SystemMetadata message from the specified reader or buffer. + * Decodes a TaskResourceAttributes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SystemMetadata + * @returns TaskResourceAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SystemMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskResourceAttributes; /** - * Verifies a SystemMetadata message. + * Verifies a TaskResourceAttributes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionMetadata. */ - interface IExecutionMetadata { - - /** ExecutionMetadata mode */ - mode?: (flyteidl.admin.ExecutionMetadata.ExecutionMode|null); - - /** ExecutionMetadata principal */ - principal?: (string|null); - - /** ExecutionMetadata nesting */ - nesting?: (number|null); - - /** ExecutionMetadata scheduledAt */ - scheduledAt?: (google.protobuf.ITimestamp|null); - - /** ExecutionMetadata parentNodeExecution */ - parentNodeExecution?: (flyteidl.core.INodeExecutionIdentifier|null); - - /** ExecutionMetadata referenceExecution */ - referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** ExecutionMetadata systemMetadata */ - systemMetadata?: (flyteidl.admin.ISystemMetadata|null); + /** Properties of a ClusterResourceAttributes. */ + interface IClusterResourceAttributes { - /** ExecutionMetadata artifactIds */ - artifactIds?: (flyteidl.core.IArtifactID[]|null); + /** ClusterResourceAttributes attributes */ + attributes?: ({ [k: string]: string }|null); } - /** Represents an ExecutionMetadata. */ - class ExecutionMetadata implements IExecutionMetadata { + /** Represents a ClusterResourceAttributes. */ + class ClusterResourceAttributes implements IClusterResourceAttributes { /** - * Constructs a new ExecutionMetadata. + * Constructs a new ClusterResourceAttributes. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionMetadata); - - /** ExecutionMetadata mode. */ - public mode: flyteidl.admin.ExecutionMetadata.ExecutionMode; - - /** ExecutionMetadata principal. */ - public principal: string; - - /** ExecutionMetadata nesting. */ - public nesting: number; - - /** ExecutionMetadata scheduledAt. */ - public scheduledAt?: (google.protobuf.ITimestamp|null); - - /** ExecutionMetadata parentNodeExecution. */ - public parentNodeExecution?: (flyteidl.core.INodeExecutionIdentifier|null); - - /** ExecutionMetadata referenceExecution. */ - public referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** ExecutionMetadata systemMetadata. */ - public systemMetadata?: (flyteidl.admin.ISystemMetadata|null); + constructor(properties?: flyteidl.admin.IClusterResourceAttributes); - /** ExecutionMetadata artifactIds. */ - public artifactIds: flyteidl.core.IArtifactID[]; + /** ClusterResourceAttributes attributes. */ + public attributes: { [k: string]: string }; /** - * Creates a new ExecutionMetadata instance using the specified properties. + * Creates a new ClusterResourceAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionMetadata instance + * @returns ClusterResourceAttributes instance */ - public static create(properties?: flyteidl.admin.IExecutionMetadata): flyteidl.admin.ExecutionMetadata; + public static create(properties?: flyteidl.admin.IClusterResourceAttributes): flyteidl.admin.ClusterResourceAttributes; /** - * Encodes the specified ExecutionMetadata message. Does not implicitly {@link flyteidl.admin.ExecutionMetadata.verify|verify} messages. - * @param message ExecutionMetadata message or plain object to encode + * Encodes the specified ClusterResourceAttributes message. Does not implicitly {@link flyteidl.admin.ClusterResourceAttributes.verify|verify} messages. + * @param message ClusterResourceAttributes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IClusterResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionMetadata message from the specified reader or buffer. + * Decodes a ClusterResourceAttributes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionMetadata + * @returns ClusterResourceAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ClusterResourceAttributes; /** - * Verifies an ExecutionMetadata message. + * Verifies a ClusterResourceAttributes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - namespace ExecutionMetadata { - - /** ExecutionMode enum. */ - enum ExecutionMode { - MANUAL = 0, - SCHEDULED = 1, - SYSTEM = 2, - RELAUNCH = 3, - CHILD_WORKFLOW = 4, - RECOVERED = 5, - TRIGGER = 6 - } - } - - /** Properties of a NotificationList. */ - interface INotificationList { + /** Properties of an ExecutionQueueAttributes. */ + interface IExecutionQueueAttributes { - /** NotificationList notifications */ - notifications?: (flyteidl.admin.INotification[]|null); + /** ExecutionQueueAttributes tags */ + tags?: (string[]|null); } - /** Represents a NotificationList. */ - class NotificationList implements INotificationList { + /** Represents an ExecutionQueueAttributes. */ + class ExecutionQueueAttributes implements IExecutionQueueAttributes { /** - * Constructs a new NotificationList. + * Constructs a new ExecutionQueueAttributes. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INotificationList); + constructor(properties?: flyteidl.admin.IExecutionQueueAttributes); - /** NotificationList notifications. */ - public notifications: flyteidl.admin.INotification[]; + /** ExecutionQueueAttributes tags. */ + public tags: string[]; /** - * Creates a new NotificationList instance using the specified properties. + * Creates a new ExecutionQueueAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns NotificationList instance + * @returns ExecutionQueueAttributes instance */ - public static create(properties?: flyteidl.admin.INotificationList): flyteidl.admin.NotificationList; + public static create(properties?: flyteidl.admin.IExecutionQueueAttributes): flyteidl.admin.ExecutionQueueAttributes; /** - * Encodes the specified NotificationList message. Does not implicitly {@link flyteidl.admin.NotificationList.verify|verify} messages. - * @param message NotificationList message or plain object to encode + * Encodes the specified ExecutionQueueAttributes message. Does not implicitly {@link flyteidl.admin.ExecutionQueueAttributes.verify|verify} messages. + * @param message ExecutionQueueAttributes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INotificationList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IExecutionQueueAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NotificationList message from the specified reader or buffer. + * Decodes an ExecutionQueueAttributes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NotificationList + * @returns ExecutionQueueAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NotificationList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionQueueAttributes; /** - * Verifies a NotificationList message. + * Verifies an ExecutionQueueAttributes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionSpec. */ - interface IExecutionSpec { - - /** ExecutionSpec launchPlan */ - launchPlan?: (flyteidl.core.IIdentifier|null); - - /** ExecutionSpec inputs */ - inputs?: (flyteidl.core.ILiteralMap|null); - - /** ExecutionSpec metadata */ - metadata?: (flyteidl.admin.IExecutionMetadata|null); - - /** ExecutionSpec notifications */ - notifications?: (flyteidl.admin.INotificationList|null); - - /** ExecutionSpec disableAll */ - disableAll?: (boolean|null); - - /** ExecutionSpec labels */ - labels?: (flyteidl.admin.ILabels|null); - - /** ExecutionSpec annotations */ - annotations?: (flyteidl.admin.IAnnotations|null); + /** Properties of an ExecutionClusterLabel. */ + interface IExecutionClusterLabel { - /** ExecutionSpec securityContext */ - securityContext?: (flyteidl.core.ISecurityContext|null); + /** ExecutionClusterLabel value */ + value?: (string|null); + } - /** ExecutionSpec authRole */ - authRole?: (flyteidl.admin.IAuthRole|null); + /** Represents an ExecutionClusterLabel. */ + class ExecutionClusterLabel implements IExecutionClusterLabel { - /** ExecutionSpec qualityOfService */ - qualityOfService?: (flyteidl.core.IQualityOfService|null); + /** + * Constructs a new ExecutionClusterLabel. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionClusterLabel); - /** ExecutionSpec maxParallelism */ - maxParallelism?: (number|null); + /** ExecutionClusterLabel value. */ + public value: string; - /** ExecutionSpec rawOutputDataConfig */ - rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + /** + * Creates a new ExecutionClusterLabel instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionClusterLabel instance + */ + public static create(properties?: flyteidl.admin.IExecutionClusterLabel): flyteidl.admin.ExecutionClusterLabel; - /** ExecutionSpec clusterAssignment */ - clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + /** + * Encodes the specified ExecutionClusterLabel message. Does not implicitly {@link flyteidl.admin.ExecutionClusterLabel.verify|verify} messages. + * @param message ExecutionClusterLabel message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionClusterLabel, writer?: $protobuf.Writer): $protobuf.Writer; - /** ExecutionSpec interruptible */ - interruptible?: (google.protobuf.IBoolValue|null); + /** + * Decodes an ExecutionClusterLabel message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionClusterLabel + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionClusterLabel; - /** ExecutionSpec overwriteCache */ - overwriteCache?: (boolean|null); + /** + * Verifies an ExecutionClusterLabel message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } - /** ExecutionSpec envs */ - envs?: (flyteidl.admin.IEnvs|null); + /** Properties of a PluginOverride. */ + interface IPluginOverride { - /** ExecutionSpec tags */ - tags?: (string[]|null); + /** PluginOverride taskType */ + taskType?: (string|null); - /** ExecutionSpec executionClusterLabel */ - executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); + /** PluginOverride pluginId */ + pluginId?: (string[]|null); - /** ExecutionSpec executionEnvAssignments */ - executionEnvAssignments?: (flyteidl.core.IExecutionEnvAssignment[]|null); + /** PluginOverride missingPluginBehavior */ + missingPluginBehavior?: (flyteidl.admin.PluginOverride.MissingPluginBehavior|null); } - /** Represents an ExecutionSpec. */ - class ExecutionSpec implements IExecutionSpec { + /** Represents a PluginOverride. */ + class PluginOverride implements IPluginOverride { /** - * Constructs a new ExecutionSpec. + * Constructs a new PluginOverride. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionSpec); - - /** ExecutionSpec launchPlan. */ - public launchPlan?: (flyteidl.core.IIdentifier|null); + constructor(properties?: flyteidl.admin.IPluginOverride); - /** ExecutionSpec inputs. */ - public inputs?: (flyteidl.core.ILiteralMap|null); + /** PluginOverride taskType. */ + public taskType: string; - /** ExecutionSpec metadata. */ - public metadata?: (flyteidl.admin.IExecutionMetadata|null); + /** PluginOverride pluginId. */ + public pluginId: string[]; - /** ExecutionSpec notifications. */ - public notifications?: (flyteidl.admin.INotificationList|null); - - /** ExecutionSpec disableAll. */ - public disableAll: boolean; - - /** ExecutionSpec labels. */ - public labels?: (flyteidl.admin.ILabels|null); - - /** ExecutionSpec annotations. */ - public annotations?: (flyteidl.admin.IAnnotations|null); - - /** ExecutionSpec securityContext. */ - public securityContext?: (flyteidl.core.ISecurityContext|null); - - /** ExecutionSpec authRole. */ - public authRole?: (flyteidl.admin.IAuthRole|null); - - /** ExecutionSpec qualityOfService. */ - public qualityOfService?: (flyteidl.core.IQualityOfService|null); - - /** ExecutionSpec maxParallelism. */ - public maxParallelism: number; - - /** ExecutionSpec rawOutputDataConfig. */ - public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); - - /** ExecutionSpec clusterAssignment. */ - public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); - - /** ExecutionSpec interruptible. */ - public interruptible?: (google.protobuf.IBoolValue|null); - - /** ExecutionSpec overwriteCache. */ - public overwriteCache: boolean; - - /** ExecutionSpec envs. */ - public envs?: (flyteidl.admin.IEnvs|null); - - /** ExecutionSpec tags. */ - public tags: string[]; - - /** ExecutionSpec executionClusterLabel. */ - public executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); - - /** ExecutionSpec executionEnvAssignments. */ - public executionEnvAssignments: flyteidl.core.IExecutionEnvAssignment[]; - - /** ExecutionSpec notificationOverrides. */ - public notificationOverrides?: ("notifications"|"disableAll"); + /** PluginOverride missingPluginBehavior. */ + public missingPluginBehavior: flyteidl.admin.PluginOverride.MissingPluginBehavior; /** - * Creates a new ExecutionSpec instance using the specified properties. + * Creates a new PluginOverride instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionSpec instance + * @returns PluginOverride instance */ - public static create(properties?: flyteidl.admin.IExecutionSpec): flyteidl.admin.ExecutionSpec; + public static create(properties?: flyteidl.admin.IPluginOverride): flyteidl.admin.PluginOverride; /** - * Encodes the specified ExecutionSpec message. Does not implicitly {@link flyteidl.admin.ExecutionSpec.verify|verify} messages. - * @param message ExecutionSpec message or plain object to encode + * Encodes the specified PluginOverride message. Does not implicitly {@link flyteidl.admin.PluginOverride.verify|verify} messages. + * @param message PluginOverride message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IPluginOverride, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionSpec message from the specified reader or buffer. + * Decodes a PluginOverride message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionSpec + * @returns PluginOverride * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.PluginOverride; /** - * Verifies an ExecutionSpec message. + * Verifies a PluginOverride message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionTerminateRequest. */ - interface IExecutionTerminateRequest { + namespace PluginOverride { - /** ExecutionTerminateRequest id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** MissingPluginBehavior enum. */ + enum MissingPluginBehavior { + FAIL = 0, + USE_DEFAULT = 1 + } + } - /** ExecutionTerminateRequest cause */ - cause?: (string|null); + /** Properties of a PluginOverrides. */ + interface IPluginOverrides { + + /** PluginOverrides overrides */ + overrides?: (flyteidl.admin.IPluginOverride[]|null); } - /** Represents an ExecutionTerminateRequest. */ - class ExecutionTerminateRequest implements IExecutionTerminateRequest { + /** Represents a PluginOverrides. */ + class PluginOverrides implements IPluginOverrides { /** - * Constructs a new ExecutionTerminateRequest. + * Constructs a new PluginOverrides. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionTerminateRequest); - - /** ExecutionTerminateRequest id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + constructor(properties?: flyteidl.admin.IPluginOverrides); - /** ExecutionTerminateRequest cause. */ - public cause: string; + /** PluginOverrides overrides. */ + public overrides: flyteidl.admin.IPluginOverride[]; /** - * Creates a new ExecutionTerminateRequest instance using the specified properties. + * Creates a new PluginOverrides instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionTerminateRequest instance + * @returns PluginOverrides instance */ - public static create(properties?: flyteidl.admin.IExecutionTerminateRequest): flyteidl.admin.ExecutionTerminateRequest; + public static create(properties?: flyteidl.admin.IPluginOverrides): flyteidl.admin.PluginOverrides; /** - * Encodes the specified ExecutionTerminateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateRequest.verify|verify} messages. - * @param message ExecutionTerminateRequest message or plain object to encode + * Encodes the specified PluginOverrides message. Does not implicitly {@link flyteidl.admin.PluginOverrides.verify|verify} messages. + * @param message PluginOverrides message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionTerminateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IPluginOverrides, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionTerminateRequest message from the specified reader or buffer. + * Decodes a PluginOverrides message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionTerminateRequest + * @returns PluginOverrides * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionTerminateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.PluginOverrides; /** - * Verifies an ExecutionTerminateRequest message. + * Verifies a PluginOverrides message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionTerminateResponse. */ - interface IExecutionTerminateResponse { - } + /** Properties of a WorkflowExecutionConfig. */ + interface IWorkflowExecutionConfig { - /** Represents an ExecutionTerminateResponse. */ - class ExecutionTerminateResponse implements IExecutionTerminateResponse { + /** WorkflowExecutionConfig maxParallelism */ + maxParallelism?: (number|null); - /** - * Constructs a new ExecutionTerminateResponse. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IExecutionTerminateResponse); + /** WorkflowExecutionConfig securityContext */ + securityContext?: (flyteidl.core.ISecurityContext|null); - /** - * Creates a new ExecutionTerminateResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ExecutionTerminateResponse instance - */ - public static create(properties?: flyteidl.admin.IExecutionTerminateResponse): flyteidl.admin.ExecutionTerminateResponse; + /** WorkflowExecutionConfig rawOutputDataConfig */ + rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); - /** - * Encodes the specified ExecutionTerminateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateResponse.verify|verify} messages. - * @param message ExecutionTerminateResponse message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.admin.IExecutionTerminateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + /** WorkflowExecutionConfig labels */ + labels?: (flyteidl.admin.ILabels|null); - /** - * Decodes an ExecutionTerminateResponse message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExecutionTerminateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionTerminateResponse; + /** WorkflowExecutionConfig annotations */ + annotations?: (flyteidl.admin.IAnnotations|null); - /** - * Verifies an ExecutionTerminateResponse message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - } + /** WorkflowExecutionConfig interruptible */ + interruptible?: (google.protobuf.IBoolValue|null); - /** Properties of a WorkflowExecutionGetDataRequest. */ - interface IWorkflowExecutionGetDataRequest { + /** WorkflowExecutionConfig overwriteCache */ + overwriteCache?: (boolean|null); - /** WorkflowExecutionGetDataRequest id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** WorkflowExecutionConfig envs */ + envs?: (flyteidl.admin.IEnvs|null); + + /** WorkflowExecutionConfig executionEnvAssignments */ + executionEnvAssignments?: (flyteidl.core.IExecutionEnvAssignment[]|null); } - /** Represents a WorkflowExecutionGetDataRequest. */ - class WorkflowExecutionGetDataRequest implements IWorkflowExecutionGetDataRequest { + /** Represents a WorkflowExecutionConfig. */ + class WorkflowExecutionConfig implements IWorkflowExecutionConfig { /** - * Constructs a new WorkflowExecutionGetDataRequest. + * Constructs a new WorkflowExecutionConfig. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionGetDataRequest); + constructor(properties?: flyteidl.admin.IWorkflowExecutionConfig); - /** WorkflowExecutionGetDataRequest id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** WorkflowExecutionConfig maxParallelism. */ + public maxParallelism: number; + + /** WorkflowExecutionConfig securityContext. */ + public securityContext?: (flyteidl.core.ISecurityContext|null); + + /** WorkflowExecutionConfig rawOutputDataConfig. */ + public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + + /** WorkflowExecutionConfig labels. */ + public labels?: (flyteidl.admin.ILabels|null); + + /** WorkflowExecutionConfig annotations. */ + public annotations?: (flyteidl.admin.IAnnotations|null); + + /** WorkflowExecutionConfig interruptible. */ + public interruptible?: (google.protobuf.IBoolValue|null); + + /** WorkflowExecutionConfig overwriteCache. */ + public overwriteCache: boolean; + + /** WorkflowExecutionConfig envs. */ + public envs?: (flyteidl.admin.IEnvs|null); + + /** WorkflowExecutionConfig executionEnvAssignments. */ + public executionEnvAssignments: flyteidl.core.IExecutionEnvAssignment[]; /** - * Creates a new WorkflowExecutionGetDataRequest instance using the specified properties. + * Creates a new WorkflowExecutionConfig instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionGetDataRequest instance + * @returns WorkflowExecutionConfig instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionGetDataRequest): flyteidl.admin.WorkflowExecutionGetDataRequest; + public static create(properties?: flyteidl.admin.IWorkflowExecutionConfig): flyteidl.admin.WorkflowExecutionConfig; /** - * Encodes the specified WorkflowExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataRequest.verify|verify} messages. - * @param message WorkflowExecutionGetDataRequest message or plain object to encode + * Encodes the specified WorkflowExecutionConfig message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionConfig.verify|verify} messages. + * @param message WorkflowExecutionConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowExecutionConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionGetDataRequest message from the specified reader or buffer. + * Decodes a WorkflowExecutionConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowExecutionGetDataRequest + * @returns WorkflowExecutionConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetDataRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionConfig; /** - * Verifies a WorkflowExecutionGetDataRequest message. + * Verifies a WorkflowExecutionConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowExecutionGetDataResponse. */ - interface IWorkflowExecutionGetDataResponse { + /** Properties of a MatchingAttributes. */ + interface IMatchingAttributes { - /** WorkflowExecutionGetDataResponse outputs */ - outputs?: (flyteidl.admin.IUrlBlob|null); + /** MatchingAttributes taskResourceAttributes */ + taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); - /** WorkflowExecutionGetDataResponse inputs */ - inputs?: (flyteidl.admin.IUrlBlob|null); + /** MatchingAttributes clusterResourceAttributes */ + clusterResourceAttributes?: (flyteidl.admin.IClusterResourceAttributes|null); - /** WorkflowExecutionGetDataResponse fullInputs */ - fullInputs?: (flyteidl.core.ILiteralMap|null); + /** MatchingAttributes executionQueueAttributes */ + executionQueueAttributes?: (flyteidl.admin.IExecutionQueueAttributes|null); - /** WorkflowExecutionGetDataResponse fullOutputs */ - fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** MatchingAttributes executionClusterLabel */ + executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); + + /** MatchingAttributes qualityOfService */ + qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** MatchingAttributes pluginOverrides */ + pluginOverrides?: (flyteidl.admin.IPluginOverrides|null); + + /** MatchingAttributes workflowExecutionConfig */ + workflowExecutionConfig?: (flyteidl.admin.IWorkflowExecutionConfig|null); + + /** MatchingAttributes clusterAssignment */ + clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); } - /** Represents a WorkflowExecutionGetDataResponse. */ - class WorkflowExecutionGetDataResponse implements IWorkflowExecutionGetDataResponse { + /** Represents a MatchingAttributes. */ + class MatchingAttributes implements IMatchingAttributes { /** - * Constructs a new WorkflowExecutionGetDataResponse. + * Constructs a new MatchingAttributes. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionGetDataResponse); + constructor(properties?: flyteidl.admin.IMatchingAttributes); - /** WorkflowExecutionGetDataResponse outputs. */ - public outputs?: (flyteidl.admin.IUrlBlob|null); + /** MatchingAttributes taskResourceAttributes. */ + public taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); - /** WorkflowExecutionGetDataResponse inputs. */ - public inputs?: (flyteidl.admin.IUrlBlob|null); + /** MatchingAttributes clusterResourceAttributes. */ + public clusterResourceAttributes?: (flyteidl.admin.IClusterResourceAttributes|null); - /** WorkflowExecutionGetDataResponse fullInputs. */ - public fullInputs?: (flyteidl.core.ILiteralMap|null); + /** MatchingAttributes executionQueueAttributes. */ + public executionQueueAttributes?: (flyteidl.admin.IExecutionQueueAttributes|null); - /** WorkflowExecutionGetDataResponse fullOutputs. */ - public fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** MatchingAttributes executionClusterLabel. */ + public executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); + + /** MatchingAttributes qualityOfService. */ + public qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** MatchingAttributes pluginOverrides. */ + public pluginOverrides?: (flyteidl.admin.IPluginOverrides|null); + + /** MatchingAttributes workflowExecutionConfig. */ + public workflowExecutionConfig?: (flyteidl.admin.IWorkflowExecutionConfig|null); + + /** MatchingAttributes clusterAssignment. */ + public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + + /** MatchingAttributes target. */ + public target?: ("taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment"); /** - * Creates a new WorkflowExecutionGetDataResponse instance using the specified properties. + * Creates a new MatchingAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionGetDataResponse instance + * @returns MatchingAttributes instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionGetDataResponse): flyteidl.admin.WorkflowExecutionGetDataResponse; + public static create(properties?: flyteidl.admin.IMatchingAttributes): flyteidl.admin.MatchingAttributes; /** - * Encodes the specified WorkflowExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataResponse.verify|verify} messages. - * @param message WorkflowExecutionGetDataResponse message or plain object to encode + * Encodes the specified MatchingAttributes message. Does not implicitly {@link flyteidl.admin.MatchingAttributes.verify|verify} messages. + * @param message MatchingAttributes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IMatchingAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionGetDataResponse message from the specified reader or buffer. + * Decodes a MatchingAttributes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowExecutionGetDataResponse + * @returns MatchingAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetDataResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.MatchingAttributes; /** - * Verifies a WorkflowExecutionGetDataResponse message. + * Verifies a MatchingAttributes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** ExecutionState enum. */ - enum ExecutionState { - EXECUTION_ACTIVE = 0, - EXECUTION_ARCHIVED = 1 - } + /** Properties of a MatchableAttributesConfiguration. */ + interface IMatchableAttributesConfiguration { - /** Properties of an ExecutionUpdateRequest. */ - interface IExecutionUpdateRequest { + /** MatchableAttributesConfiguration attributes */ + attributes?: (flyteidl.admin.IMatchingAttributes|null); - /** ExecutionUpdateRequest id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** MatchableAttributesConfiguration domain */ + domain?: (string|null); - /** ExecutionUpdateRequest state */ - state?: (flyteidl.admin.ExecutionState|null); + /** MatchableAttributesConfiguration project */ + project?: (string|null); + + /** MatchableAttributesConfiguration workflow */ + workflow?: (string|null); + + /** MatchableAttributesConfiguration launchPlan */ + launchPlan?: (string|null); + + /** MatchableAttributesConfiguration org */ + org?: (string|null); } - /** Represents an ExecutionUpdateRequest. */ - class ExecutionUpdateRequest implements IExecutionUpdateRequest { + /** Represents a MatchableAttributesConfiguration. */ + class MatchableAttributesConfiguration implements IMatchableAttributesConfiguration { /** - * Constructs a new ExecutionUpdateRequest. + * Constructs a new MatchableAttributesConfiguration. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionUpdateRequest); + constructor(properties?: flyteidl.admin.IMatchableAttributesConfiguration); - /** ExecutionUpdateRequest id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** MatchableAttributesConfiguration attributes. */ + public attributes?: (flyteidl.admin.IMatchingAttributes|null); - /** ExecutionUpdateRequest state. */ - public state: flyteidl.admin.ExecutionState; + /** MatchableAttributesConfiguration domain. */ + public domain: string; + + /** MatchableAttributesConfiguration project. */ + public project: string; + + /** MatchableAttributesConfiguration workflow. */ + public workflow: string; + + /** MatchableAttributesConfiguration launchPlan. */ + public launchPlan: string; + + /** MatchableAttributesConfiguration org. */ + public org: string; /** - * Creates a new ExecutionUpdateRequest instance using the specified properties. + * Creates a new MatchableAttributesConfiguration instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionUpdateRequest instance + * @returns MatchableAttributesConfiguration instance */ - public static create(properties?: flyteidl.admin.IExecutionUpdateRequest): flyteidl.admin.ExecutionUpdateRequest; + public static create(properties?: flyteidl.admin.IMatchableAttributesConfiguration): flyteidl.admin.MatchableAttributesConfiguration; /** - * Encodes the specified ExecutionUpdateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateRequest.verify|verify} messages. - * @param message ExecutionUpdateRequest message or plain object to encode + * Encodes the specified MatchableAttributesConfiguration message. Does not implicitly {@link flyteidl.admin.MatchableAttributesConfiguration.verify|verify} messages. + * @param message MatchableAttributesConfiguration message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IMatchableAttributesConfiguration, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionUpdateRequest message from the specified reader or buffer. + * Decodes a MatchableAttributesConfiguration message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionUpdateRequest + * @returns MatchableAttributesConfiguration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.MatchableAttributesConfiguration; /** - * Verifies an ExecutionUpdateRequest message. + * Verifies a MatchableAttributesConfiguration message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionStateChangeDetails. */ - interface IExecutionStateChangeDetails { - - /** ExecutionStateChangeDetails state */ - state?: (flyteidl.admin.ExecutionState|null); + /** Properties of a ListMatchableAttributesRequest. */ + interface IListMatchableAttributesRequest { - /** ExecutionStateChangeDetails occurredAt */ - occurredAt?: (google.protobuf.ITimestamp|null); + /** ListMatchableAttributesRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); - /** ExecutionStateChangeDetails principal */ - principal?: (string|null); + /** ListMatchableAttributesRequest org */ + org?: (string|null); } - /** Represents an ExecutionStateChangeDetails. */ - class ExecutionStateChangeDetails implements IExecutionStateChangeDetails { + /** Represents a ListMatchableAttributesRequest. */ + class ListMatchableAttributesRequest implements IListMatchableAttributesRequest { /** - * Constructs a new ExecutionStateChangeDetails. + * Constructs a new ListMatchableAttributesRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionStateChangeDetails); - - /** ExecutionStateChangeDetails state. */ - public state: flyteidl.admin.ExecutionState; + constructor(properties?: flyteidl.admin.IListMatchableAttributesRequest); - /** ExecutionStateChangeDetails occurredAt. */ - public occurredAt?: (google.protobuf.ITimestamp|null); + /** ListMatchableAttributesRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; - /** ExecutionStateChangeDetails principal. */ - public principal: string; + /** ListMatchableAttributesRequest org. */ + public org: string; /** - * Creates a new ExecutionStateChangeDetails instance using the specified properties. + * Creates a new ListMatchableAttributesRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionStateChangeDetails instance + * @returns ListMatchableAttributesRequest instance */ - public static create(properties?: flyteidl.admin.IExecutionStateChangeDetails): flyteidl.admin.ExecutionStateChangeDetails; + public static create(properties?: flyteidl.admin.IListMatchableAttributesRequest): flyteidl.admin.ListMatchableAttributesRequest; /** - * Encodes the specified ExecutionStateChangeDetails message. Does not implicitly {@link flyteidl.admin.ExecutionStateChangeDetails.verify|verify} messages. - * @param message ExecutionStateChangeDetails message or plain object to encode + * Encodes the specified ListMatchableAttributesRequest message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesRequest.verify|verify} messages. + * @param message ListMatchableAttributesRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionStateChangeDetails, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IListMatchableAttributesRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionStateChangeDetails message from the specified reader or buffer. + * Decodes a ListMatchableAttributesRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionStateChangeDetails + * @returns ListMatchableAttributesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionStateChangeDetails; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ListMatchableAttributesRequest; /** - * Verifies an ExecutionStateChangeDetails message. + * Verifies a ListMatchableAttributesRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionUpdateResponse. */ - interface IExecutionUpdateResponse { + /** Properties of a ListMatchableAttributesResponse. */ + interface IListMatchableAttributesResponse { + + /** ListMatchableAttributesResponse configurations */ + configurations?: (flyteidl.admin.IMatchableAttributesConfiguration[]|null); } - /** Represents an ExecutionUpdateResponse. */ - class ExecutionUpdateResponse implements IExecutionUpdateResponse { + /** Represents a ListMatchableAttributesResponse. */ + class ListMatchableAttributesResponse implements IListMatchableAttributesResponse { /** - * Constructs a new ExecutionUpdateResponse. + * Constructs a new ListMatchableAttributesResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionUpdateResponse); + constructor(properties?: flyteidl.admin.IListMatchableAttributesResponse); + + /** ListMatchableAttributesResponse configurations. */ + public configurations: flyteidl.admin.IMatchableAttributesConfiguration[]; /** - * Creates a new ExecutionUpdateResponse instance using the specified properties. + * Creates a new ListMatchableAttributesResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionUpdateResponse instance + * @returns ListMatchableAttributesResponse instance */ - public static create(properties?: flyteidl.admin.IExecutionUpdateResponse): flyteidl.admin.ExecutionUpdateResponse; + public static create(properties?: flyteidl.admin.IListMatchableAttributesResponse): flyteidl.admin.ListMatchableAttributesResponse; /** - * Encodes the specified ExecutionUpdateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateResponse.verify|verify} messages. - * @param message ExecutionUpdateResponse message or plain object to encode + * Encodes the specified ListMatchableAttributesResponse message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesResponse.verify|verify} messages. + * @param message ListMatchableAttributesResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IListMatchableAttributesResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionUpdateResponse message from the specified reader or buffer. + * Decodes a ListMatchableAttributesResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionUpdateResponse + * @returns ListMatchableAttributesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ListMatchableAttributesResponse; /** - * Verifies an ExecutionUpdateResponse message. + * Verifies a ListMatchableAttributesResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowExecutionGetMetricsRequest. */ - interface IWorkflowExecutionGetMetricsRequest { + /** Properties of a LaunchPlanCreateRequest. */ + interface ILaunchPlanCreateRequest { - /** WorkflowExecutionGetMetricsRequest id */ - id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** LaunchPlanCreateRequest id */ + id?: (flyteidl.core.IIdentifier|null); - /** WorkflowExecutionGetMetricsRequest depth */ - depth?: (number|null); + /** LaunchPlanCreateRequest spec */ + spec?: (flyteidl.admin.ILaunchPlanSpec|null); } - /** Represents a WorkflowExecutionGetMetricsRequest. */ - class WorkflowExecutionGetMetricsRequest implements IWorkflowExecutionGetMetricsRequest { + /** Represents a LaunchPlanCreateRequest. */ + class LaunchPlanCreateRequest implements ILaunchPlanCreateRequest { /** - * Constructs a new WorkflowExecutionGetMetricsRequest. + * Constructs a new LaunchPlanCreateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest); + constructor(properties?: flyteidl.admin.ILaunchPlanCreateRequest); - /** WorkflowExecutionGetMetricsRequest id. */ - public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** LaunchPlanCreateRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** WorkflowExecutionGetMetricsRequest depth. */ - public depth: number; + /** LaunchPlanCreateRequest spec. */ + public spec?: (flyteidl.admin.ILaunchPlanSpec|null); /** - * Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties. + * Creates a new LaunchPlanCreateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionGetMetricsRequest instance + * @returns LaunchPlanCreateRequest instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest): flyteidl.admin.WorkflowExecutionGetMetricsRequest; + public static create(properties?: flyteidl.admin.ILaunchPlanCreateRequest): flyteidl.admin.LaunchPlanCreateRequest; /** - * Encodes the specified WorkflowExecutionGetMetricsRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsRequest.verify|verify} messages. - * @param message WorkflowExecutionGetMetricsRequest message or plain object to encode + * Encodes the specified LaunchPlanCreateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateRequest.verify|verify} messages. + * @param message LaunchPlanCreateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowExecutionGetMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionGetMetricsRequest message from the specified reader or buffer. + * Decodes a LaunchPlanCreateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowExecutionGetMetricsRequest + * @returns LaunchPlanCreateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetMetricsRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanCreateRequest; /** - * Verifies a WorkflowExecutionGetMetricsRequest message. + * Verifies a LaunchPlanCreateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowExecutionGetMetricsResponse. */ - interface IWorkflowExecutionGetMetricsResponse { - - /** WorkflowExecutionGetMetricsResponse span */ - span?: (flyteidl.core.ISpan|null); + /** Properties of a LaunchPlanCreateResponse. */ + interface ILaunchPlanCreateResponse { } - /** Represents a WorkflowExecutionGetMetricsResponse. */ - class WorkflowExecutionGetMetricsResponse implements IWorkflowExecutionGetMetricsResponse { + /** Represents a LaunchPlanCreateResponse. */ + class LaunchPlanCreateResponse implements ILaunchPlanCreateResponse { /** - * Constructs a new WorkflowExecutionGetMetricsResponse. + * Constructs a new LaunchPlanCreateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse); - - /** WorkflowExecutionGetMetricsResponse span. */ - public span?: (flyteidl.core.ISpan|null); + constructor(properties?: flyteidl.admin.ILaunchPlanCreateResponse); /** - * Creates a new WorkflowExecutionGetMetricsResponse instance using the specified properties. + * Creates a new LaunchPlanCreateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionGetMetricsResponse instance + * @returns LaunchPlanCreateResponse instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse): flyteidl.admin.WorkflowExecutionGetMetricsResponse; + public static create(properties?: flyteidl.admin.ILaunchPlanCreateResponse): flyteidl.admin.LaunchPlanCreateResponse; /** - * Encodes the specified WorkflowExecutionGetMetricsResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsResponse.verify|verify} messages. - * @param message WorkflowExecutionGetMetricsResponse message or plain object to encode + * Encodes the specified LaunchPlanCreateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateResponse.verify|verify} messages. + * @param message LaunchPlanCreateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowExecutionGetMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionGetMetricsResponse message from the specified reader or buffer. + * Decodes a LaunchPlanCreateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowExecutionGetMetricsResponse + * @returns LaunchPlanCreateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionGetMetricsResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanCreateResponse; /** - * Verifies a WorkflowExecutionGetMetricsResponse message. + * Verifies a LaunchPlanCreateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** MatchableResource enum. */ - enum MatchableResource { - TASK_RESOURCE = 0, - CLUSTER_RESOURCE = 1, - EXECUTION_QUEUE = 2, - EXECUTION_CLUSTER_LABEL = 3, - QUALITY_OF_SERVICE_SPECIFICATION = 4, - PLUGIN_OVERRIDE = 5, - WORKFLOW_EXECUTION_CONFIG = 6, - CLUSTER_ASSIGNMENT = 7 + /** LaunchPlanState enum. */ + enum LaunchPlanState { + INACTIVE = 0, + ACTIVE = 1 } - /** Properties of a TaskResourceSpec. */ - interface ITaskResourceSpec { - - /** TaskResourceSpec cpu */ - cpu?: (string|null); - - /** TaskResourceSpec gpu */ - gpu?: (string|null); + /** Properties of a LaunchPlan. */ + interface ILaunchPlan { - /** TaskResourceSpec memory */ - memory?: (string|null); + /** LaunchPlan id */ + id?: (flyteidl.core.IIdentifier|null); - /** TaskResourceSpec storage */ - storage?: (string|null); + /** LaunchPlan spec */ + spec?: (flyteidl.admin.ILaunchPlanSpec|null); - /** TaskResourceSpec ephemeralStorage */ - ephemeralStorage?: (string|null); + /** LaunchPlan closure */ + closure?: (flyteidl.admin.ILaunchPlanClosure|null); } - /** Represents a TaskResourceSpec. */ - class TaskResourceSpec implements ITaskResourceSpec { + /** Represents a LaunchPlan. */ + class LaunchPlan implements ILaunchPlan { /** - * Constructs a new TaskResourceSpec. + * Constructs a new LaunchPlan. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskResourceSpec); - - /** TaskResourceSpec cpu. */ - public cpu: string; - - /** TaskResourceSpec gpu. */ - public gpu: string; + constructor(properties?: flyteidl.admin.ILaunchPlan); - /** TaskResourceSpec memory. */ - public memory: string; + /** LaunchPlan id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** TaskResourceSpec storage. */ - public storage: string; + /** LaunchPlan spec. */ + public spec?: (flyteidl.admin.ILaunchPlanSpec|null); - /** TaskResourceSpec ephemeralStorage. */ - public ephemeralStorage: string; + /** LaunchPlan closure. */ + public closure?: (flyteidl.admin.ILaunchPlanClosure|null); /** - * Creates a new TaskResourceSpec instance using the specified properties. + * Creates a new LaunchPlan instance using the specified properties. * @param [properties] Properties to set - * @returns TaskResourceSpec instance + * @returns LaunchPlan instance */ - public static create(properties?: flyteidl.admin.ITaskResourceSpec): flyteidl.admin.TaskResourceSpec; + public static create(properties?: flyteidl.admin.ILaunchPlan): flyteidl.admin.LaunchPlan; /** - * Encodes the specified TaskResourceSpec message. Does not implicitly {@link flyteidl.admin.TaskResourceSpec.verify|verify} messages. - * @param message TaskResourceSpec message or plain object to encode + * Encodes the specified LaunchPlan message. Does not implicitly {@link flyteidl.admin.LaunchPlan.verify|verify} messages. + * @param message LaunchPlan message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskResourceSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlan, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskResourceSpec message from the specified reader or buffer. + * Decodes a LaunchPlan message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskResourceSpec + * @returns LaunchPlan * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskResourceSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlan; /** - * Verifies a TaskResourceSpec message. + * Verifies a LaunchPlan message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskResourceAttributes. */ - interface ITaskResourceAttributes { + /** Properties of a LaunchPlanList. */ + interface ILaunchPlanList { - /** TaskResourceAttributes defaults */ - defaults?: (flyteidl.admin.ITaskResourceSpec|null); + /** LaunchPlanList launchPlans */ + launchPlans?: (flyteidl.admin.ILaunchPlan[]|null); - /** TaskResourceAttributes limits */ - limits?: (flyteidl.admin.ITaskResourceSpec|null); + /** LaunchPlanList token */ + token?: (string|null); } - /** Represents a TaskResourceAttributes. */ - class TaskResourceAttributes implements ITaskResourceAttributes { + /** Represents a LaunchPlanList. */ + class LaunchPlanList implements ILaunchPlanList { /** - * Constructs a new TaskResourceAttributes. + * Constructs a new LaunchPlanList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskResourceAttributes); + constructor(properties?: flyteidl.admin.ILaunchPlanList); - /** TaskResourceAttributes defaults. */ - public defaults?: (flyteidl.admin.ITaskResourceSpec|null); + /** LaunchPlanList launchPlans. */ + public launchPlans: flyteidl.admin.ILaunchPlan[]; - /** TaskResourceAttributes limits. */ - public limits?: (flyteidl.admin.ITaskResourceSpec|null); + /** LaunchPlanList token. */ + public token: string; /** - * Creates a new TaskResourceAttributes instance using the specified properties. + * Creates a new LaunchPlanList instance using the specified properties. * @param [properties] Properties to set - * @returns TaskResourceAttributes instance + * @returns LaunchPlanList instance */ - public static create(properties?: flyteidl.admin.ITaskResourceAttributes): flyteidl.admin.TaskResourceAttributes; + public static create(properties?: flyteidl.admin.ILaunchPlanList): flyteidl.admin.LaunchPlanList; /** - * Encodes the specified TaskResourceAttributes message. Does not implicitly {@link flyteidl.admin.TaskResourceAttributes.verify|verify} messages. - * @param message TaskResourceAttributes message or plain object to encode + * Encodes the specified LaunchPlanList message. Does not implicitly {@link flyteidl.admin.LaunchPlanList.verify|verify} messages. + * @param message LaunchPlanList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskResourceAttributes message from the specified reader or buffer. + * Decodes a LaunchPlanList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskResourceAttributes + * @returns LaunchPlanList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskResourceAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanList; /** - * Verifies a TaskResourceAttributes message. + * Verifies a LaunchPlanList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ClusterResourceAttributes. */ - interface IClusterResourceAttributes { + /** Properties of an Auth. */ + interface IAuth { - /** ClusterResourceAttributes attributes */ - attributes?: ({ [k: string]: string }|null); + /** Auth assumableIamRole */ + assumableIamRole?: (string|null); + + /** Auth kubernetesServiceAccount */ + kubernetesServiceAccount?: (string|null); } - /** Represents a ClusterResourceAttributes. */ - class ClusterResourceAttributes implements IClusterResourceAttributes { + /** Represents an Auth. */ + class Auth implements IAuth { /** - * Constructs a new ClusterResourceAttributes. + * Constructs a new Auth. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IClusterResourceAttributes); + constructor(properties?: flyteidl.admin.IAuth); - /** ClusterResourceAttributes attributes. */ - public attributes: { [k: string]: string }; + /** Auth assumableIamRole. */ + public assumableIamRole: string; + + /** Auth kubernetesServiceAccount. */ + public kubernetesServiceAccount: string; /** - * Creates a new ClusterResourceAttributes instance using the specified properties. + * Creates a new Auth instance using the specified properties. * @param [properties] Properties to set - * @returns ClusterResourceAttributes instance + * @returns Auth instance */ - public static create(properties?: flyteidl.admin.IClusterResourceAttributes): flyteidl.admin.ClusterResourceAttributes; + public static create(properties?: flyteidl.admin.IAuth): flyteidl.admin.Auth; /** - * Encodes the specified ClusterResourceAttributes message. Does not implicitly {@link flyteidl.admin.ClusterResourceAttributes.verify|verify} messages. - * @param message ClusterResourceAttributes message or plain object to encode + * Encodes the specified Auth message. Does not implicitly {@link flyteidl.admin.Auth.verify|verify} messages. + * @param message Auth message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IClusterResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IAuth, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ClusterResourceAttributes message from the specified reader or buffer. + * Decodes an Auth message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ClusterResourceAttributes + * @returns Auth * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ClusterResourceAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Auth; /** - * Verifies a ClusterResourceAttributes message. + * Verifies an Auth message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionQueueAttributes. */ - interface IExecutionQueueAttributes { - - /** ExecutionQueueAttributes tags */ - tags?: (string[]|null); - } + /** Properties of a LaunchPlanSpec. */ + interface ILaunchPlanSpec { - /** Represents an ExecutionQueueAttributes. */ - class ExecutionQueueAttributes implements IExecutionQueueAttributes { + /** LaunchPlanSpec workflowId */ + workflowId?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlanSpec entityMetadata */ + entityMetadata?: (flyteidl.admin.ILaunchPlanMetadata|null); + + /** LaunchPlanSpec defaultInputs */ + defaultInputs?: (flyteidl.core.IParameterMap|null); + + /** LaunchPlanSpec fixedInputs */ + fixedInputs?: (flyteidl.core.ILiteralMap|null); + + /** LaunchPlanSpec role */ + role?: (string|null); + + /** LaunchPlanSpec labels */ + labels?: (flyteidl.admin.ILabels|null); + + /** LaunchPlanSpec annotations */ + annotations?: (flyteidl.admin.IAnnotations|null); + + /** LaunchPlanSpec auth */ + auth?: (flyteidl.admin.IAuth|null); + + /** LaunchPlanSpec authRole */ + authRole?: (flyteidl.admin.IAuthRole|null); + + /** LaunchPlanSpec securityContext */ + securityContext?: (flyteidl.core.ISecurityContext|null); + + /** LaunchPlanSpec qualityOfService */ + qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** LaunchPlanSpec rawOutputDataConfig */ + rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + + /** LaunchPlanSpec maxParallelism */ + maxParallelism?: (number|null); + + /** LaunchPlanSpec interruptible */ + interruptible?: (google.protobuf.IBoolValue|null); + + /** LaunchPlanSpec overwriteCache */ + overwriteCache?: (boolean|null); + + /** LaunchPlanSpec envs */ + envs?: (flyteidl.admin.IEnvs|null); + + /** LaunchPlanSpec executionEnvAssignments */ + executionEnvAssignments?: (flyteidl.core.IExecutionEnvAssignment[]|null); + } + + /** Represents a LaunchPlanSpec. */ + class LaunchPlanSpec implements ILaunchPlanSpec { /** - * Constructs a new ExecutionQueueAttributes. + * Constructs a new LaunchPlanSpec. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionQueueAttributes); + constructor(properties?: flyteidl.admin.ILaunchPlanSpec); - /** ExecutionQueueAttributes tags. */ - public tags: string[]; + /** LaunchPlanSpec workflowId. */ + public workflowId?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlanSpec entityMetadata. */ + public entityMetadata?: (flyteidl.admin.ILaunchPlanMetadata|null); + + /** LaunchPlanSpec defaultInputs. */ + public defaultInputs?: (flyteidl.core.IParameterMap|null); + + /** LaunchPlanSpec fixedInputs. */ + public fixedInputs?: (flyteidl.core.ILiteralMap|null); + + /** LaunchPlanSpec role. */ + public role: string; + + /** LaunchPlanSpec labels. */ + public labels?: (flyteidl.admin.ILabels|null); + + /** LaunchPlanSpec annotations. */ + public annotations?: (flyteidl.admin.IAnnotations|null); + + /** LaunchPlanSpec auth. */ + public auth?: (flyteidl.admin.IAuth|null); + + /** LaunchPlanSpec authRole. */ + public authRole?: (flyteidl.admin.IAuthRole|null); + + /** LaunchPlanSpec securityContext. */ + public securityContext?: (flyteidl.core.ISecurityContext|null); + + /** LaunchPlanSpec qualityOfService. */ + public qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** LaunchPlanSpec rawOutputDataConfig. */ + public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + + /** LaunchPlanSpec maxParallelism. */ + public maxParallelism: number; + + /** LaunchPlanSpec interruptible. */ + public interruptible?: (google.protobuf.IBoolValue|null); + + /** LaunchPlanSpec overwriteCache. */ + public overwriteCache: boolean; + + /** LaunchPlanSpec envs. */ + public envs?: (flyteidl.admin.IEnvs|null); + + /** LaunchPlanSpec executionEnvAssignments. */ + public executionEnvAssignments: flyteidl.core.IExecutionEnvAssignment[]; /** - * Creates a new ExecutionQueueAttributes instance using the specified properties. + * Creates a new LaunchPlanSpec instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionQueueAttributes instance + * @returns LaunchPlanSpec instance */ - public static create(properties?: flyteidl.admin.IExecutionQueueAttributes): flyteidl.admin.ExecutionQueueAttributes; + public static create(properties?: flyteidl.admin.ILaunchPlanSpec): flyteidl.admin.LaunchPlanSpec; /** - * Encodes the specified ExecutionQueueAttributes message. Does not implicitly {@link flyteidl.admin.ExecutionQueueAttributes.verify|verify} messages. - * @param message ExecutionQueueAttributes message or plain object to encode + * Encodes the specified LaunchPlanSpec message. Does not implicitly {@link flyteidl.admin.LaunchPlanSpec.verify|verify} messages. + * @param message LaunchPlanSpec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionQueueAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionQueueAttributes message from the specified reader or buffer. + * Decodes a LaunchPlanSpec message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionQueueAttributes + * @returns LaunchPlanSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionQueueAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanSpec; /** - * Verifies an ExecutionQueueAttributes message. + * Verifies a LaunchPlanSpec message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ExecutionClusterLabel. */ - interface IExecutionClusterLabel { + /** Properties of a LaunchPlanClosure. */ + interface ILaunchPlanClosure { - /** ExecutionClusterLabel value */ - value?: (string|null); + /** LaunchPlanClosure state */ + state?: (flyteidl.admin.LaunchPlanState|null); + + /** LaunchPlanClosure expectedInputs */ + expectedInputs?: (flyteidl.core.IParameterMap|null); + + /** LaunchPlanClosure expectedOutputs */ + expectedOutputs?: (flyteidl.core.IVariableMap|null); + + /** LaunchPlanClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); + + /** LaunchPlanClosure updatedAt */ + updatedAt?: (google.protobuf.ITimestamp|null); } - /** Represents an ExecutionClusterLabel. */ - class ExecutionClusterLabel implements IExecutionClusterLabel { + /** Represents a LaunchPlanClosure. */ + class LaunchPlanClosure implements ILaunchPlanClosure { /** - * Constructs a new ExecutionClusterLabel. + * Constructs a new LaunchPlanClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IExecutionClusterLabel); + constructor(properties?: flyteidl.admin.ILaunchPlanClosure); - /** ExecutionClusterLabel value. */ - public value: string; + /** LaunchPlanClosure state. */ + public state: flyteidl.admin.LaunchPlanState; + + /** LaunchPlanClosure expectedInputs. */ + public expectedInputs?: (flyteidl.core.IParameterMap|null); + + /** LaunchPlanClosure expectedOutputs. */ + public expectedOutputs?: (flyteidl.core.IVariableMap|null); + + /** LaunchPlanClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); + + /** LaunchPlanClosure updatedAt. */ + public updatedAt?: (google.protobuf.ITimestamp|null); /** - * Creates a new ExecutionClusterLabel instance using the specified properties. + * Creates a new LaunchPlanClosure instance using the specified properties. * @param [properties] Properties to set - * @returns ExecutionClusterLabel instance + * @returns LaunchPlanClosure instance */ - public static create(properties?: flyteidl.admin.IExecutionClusterLabel): flyteidl.admin.ExecutionClusterLabel; + public static create(properties?: flyteidl.admin.ILaunchPlanClosure): flyteidl.admin.LaunchPlanClosure; /** - * Encodes the specified ExecutionClusterLabel message. Does not implicitly {@link flyteidl.admin.ExecutionClusterLabel.verify|verify} messages. - * @param message ExecutionClusterLabel message or plain object to encode + * Encodes the specified LaunchPlanClosure message. Does not implicitly {@link flyteidl.admin.LaunchPlanClosure.verify|verify} messages. + * @param message LaunchPlanClosure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IExecutionClusterLabel, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ExecutionClusterLabel message from the specified reader or buffer. + * Decodes a LaunchPlanClosure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExecutionClusterLabel + * @returns LaunchPlanClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ExecutionClusterLabel; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanClosure; /** - * Verifies an ExecutionClusterLabel message. + * Verifies a LaunchPlanClosure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a PluginOverride. */ - interface IPluginOverride { + /** Properties of a LaunchPlanMetadata. */ + interface ILaunchPlanMetadata { - /** PluginOverride taskType */ - taskType?: (string|null); + /** LaunchPlanMetadata schedule */ + schedule?: (flyteidl.admin.ISchedule|null); - /** PluginOverride pluginId */ - pluginId?: (string[]|null); + /** LaunchPlanMetadata notifications */ + notifications?: (flyteidl.admin.INotification[]|null); - /** PluginOverride missingPluginBehavior */ - missingPluginBehavior?: (flyteidl.admin.PluginOverride.MissingPluginBehavior|null); + /** LaunchPlanMetadata launchConditions */ + launchConditions?: (google.protobuf.IAny|null); } - /** Represents a PluginOverride. */ - class PluginOverride implements IPluginOverride { + /** Represents a LaunchPlanMetadata. */ + class LaunchPlanMetadata implements ILaunchPlanMetadata { /** - * Constructs a new PluginOverride. + * Constructs a new LaunchPlanMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IPluginOverride); + constructor(properties?: flyteidl.admin.ILaunchPlanMetadata); - /** PluginOverride taskType. */ - public taskType: string; + /** LaunchPlanMetadata schedule. */ + public schedule?: (flyteidl.admin.ISchedule|null); - /** PluginOverride pluginId. */ - public pluginId: string[]; + /** LaunchPlanMetadata notifications. */ + public notifications: flyteidl.admin.INotification[]; - /** PluginOverride missingPluginBehavior. */ - public missingPluginBehavior: flyteidl.admin.PluginOverride.MissingPluginBehavior; + /** LaunchPlanMetadata launchConditions. */ + public launchConditions?: (google.protobuf.IAny|null); /** - * Creates a new PluginOverride instance using the specified properties. + * Creates a new LaunchPlanMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns PluginOverride instance + * @returns LaunchPlanMetadata instance */ - public static create(properties?: flyteidl.admin.IPluginOverride): flyteidl.admin.PluginOverride; + public static create(properties?: flyteidl.admin.ILaunchPlanMetadata): flyteidl.admin.LaunchPlanMetadata; /** - * Encodes the specified PluginOverride message. Does not implicitly {@link flyteidl.admin.PluginOverride.verify|verify} messages. - * @param message PluginOverride message or plain object to encode + * Encodes the specified LaunchPlanMetadata message. Does not implicitly {@link flyteidl.admin.LaunchPlanMetadata.verify|verify} messages. + * @param message LaunchPlanMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IPluginOverride, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a PluginOverride message from the specified reader or buffer. + * Decodes a LaunchPlanMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns PluginOverride + * @returns LaunchPlanMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.PluginOverride; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanMetadata; /** - * Verifies a PluginOverride message. + * Verifies a LaunchPlanMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - namespace PluginOverride { + /** Properties of a LaunchPlanUpdateRequest. */ + interface ILaunchPlanUpdateRequest { - /** MissingPluginBehavior enum. */ - enum MissingPluginBehavior { - FAIL = 0, - USE_DEFAULT = 1 - } - } - - /** Properties of a PluginOverrides. */ - interface IPluginOverrides { + /** LaunchPlanUpdateRequest id */ + id?: (flyteidl.core.IIdentifier|null); - /** PluginOverrides overrides */ - overrides?: (flyteidl.admin.IPluginOverride[]|null); + /** LaunchPlanUpdateRequest state */ + state?: (flyteidl.admin.LaunchPlanState|null); } - /** Represents a PluginOverrides. */ - class PluginOverrides implements IPluginOverrides { + /** Represents a LaunchPlanUpdateRequest. */ + class LaunchPlanUpdateRequest implements ILaunchPlanUpdateRequest { /** - * Constructs a new PluginOverrides. + * Constructs a new LaunchPlanUpdateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IPluginOverrides); + constructor(properties?: flyteidl.admin.ILaunchPlanUpdateRequest); - /** PluginOverrides overrides. */ - public overrides: flyteidl.admin.IPluginOverride[]; + /** LaunchPlanUpdateRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlanUpdateRequest state. */ + public state: flyteidl.admin.LaunchPlanState; /** - * Creates a new PluginOverrides instance using the specified properties. + * Creates a new LaunchPlanUpdateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns PluginOverrides instance + * @returns LaunchPlanUpdateRequest instance */ - public static create(properties?: flyteidl.admin.IPluginOverrides): flyteidl.admin.PluginOverrides; + public static create(properties?: flyteidl.admin.ILaunchPlanUpdateRequest): flyteidl.admin.LaunchPlanUpdateRequest; /** - * Encodes the specified PluginOverrides message. Does not implicitly {@link flyteidl.admin.PluginOverrides.verify|verify} messages. - * @param message PluginOverrides message or plain object to encode + * Encodes the specified LaunchPlanUpdateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateRequest.verify|verify} messages. + * @param message LaunchPlanUpdateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IPluginOverrides, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a PluginOverrides message from the specified reader or buffer. + * Decodes a LaunchPlanUpdateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns PluginOverrides + * @returns LaunchPlanUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.PluginOverrides; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanUpdateRequest; /** - * Verifies a PluginOverrides message. + * Verifies a LaunchPlanUpdateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowExecutionConfig. */ - interface IWorkflowExecutionConfig { - - /** WorkflowExecutionConfig maxParallelism */ - maxParallelism?: (number|null); - - /** WorkflowExecutionConfig securityContext */ - securityContext?: (flyteidl.core.ISecurityContext|null); - - /** WorkflowExecutionConfig rawOutputDataConfig */ - rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); - - /** WorkflowExecutionConfig labels */ - labels?: (flyteidl.admin.ILabels|null); - - /** WorkflowExecutionConfig annotations */ - annotations?: (flyteidl.admin.IAnnotations|null); - - /** WorkflowExecutionConfig interruptible */ - interruptible?: (google.protobuf.IBoolValue|null); - - /** WorkflowExecutionConfig overwriteCache */ - overwriteCache?: (boolean|null); - - /** WorkflowExecutionConfig envs */ - envs?: (flyteidl.admin.IEnvs|null); - - /** WorkflowExecutionConfig executionEnvAssignments */ - executionEnvAssignments?: (flyteidl.core.IExecutionEnvAssignment[]|null); + /** Properties of a LaunchPlanUpdateResponse. */ + interface ILaunchPlanUpdateResponse { } - /** Represents a WorkflowExecutionConfig. */ - class WorkflowExecutionConfig implements IWorkflowExecutionConfig { + /** Represents a LaunchPlanUpdateResponse. */ + class LaunchPlanUpdateResponse implements ILaunchPlanUpdateResponse { /** - * Constructs a new WorkflowExecutionConfig. + * Constructs a new LaunchPlanUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowExecutionConfig); - - /** WorkflowExecutionConfig maxParallelism. */ - public maxParallelism: number; - - /** WorkflowExecutionConfig securityContext. */ - public securityContext?: (flyteidl.core.ISecurityContext|null); - - /** WorkflowExecutionConfig rawOutputDataConfig. */ - public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); - - /** WorkflowExecutionConfig labels. */ - public labels?: (flyteidl.admin.ILabels|null); - - /** WorkflowExecutionConfig annotations. */ - public annotations?: (flyteidl.admin.IAnnotations|null); - - /** WorkflowExecutionConfig interruptible. */ - public interruptible?: (google.protobuf.IBoolValue|null); - - /** WorkflowExecutionConfig overwriteCache. */ - public overwriteCache: boolean; - - /** WorkflowExecutionConfig envs. */ - public envs?: (flyteidl.admin.IEnvs|null); - - /** WorkflowExecutionConfig executionEnvAssignments. */ - public executionEnvAssignments: flyteidl.core.IExecutionEnvAssignment[]; + constructor(properties?: flyteidl.admin.ILaunchPlanUpdateResponse); /** - * Creates a new WorkflowExecutionConfig instance using the specified properties. + * Creates a new LaunchPlanUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowExecutionConfig instance + * @returns LaunchPlanUpdateResponse instance */ - public static create(properties?: flyteidl.admin.IWorkflowExecutionConfig): flyteidl.admin.WorkflowExecutionConfig; + public static create(properties?: flyteidl.admin.ILaunchPlanUpdateResponse): flyteidl.admin.LaunchPlanUpdateResponse; /** - * Encodes the specified WorkflowExecutionConfig message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionConfig.verify|verify} messages. - * @param message WorkflowExecutionConfig message or plain object to encode + * Encodes the specified LaunchPlanUpdateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateResponse.verify|verify} messages. + * @param message LaunchPlanUpdateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowExecutionConfig, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ILaunchPlanUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowExecutionConfig message from the specified reader or buffer. + * Decodes a LaunchPlanUpdateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowExecutionConfig + * @returns LaunchPlanUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowExecutionConfig; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanUpdateResponse; /** - * Verifies a WorkflowExecutionConfig message. + * Verifies a LaunchPlanUpdateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a MatchingAttributes. */ - interface IMatchingAttributes { - - /** MatchingAttributes taskResourceAttributes */ - taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); - - /** MatchingAttributes clusterResourceAttributes */ - clusterResourceAttributes?: (flyteidl.admin.IClusterResourceAttributes|null); - - /** MatchingAttributes executionQueueAttributes */ - executionQueueAttributes?: (flyteidl.admin.IExecutionQueueAttributes|null); - - /** MatchingAttributes executionClusterLabel */ - executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); - - /** MatchingAttributes qualityOfService */ - qualityOfService?: (flyteidl.core.IQualityOfService|null); - - /** MatchingAttributes pluginOverrides */ - pluginOverrides?: (flyteidl.admin.IPluginOverrides|null); - - /** MatchingAttributes workflowExecutionConfig */ - workflowExecutionConfig?: (flyteidl.admin.IWorkflowExecutionConfig|null); + /** Properties of an ActiveLaunchPlanRequest. */ + interface IActiveLaunchPlanRequest { - /** MatchingAttributes clusterAssignment */ - clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + /** ActiveLaunchPlanRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); } - /** Represents a MatchingAttributes. */ - class MatchingAttributes implements IMatchingAttributes { + /** Represents an ActiveLaunchPlanRequest. */ + class ActiveLaunchPlanRequest implements IActiveLaunchPlanRequest { /** - * Constructs a new MatchingAttributes. + * Constructs a new ActiveLaunchPlanRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IMatchingAttributes); - - /** MatchingAttributes taskResourceAttributes. */ - public taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); - - /** MatchingAttributes clusterResourceAttributes. */ - public clusterResourceAttributes?: (flyteidl.admin.IClusterResourceAttributes|null); - - /** MatchingAttributes executionQueueAttributes. */ - public executionQueueAttributes?: (flyteidl.admin.IExecutionQueueAttributes|null); - - /** MatchingAttributes executionClusterLabel. */ - public executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); - - /** MatchingAttributes qualityOfService. */ - public qualityOfService?: (flyteidl.core.IQualityOfService|null); - - /** MatchingAttributes pluginOverrides. */ - public pluginOverrides?: (flyteidl.admin.IPluginOverrides|null); - - /** MatchingAttributes workflowExecutionConfig. */ - public workflowExecutionConfig?: (flyteidl.admin.IWorkflowExecutionConfig|null); - - /** MatchingAttributes clusterAssignment. */ - public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + constructor(properties?: flyteidl.admin.IActiveLaunchPlanRequest); - /** MatchingAttributes target. */ - public target?: ("taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment"); + /** ActiveLaunchPlanRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); /** - * Creates a new MatchingAttributes instance using the specified properties. + * Creates a new ActiveLaunchPlanRequest instance using the specified properties. * @param [properties] Properties to set - * @returns MatchingAttributes instance + * @returns ActiveLaunchPlanRequest instance */ - public static create(properties?: flyteidl.admin.IMatchingAttributes): flyteidl.admin.MatchingAttributes; + public static create(properties?: flyteidl.admin.IActiveLaunchPlanRequest): flyteidl.admin.ActiveLaunchPlanRequest; /** - * Encodes the specified MatchingAttributes message. Does not implicitly {@link flyteidl.admin.MatchingAttributes.verify|verify} messages. - * @param message MatchingAttributes message or plain object to encode + * Encodes the specified ActiveLaunchPlanRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanRequest.verify|verify} messages. + * @param message ActiveLaunchPlanRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IMatchingAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IActiveLaunchPlanRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a MatchingAttributes message from the specified reader or buffer. + * Decodes an ActiveLaunchPlanRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns MatchingAttributes + * @returns ActiveLaunchPlanRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.MatchingAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ActiveLaunchPlanRequest; /** - * Verifies a MatchingAttributes message. + * Verifies an ActiveLaunchPlanRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a MatchableAttributesConfiguration. */ - interface IMatchableAttributesConfiguration { + /** Properties of an ActiveLaunchPlanListRequest. */ + interface IActiveLaunchPlanListRequest { - /** MatchableAttributesConfiguration attributes */ - attributes?: (flyteidl.admin.IMatchingAttributes|null); + /** ActiveLaunchPlanListRequest project */ + project?: (string|null); - /** MatchableAttributesConfiguration domain */ + /** ActiveLaunchPlanListRequest domain */ domain?: (string|null); - /** MatchableAttributesConfiguration project */ - project?: (string|null); + /** ActiveLaunchPlanListRequest limit */ + limit?: (number|null); - /** MatchableAttributesConfiguration workflow */ - workflow?: (string|null); + /** ActiveLaunchPlanListRequest token */ + token?: (string|null); - /** MatchableAttributesConfiguration launchPlan */ - launchPlan?: (string|null); + /** ActiveLaunchPlanListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); - /** MatchableAttributesConfiguration org */ + /** ActiveLaunchPlanListRequest org */ org?: (string|null); } - /** Represents a MatchableAttributesConfiguration. */ - class MatchableAttributesConfiguration implements IMatchableAttributesConfiguration { + /** Represents an ActiveLaunchPlanListRequest. */ + class ActiveLaunchPlanListRequest implements IActiveLaunchPlanListRequest { /** - * Constructs a new MatchableAttributesConfiguration. + * Constructs a new ActiveLaunchPlanListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IMatchableAttributesConfiguration); + constructor(properties?: flyteidl.admin.IActiveLaunchPlanListRequest); - /** MatchableAttributesConfiguration attributes. */ - public attributes?: (flyteidl.admin.IMatchingAttributes|null); + /** ActiveLaunchPlanListRequest project. */ + public project: string; - /** MatchableAttributesConfiguration domain. */ + /** ActiveLaunchPlanListRequest domain. */ public domain: string; - /** MatchableAttributesConfiguration project. */ - public project: string; + /** ActiveLaunchPlanListRequest limit. */ + public limit: number; - /** MatchableAttributesConfiguration workflow. */ - public workflow: string; + /** ActiveLaunchPlanListRequest token. */ + public token: string; - /** MatchableAttributesConfiguration launchPlan. */ - public launchPlan: string; + /** ActiveLaunchPlanListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); - /** MatchableAttributesConfiguration org. */ + /** ActiveLaunchPlanListRequest org. */ public org: string; /** - * Creates a new MatchableAttributesConfiguration instance using the specified properties. + * Creates a new ActiveLaunchPlanListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns MatchableAttributesConfiguration instance + * @returns ActiveLaunchPlanListRequest instance */ - public static create(properties?: flyteidl.admin.IMatchableAttributesConfiguration): flyteidl.admin.MatchableAttributesConfiguration; + public static create(properties?: flyteidl.admin.IActiveLaunchPlanListRequest): flyteidl.admin.ActiveLaunchPlanListRequest; /** - * Encodes the specified MatchableAttributesConfiguration message. Does not implicitly {@link flyteidl.admin.MatchableAttributesConfiguration.verify|verify} messages. - * @param message MatchableAttributesConfiguration message or plain object to encode + * Encodes the specified ActiveLaunchPlanListRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanListRequest.verify|verify} messages. + * @param message ActiveLaunchPlanListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IMatchableAttributesConfiguration, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IActiveLaunchPlanListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a MatchableAttributesConfiguration message from the specified reader or buffer. + * Decodes an ActiveLaunchPlanListRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns MatchableAttributesConfiguration + * @returns ActiveLaunchPlanListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.MatchableAttributesConfiguration; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ActiveLaunchPlanListRequest; /** - * Verifies a MatchableAttributesConfiguration message. + * Verifies an ActiveLaunchPlanListRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ListMatchableAttributesRequest. */ - interface IListMatchableAttributesRequest { + /** FixedRateUnit enum. */ + enum FixedRateUnit { + MINUTE = 0, + HOUR = 1, + DAY = 2 + } - /** ListMatchableAttributesRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** Properties of a FixedRate. */ + interface IFixedRate { - /** ListMatchableAttributesRequest org */ - org?: (string|null); + /** FixedRate value */ + value?: (number|null); + + /** FixedRate unit */ + unit?: (flyteidl.admin.FixedRateUnit|null); } - /** Represents a ListMatchableAttributesRequest. */ - class ListMatchableAttributesRequest implements IListMatchableAttributesRequest { + /** Represents a FixedRate. */ + class FixedRate implements IFixedRate { /** - * Constructs a new ListMatchableAttributesRequest. + * Constructs a new FixedRate. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IListMatchableAttributesRequest); + constructor(properties?: flyteidl.admin.IFixedRate); - /** ListMatchableAttributesRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + /** FixedRate value. */ + public value: number; - /** ListMatchableAttributesRequest org. */ - public org: string; + /** FixedRate unit. */ + public unit: flyteidl.admin.FixedRateUnit; /** - * Creates a new ListMatchableAttributesRequest instance using the specified properties. + * Creates a new FixedRate instance using the specified properties. * @param [properties] Properties to set - * @returns ListMatchableAttributesRequest instance + * @returns FixedRate instance */ - public static create(properties?: flyteidl.admin.IListMatchableAttributesRequest): flyteidl.admin.ListMatchableAttributesRequest; + public static create(properties?: flyteidl.admin.IFixedRate): flyteidl.admin.FixedRate; /** - * Encodes the specified ListMatchableAttributesRequest message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesRequest.verify|verify} messages. - * @param message ListMatchableAttributesRequest message or plain object to encode + * Encodes the specified FixedRate message. Does not implicitly {@link flyteidl.admin.FixedRate.verify|verify} messages. + * @param message FixedRate message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IListMatchableAttributesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IFixedRate, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ListMatchableAttributesRequest message from the specified reader or buffer. + * Decodes a FixedRate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ListMatchableAttributesRequest + * @returns FixedRate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ListMatchableAttributesRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.FixedRate; /** - * Verifies a ListMatchableAttributesRequest message. + * Verifies a FixedRate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ListMatchableAttributesResponse. */ - interface IListMatchableAttributesResponse { + /** Properties of a CronSchedule. */ + interface ICronSchedule { - /** ListMatchableAttributesResponse configurations */ - configurations?: (flyteidl.admin.IMatchableAttributesConfiguration[]|null); + /** CronSchedule schedule */ + schedule?: (string|null); + + /** CronSchedule offset */ + offset?: (string|null); } - /** Represents a ListMatchableAttributesResponse. */ - class ListMatchableAttributesResponse implements IListMatchableAttributesResponse { + /** Represents a CronSchedule. */ + class CronSchedule implements ICronSchedule { /** - * Constructs a new ListMatchableAttributesResponse. + * Constructs a new CronSchedule. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IListMatchableAttributesResponse); + constructor(properties?: flyteidl.admin.ICronSchedule); - /** ListMatchableAttributesResponse configurations. */ - public configurations: flyteidl.admin.IMatchableAttributesConfiguration[]; + /** CronSchedule schedule. */ + public schedule: string; + + /** CronSchedule offset. */ + public offset: string; /** - * Creates a new ListMatchableAttributesResponse instance using the specified properties. + * Creates a new CronSchedule instance using the specified properties. * @param [properties] Properties to set - * @returns ListMatchableAttributesResponse instance + * @returns CronSchedule instance */ - public static create(properties?: flyteidl.admin.IListMatchableAttributesResponse): flyteidl.admin.ListMatchableAttributesResponse; + public static create(properties?: flyteidl.admin.ICronSchedule): flyteidl.admin.CronSchedule; /** - * Encodes the specified ListMatchableAttributesResponse message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesResponse.verify|verify} messages. - * @param message ListMatchableAttributesResponse message or plain object to encode + * Encodes the specified CronSchedule message. Does not implicitly {@link flyteidl.admin.CronSchedule.verify|verify} messages. + * @param message CronSchedule message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IListMatchableAttributesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ICronSchedule, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ListMatchableAttributesResponse message from the specified reader or buffer. + * Decodes a CronSchedule message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ListMatchableAttributesResponse + * @returns CronSchedule * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ListMatchableAttributesResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CronSchedule; /** - * Verifies a ListMatchableAttributesResponse message. + * Verifies a CronSchedule message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a LaunchPlanCreateRequest. */ - interface ILaunchPlanCreateRequest { + /** Properties of a Schedule. */ + interface ISchedule { - /** LaunchPlanCreateRequest id */ - id?: (flyteidl.core.IIdentifier|null); + /** Schedule cronExpression */ + cronExpression?: (string|null); - /** LaunchPlanCreateRequest spec */ - spec?: (flyteidl.admin.ILaunchPlanSpec|null); + /** Schedule rate */ + rate?: (flyteidl.admin.IFixedRate|null); + + /** Schedule cronSchedule */ + cronSchedule?: (flyteidl.admin.ICronSchedule|null); + + /** Schedule kickoffTimeInputArg */ + kickoffTimeInputArg?: (string|null); } - /** Represents a LaunchPlanCreateRequest. */ - class LaunchPlanCreateRequest implements ILaunchPlanCreateRequest { + /** Represents a Schedule. */ + class Schedule implements ISchedule { /** - * Constructs a new LaunchPlanCreateRequest. + * Constructs a new Schedule. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanCreateRequest); + constructor(properties?: flyteidl.admin.ISchedule); - /** LaunchPlanCreateRequest id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** Schedule cronExpression. */ + public cronExpression: string; - /** LaunchPlanCreateRequest spec. */ - public spec?: (flyteidl.admin.ILaunchPlanSpec|null); + /** Schedule rate. */ + public rate?: (flyteidl.admin.IFixedRate|null); + + /** Schedule cronSchedule. */ + public cronSchedule?: (flyteidl.admin.ICronSchedule|null); + + /** Schedule kickoffTimeInputArg. */ + public kickoffTimeInputArg: string; + + /** Schedule ScheduleExpression. */ + public ScheduleExpression?: ("cronExpression"|"rate"|"cronSchedule"); /** - * Creates a new LaunchPlanCreateRequest instance using the specified properties. + * Creates a new Schedule instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanCreateRequest instance + * @returns Schedule instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanCreateRequest): flyteidl.admin.LaunchPlanCreateRequest; + public static create(properties?: flyteidl.admin.ISchedule): flyteidl.admin.Schedule; /** - * Encodes the specified LaunchPlanCreateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateRequest.verify|verify} messages. - * @param message LaunchPlanCreateRequest message or plain object to encode + * Encodes the specified Schedule message. Does not implicitly {@link flyteidl.admin.Schedule.verify|verify} messages. + * @param message Schedule message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ILaunchPlanCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISchedule, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanCreateRequest message from the specified reader or buffer. + * Decodes a Schedule message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LaunchPlanCreateRequest + * @returns Schedule * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanCreateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Schedule; /** - * Verifies a LaunchPlanCreateRequest message. + * Verifies a Schedule message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a LaunchPlanCreateResponse. */ - interface ILaunchPlanCreateResponse { + /** Properties of a NodeExecutionGetRequest. */ + interface INodeExecutionGetRequest { + + /** NodeExecutionGetRequest id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); } - /** Represents a LaunchPlanCreateResponse. */ - class LaunchPlanCreateResponse implements ILaunchPlanCreateResponse { + /** Represents a NodeExecutionGetRequest. */ + class NodeExecutionGetRequest implements INodeExecutionGetRequest { /** - * Constructs a new LaunchPlanCreateResponse. + * Constructs a new NodeExecutionGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanCreateResponse); + constructor(properties?: flyteidl.admin.INodeExecutionGetRequest); + + /** NodeExecutionGetRequest id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); /** - * Creates a new LaunchPlanCreateResponse instance using the specified properties. + * Creates a new NodeExecutionGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanCreateResponse instance + * @returns NodeExecutionGetRequest instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanCreateResponse): flyteidl.admin.LaunchPlanCreateResponse; + public static create(properties?: flyteidl.admin.INodeExecutionGetRequest): flyteidl.admin.NodeExecutionGetRequest; /** - * Encodes the specified LaunchPlanCreateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateResponse.verify|verify} messages. - * @param message LaunchPlanCreateResponse message or plain object to encode + * Encodes the specified NodeExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetRequest.verify|verify} messages. + * @param message NodeExecutionGetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ILaunchPlanCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanCreateResponse message from the specified reader or buffer. + * Decodes a NodeExecutionGetRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LaunchPlanCreateResponse + * @returns NodeExecutionGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanCreateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionGetRequest; /** - * Verifies a LaunchPlanCreateResponse message. + * Verifies a NodeExecutionGetRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** LaunchPlanState enum. */ - enum LaunchPlanState { - INACTIVE = 0, - ACTIVE = 1 - } - - /** Properties of a LaunchPlan. */ - interface ILaunchPlan { + /** Properties of a NodeExecutionListRequest. */ + interface INodeExecutionListRequest { - /** LaunchPlan id */ - id?: (flyteidl.core.IIdentifier|null); + /** NodeExecutionListRequest workflowExecutionId */ + workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** LaunchPlan spec */ - spec?: (flyteidl.admin.ILaunchPlanSpec|null); + /** NodeExecutionListRequest limit */ + limit?: (number|null); - /** LaunchPlan closure */ - closure?: (flyteidl.admin.ILaunchPlanClosure|null); + /** NodeExecutionListRequest token */ + token?: (string|null); + + /** NodeExecutionListRequest filters */ + filters?: (string|null); + + /** NodeExecutionListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + + /** NodeExecutionListRequest uniqueParentId */ + uniqueParentId?: (string|null); } - /** Represents a LaunchPlan. */ - class LaunchPlan implements ILaunchPlan { + /** Represents a NodeExecutionListRequest. */ + class NodeExecutionListRequest implements INodeExecutionListRequest { /** - * Constructs a new LaunchPlan. + * Constructs a new NodeExecutionListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlan); + constructor(properties?: flyteidl.admin.INodeExecutionListRequest); - /** LaunchPlan id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** NodeExecutionListRequest workflowExecutionId. */ + public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** LaunchPlan spec. */ - public spec?: (flyteidl.admin.ILaunchPlanSpec|null); + /** NodeExecutionListRequest limit. */ + public limit: number; - /** LaunchPlan closure. */ - public closure?: (flyteidl.admin.ILaunchPlanClosure|null); + /** NodeExecutionListRequest token. */ + public token: string; + + /** NodeExecutionListRequest filters. */ + public filters: string; + + /** NodeExecutionListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** NodeExecutionListRequest uniqueParentId. */ + public uniqueParentId: string; /** - * Creates a new LaunchPlan instance using the specified properties. + * Creates a new NodeExecutionListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlan instance + * @returns NodeExecutionListRequest instance */ - public static create(properties?: flyteidl.admin.ILaunchPlan): flyteidl.admin.LaunchPlan; + public static create(properties?: flyteidl.admin.INodeExecutionListRequest): flyteidl.admin.NodeExecutionListRequest; /** - * Encodes the specified LaunchPlan message. Does not implicitly {@link flyteidl.admin.LaunchPlan.verify|verify} messages. - * @param message LaunchPlan message or plain object to encode + * Encodes the specified NodeExecutionListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionListRequest.verify|verify} messages. + * @param message NodeExecutionListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ILaunchPlan, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlan message from the specified reader or buffer. + * Decodes a NodeExecutionListRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LaunchPlan + * @returns NodeExecutionListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlan; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionListRequest; /** - * Verifies a LaunchPlan message. + * Verifies a NodeExecutionListRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a LaunchPlanList. */ - interface ILaunchPlanList { + /** Properties of a NodeExecutionForTaskListRequest. */ + interface INodeExecutionForTaskListRequest { - /** LaunchPlanList launchPlans */ - launchPlans?: (flyteidl.admin.ILaunchPlan[]|null); + /** NodeExecutionForTaskListRequest taskExecutionId */ + taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); - /** LaunchPlanList token */ + /** NodeExecutionForTaskListRequest limit */ + limit?: (number|null); + + /** NodeExecutionForTaskListRequest token */ token?: (string|null); + + /** NodeExecutionForTaskListRequest filters */ + filters?: (string|null); + + /** NodeExecutionForTaskListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); } - /** Represents a LaunchPlanList. */ - class LaunchPlanList implements ILaunchPlanList { + /** Represents a NodeExecutionForTaskListRequest. */ + class NodeExecutionForTaskListRequest implements INodeExecutionForTaskListRequest { /** - * Constructs a new LaunchPlanList. + * Constructs a new NodeExecutionForTaskListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanList); + constructor(properties?: flyteidl.admin.INodeExecutionForTaskListRequest); - /** LaunchPlanList launchPlans. */ - public launchPlans: flyteidl.admin.ILaunchPlan[]; + /** NodeExecutionForTaskListRequest taskExecutionId. */ + public taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); - /** LaunchPlanList token. */ + /** NodeExecutionForTaskListRequest limit. */ + public limit: number; + + /** NodeExecutionForTaskListRequest token. */ public token: string; + /** NodeExecutionForTaskListRequest filters. */ + public filters: string; + + /** NodeExecutionForTaskListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + /** - * Creates a new LaunchPlanList instance using the specified properties. + * Creates a new NodeExecutionForTaskListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanList instance + * @returns NodeExecutionForTaskListRequest instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanList): flyteidl.admin.LaunchPlanList; + public static create(properties?: flyteidl.admin.INodeExecutionForTaskListRequest): flyteidl.admin.NodeExecutionForTaskListRequest; /** - * Encodes the specified LaunchPlanList message. Does not implicitly {@link flyteidl.admin.LaunchPlanList.verify|verify} messages. - * @param message LaunchPlanList message or plain object to encode + * Encodes the specified NodeExecutionForTaskListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionForTaskListRequest.verify|verify} messages. + * @param message NodeExecutionForTaskListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ILaunchPlanList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionForTaskListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanList message from the specified reader or buffer. + * Decodes a NodeExecutionForTaskListRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LaunchPlanList + * @returns NodeExecutionForTaskListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionForTaskListRequest; /** - * Verifies a LaunchPlanList message. + * Verifies a NodeExecutionForTaskListRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an Auth. */ - interface IAuth { + /** Properties of a NodeExecution. */ + interface INodeExecution { - /** Auth assumableIamRole */ - assumableIamRole?: (string|null); + /** NodeExecution id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); - /** Auth kubernetesServiceAccount */ - kubernetesServiceAccount?: (string|null); + /** NodeExecution inputUri */ + inputUri?: (string|null); + + /** NodeExecution closure */ + closure?: (flyteidl.admin.INodeExecutionClosure|null); + + /** NodeExecution metadata */ + metadata?: (flyteidl.admin.INodeExecutionMetaData|null); } - /** Represents an Auth. */ - class Auth implements IAuth { + /** Represents a NodeExecution. */ + class NodeExecution implements INodeExecution { /** - * Constructs a new Auth. + * Constructs a new NodeExecution. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IAuth); + constructor(properties?: flyteidl.admin.INodeExecution); - /** Auth assumableIamRole. */ - public assumableIamRole: string; + /** NodeExecution id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); - /** Auth kubernetesServiceAccount. */ - public kubernetesServiceAccount: string; + /** NodeExecution inputUri. */ + public inputUri: string; + + /** NodeExecution closure. */ + public closure?: (flyteidl.admin.INodeExecutionClosure|null); + + /** NodeExecution metadata. */ + public metadata?: (flyteidl.admin.INodeExecutionMetaData|null); /** - * Creates a new Auth instance using the specified properties. + * Creates a new NodeExecution instance using the specified properties. * @param [properties] Properties to set - * @returns Auth instance + * @returns NodeExecution instance */ - public static create(properties?: flyteidl.admin.IAuth): flyteidl.admin.Auth; + public static create(properties?: flyteidl.admin.INodeExecution): flyteidl.admin.NodeExecution; /** - * Encodes the specified Auth message. Does not implicitly {@link flyteidl.admin.Auth.verify|verify} messages. - * @param message Auth message or plain object to encode + * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.admin.NodeExecution.verify|verify} messages. + * @param message NodeExecution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IAuth, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an Auth message from the specified reader or buffer. + * Decodes a NodeExecution message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Auth + * @returns NodeExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Auth; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecution; /** - * Verifies an Auth message. + * Verifies a NodeExecution message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a LaunchPlanSpec. */ - interface ILaunchPlanSpec { + /** Properties of a NodeExecutionMetaData. */ + interface INodeExecutionMetaData { - /** LaunchPlanSpec workflowId */ - workflowId?: (flyteidl.core.IIdentifier|null); + /** NodeExecutionMetaData retryGroup */ + retryGroup?: (string|null); - /** LaunchPlanSpec entityMetadata */ - entityMetadata?: (flyteidl.admin.ILaunchPlanMetadata|null); + /** NodeExecutionMetaData isParentNode */ + isParentNode?: (boolean|null); - /** LaunchPlanSpec defaultInputs */ - defaultInputs?: (flyteidl.core.IParameterMap|null); + /** NodeExecutionMetaData specNodeId */ + specNodeId?: (string|null); - /** LaunchPlanSpec fixedInputs */ - fixedInputs?: (flyteidl.core.ILiteralMap|null); + /** NodeExecutionMetaData isDynamic */ + isDynamic?: (boolean|null); - /** LaunchPlanSpec role */ - role?: (string|null); + /** NodeExecutionMetaData isArray */ + isArray?: (boolean|null); - /** LaunchPlanSpec labels */ - labels?: (flyteidl.admin.ILabels|null); + /** NodeExecutionMetaData isEager */ + isEager?: (boolean|null); + } - /** LaunchPlanSpec annotations */ - annotations?: (flyteidl.admin.IAnnotations|null); + /** Represents a NodeExecutionMetaData. */ + class NodeExecutionMetaData implements INodeExecutionMetaData { - /** LaunchPlanSpec auth */ - auth?: (flyteidl.admin.IAuth|null); + /** + * Constructs a new NodeExecutionMetaData. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionMetaData); - /** LaunchPlanSpec authRole */ - authRole?: (flyteidl.admin.IAuthRole|null); + /** NodeExecutionMetaData retryGroup. */ + public retryGroup: string; - /** LaunchPlanSpec securityContext */ - securityContext?: (flyteidl.core.ISecurityContext|null); + /** NodeExecutionMetaData isParentNode. */ + public isParentNode: boolean; - /** LaunchPlanSpec qualityOfService */ - qualityOfService?: (flyteidl.core.IQualityOfService|null); + /** NodeExecutionMetaData specNodeId. */ + public specNodeId: string; - /** LaunchPlanSpec rawOutputDataConfig */ - rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + /** NodeExecutionMetaData isDynamic. */ + public isDynamic: boolean; - /** LaunchPlanSpec maxParallelism */ - maxParallelism?: (number|null); + /** NodeExecutionMetaData isArray. */ + public isArray: boolean; - /** LaunchPlanSpec interruptible */ - interruptible?: (google.protobuf.IBoolValue|null); + /** NodeExecutionMetaData isEager. */ + public isEager: boolean; - /** LaunchPlanSpec overwriteCache */ - overwriteCache?: (boolean|null); - - /** LaunchPlanSpec envs */ - envs?: (flyteidl.admin.IEnvs|null); - - /** LaunchPlanSpec executionEnvAssignments */ - executionEnvAssignments?: (flyteidl.core.IExecutionEnvAssignment[]|null); - } - - /** Represents a LaunchPlanSpec. */ - class LaunchPlanSpec implements ILaunchPlanSpec { + /** + * Creates a new NodeExecutionMetaData instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionMetaData instance + */ + public static create(properties?: flyteidl.admin.INodeExecutionMetaData): flyteidl.admin.NodeExecutionMetaData; /** - * Constructs a new LaunchPlanSpec. - * @param [properties] Properties to set + * Encodes the specified NodeExecutionMetaData message. Does not implicitly {@link flyteidl.admin.NodeExecutionMetaData.verify|verify} messages. + * @param message NodeExecutionMetaData message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer */ - constructor(properties?: flyteidl.admin.ILaunchPlanSpec); - - /** LaunchPlanSpec workflowId. */ - public workflowId?: (flyteidl.core.IIdentifier|null); - - /** LaunchPlanSpec entityMetadata. */ - public entityMetadata?: (flyteidl.admin.ILaunchPlanMetadata|null); - - /** LaunchPlanSpec defaultInputs. */ - public defaultInputs?: (flyteidl.core.IParameterMap|null); - - /** LaunchPlanSpec fixedInputs. */ - public fixedInputs?: (flyteidl.core.ILiteralMap|null); - - /** LaunchPlanSpec role. */ - public role: string; - - /** LaunchPlanSpec labels. */ - public labels?: (flyteidl.admin.ILabels|null); - - /** LaunchPlanSpec annotations. */ - public annotations?: (flyteidl.admin.IAnnotations|null); - - /** LaunchPlanSpec auth. */ - public auth?: (flyteidl.admin.IAuth|null); + public static encode(message: flyteidl.admin.INodeExecutionMetaData, writer?: $protobuf.Writer): $protobuf.Writer; - /** LaunchPlanSpec authRole. */ - public authRole?: (flyteidl.admin.IAuthRole|null); + /** + * Decodes a NodeExecutionMetaData message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecutionMetaData + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionMetaData; - /** LaunchPlanSpec securityContext. */ - public securityContext?: (flyteidl.core.ISecurityContext|null); + /** + * Verifies a NodeExecutionMetaData message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } - /** LaunchPlanSpec qualityOfService. */ - public qualityOfService?: (flyteidl.core.IQualityOfService|null); + /** Properties of a NodeExecutionList. */ + interface INodeExecutionList { - /** LaunchPlanSpec rawOutputDataConfig. */ - public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + /** NodeExecutionList nodeExecutions */ + nodeExecutions?: (flyteidl.admin.INodeExecution[]|null); - /** LaunchPlanSpec maxParallelism. */ - public maxParallelism: number; + /** NodeExecutionList token */ + token?: (string|null); + } - /** LaunchPlanSpec interruptible. */ - public interruptible?: (google.protobuf.IBoolValue|null); + /** Represents a NodeExecutionList. */ + class NodeExecutionList implements INodeExecutionList { - /** LaunchPlanSpec overwriteCache. */ - public overwriteCache: boolean; + /** + * Constructs a new NodeExecutionList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionList); - /** LaunchPlanSpec envs. */ - public envs?: (flyteidl.admin.IEnvs|null); + /** NodeExecutionList nodeExecutions. */ + public nodeExecutions: flyteidl.admin.INodeExecution[]; - /** LaunchPlanSpec executionEnvAssignments. */ - public executionEnvAssignments: flyteidl.core.IExecutionEnvAssignment[]; + /** NodeExecutionList token. */ + public token: string; /** - * Creates a new LaunchPlanSpec instance using the specified properties. + * Creates a new NodeExecutionList instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanSpec instance + * @returns NodeExecutionList instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanSpec): flyteidl.admin.LaunchPlanSpec; + public static create(properties?: flyteidl.admin.INodeExecutionList): flyteidl.admin.NodeExecutionList; /** - * Encodes the specified LaunchPlanSpec message. Does not implicitly {@link flyteidl.admin.LaunchPlanSpec.verify|verify} messages. - * @param message LaunchPlanSpec message or plain object to encode + * Encodes the specified NodeExecutionList message. Does not implicitly {@link flyteidl.admin.NodeExecutionList.verify|verify} messages. + * @param message NodeExecutionList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ILaunchPlanSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanSpec message from the specified reader or buffer. + * Decodes a NodeExecutionList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LaunchPlanSpec + * @returns NodeExecutionList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionList; /** - * Verifies a LaunchPlanSpec message. + * Verifies a NodeExecutionList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a LaunchPlanClosure. */ - interface ILaunchPlanClosure { + /** Properties of a NodeExecutionClosure. */ + interface INodeExecutionClosure { - /** LaunchPlanClosure state */ - state?: (flyteidl.admin.LaunchPlanState|null); + /** NodeExecutionClosure outputUri */ + outputUri?: (string|null); - /** LaunchPlanClosure expectedInputs */ - expectedInputs?: (flyteidl.core.IParameterMap|null); + /** NodeExecutionClosure error */ + error?: (flyteidl.core.IExecutionError|null); - /** LaunchPlanClosure expectedOutputs */ - expectedOutputs?: (flyteidl.core.IVariableMap|null); + /** NodeExecutionClosure outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); - /** LaunchPlanClosure createdAt */ + /** NodeExecutionClosure phase */ + phase?: (flyteidl.core.NodeExecution.Phase|null); + + /** NodeExecutionClosure startedAt */ + startedAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionClosure duration */ + duration?: (google.protobuf.IDuration|null); + + /** NodeExecutionClosure createdAt */ createdAt?: (google.protobuf.ITimestamp|null); - /** LaunchPlanClosure updatedAt */ + /** NodeExecutionClosure updatedAt */ updatedAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionClosure workflowNodeMetadata */ + workflowNodeMetadata?: (flyteidl.admin.IWorkflowNodeMetadata|null); + + /** NodeExecutionClosure taskNodeMetadata */ + taskNodeMetadata?: (flyteidl.admin.ITaskNodeMetadata|null); + + /** NodeExecutionClosure deckUri */ + deckUri?: (string|null); + + /** NodeExecutionClosure dynamicJobSpecUri */ + dynamicJobSpecUri?: (string|null); } - /** Represents a LaunchPlanClosure. */ - class LaunchPlanClosure implements ILaunchPlanClosure { + /** Represents a NodeExecutionClosure. */ + class NodeExecutionClosure implements INodeExecutionClosure { /** - * Constructs a new LaunchPlanClosure. + * Constructs a new NodeExecutionClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanClosure); + constructor(properties?: flyteidl.admin.INodeExecutionClosure); - /** LaunchPlanClosure state. */ - public state: flyteidl.admin.LaunchPlanState; + /** NodeExecutionClosure outputUri. */ + public outputUri: string; - /** LaunchPlanClosure expectedInputs. */ - public expectedInputs?: (flyteidl.core.IParameterMap|null); + /** NodeExecutionClosure error. */ + public error?: (flyteidl.core.IExecutionError|null); - /** LaunchPlanClosure expectedOutputs. */ - public expectedOutputs?: (flyteidl.core.IVariableMap|null); + /** NodeExecutionClosure outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); - /** LaunchPlanClosure createdAt. */ + /** NodeExecutionClosure phase. */ + public phase: flyteidl.core.NodeExecution.Phase; + + /** NodeExecutionClosure startedAt. */ + public startedAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionClosure duration. */ + public duration?: (google.protobuf.IDuration|null); + + /** NodeExecutionClosure createdAt. */ public createdAt?: (google.protobuf.ITimestamp|null); - /** LaunchPlanClosure updatedAt. */ + /** NodeExecutionClosure updatedAt. */ public updatedAt?: (google.protobuf.ITimestamp|null); + /** NodeExecutionClosure workflowNodeMetadata. */ + public workflowNodeMetadata?: (flyteidl.admin.IWorkflowNodeMetadata|null); + + /** NodeExecutionClosure taskNodeMetadata. */ + public taskNodeMetadata?: (flyteidl.admin.ITaskNodeMetadata|null); + + /** NodeExecutionClosure deckUri. */ + public deckUri: string; + + /** NodeExecutionClosure dynamicJobSpecUri. */ + public dynamicJobSpecUri: string; + + /** NodeExecutionClosure outputResult. */ + public outputResult?: ("outputUri"|"error"|"outputData"); + + /** NodeExecutionClosure targetMetadata. */ + public targetMetadata?: ("workflowNodeMetadata"|"taskNodeMetadata"); + /** - * Creates a new LaunchPlanClosure instance using the specified properties. + * Creates a new NodeExecutionClosure instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanClosure instance + * @returns NodeExecutionClosure instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanClosure): flyteidl.admin.LaunchPlanClosure; + public static create(properties?: flyteidl.admin.INodeExecutionClosure): flyteidl.admin.NodeExecutionClosure; /** - * Encodes the specified LaunchPlanClosure message. Does not implicitly {@link flyteidl.admin.LaunchPlanClosure.verify|verify} messages. - * @param message LaunchPlanClosure message or plain object to encode + * Encodes the specified NodeExecutionClosure message. Does not implicitly {@link flyteidl.admin.NodeExecutionClosure.verify|verify} messages. + * @param message NodeExecutionClosure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ILaunchPlanClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanClosure message from the specified reader or buffer. + * Decodes a NodeExecutionClosure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LaunchPlanClosure + * @returns NodeExecutionClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionClosure; /** - * Verifies a LaunchPlanClosure message. + * Verifies a NodeExecutionClosure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a LaunchPlanMetadata. */ - interface ILaunchPlanMetadata { - - /** LaunchPlanMetadata schedule */ - schedule?: (flyteidl.admin.ISchedule|null); - - /** LaunchPlanMetadata notifications */ - notifications?: (flyteidl.admin.INotification[]|null); + /** Properties of a WorkflowNodeMetadata. */ + interface IWorkflowNodeMetadata { - /** LaunchPlanMetadata launchConditions */ - launchConditions?: (google.protobuf.IAny|null); + /** WorkflowNodeMetadata executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents a LaunchPlanMetadata. */ - class LaunchPlanMetadata implements ILaunchPlanMetadata { + /** Represents a WorkflowNodeMetadata. */ + class WorkflowNodeMetadata implements IWorkflowNodeMetadata { /** - * Constructs a new LaunchPlanMetadata. + * Constructs a new WorkflowNodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanMetadata); - - /** LaunchPlanMetadata schedule. */ - public schedule?: (flyteidl.admin.ISchedule|null); + constructor(properties?: flyteidl.admin.IWorkflowNodeMetadata); - /** LaunchPlanMetadata notifications. */ - public notifications: flyteidl.admin.INotification[]; - - /** LaunchPlanMetadata launchConditions. */ - public launchConditions?: (google.protobuf.IAny|null); + /** WorkflowNodeMetadata executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new LaunchPlanMetadata instance using the specified properties. + * Creates a new WorkflowNodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanMetadata instance + * @returns WorkflowNodeMetadata instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanMetadata): flyteidl.admin.LaunchPlanMetadata; + public static create(properties?: flyteidl.admin.IWorkflowNodeMetadata): flyteidl.admin.WorkflowNodeMetadata; /** - * Encodes the specified LaunchPlanMetadata message. Does not implicitly {@link flyteidl.admin.LaunchPlanMetadata.verify|verify} messages. - * @param message LaunchPlanMetadata message or plain object to encode + * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.WorkflowNodeMetadata.verify|verify} messages. + * @param message WorkflowNodeMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ILaunchPlanMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanMetadata message from the specified reader or buffer. + * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LaunchPlanMetadata + * @returns WorkflowNodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowNodeMetadata; /** - * Verifies a LaunchPlanMetadata message. + * Verifies a WorkflowNodeMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a LaunchPlanUpdateRequest. */ - interface ILaunchPlanUpdateRequest { + /** Properties of a TaskNodeMetadata. */ + interface ITaskNodeMetadata { - /** LaunchPlanUpdateRequest id */ - id?: (flyteidl.core.IIdentifier|null); + /** TaskNodeMetadata cacheStatus */ + cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); - /** LaunchPlanUpdateRequest state */ - state?: (flyteidl.admin.LaunchPlanState|null); + /** TaskNodeMetadata catalogKey */ + catalogKey?: (flyteidl.core.ICatalogMetadata|null); + + /** TaskNodeMetadata checkpointUri */ + checkpointUri?: (string|null); } - /** Represents a LaunchPlanUpdateRequest. */ - class LaunchPlanUpdateRequest implements ILaunchPlanUpdateRequest { + /** Represents a TaskNodeMetadata. */ + class TaskNodeMetadata implements ITaskNodeMetadata { /** - * Constructs a new LaunchPlanUpdateRequest. + * Constructs a new TaskNodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanUpdateRequest); + constructor(properties?: flyteidl.admin.ITaskNodeMetadata); - /** LaunchPlanUpdateRequest id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** TaskNodeMetadata cacheStatus. */ + public cacheStatus: flyteidl.core.CatalogCacheStatus; - /** LaunchPlanUpdateRequest state. */ - public state: flyteidl.admin.LaunchPlanState; + /** TaskNodeMetadata catalogKey. */ + public catalogKey?: (flyteidl.core.ICatalogMetadata|null); + + /** TaskNodeMetadata checkpointUri. */ + public checkpointUri: string; /** - * Creates a new LaunchPlanUpdateRequest instance using the specified properties. + * Creates a new TaskNodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanUpdateRequest instance + * @returns TaskNodeMetadata instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanUpdateRequest): flyteidl.admin.LaunchPlanUpdateRequest; + public static create(properties?: flyteidl.admin.ITaskNodeMetadata): flyteidl.admin.TaskNodeMetadata; /** - * Encodes the specified LaunchPlanUpdateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateRequest.verify|verify} messages. - * @param message LaunchPlanUpdateRequest message or plain object to encode + * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.admin.TaskNodeMetadata.verify|verify} messages. + * @param message TaskNodeMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ILaunchPlanUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanUpdateRequest message from the specified reader or buffer. + * Decodes a TaskNodeMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LaunchPlanUpdateRequest + * @returns TaskNodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskNodeMetadata; /** - * Verifies a LaunchPlanUpdateRequest message. + * Verifies a TaskNodeMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a LaunchPlanUpdateResponse. */ - interface ILaunchPlanUpdateResponse { + /** Properties of a DynamicWorkflowNodeMetadata. */ + interface IDynamicWorkflowNodeMetadata { + + /** DynamicWorkflowNodeMetadata id */ + id?: (flyteidl.core.IIdentifier|null); + + /** DynamicWorkflowNodeMetadata compiledWorkflow */ + compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */ + dynamicJobSpecUri?: (string|null); } - /** Represents a LaunchPlanUpdateResponse. */ - class LaunchPlanUpdateResponse implements ILaunchPlanUpdateResponse { + /** Represents a DynamicWorkflowNodeMetadata. */ + class DynamicWorkflowNodeMetadata implements IDynamicWorkflowNodeMetadata { /** - * Constructs a new LaunchPlanUpdateResponse. + * Constructs a new DynamicWorkflowNodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ILaunchPlanUpdateResponse); + constructor(properties?: flyteidl.admin.IDynamicWorkflowNodeMetadata); + + /** DynamicWorkflowNodeMetadata id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** DynamicWorkflowNodeMetadata compiledWorkflow. */ + public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */ + public dynamicJobSpecUri: string; /** - * Creates a new LaunchPlanUpdateResponse instance using the specified properties. + * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns LaunchPlanUpdateResponse instance + * @returns DynamicWorkflowNodeMetadata instance */ - public static create(properties?: flyteidl.admin.ILaunchPlanUpdateResponse): flyteidl.admin.LaunchPlanUpdateResponse; + public static create(properties?: flyteidl.admin.IDynamicWorkflowNodeMetadata): flyteidl.admin.DynamicWorkflowNodeMetadata; /** - * Encodes the specified LaunchPlanUpdateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateResponse.verify|verify} messages. - * @param message LaunchPlanUpdateResponse message or plain object to encode + * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.DynamicWorkflowNodeMetadata.verify|verify} messages. + * @param message DynamicWorkflowNodeMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ILaunchPlanUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDynamicWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a LaunchPlanUpdateResponse message from the specified reader or buffer. + * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns LaunchPlanUpdateResponse + * @returns DynamicWorkflowNodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchPlanUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DynamicWorkflowNodeMetadata; /** - * Verifies a LaunchPlanUpdateResponse message. + * Verifies a DynamicWorkflowNodeMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ActiveLaunchPlanRequest. */ - interface IActiveLaunchPlanRequest { + /** Properties of a NodeExecutionGetDataRequest. */ + interface INodeExecutionGetDataRequest { - /** ActiveLaunchPlanRequest id */ - id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** NodeExecutionGetDataRequest id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); } - /** Represents an ActiveLaunchPlanRequest. */ - class ActiveLaunchPlanRequest implements IActiveLaunchPlanRequest { + /** Represents a NodeExecutionGetDataRequest. */ + class NodeExecutionGetDataRequest implements INodeExecutionGetDataRequest { /** - * Constructs a new ActiveLaunchPlanRequest. + * Constructs a new NodeExecutionGetDataRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IActiveLaunchPlanRequest); + constructor(properties?: flyteidl.admin.INodeExecutionGetDataRequest); - /** ActiveLaunchPlanRequest id. */ - public id?: (flyteidl.admin.INamedEntityIdentifier|null); + /** NodeExecutionGetDataRequest id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); /** - * Creates a new ActiveLaunchPlanRequest instance using the specified properties. + * Creates a new NodeExecutionGetDataRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ActiveLaunchPlanRequest instance + * @returns NodeExecutionGetDataRequest instance */ - public static create(properties?: flyteidl.admin.IActiveLaunchPlanRequest): flyteidl.admin.ActiveLaunchPlanRequest; + public static create(properties?: flyteidl.admin.INodeExecutionGetDataRequest): flyteidl.admin.NodeExecutionGetDataRequest; /** - * Encodes the specified ActiveLaunchPlanRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanRequest.verify|verify} messages. - * @param message ActiveLaunchPlanRequest message or plain object to encode + * Encodes the specified NodeExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataRequest.verify|verify} messages. + * @param message NodeExecutionGetDataRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IActiveLaunchPlanRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ActiveLaunchPlanRequest message from the specified reader or buffer. + * Decodes a NodeExecutionGetDataRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActiveLaunchPlanRequest + * @returns NodeExecutionGetDataRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ActiveLaunchPlanRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionGetDataRequest; /** - * Verifies an ActiveLaunchPlanRequest message. + * Verifies a NodeExecutionGetDataRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an ActiveLaunchPlanListRequest. */ - interface IActiveLaunchPlanListRequest { + /** Properties of a NodeExecutionGetDataResponse. */ + interface INodeExecutionGetDataResponse { - /** ActiveLaunchPlanListRequest project */ - project?: (string|null); + /** NodeExecutionGetDataResponse inputs */ + inputs?: (flyteidl.admin.IUrlBlob|null); - /** ActiveLaunchPlanListRequest domain */ - domain?: (string|null); + /** NodeExecutionGetDataResponse outputs */ + outputs?: (flyteidl.admin.IUrlBlob|null); - /** ActiveLaunchPlanListRequest limit */ - limit?: (number|null); + /** NodeExecutionGetDataResponse fullInputs */ + fullInputs?: (flyteidl.core.ILiteralMap|null); - /** ActiveLaunchPlanListRequest token */ - token?: (string|null); + /** NodeExecutionGetDataResponse fullOutputs */ + fullOutputs?: (flyteidl.core.ILiteralMap|null); - /** ActiveLaunchPlanListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** NodeExecutionGetDataResponse dynamicWorkflow */ + dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null); - /** ActiveLaunchPlanListRequest org */ - org?: (string|null); + /** NodeExecutionGetDataResponse flyteUrls */ + flyteUrls?: (flyteidl.admin.IFlyteURLs|null); } - /** Represents an ActiveLaunchPlanListRequest. */ - class ActiveLaunchPlanListRequest implements IActiveLaunchPlanListRequest { + /** Represents a NodeExecutionGetDataResponse. */ + class NodeExecutionGetDataResponse implements INodeExecutionGetDataResponse { /** - * Constructs a new ActiveLaunchPlanListRequest. + * Constructs a new NodeExecutionGetDataResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IActiveLaunchPlanListRequest); + constructor(properties?: flyteidl.admin.INodeExecutionGetDataResponse); - /** ActiveLaunchPlanListRequest project. */ - public project: string; + /** NodeExecutionGetDataResponse inputs. */ + public inputs?: (flyteidl.admin.IUrlBlob|null); - /** ActiveLaunchPlanListRequest domain. */ - public domain: string; + /** NodeExecutionGetDataResponse outputs. */ + public outputs?: (flyteidl.admin.IUrlBlob|null); - /** ActiveLaunchPlanListRequest limit. */ - public limit: number; + /** NodeExecutionGetDataResponse fullInputs. */ + public fullInputs?: (flyteidl.core.ILiteralMap|null); - /** ActiveLaunchPlanListRequest token. */ - public token: string; + /** NodeExecutionGetDataResponse fullOutputs. */ + public fullOutputs?: (flyteidl.core.ILiteralMap|null); - /** ActiveLaunchPlanListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** NodeExecutionGetDataResponse dynamicWorkflow. */ + public dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null); - /** ActiveLaunchPlanListRequest org. */ - public org: string; + /** NodeExecutionGetDataResponse flyteUrls. */ + public flyteUrls?: (flyteidl.admin.IFlyteURLs|null); /** - * Creates a new ActiveLaunchPlanListRequest instance using the specified properties. + * Creates a new NodeExecutionGetDataResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ActiveLaunchPlanListRequest instance + * @returns NodeExecutionGetDataResponse instance */ - public static create(properties?: flyteidl.admin.IActiveLaunchPlanListRequest): flyteidl.admin.ActiveLaunchPlanListRequest; + public static create(properties?: flyteidl.admin.INodeExecutionGetDataResponse): flyteidl.admin.NodeExecutionGetDataResponse; /** - * Encodes the specified ActiveLaunchPlanListRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanListRequest.verify|verify} messages. - * @param message ActiveLaunchPlanListRequest message or plain object to encode + * Encodes the specified NodeExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataResponse.verify|verify} messages. + * @param message NodeExecutionGetDataResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IActiveLaunchPlanListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.INodeExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an ActiveLaunchPlanListRequest message from the specified reader or buffer. + * Decodes a NodeExecutionGetDataResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActiveLaunchPlanListRequest + * @returns NodeExecutionGetDataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ActiveLaunchPlanListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionGetDataResponse; /** - * Verifies an ActiveLaunchPlanListRequest message. + * Verifies a NodeExecutionGetDataResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** FixedRateUnit enum. */ - enum FixedRateUnit { - MINUTE = 0, - HOUR = 1, - DAY = 2 + /** Properties of a GetDynamicNodeWorkflowRequest. */ + interface IGetDynamicNodeWorkflowRequest { + + /** GetDynamicNodeWorkflowRequest id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); } - /** Properties of a FixedRate. */ - interface IFixedRate { - - /** FixedRate value */ - value?: (number|null); - - /** FixedRate unit */ - unit?: (flyteidl.admin.FixedRateUnit|null); - } - - /** Represents a FixedRate. */ - class FixedRate implements IFixedRate { + /** Represents a GetDynamicNodeWorkflowRequest. */ + class GetDynamicNodeWorkflowRequest implements IGetDynamicNodeWorkflowRequest { /** - * Constructs a new FixedRate. + * Constructs a new GetDynamicNodeWorkflowRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IFixedRate); - - /** FixedRate value. */ - public value: number; + constructor(properties?: flyteidl.admin.IGetDynamicNodeWorkflowRequest); - /** FixedRate unit. */ - public unit: flyteidl.admin.FixedRateUnit; + /** GetDynamicNodeWorkflowRequest id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); /** - * Creates a new FixedRate instance using the specified properties. + * Creates a new GetDynamicNodeWorkflowRequest instance using the specified properties. * @param [properties] Properties to set - * @returns FixedRate instance + * @returns GetDynamicNodeWorkflowRequest instance */ - public static create(properties?: flyteidl.admin.IFixedRate): flyteidl.admin.FixedRate; + public static create(properties?: flyteidl.admin.IGetDynamicNodeWorkflowRequest): flyteidl.admin.GetDynamicNodeWorkflowRequest; /** - * Encodes the specified FixedRate message. Does not implicitly {@link flyteidl.admin.FixedRate.verify|verify} messages. - * @param message FixedRate message or plain object to encode + * Encodes the specified GetDynamicNodeWorkflowRequest message. Does not implicitly {@link flyteidl.admin.GetDynamicNodeWorkflowRequest.verify|verify} messages. + * @param message GetDynamicNodeWorkflowRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IFixedRate, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetDynamicNodeWorkflowRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a FixedRate message from the specified reader or buffer. + * Decodes a GetDynamicNodeWorkflowRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns FixedRate + * @returns GetDynamicNodeWorkflowRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.FixedRate; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetDynamicNodeWorkflowRequest; /** - * Verifies a FixedRate message. + * Verifies a GetDynamicNodeWorkflowRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a CronSchedule. */ - interface ICronSchedule { - - /** CronSchedule schedule */ - schedule?: (string|null); + /** Properties of a DynamicNodeWorkflowResponse. */ + interface IDynamicNodeWorkflowResponse { - /** CronSchedule offset */ - offset?: (string|null); + /** DynamicNodeWorkflowResponse compiledWorkflow */ + compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); } - /** Represents a CronSchedule. */ - class CronSchedule implements ICronSchedule { + /** Represents a DynamicNodeWorkflowResponse. */ + class DynamicNodeWorkflowResponse implements IDynamicNodeWorkflowResponse { /** - * Constructs a new CronSchedule. + * Constructs a new DynamicNodeWorkflowResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ICronSchedule); - - /** CronSchedule schedule. */ - public schedule: string; + constructor(properties?: flyteidl.admin.IDynamicNodeWorkflowResponse); - /** CronSchedule offset. */ - public offset: string; + /** DynamicNodeWorkflowResponse compiledWorkflow. */ + public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); /** - * Creates a new CronSchedule instance using the specified properties. + * Creates a new DynamicNodeWorkflowResponse instance using the specified properties. * @param [properties] Properties to set - * @returns CronSchedule instance + * @returns DynamicNodeWorkflowResponse instance */ - public static create(properties?: flyteidl.admin.ICronSchedule): flyteidl.admin.CronSchedule; + public static create(properties?: flyteidl.admin.IDynamicNodeWorkflowResponse): flyteidl.admin.DynamicNodeWorkflowResponse; /** - * Encodes the specified CronSchedule message. Does not implicitly {@link flyteidl.admin.CronSchedule.verify|verify} messages. - * @param message CronSchedule message or plain object to encode + * Encodes the specified DynamicNodeWorkflowResponse message. Does not implicitly {@link flyteidl.admin.DynamicNodeWorkflowResponse.verify|verify} messages. + * @param message DynamicNodeWorkflowResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ICronSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDynamicNodeWorkflowResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CronSchedule message from the specified reader or buffer. + * Decodes a DynamicNodeWorkflowResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CronSchedule + * @returns DynamicNodeWorkflowResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CronSchedule; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DynamicNodeWorkflowResponse; /** - * Verifies a CronSchedule message. + * Verifies a DynamicNodeWorkflowResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a Schedule. */ - interface ISchedule { + /** Properties of an EmailMessage. */ + interface IEmailMessage { - /** Schedule cronExpression */ - cronExpression?: (string|null); + /** EmailMessage recipientsEmail */ + recipientsEmail?: (string[]|null); - /** Schedule rate */ - rate?: (flyteidl.admin.IFixedRate|null); + /** EmailMessage senderEmail */ + senderEmail?: (string|null); - /** Schedule cronSchedule */ - cronSchedule?: (flyteidl.admin.ICronSchedule|null); + /** EmailMessage subjectLine */ + subjectLine?: (string|null); - /** Schedule kickoffTimeInputArg */ - kickoffTimeInputArg?: (string|null); + /** EmailMessage body */ + body?: (string|null); } - /** Represents a Schedule. */ - class Schedule implements ISchedule { + /** Represents an EmailMessage. */ + class EmailMessage implements IEmailMessage { /** - * Constructs a new Schedule. + * Constructs a new EmailMessage. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISchedule); - - /** Schedule cronExpression. */ - public cronExpression: string; + constructor(properties?: flyteidl.admin.IEmailMessage); - /** Schedule rate. */ - public rate?: (flyteidl.admin.IFixedRate|null); + /** EmailMessage recipientsEmail. */ + public recipientsEmail: string[]; - /** Schedule cronSchedule. */ - public cronSchedule?: (flyteidl.admin.ICronSchedule|null); + /** EmailMessage senderEmail. */ + public senderEmail: string; - /** Schedule kickoffTimeInputArg. */ - public kickoffTimeInputArg: string; + /** EmailMessage subjectLine. */ + public subjectLine: string; - /** Schedule ScheduleExpression. */ - public ScheduleExpression?: ("cronExpression"|"rate"|"cronSchedule"); + /** EmailMessage body. */ + public body: string; /** - * Creates a new Schedule instance using the specified properties. + * Creates a new EmailMessage instance using the specified properties. * @param [properties] Properties to set - * @returns Schedule instance + * @returns EmailMessage instance */ - public static create(properties?: flyteidl.admin.ISchedule): flyteidl.admin.Schedule; + public static create(properties?: flyteidl.admin.IEmailMessage): flyteidl.admin.EmailMessage; /** - * Encodes the specified Schedule message. Does not implicitly {@link flyteidl.admin.Schedule.verify|verify} messages. - * @param message Schedule message or plain object to encode + * Encodes the specified EmailMessage message. Does not implicitly {@link flyteidl.admin.EmailMessage.verify|verify} messages. + * @param message EmailMessage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ISchedule, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IEmailMessage, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Schedule message from the specified reader or buffer. + * Decodes an EmailMessage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Schedule + * @returns EmailMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Schedule; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EmailMessage; /** - * Verifies a Schedule message. + * Verifies an EmailMessage message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NodeExecutionGetRequest. */ - interface INodeExecutionGetRequest { - - /** NodeExecutionGetRequest id */ - id?: (flyteidl.core.INodeExecutionIdentifier|null); + /** Properties of a GetDomainRequest. */ + interface IGetDomainRequest { } - /** Represents a NodeExecutionGetRequest. */ - class NodeExecutionGetRequest implements INodeExecutionGetRequest { + /** Represents a GetDomainRequest. */ + class GetDomainRequest implements IGetDomainRequest { /** - * Constructs a new NodeExecutionGetRequest. + * Constructs a new GetDomainRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionGetRequest); - - /** NodeExecutionGetRequest id. */ - public id?: (flyteidl.core.INodeExecutionIdentifier|null); + constructor(properties?: flyteidl.admin.IGetDomainRequest); /** - * Creates a new NodeExecutionGetRequest instance using the specified properties. + * Creates a new GetDomainRequest instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionGetRequest instance + * @returns GetDomainRequest instance */ - public static create(properties?: flyteidl.admin.INodeExecutionGetRequest): flyteidl.admin.NodeExecutionGetRequest; + public static create(properties?: flyteidl.admin.IGetDomainRequest): flyteidl.admin.GetDomainRequest; /** - * Encodes the specified NodeExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetRequest.verify|verify} messages. - * @param message NodeExecutionGetRequest message or plain object to encode + * Encodes the specified GetDomainRequest message. Does not implicitly {@link flyteidl.admin.GetDomainRequest.verify|verify} messages. + * @param message GetDomainRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INodeExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetDomainRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionGetRequest message from the specified reader or buffer. + * Decodes a GetDomainRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeExecutionGetRequest + * @returns GetDomainRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetDomainRequest; /** - * Verifies a NodeExecutionGetRequest message. + * Verifies a GetDomainRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NodeExecutionListRequest. */ - interface INodeExecutionListRequest { - - /** NodeExecutionListRequest workflowExecutionId */ - workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** NodeExecutionListRequest limit */ - limit?: (number|null); - - /** NodeExecutionListRequest token */ - token?: (string|null); - - /** NodeExecutionListRequest filters */ - filters?: (string|null); + /** Properties of a Domain. */ + interface IDomain { - /** NodeExecutionListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** Domain id */ + id?: (string|null); - /** NodeExecutionListRequest uniqueParentId */ - uniqueParentId?: (string|null); + /** Domain name */ + name?: (string|null); } - /** Represents a NodeExecutionListRequest. */ - class NodeExecutionListRequest implements INodeExecutionListRequest { + /** Represents a Domain. */ + class Domain implements IDomain { /** - * Constructs a new NodeExecutionListRequest. + * Constructs a new Domain. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionListRequest); - - /** NodeExecutionListRequest workflowExecutionId. */ - public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** NodeExecutionListRequest limit. */ - public limit: number; - - /** NodeExecutionListRequest token. */ - public token: string; - - /** NodeExecutionListRequest filters. */ - public filters: string; + constructor(properties?: flyteidl.admin.IDomain); - /** NodeExecutionListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** Domain id. */ + public id: string; - /** NodeExecutionListRequest uniqueParentId. */ - public uniqueParentId: string; + /** Domain name. */ + public name: string; /** - * Creates a new NodeExecutionListRequest instance using the specified properties. + * Creates a new Domain instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionListRequest instance + * @returns Domain instance */ - public static create(properties?: flyteidl.admin.INodeExecutionListRequest): flyteidl.admin.NodeExecutionListRequest; + public static create(properties?: flyteidl.admin.IDomain): flyteidl.admin.Domain; /** - * Encodes the specified NodeExecutionListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionListRequest.verify|verify} messages. - * @param message NodeExecutionListRequest message or plain object to encode + * Encodes the specified Domain message. Does not implicitly {@link flyteidl.admin.Domain.verify|verify} messages. + * @param message Domain message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INodeExecutionListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IDomain, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionListRequest message from the specified reader or buffer. + * Decodes a Domain message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeExecutionListRequest + * @returns Domain * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Domain; /** - * Verifies a NodeExecutionListRequest message. + * Verifies a Domain message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NodeExecutionForTaskListRequest. */ - interface INodeExecutionForTaskListRequest { - - /** NodeExecutionForTaskListRequest taskExecutionId */ - taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); - - /** NodeExecutionForTaskListRequest limit */ - limit?: (number|null); - - /** NodeExecutionForTaskListRequest token */ - token?: (string|null); - - /** NodeExecutionForTaskListRequest filters */ - filters?: (string|null); + /** Properties of a GetDomainsResponse. */ + interface IGetDomainsResponse { - /** NodeExecutionForTaskListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** GetDomainsResponse domains */ + domains?: (flyteidl.admin.IDomain[]|null); } - /** Represents a NodeExecutionForTaskListRequest. */ - class NodeExecutionForTaskListRequest implements INodeExecutionForTaskListRequest { + /** Represents a GetDomainsResponse. */ + class GetDomainsResponse implements IGetDomainsResponse { /** - * Constructs a new NodeExecutionForTaskListRequest. + * Constructs a new GetDomainsResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionForTaskListRequest); - - /** NodeExecutionForTaskListRequest taskExecutionId. */ - public taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); - - /** NodeExecutionForTaskListRequest limit. */ - public limit: number; - - /** NodeExecutionForTaskListRequest token. */ - public token: string; - - /** NodeExecutionForTaskListRequest filters. */ - public filters: string; + constructor(properties?: flyteidl.admin.IGetDomainsResponse); - /** NodeExecutionForTaskListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** GetDomainsResponse domains. */ + public domains: flyteidl.admin.IDomain[]; /** - * Creates a new NodeExecutionForTaskListRequest instance using the specified properties. + * Creates a new GetDomainsResponse instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionForTaskListRequest instance + * @returns GetDomainsResponse instance */ - public static create(properties?: flyteidl.admin.INodeExecutionForTaskListRequest): flyteidl.admin.NodeExecutionForTaskListRequest; + public static create(properties?: flyteidl.admin.IGetDomainsResponse): flyteidl.admin.GetDomainsResponse; /** - * Encodes the specified NodeExecutionForTaskListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionForTaskListRequest.verify|verify} messages. - * @param message NodeExecutionForTaskListRequest message or plain object to encode + * Encodes the specified GetDomainsResponse message. Does not implicitly {@link flyteidl.admin.GetDomainsResponse.verify|verify} messages. + * @param message GetDomainsResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INodeExecutionForTaskListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetDomainsResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionForTaskListRequest message from the specified reader or buffer. + * Decodes a GetDomainsResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeExecutionForTaskListRequest + * @returns GetDomainsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionForTaskListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetDomainsResponse; /** - * Verifies a NodeExecutionForTaskListRequest message. + * Verifies a GetDomainsResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NodeExecution. */ - interface INodeExecution { + /** Properties of a Project. */ + interface IProject { - /** NodeExecution id */ - id?: (flyteidl.core.INodeExecutionIdentifier|null); + /** Project id */ + id?: (string|null); - /** NodeExecution inputUri */ - inputUri?: (string|null); + /** Project name */ + name?: (string|null); - /** NodeExecution closure */ - closure?: (flyteidl.admin.INodeExecutionClosure|null); + /** Project domains */ + domains?: (flyteidl.admin.IDomain[]|null); - /** NodeExecution metadata */ - metadata?: (flyteidl.admin.INodeExecutionMetaData|null); + /** Project description */ + description?: (string|null); + + /** Project labels */ + labels?: (flyteidl.admin.ILabels|null); + + /** Project state */ + state?: (flyteidl.admin.Project.ProjectState|null); + + /** Project org */ + org?: (string|null); } - /** Represents a NodeExecution. */ - class NodeExecution implements INodeExecution { + /** Represents a Project. */ + class Project implements IProject { /** - * Constructs a new NodeExecution. + * Constructs a new Project. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecution); + constructor(properties?: flyteidl.admin.IProject); - /** NodeExecution id. */ - public id?: (flyteidl.core.INodeExecutionIdentifier|null); + /** Project id. */ + public id: string; - /** NodeExecution inputUri. */ - public inputUri: string; + /** Project name. */ + public name: string; - /** NodeExecution closure. */ - public closure?: (flyteidl.admin.INodeExecutionClosure|null); + /** Project domains. */ + public domains: flyteidl.admin.IDomain[]; - /** NodeExecution metadata. */ - public metadata?: (flyteidl.admin.INodeExecutionMetaData|null); + /** Project description. */ + public description: string; + + /** Project labels. */ + public labels?: (flyteidl.admin.ILabels|null); + + /** Project state. */ + public state: flyteidl.admin.Project.ProjectState; + + /** Project org. */ + public org: string; /** - * Creates a new NodeExecution instance using the specified properties. + * Creates a new Project instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecution instance + * @returns Project instance */ - public static create(properties?: flyteidl.admin.INodeExecution): flyteidl.admin.NodeExecution; + public static create(properties?: flyteidl.admin.IProject): flyteidl.admin.Project; /** - * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.admin.NodeExecution.verify|verify} messages. - * @param message NodeExecution message or plain object to encode + * Encodes the specified Project message. Does not implicitly {@link flyteidl.admin.Project.verify|verify} messages. + * @param message Project message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProject, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecution message from the specified reader or buffer. + * Decodes a Project message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeExecution + * @returns Project * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecution; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Project; /** - * Verifies a NodeExecution message. + * Verifies a Project message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NodeExecutionMetaData. */ - interface INodeExecutionMetaData { - - /** NodeExecutionMetaData retryGroup */ - retryGroup?: (string|null); - - /** NodeExecutionMetaData isParentNode */ - isParentNode?: (boolean|null); + namespace Project { - /** NodeExecutionMetaData specNodeId */ - specNodeId?: (string|null); + /** ProjectState enum. */ + enum ProjectState { + ACTIVE = 0, + ARCHIVED = 1, + SYSTEM_GENERATED = 2, + SYSTEM_ARCHIVED = 3 + } + } - /** NodeExecutionMetaData isDynamic */ - isDynamic?: (boolean|null); + /** Properties of a Projects. */ + interface IProjects { - /** NodeExecutionMetaData isArray */ - isArray?: (boolean|null); + /** Projects projects */ + projects?: (flyteidl.admin.IProject[]|null); - /** NodeExecutionMetaData isEager */ - isEager?: (boolean|null); + /** Projects token */ + token?: (string|null); } - /** Represents a NodeExecutionMetaData. */ - class NodeExecutionMetaData implements INodeExecutionMetaData { + /** Represents a Projects. */ + class Projects implements IProjects { /** - * Constructs a new NodeExecutionMetaData. + * Constructs a new Projects. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionMetaData); - - /** NodeExecutionMetaData retryGroup. */ - public retryGroup: string; - - /** NodeExecutionMetaData isParentNode. */ - public isParentNode: boolean; - - /** NodeExecutionMetaData specNodeId. */ - public specNodeId: string; - - /** NodeExecutionMetaData isDynamic. */ - public isDynamic: boolean; + constructor(properties?: flyteidl.admin.IProjects); - /** NodeExecutionMetaData isArray. */ - public isArray: boolean; + /** Projects projects. */ + public projects: flyteidl.admin.IProject[]; - /** NodeExecutionMetaData isEager. */ - public isEager: boolean; + /** Projects token. */ + public token: string; /** - * Creates a new NodeExecutionMetaData instance using the specified properties. + * Creates a new Projects instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionMetaData instance + * @returns Projects instance */ - public static create(properties?: flyteidl.admin.INodeExecutionMetaData): flyteidl.admin.NodeExecutionMetaData; + public static create(properties?: flyteidl.admin.IProjects): flyteidl.admin.Projects; /** - * Encodes the specified NodeExecutionMetaData message. Does not implicitly {@link flyteidl.admin.NodeExecutionMetaData.verify|verify} messages. - * @param message NodeExecutionMetaData message or plain object to encode + * Encodes the specified Projects message. Does not implicitly {@link flyteidl.admin.Projects.verify|verify} messages. + * @param message Projects message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INodeExecutionMetaData, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjects, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionMetaData message from the specified reader or buffer. + * Decodes a Projects message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeExecutionMetaData + * @returns Projects * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionMetaData; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Projects; /** - * Verifies a NodeExecutionMetaData message. + * Verifies a Projects message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NodeExecutionList. */ - interface INodeExecutionList { + /** Properties of a ProjectListRequest. */ + interface IProjectListRequest { - /** NodeExecutionList nodeExecutions */ - nodeExecutions?: (flyteidl.admin.INodeExecution[]|null); + /** ProjectListRequest limit */ + limit?: (number|null); - /** NodeExecutionList token */ + /** ProjectListRequest token */ token?: (string|null); - } - /** Represents a NodeExecutionList. */ - class NodeExecutionList implements INodeExecutionList { + /** ProjectListRequest filters */ + filters?: (string|null); - /** - * Constructs a new NodeExecutionList. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.INodeExecutionList); + /** ProjectListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); - /** NodeExecutionList nodeExecutions. */ - public nodeExecutions: flyteidl.admin.INodeExecution[]; + /** ProjectListRequest org */ + org?: (string|null); + } - /** NodeExecutionList token. */ + /** Represents a ProjectListRequest. */ + class ProjectListRequest implements IProjectListRequest { + + /** + * Constructs a new ProjectListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectListRequest); + + /** ProjectListRequest limit. */ + public limit: number; + + /** ProjectListRequest token. */ public token: string; + /** ProjectListRequest filters. */ + public filters: string; + + /** ProjectListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** ProjectListRequest org. */ + public org: string; + /** - * Creates a new NodeExecutionList instance using the specified properties. + * Creates a new ProjectListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionList instance + * @returns ProjectListRequest instance */ - public static create(properties?: flyteidl.admin.INodeExecutionList): flyteidl.admin.NodeExecutionList; + public static create(properties?: flyteidl.admin.IProjectListRequest): flyteidl.admin.ProjectListRequest; /** - * Encodes the specified NodeExecutionList message. Does not implicitly {@link flyteidl.admin.NodeExecutionList.verify|verify} messages. - * @param message NodeExecutionList message or plain object to encode + * Encodes the specified ProjectListRequest message. Does not implicitly {@link flyteidl.admin.ProjectListRequest.verify|verify} messages. + * @param message ProjectListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INodeExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionList message from the specified reader or buffer. + * Decodes a ProjectListRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeExecutionList + * @returns ProjectListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectListRequest; /** - * Verifies a NodeExecutionList message. + * Verifies a ProjectListRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NodeExecutionClosure. */ - interface INodeExecutionClosure { - - /** NodeExecutionClosure outputUri */ - outputUri?: (string|null); - - /** NodeExecutionClosure error */ - error?: (flyteidl.core.IExecutionError|null); - - /** NodeExecutionClosure outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); - - /** NodeExecutionClosure phase */ - phase?: (flyteidl.core.NodeExecution.Phase|null); - - /** NodeExecutionClosure startedAt */ - startedAt?: (google.protobuf.ITimestamp|null); - - /** NodeExecutionClosure duration */ - duration?: (google.protobuf.IDuration|null); - - /** NodeExecutionClosure createdAt */ - createdAt?: (google.protobuf.ITimestamp|null); - - /** NodeExecutionClosure updatedAt */ - updatedAt?: (google.protobuf.ITimestamp|null); - - /** NodeExecutionClosure workflowNodeMetadata */ - workflowNodeMetadata?: (flyteidl.admin.IWorkflowNodeMetadata|null); - - /** NodeExecutionClosure taskNodeMetadata */ - taskNodeMetadata?: (flyteidl.admin.ITaskNodeMetadata|null); - - /** NodeExecutionClosure deckUri */ - deckUri?: (string|null); + /** Properties of a ProjectRegisterRequest. */ + interface IProjectRegisterRequest { - /** NodeExecutionClosure dynamicJobSpecUri */ - dynamicJobSpecUri?: (string|null); + /** ProjectRegisterRequest project */ + project?: (flyteidl.admin.IProject|null); } - /** Represents a NodeExecutionClosure. */ - class NodeExecutionClosure implements INodeExecutionClosure { + /** Represents a ProjectRegisterRequest. */ + class ProjectRegisterRequest implements IProjectRegisterRequest { /** - * Constructs a new NodeExecutionClosure. + * Constructs a new ProjectRegisterRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionClosure); - - /** NodeExecutionClosure outputUri. */ - public outputUri: string; - - /** NodeExecutionClosure error. */ - public error?: (flyteidl.core.IExecutionError|null); - - /** NodeExecutionClosure outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); - - /** NodeExecutionClosure phase. */ - public phase: flyteidl.core.NodeExecution.Phase; - - /** NodeExecutionClosure startedAt. */ - public startedAt?: (google.protobuf.ITimestamp|null); - - /** NodeExecutionClosure duration. */ - public duration?: (google.protobuf.IDuration|null); - - /** NodeExecutionClosure createdAt. */ - public createdAt?: (google.protobuf.ITimestamp|null); - - /** NodeExecutionClosure updatedAt. */ - public updatedAt?: (google.protobuf.ITimestamp|null); - - /** NodeExecutionClosure workflowNodeMetadata. */ - public workflowNodeMetadata?: (flyteidl.admin.IWorkflowNodeMetadata|null); - - /** NodeExecutionClosure taskNodeMetadata. */ - public taskNodeMetadata?: (flyteidl.admin.ITaskNodeMetadata|null); - - /** NodeExecutionClosure deckUri. */ - public deckUri: string; - - /** NodeExecutionClosure dynamicJobSpecUri. */ - public dynamicJobSpecUri: string; - - /** NodeExecutionClosure outputResult. */ - public outputResult?: ("outputUri"|"error"|"outputData"); + constructor(properties?: flyteidl.admin.IProjectRegisterRequest); - /** NodeExecutionClosure targetMetadata. */ - public targetMetadata?: ("workflowNodeMetadata"|"taskNodeMetadata"); + /** ProjectRegisterRequest project. */ + public project?: (flyteidl.admin.IProject|null); /** - * Creates a new NodeExecutionClosure instance using the specified properties. + * Creates a new ProjectRegisterRequest instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionClosure instance + * @returns ProjectRegisterRequest instance */ - public static create(properties?: flyteidl.admin.INodeExecutionClosure): flyteidl.admin.NodeExecutionClosure; + public static create(properties?: flyteidl.admin.IProjectRegisterRequest): flyteidl.admin.ProjectRegisterRequest; /** - * Encodes the specified NodeExecutionClosure message. Does not implicitly {@link flyteidl.admin.NodeExecutionClosure.verify|verify} messages. - * @param message NodeExecutionClosure message or plain object to encode + * Encodes the specified ProjectRegisterRequest message. Does not implicitly {@link flyteidl.admin.ProjectRegisterRequest.verify|verify} messages. + * @param message ProjectRegisterRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INodeExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectRegisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionClosure message from the specified reader or buffer. + * Decodes a ProjectRegisterRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeExecutionClosure + * @returns ProjectRegisterRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectRegisterRequest; /** - * Verifies a NodeExecutionClosure message. + * Verifies a ProjectRegisterRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowNodeMetadata. */ - interface IWorkflowNodeMetadata { - - /** WorkflowNodeMetadata executionId */ - executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** Properties of a ProjectRegisterResponse. */ + interface IProjectRegisterResponse { } - /** Represents a WorkflowNodeMetadata. */ - class WorkflowNodeMetadata implements IWorkflowNodeMetadata { + /** Represents a ProjectRegisterResponse. */ + class ProjectRegisterResponse implements IProjectRegisterResponse { /** - * Constructs a new WorkflowNodeMetadata. + * Constructs a new ProjectRegisterResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowNodeMetadata); - - /** WorkflowNodeMetadata executionId. */ - public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + constructor(properties?: flyteidl.admin.IProjectRegisterResponse); /** - * Creates a new WorkflowNodeMetadata instance using the specified properties. + * Creates a new ProjectRegisterResponse instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowNodeMetadata instance + * @returns ProjectRegisterResponse instance */ - public static create(properties?: flyteidl.admin.IWorkflowNodeMetadata): flyteidl.admin.WorkflowNodeMetadata; + public static create(properties?: flyteidl.admin.IProjectRegisterResponse): flyteidl.admin.ProjectRegisterResponse; /** - * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.WorkflowNodeMetadata.verify|verify} messages. - * @param message WorkflowNodeMetadata message or plain object to encode + * Encodes the specified ProjectRegisterResponse message. Does not implicitly {@link flyteidl.admin.ProjectRegisterResponse.verify|verify} messages. + * @param message ProjectRegisterResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectRegisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a ProjectRegisterResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowNodeMetadata + * @returns ProjectRegisterResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowNodeMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectRegisterResponse; /** - * Verifies a WorkflowNodeMetadata message. + * Verifies a ProjectRegisterResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskNodeMetadata. */ - interface ITaskNodeMetadata { - - /** TaskNodeMetadata cacheStatus */ - cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); - - /** TaskNodeMetadata catalogKey */ - catalogKey?: (flyteidl.core.ICatalogMetadata|null); - - /** TaskNodeMetadata checkpointUri */ - checkpointUri?: (string|null); + /** Properties of a ProjectUpdateResponse. */ + interface IProjectUpdateResponse { } - /** Represents a TaskNodeMetadata. */ - class TaskNodeMetadata implements ITaskNodeMetadata { + /** Represents a ProjectUpdateResponse. */ + class ProjectUpdateResponse implements IProjectUpdateResponse { /** - * Constructs a new TaskNodeMetadata. + * Constructs a new ProjectUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskNodeMetadata); - - /** TaskNodeMetadata cacheStatus. */ - public cacheStatus: flyteidl.core.CatalogCacheStatus; - - /** TaskNodeMetadata catalogKey. */ - public catalogKey?: (flyteidl.core.ICatalogMetadata|null); - - /** TaskNodeMetadata checkpointUri. */ - public checkpointUri: string; + constructor(properties?: flyteidl.admin.IProjectUpdateResponse); /** - * Creates a new TaskNodeMetadata instance using the specified properties. + * Creates a new ProjectUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns TaskNodeMetadata instance + * @returns ProjectUpdateResponse instance */ - public static create(properties?: flyteidl.admin.ITaskNodeMetadata): flyteidl.admin.TaskNodeMetadata; + public static create(properties?: flyteidl.admin.IProjectUpdateResponse): flyteidl.admin.ProjectUpdateResponse; /** - * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.admin.TaskNodeMetadata.verify|verify} messages. - * @param message TaskNodeMetadata message or plain object to encode + * Encodes the specified ProjectUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectUpdateResponse.verify|verify} messages. + * @param message ProjectUpdateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskNodeMetadata message from the specified reader or buffer. + * Decodes a ProjectUpdateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskNodeMetadata + * @returns ProjectUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskNodeMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectUpdateResponse; /** - * Verifies a TaskNodeMetadata message. + * Verifies a ProjectUpdateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a DynamicWorkflowNodeMetadata. */ - interface IDynamicWorkflowNodeMetadata { + /** Properties of a ProjectGetRequest. */ + interface IProjectGetRequest { - /** DynamicWorkflowNodeMetadata id */ - id?: (flyteidl.core.IIdentifier|null); - - /** DynamicWorkflowNodeMetadata compiledWorkflow */ - compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** ProjectGetRequest id */ + id?: (string|null); - /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */ - dynamicJobSpecUri?: (string|null); + /** ProjectGetRequest org */ + org?: (string|null); } - /** Represents a DynamicWorkflowNodeMetadata. */ - class DynamicWorkflowNodeMetadata implements IDynamicWorkflowNodeMetadata { + /** Represents a ProjectGetRequest. */ + class ProjectGetRequest implements IProjectGetRequest { /** - * Constructs a new DynamicWorkflowNodeMetadata. + * Constructs a new ProjectGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDynamicWorkflowNodeMetadata); - - /** DynamicWorkflowNodeMetadata id. */ - public id?: (flyteidl.core.IIdentifier|null); + constructor(properties?: flyteidl.admin.IProjectGetRequest); - /** DynamicWorkflowNodeMetadata compiledWorkflow. */ - public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** ProjectGetRequest id. */ + public id: string; - /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */ - public dynamicJobSpecUri: string; + /** ProjectGetRequest org. */ + public org: string; /** - * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. + * Creates a new ProjectGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns DynamicWorkflowNodeMetadata instance + * @returns ProjectGetRequest instance */ - public static create(properties?: flyteidl.admin.IDynamicWorkflowNodeMetadata): flyteidl.admin.DynamicWorkflowNodeMetadata; + public static create(properties?: flyteidl.admin.IProjectGetRequest): flyteidl.admin.ProjectGetRequest; /** - * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.DynamicWorkflowNodeMetadata.verify|verify} messages. - * @param message DynamicWorkflowNodeMetadata message or plain object to encode + * Encodes the specified ProjectGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectGetRequest.verify|verify} messages. + * @param message ProjectGetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IDynamicWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a ProjectGetRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DynamicWorkflowNodeMetadata + * @returns ProjectGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DynamicWorkflowNodeMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectGetRequest; /** - * Verifies a DynamicWorkflowNodeMetadata message. + * Verifies a ProjectGetRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NodeExecutionGetDataRequest. */ - interface INodeExecutionGetDataRequest { + /** Properties of an InactiveProject. */ + interface IInactiveProject { - /** NodeExecutionGetDataRequest id */ - id?: (flyteidl.core.INodeExecutionIdentifier|null); + /** InactiveProject id */ + id?: (string|null); + + /** InactiveProject org */ + org?: (string|null); } - /** Represents a NodeExecutionGetDataRequest. */ - class NodeExecutionGetDataRequest implements INodeExecutionGetDataRequest { + /** Represents an InactiveProject. */ + class InactiveProject implements IInactiveProject { /** - * Constructs a new NodeExecutionGetDataRequest. + * Constructs a new InactiveProject. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionGetDataRequest); + constructor(properties?: flyteidl.admin.IInactiveProject); - /** NodeExecutionGetDataRequest id. */ - public id?: (flyteidl.core.INodeExecutionIdentifier|null); + /** InactiveProject id. */ + public id: string; + + /** InactiveProject org. */ + public org: string; /** - * Creates a new NodeExecutionGetDataRequest instance using the specified properties. + * Creates a new InactiveProject instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionGetDataRequest instance + * @returns InactiveProject instance */ - public static create(properties?: flyteidl.admin.INodeExecutionGetDataRequest): flyteidl.admin.NodeExecutionGetDataRequest; + public static create(properties?: flyteidl.admin.IInactiveProject): flyteidl.admin.InactiveProject; /** - * Encodes the specified NodeExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataRequest.verify|verify} messages. - * @param message NodeExecutionGetDataRequest message or plain object to encode + * Encodes the specified InactiveProject message. Does not implicitly {@link flyteidl.admin.InactiveProject.verify|verify} messages. + * @param message InactiveProject message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INodeExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IInactiveProject, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionGetDataRequest message from the specified reader or buffer. + * Decodes an InactiveProject message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeExecutionGetDataRequest + * @returns InactiveProject * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionGetDataRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.InactiveProject; /** - * Verifies a NodeExecutionGetDataRequest message. + * Verifies an InactiveProject message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a NodeExecutionGetDataResponse. */ - interface INodeExecutionGetDataResponse { - - /** NodeExecutionGetDataResponse inputs */ - inputs?: (flyteidl.admin.IUrlBlob|null); - - /** NodeExecutionGetDataResponse outputs */ - outputs?: (flyteidl.admin.IUrlBlob|null); - - /** NodeExecutionGetDataResponse fullInputs */ - fullInputs?: (flyteidl.core.ILiteralMap|null); + /** Properties of a ProjectAttributes. */ + interface IProjectAttributes { - /** NodeExecutionGetDataResponse fullOutputs */ - fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** ProjectAttributes project */ + project?: (string|null); - /** NodeExecutionGetDataResponse dynamicWorkflow */ - dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null); + /** ProjectAttributes matchingAttributes */ + matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); - /** NodeExecutionGetDataResponse flyteUrls */ - flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + /** ProjectAttributes org */ + org?: (string|null); } - /** Represents a NodeExecutionGetDataResponse. */ - class NodeExecutionGetDataResponse implements INodeExecutionGetDataResponse { + /** Represents a ProjectAttributes. */ + class ProjectAttributes implements IProjectAttributes { /** - * Constructs a new NodeExecutionGetDataResponse. + * Constructs a new ProjectAttributes. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.INodeExecutionGetDataResponse); - - /** NodeExecutionGetDataResponse inputs. */ - public inputs?: (flyteidl.admin.IUrlBlob|null); - - /** NodeExecutionGetDataResponse outputs. */ - public outputs?: (flyteidl.admin.IUrlBlob|null); - - /** NodeExecutionGetDataResponse fullInputs. */ - public fullInputs?: (flyteidl.core.ILiteralMap|null); + constructor(properties?: flyteidl.admin.IProjectAttributes); - /** NodeExecutionGetDataResponse fullOutputs. */ - public fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** ProjectAttributes project. */ + public project: string; - /** NodeExecutionGetDataResponse dynamicWorkflow. */ - public dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null); + /** ProjectAttributes matchingAttributes. */ + public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); - /** NodeExecutionGetDataResponse flyteUrls. */ - public flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + /** ProjectAttributes org. */ + public org: string; /** - * Creates a new NodeExecutionGetDataResponse instance using the specified properties. + * Creates a new ProjectAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns NodeExecutionGetDataResponse instance + * @returns ProjectAttributes instance */ - public static create(properties?: flyteidl.admin.INodeExecutionGetDataResponse): flyteidl.admin.NodeExecutionGetDataResponse; + public static create(properties?: flyteidl.admin.IProjectAttributes): flyteidl.admin.ProjectAttributes; /** - * Encodes the specified NodeExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataResponse.verify|verify} messages. - * @param message NodeExecutionGetDataResponse message or plain object to encode + * Encodes the specified ProjectAttributes message. Does not implicitly {@link flyteidl.admin.ProjectAttributes.verify|verify} messages. + * @param message ProjectAttributes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.INodeExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NodeExecutionGetDataResponse message from the specified reader or buffer. + * Decodes a ProjectAttributes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NodeExecutionGetDataResponse + * @returns ProjectAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.NodeExecutionGetDataResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributes; /** - * Verifies a NodeExecutionGetDataResponse message. + * Verifies a ProjectAttributes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetDynamicNodeWorkflowRequest. */ - interface IGetDynamicNodeWorkflowRequest { + /** Properties of a ProjectAttributesUpdateRequest. */ + interface IProjectAttributesUpdateRequest { - /** GetDynamicNodeWorkflowRequest id */ - id?: (flyteidl.core.INodeExecutionIdentifier|null); + /** ProjectAttributesUpdateRequest attributes */ + attributes?: (flyteidl.admin.IProjectAttributes|null); } - /** Represents a GetDynamicNodeWorkflowRequest. */ - class GetDynamicNodeWorkflowRequest implements IGetDynamicNodeWorkflowRequest { + /** Represents a ProjectAttributesUpdateRequest. */ + class ProjectAttributesUpdateRequest implements IProjectAttributesUpdateRequest { /** - * Constructs a new GetDynamicNodeWorkflowRequest. + * Constructs a new ProjectAttributesUpdateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetDynamicNodeWorkflowRequest); + constructor(properties?: flyteidl.admin.IProjectAttributesUpdateRequest); - /** GetDynamicNodeWorkflowRequest id. */ - public id?: (flyteidl.core.INodeExecutionIdentifier|null); + /** ProjectAttributesUpdateRequest attributes. */ + public attributes?: (flyteidl.admin.IProjectAttributes|null); /** - * Creates a new GetDynamicNodeWorkflowRequest instance using the specified properties. + * Creates a new ProjectAttributesUpdateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns GetDynamicNodeWorkflowRequest instance + * @returns ProjectAttributesUpdateRequest instance */ - public static create(properties?: flyteidl.admin.IGetDynamicNodeWorkflowRequest): flyteidl.admin.GetDynamicNodeWorkflowRequest; + public static create(properties?: flyteidl.admin.IProjectAttributesUpdateRequest): flyteidl.admin.ProjectAttributesUpdateRequest; /** - * Encodes the specified GetDynamicNodeWorkflowRequest message. Does not implicitly {@link flyteidl.admin.GetDynamicNodeWorkflowRequest.verify|verify} messages. - * @param message GetDynamicNodeWorkflowRequest message or plain object to encode + * Encodes the specified ProjectAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateRequest.verify|verify} messages. + * @param message ProjectAttributesUpdateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetDynamicNodeWorkflowRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetDynamicNodeWorkflowRequest message from the specified reader or buffer. + * Decodes a ProjectAttributesUpdateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetDynamicNodeWorkflowRequest + * @returns ProjectAttributesUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetDynamicNodeWorkflowRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesUpdateRequest; /** - * Verifies a GetDynamicNodeWorkflowRequest message. + * Verifies a ProjectAttributesUpdateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a DynamicNodeWorkflowResponse. */ - interface IDynamicNodeWorkflowResponse { - - /** DynamicNodeWorkflowResponse compiledWorkflow */ - compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** Properties of a ProjectAttributesUpdateResponse. */ + interface IProjectAttributesUpdateResponse { } - /** Represents a DynamicNodeWorkflowResponse. */ - class DynamicNodeWorkflowResponse implements IDynamicNodeWorkflowResponse { + /** Represents a ProjectAttributesUpdateResponse. */ + class ProjectAttributesUpdateResponse implements IProjectAttributesUpdateResponse { /** - * Constructs a new DynamicNodeWorkflowResponse. + * Constructs a new ProjectAttributesUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDynamicNodeWorkflowResponse); - - /** DynamicNodeWorkflowResponse compiledWorkflow. */ - public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + constructor(properties?: flyteidl.admin.IProjectAttributesUpdateResponse); /** - * Creates a new DynamicNodeWorkflowResponse instance using the specified properties. + * Creates a new ProjectAttributesUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns DynamicNodeWorkflowResponse instance + * @returns ProjectAttributesUpdateResponse instance */ - public static create(properties?: flyteidl.admin.IDynamicNodeWorkflowResponse): flyteidl.admin.DynamicNodeWorkflowResponse; + public static create(properties?: flyteidl.admin.IProjectAttributesUpdateResponse): flyteidl.admin.ProjectAttributesUpdateResponse; /** - * Encodes the specified DynamicNodeWorkflowResponse message. Does not implicitly {@link flyteidl.admin.DynamicNodeWorkflowResponse.verify|verify} messages. - * @param message DynamicNodeWorkflowResponse message or plain object to encode + * Encodes the specified ProjectAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateResponse.verify|verify} messages. + * @param message ProjectAttributesUpdateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IDynamicNodeWorkflowResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a DynamicNodeWorkflowResponse message from the specified reader or buffer. + * Decodes a ProjectAttributesUpdateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DynamicNodeWorkflowResponse + * @returns ProjectAttributesUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DynamicNodeWorkflowResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesUpdateResponse; /** - * Verifies a DynamicNodeWorkflowResponse message. + * Verifies a ProjectAttributesUpdateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an EmailMessage. */ - interface IEmailMessage { + /** Properties of a ProjectAttributesGetRequest. */ + interface IProjectAttributesGetRequest { - /** EmailMessage recipientsEmail */ - recipientsEmail?: (string[]|null); + /** ProjectAttributesGetRequest project */ + project?: (string|null); - /** EmailMessage senderEmail */ - senderEmail?: (string|null); - - /** EmailMessage subjectLine */ - subjectLine?: (string|null); + /** ProjectAttributesGetRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); - /** EmailMessage body */ - body?: (string|null); + /** ProjectAttributesGetRequest org */ + org?: (string|null); } - /** Represents an EmailMessage. */ - class EmailMessage implements IEmailMessage { + /** Represents a ProjectAttributesGetRequest. */ + class ProjectAttributesGetRequest implements IProjectAttributesGetRequest { /** - * Constructs a new EmailMessage. + * Constructs a new ProjectAttributesGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IEmailMessage); - - /** EmailMessage recipientsEmail. */ - public recipientsEmail: string[]; + constructor(properties?: flyteidl.admin.IProjectAttributesGetRequest); - /** EmailMessage senderEmail. */ - public senderEmail: string; + /** ProjectAttributesGetRequest project. */ + public project: string; - /** EmailMessage subjectLine. */ - public subjectLine: string; + /** ProjectAttributesGetRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; - /** EmailMessage body. */ - public body: string; + /** ProjectAttributesGetRequest org. */ + public org: string; /** - * Creates a new EmailMessage instance using the specified properties. + * Creates a new ProjectAttributesGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns EmailMessage instance + * @returns ProjectAttributesGetRequest instance */ - public static create(properties?: flyteidl.admin.IEmailMessage): flyteidl.admin.EmailMessage; + public static create(properties?: flyteidl.admin.IProjectAttributesGetRequest): flyteidl.admin.ProjectAttributesGetRequest; /** - * Encodes the specified EmailMessage message. Does not implicitly {@link flyteidl.admin.EmailMessage.verify|verify} messages. - * @param message EmailMessage message or plain object to encode + * Encodes the specified ProjectAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetRequest.verify|verify} messages. + * @param message ProjectAttributesGetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IEmailMessage, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an EmailMessage message from the specified reader or buffer. + * Decodes a ProjectAttributesGetRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns EmailMessage + * @returns ProjectAttributesGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.EmailMessage; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesGetRequest; /** - * Verifies an EmailMessage message. + * Verifies a ProjectAttributesGetRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetDomainRequest. */ - interface IGetDomainRequest { + /** Properties of a ProjectAttributesGetResponse. */ + interface IProjectAttributesGetResponse { + + /** ProjectAttributesGetResponse attributes */ + attributes?: (flyteidl.admin.IProjectAttributes|null); } - /** Represents a GetDomainRequest. */ - class GetDomainRequest implements IGetDomainRequest { + /** Represents a ProjectAttributesGetResponse. */ + class ProjectAttributesGetResponse implements IProjectAttributesGetResponse { /** - * Constructs a new GetDomainRequest. + * Constructs a new ProjectAttributesGetResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetDomainRequest); + constructor(properties?: flyteidl.admin.IProjectAttributesGetResponse); + + /** ProjectAttributesGetResponse attributes. */ + public attributes?: (flyteidl.admin.IProjectAttributes|null); /** - * Creates a new GetDomainRequest instance using the specified properties. + * Creates a new ProjectAttributesGetResponse instance using the specified properties. * @param [properties] Properties to set - * @returns GetDomainRequest instance + * @returns ProjectAttributesGetResponse instance */ - public static create(properties?: flyteidl.admin.IGetDomainRequest): flyteidl.admin.GetDomainRequest; + public static create(properties?: flyteidl.admin.IProjectAttributesGetResponse): flyteidl.admin.ProjectAttributesGetResponse; /** - * Encodes the specified GetDomainRequest message. Does not implicitly {@link flyteidl.admin.GetDomainRequest.verify|verify} messages. - * @param message GetDomainRequest message or plain object to encode + * Encodes the specified ProjectAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetResponse.verify|verify} messages. + * @param message ProjectAttributesGetResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetDomainRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetDomainRequest message from the specified reader or buffer. + * Decodes a ProjectAttributesGetResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetDomainRequest + * @returns ProjectAttributesGetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetDomainRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesGetResponse; /** - * Verifies a GetDomainRequest message. + * Verifies a ProjectAttributesGetResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a Domain. */ - interface IDomain { + /** Properties of a ProjectAttributesDeleteRequest. */ + interface IProjectAttributesDeleteRequest { - /** Domain id */ - id?: (string|null); + /** ProjectAttributesDeleteRequest project */ + project?: (string|null); - /** Domain name */ - name?: (string|null); + /** ProjectAttributesDeleteRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + + /** ProjectAttributesDeleteRequest org */ + org?: (string|null); } - /** Represents a Domain. */ - class Domain implements IDomain { + /** Represents a ProjectAttributesDeleteRequest. */ + class ProjectAttributesDeleteRequest implements IProjectAttributesDeleteRequest { /** - * Constructs a new Domain. + * Constructs a new ProjectAttributesDeleteRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IDomain); + constructor(properties?: flyteidl.admin.IProjectAttributesDeleteRequest); - /** Domain id. */ - public id: string; + /** ProjectAttributesDeleteRequest project. */ + public project: string; - /** Domain name. */ - public name: string; + /** ProjectAttributesDeleteRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; + + /** ProjectAttributesDeleteRequest org. */ + public org: string; /** - * Creates a new Domain instance using the specified properties. + * Creates a new ProjectAttributesDeleteRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Domain instance + * @returns ProjectAttributesDeleteRequest instance */ - public static create(properties?: flyteidl.admin.IDomain): flyteidl.admin.Domain; + public static create(properties?: flyteidl.admin.IProjectAttributesDeleteRequest): flyteidl.admin.ProjectAttributesDeleteRequest; /** - * Encodes the specified Domain message. Does not implicitly {@link flyteidl.admin.Domain.verify|verify} messages. - * @param message Domain message or plain object to encode + * Encodes the specified ProjectAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteRequest.verify|verify} messages. + * @param message ProjectAttributesDeleteRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IDomain, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Domain message from the specified reader or buffer. + * Decodes a ProjectAttributesDeleteRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Domain + * @returns ProjectAttributesDeleteRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Domain; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesDeleteRequest; /** - * Verifies a Domain message. + * Verifies a ProjectAttributesDeleteRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetDomainsResponse. */ - interface IGetDomainsResponse { - - /** GetDomainsResponse domains */ - domains?: (flyteidl.admin.IDomain[]|null); + /** Properties of a ProjectAttributesDeleteResponse. */ + interface IProjectAttributesDeleteResponse { } - /** Represents a GetDomainsResponse. */ - class GetDomainsResponse implements IGetDomainsResponse { + /** Represents a ProjectAttributesDeleteResponse. */ + class ProjectAttributesDeleteResponse implements IProjectAttributesDeleteResponse { /** - * Constructs a new GetDomainsResponse. + * Constructs a new ProjectAttributesDeleteResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetDomainsResponse); - - /** GetDomainsResponse domains. */ - public domains: flyteidl.admin.IDomain[]; + constructor(properties?: flyteidl.admin.IProjectAttributesDeleteResponse); /** - * Creates a new GetDomainsResponse instance using the specified properties. + * Creates a new ProjectAttributesDeleteResponse instance using the specified properties. * @param [properties] Properties to set - * @returns GetDomainsResponse instance + * @returns ProjectAttributesDeleteResponse instance */ - public static create(properties?: flyteidl.admin.IGetDomainsResponse): flyteidl.admin.GetDomainsResponse; + public static create(properties?: flyteidl.admin.IProjectAttributesDeleteResponse): flyteidl.admin.ProjectAttributesDeleteResponse; /** - * Encodes the specified GetDomainsResponse message. Does not implicitly {@link flyteidl.admin.GetDomainsResponse.verify|verify} messages. - * @param message GetDomainsResponse message or plain object to encode + * Encodes the specified ProjectAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteResponse.verify|verify} messages. + * @param message ProjectAttributesDeleteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetDomainsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetDomainsResponse message from the specified reader or buffer. + * Decodes a ProjectAttributesDeleteResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetDomainsResponse + * @returns ProjectAttributesDeleteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetDomainsResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesDeleteResponse; /** - * Verifies a GetDomainsResponse message. + * Verifies a ProjectAttributesDeleteResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a Project. */ - interface IProject { - - /** Project id */ - id?: (string|null); - - /** Project name */ - name?: (string|null); - - /** Project domains */ - domains?: (flyteidl.admin.IDomain[]|null); + /** Properties of a ProjectDomainAttributes. */ + interface IProjectDomainAttributes { - /** Project description */ - description?: (string|null); + /** ProjectDomainAttributes project */ + project?: (string|null); - /** Project labels */ - labels?: (flyteidl.admin.ILabels|null); + /** ProjectDomainAttributes domain */ + domain?: (string|null); - /** Project state */ - state?: (flyteidl.admin.Project.ProjectState|null); + /** ProjectDomainAttributes matchingAttributes */ + matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); - /** Project org */ + /** ProjectDomainAttributes org */ org?: (string|null); } - /** Represents a Project. */ - class Project implements IProject { + /** Represents a ProjectDomainAttributes. */ + class ProjectDomainAttributes implements IProjectDomainAttributes { /** - * Constructs a new Project. + * Constructs a new ProjectDomainAttributes. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProject); - - /** Project id. */ - public id: string; - - /** Project name. */ - public name: string; - - /** Project domains. */ - public domains: flyteidl.admin.IDomain[]; + constructor(properties?: flyteidl.admin.IProjectDomainAttributes); - /** Project description. */ - public description: string; + /** ProjectDomainAttributes project. */ + public project: string; - /** Project labels. */ - public labels?: (flyteidl.admin.ILabels|null); + /** ProjectDomainAttributes domain. */ + public domain: string; - /** Project state. */ - public state: flyteidl.admin.Project.ProjectState; + /** ProjectDomainAttributes matchingAttributes. */ + public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); - /** Project org. */ + /** ProjectDomainAttributes org. */ public org: string; /** - * Creates a new Project instance using the specified properties. + * Creates a new ProjectDomainAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns Project instance + * @returns ProjectDomainAttributes instance */ - public static create(properties?: flyteidl.admin.IProject): flyteidl.admin.Project; + public static create(properties?: flyteidl.admin.IProjectDomainAttributes): flyteidl.admin.ProjectDomainAttributes; /** - * Encodes the specified Project message. Does not implicitly {@link flyteidl.admin.Project.verify|verify} messages. - * @param message Project message or plain object to encode + * Encodes the specified ProjectDomainAttributes message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributes.verify|verify} messages. + * @param message ProjectDomainAttributes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProject, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Project message from the specified reader or buffer. + * Decodes a ProjectDomainAttributes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Project + * @returns ProjectDomainAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Project; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributes; /** - * Verifies a Project message. + * Verifies a ProjectDomainAttributes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - namespace Project { - - /** ProjectState enum. */ - enum ProjectState { - ACTIVE = 0, - ARCHIVED = 1, - SYSTEM_GENERATED = 2, - SYSTEM_ARCHIVED = 3 - } - } - - /** Properties of a Projects. */ - interface IProjects { - - /** Projects projects */ - projects?: (flyteidl.admin.IProject[]|null); + /** Properties of a ProjectDomainAttributesUpdateRequest. */ + interface IProjectDomainAttributesUpdateRequest { - /** Projects token */ - token?: (string|null); + /** ProjectDomainAttributesUpdateRequest attributes */ + attributes?: (flyteidl.admin.IProjectDomainAttributes|null); } - /** Represents a Projects. */ - class Projects implements IProjects { + /** Represents a ProjectDomainAttributesUpdateRequest. */ + class ProjectDomainAttributesUpdateRequest implements IProjectDomainAttributesUpdateRequest { /** - * Constructs a new Projects. + * Constructs a new ProjectDomainAttributesUpdateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjects); - - /** Projects projects. */ - public projects: flyteidl.admin.IProject[]; + constructor(properties?: flyteidl.admin.IProjectDomainAttributesUpdateRequest); - /** Projects token. */ - public token: string; + /** ProjectDomainAttributesUpdateRequest attributes. */ + public attributes?: (flyteidl.admin.IProjectDomainAttributes|null); /** - * Creates a new Projects instance using the specified properties. + * Creates a new ProjectDomainAttributesUpdateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Projects instance + * @returns ProjectDomainAttributesUpdateRequest instance */ - public static create(properties?: flyteidl.admin.IProjects): flyteidl.admin.Projects; + public static create(properties?: flyteidl.admin.IProjectDomainAttributesUpdateRequest): flyteidl.admin.ProjectDomainAttributesUpdateRequest; /** - * Encodes the specified Projects message. Does not implicitly {@link flyteidl.admin.Projects.verify|verify} messages. - * @param message Projects message or plain object to encode + * Encodes the specified ProjectDomainAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateRequest.verify|verify} messages. + * @param message ProjectDomainAttributesUpdateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjects, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Projects message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesUpdateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Projects + * @returns ProjectDomainAttributesUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Projects; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesUpdateRequest; /** - * Verifies a Projects message. + * Verifies a ProjectDomainAttributesUpdateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectListRequest. */ - interface IProjectListRequest { - - /** ProjectListRequest limit */ - limit?: (number|null); - - /** ProjectListRequest token */ - token?: (string|null); - - /** ProjectListRequest filters */ - filters?: (string|null); - - /** ProjectListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); - - /** ProjectListRequest org */ - org?: (string|null); + /** Properties of a ProjectDomainAttributesUpdateResponse. */ + interface IProjectDomainAttributesUpdateResponse { } - /** Represents a ProjectListRequest. */ - class ProjectListRequest implements IProjectListRequest { + /** Represents a ProjectDomainAttributesUpdateResponse. */ + class ProjectDomainAttributesUpdateResponse implements IProjectDomainAttributesUpdateResponse { /** - * Constructs a new ProjectListRequest. + * Constructs a new ProjectDomainAttributesUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectListRequest); - - /** ProjectListRequest limit. */ - public limit: number; - - /** ProjectListRequest token. */ - public token: string; - - /** ProjectListRequest filters. */ - public filters: string; - - /** ProjectListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); - - /** ProjectListRequest org. */ - public org: string; + constructor(properties?: flyteidl.admin.IProjectDomainAttributesUpdateResponse); /** - * Creates a new ProjectListRequest instance using the specified properties. + * Creates a new ProjectDomainAttributesUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectListRequest instance + * @returns ProjectDomainAttributesUpdateResponse instance */ - public static create(properties?: flyteidl.admin.IProjectListRequest): flyteidl.admin.ProjectListRequest; + public static create(properties?: flyteidl.admin.IProjectDomainAttributesUpdateResponse): flyteidl.admin.ProjectDomainAttributesUpdateResponse; /** - * Encodes the specified ProjectListRequest message. Does not implicitly {@link flyteidl.admin.ProjectListRequest.verify|verify} messages. - * @param message ProjectListRequest message or plain object to encode + * Encodes the specified ProjectDomainAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateResponse.verify|verify} messages. + * @param message ProjectDomainAttributesUpdateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectListRequest message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesUpdateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectListRequest + * @returns ProjectDomainAttributesUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesUpdateResponse; /** - * Verifies a ProjectListRequest message. + * Verifies a ProjectDomainAttributesUpdateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectRegisterRequest. */ - interface IProjectRegisterRequest { + /** Properties of a ProjectDomainAttributesGetRequest. */ + interface IProjectDomainAttributesGetRequest { - /** ProjectRegisterRequest project */ - project?: (flyteidl.admin.IProject|null); + /** ProjectDomainAttributesGetRequest project */ + project?: (string|null); + + /** ProjectDomainAttributesGetRequest domain */ + domain?: (string|null); + + /** ProjectDomainAttributesGetRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + + /** ProjectDomainAttributesGetRequest org */ + org?: (string|null); } - /** Represents a ProjectRegisterRequest. */ - class ProjectRegisterRequest implements IProjectRegisterRequest { + /** Represents a ProjectDomainAttributesGetRequest. */ + class ProjectDomainAttributesGetRequest implements IProjectDomainAttributesGetRequest { /** - * Constructs a new ProjectRegisterRequest. + * Constructs a new ProjectDomainAttributesGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectRegisterRequest); + constructor(properties?: flyteidl.admin.IProjectDomainAttributesGetRequest); - /** ProjectRegisterRequest project. */ - public project?: (flyteidl.admin.IProject|null); + /** ProjectDomainAttributesGetRequest project. */ + public project: string; + + /** ProjectDomainAttributesGetRequest domain. */ + public domain: string; + + /** ProjectDomainAttributesGetRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; + + /** ProjectDomainAttributesGetRequest org. */ + public org: string; /** - * Creates a new ProjectRegisterRequest instance using the specified properties. + * Creates a new ProjectDomainAttributesGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectRegisterRequest instance + * @returns ProjectDomainAttributesGetRequest instance */ - public static create(properties?: flyteidl.admin.IProjectRegisterRequest): flyteidl.admin.ProjectRegisterRequest; + public static create(properties?: flyteidl.admin.IProjectDomainAttributesGetRequest): flyteidl.admin.ProjectDomainAttributesGetRequest; /** - * Encodes the specified ProjectRegisterRequest message. Does not implicitly {@link flyteidl.admin.ProjectRegisterRequest.verify|verify} messages. - * @param message ProjectRegisterRequest message or plain object to encode + * Encodes the specified ProjectDomainAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetRequest.verify|verify} messages. + * @param message ProjectDomainAttributesGetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectRegisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectRegisterRequest message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesGetRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectRegisterRequest + * @returns ProjectDomainAttributesGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectRegisterRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesGetRequest; /** - * Verifies a ProjectRegisterRequest message. + * Verifies a ProjectDomainAttributesGetRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectRegisterResponse. */ - interface IProjectRegisterResponse { + /** Properties of a ProjectDomainAttributesGetResponse. */ + interface IProjectDomainAttributesGetResponse { + + /** ProjectDomainAttributesGetResponse attributes */ + attributes?: (flyteidl.admin.IProjectDomainAttributes|null); } - /** Represents a ProjectRegisterResponse. */ - class ProjectRegisterResponse implements IProjectRegisterResponse { + /** Represents a ProjectDomainAttributesGetResponse. */ + class ProjectDomainAttributesGetResponse implements IProjectDomainAttributesGetResponse { /** - * Constructs a new ProjectRegisterResponse. + * Constructs a new ProjectDomainAttributesGetResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectRegisterResponse); + constructor(properties?: flyteidl.admin.IProjectDomainAttributesGetResponse); + + /** ProjectDomainAttributesGetResponse attributes. */ + public attributes?: (flyteidl.admin.IProjectDomainAttributes|null); /** - * Creates a new ProjectRegisterResponse instance using the specified properties. + * Creates a new ProjectDomainAttributesGetResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectRegisterResponse instance + * @returns ProjectDomainAttributesGetResponse instance */ - public static create(properties?: flyteidl.admin.IProjectRegisterResponse): flyteidl.admin.ProjectRegisterResponse; + public static create(properties?: flyteidl.admin.IProjectDomainAttributesGetResponse): flyteidl.admin.ProjectDomainAttributesGetResponse; /** - * Encodes the specified ProjectRegisterResponse message. Does not implicitly {@link flyteidl.admin.ProjectRegisterResponse.verify|verify} messages. - * @param message ProjectRegisterResponse message or plain object to encode + * Encodes the specified ProjectDomainAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetResponse.verify|verify} messages. + * @param message ProjectDomainAttributesGetResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectRegisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectRegisterResponse message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesGetResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectRegisterResponse + * @returns ProjectDomainAttributesGetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectRegisterResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesGetResponse; /** - * Verifies a ProjectRegisterResponse message. + * Verifies a ProjectDomainAttributesGetResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectUpdateResponse. */ - interface IProjectUpdateResponse { + /** Properties of a ProjectDomainAttributesDeleteRequest. */ + interface IProjectDomainAttributesDeleteRequest { + + /** ProjectDomainAttributesDeleteRequest project */ + project?: (string|null); + + /** ProjectDomainAttributesDeleteRequest domain */ + domain?: (string|null); + + /** ProjectDomainAttributesDeleteRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + + /** ProjectDomainAttributesDeleteRequest org */ + org?: (string|null); } - /** Represents a ProjectUpdateResponse. */ - class ProjectUpdateResponse implements IProjectUpdateResponse { + /** Represents a ProjectDomainAttributesDeleteRequest. */ + class ProjectDomainAttributesDeleteRequest implements IProjectDomainAttributesDeleteRequest { /** - * Constructs a new ProjectUpdateResponse. + * Constructs a new ProjectDomainAttributesDeleteRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectUpdateResponse); + constructor(properties?: flyteidl.admin.IProjectDomainAttributesDeleteRequest); - /** - * Creates a new ProjectUpdateResponse instance using the specified properties. - * @param [properties] Properties to set - * @returns ProjectUpdateResponse instance - */ - public static create(properties?: flyteidl.admin.IProjectUpdateResponse): flyteidl.admin.ProjectUpdateResponse; + /** ProjectDomainAttributesDeleteRequest project. */ + public project: string; - /** - * Encodes the specified ProjectUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectUpdateResponse.verify|verify} messages. - * @param message ProjectUpdateResponse message or plain object to encode - * @param [writer] Writer to encode to + /** ProjectDomainAttributesDeleteRequest domain. */ + public domain: string; + + /** ProjectDomainAttributesDeleteRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; + + /** ProjectDomainAttributesDeleteRequest org. */ + public org: string; + + /** + * Creates a new ProjectDomainAttributesDeleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectDomainAttributesDeleteRequest instance + */ + public static create(properties?: flyteidl.admin.IProjectDomainAttributesDeleteRequest): flyteidl.admin.ProjectDomainAttributesDeleteRequest; + + /** + * Encodes the specified ProjectDomainAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteRequest.verify|verify} messages. + * @param message ProjectDomainAttributesDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectUpdateResponse message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesDeleteRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectUpdateResponse + * @returns ProjectDomainAttributesDeleteRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesDeleteRequest; /** - * Verifies a ProjectUpdateResponse message. + * Verifies a ProjectDomainAttributesDeleteRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectGetRequest. */ - interface IProjectGetRequest { - - /** ProjectGetRequest id */ - id?: (string|null); - - /** ProjectGetRequest org */ - org?: (string|null); + /** Properties of a ProjectDomainAttributesDeleteResponse. */ + interface IProjectDomainAttributesDeleteResponse { } - /** Represents a ProjectGetRequest. */ - class ProjectGetRequest implements IProjectGetRequest { + /** Represents a ProjectDomainAttributesDeleteResponse. */ + class ProjectDomainAttributesDeleteResponse implements IProjectDomainAttributesDeleteResponse { /** - * Constructs a new ProjectGetRequest. + * Constructs a new ProjectDomainAttributesDeleteResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectGetRequest); - - /** ProjectGetRequest id. */ - public id: string; - - /** ProjectGetRequest org. */ - public org: string; + constructor(properties?: flyteidl.admin.IProjectDomainAttributesDeleteResponse); /** - * Creates a new ProjectGetRequest instance using the specified properties. + * Creates a new ProjectDomainAttributesDeleteResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectGetRequest instance + * @returns ProjectDomainAttributesDeleteResponse instance */ - public static create(properties?: flyteidl.admin.IProjectGetRequest): flyteidl.admin.ProjectGetRequest; + public static create(properties?: flyteidl.admin.IProjectDomainAttributesDeleteResponse): flyteidl.admin.ProjectDomainAttributesDeleteResponse; /** - * Encodes the specified ProjectGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectGetRequest.verify|verify} messages. - * @param message ProjectGetRequest message or plain object to encode + * Encodes the specified ProjectDomainAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteResponse.verify|verify} messages. + * @param message ProjectDomainAttributesDeleteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IProjectDomainAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectGetRequest message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesDeleteResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectGetRequest + * @returns ProjectDomainAttributesDeleteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesDeleteResponse; /** - * Verifies a ProjectGetRequest message. + * Verifies a ProjectDomainAttributesDeleteResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of an InactiveProject. */ - interface IInactiveProject { + /** Properties of a SignalGetOrCreateRequest. */ + interface ISignalGetOrCreateRequest { - /** InactiveProject id */ - id?: (string|null); + /** SignalGetOrCreateRequest id */ + id?: (flyteidl.core.ISignalIdentifier|null); - /** InactiveProject org */ - org?: (string|null); + /** SignalGetOrCreateRequest type */ + type?: (flyteidl.core.ILiteralType|null); } - /** Represents an InactiveProject. */ - class InactiveProject implements IInactiveProject { + /** Represents a SignalGetOrCreateRequest. */ + class SignalGetOrCreateRequest implements ISignalGetOrCreateRequest { /** - * Constructs a new InactiveProject. + * Constructs a new SignalGetOrCreateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IInactiveProject); + constructor(properties?: flyteidl.admin.ISignalGetOrCreateRequest); - /** InactiveProject id. */ - public id: string; + /** SignalGetOrCreateRequest id. */ + public id?: (flyteidl.core.ISignalIdentifier|null); - /** InactiveProject org. */ - public org: string; + /** SignalGetOrCreateRequest type. */ + public type?: (flyteidl.core.ILiteralType|null); /** - * Creates a new InactiveProject instance using the specified properties. + * Creates a new SignalGetOrCreateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns InactiveProject instance + * @returns SignalGetOrCreateRequest instance */ - public static create(properties?: flyteidl.admin.IInactiveProject): flyteidl.admin.InactiveProject; + public static create(properties?: flyteidl.admin.ISignalGetOrCreateRequest): flyteidl.admin.SignalGetOrCreateRequest; /** - * Encodes the specified InactiveProject message. Does not implicitly {@link flyteidl.admin.InactiveProject.verify|verify} messages. - * @param message InactiveProject message or plain object to encode + * Encodes the specified SignalGetOrCreateRequest message. Does not implicitly {@link flyteidl.admin.SignalGetOrCreateRequest.verify|verify} messages. + * @param message SignalGetOrCreateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IInactiveProject, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISignalGetOrCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an InactiveProject message from the specified reader or buffer. + * Decodes a SignalGetOrCreateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns InactiveProject + * @returns SignalGetOrCreateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.InactiveProject; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalGetOrCreateRequest; /** - * Verifies an InactiveProject message. + * Verifies a SignalGetOrCreateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectAttributes. */ - interface IProjectAttributes { + /** Properties of a SignalListRequest. */ + interface ISignalListRequest { - /** ProjectAttributes project */ - project?: (string|null); + /** SignalListRequest workflowExecutionId */ + workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** ProjectAttributes matchingAttributes */ - matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + /** SignalListRequest limit */ + limit?: (number|null); - /** ProjectAttributes org */ - org?: (string|null); + /** SignalListRequest token */ + token?: (string|null); + + /** SignalListRequest filters */ + filters?: (string|null); + + /** SignalListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); } - /** Represents a ProjectAttributes. */ - class ProjectAttributes implements IProjectAttributes { + /** Represents a SignalListRequest. */ + class SignalListRequest implements ISignalListRequest { /** - * Constructs a new ProjectAttributes. + * Constructs a new SignalListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributes); + constructor(properties?: flyteidl.admin.ISignalListRequest); - /** ProjectAttributes project. */ - public project: string; + /** SignalListRequest workflowExecutionId. */ + public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** ProjectAttributes matchingAttributes. */ - public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + /** SignalListRequest limit. */ + public limit: number; - /** ProjectAttributes org. */ - public org: string; + /** SignalListRequest token. */ + public token: string; + + /** SignalListRequest filters. */ + public filters: string; + + /** SignalListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); /** - * Creates a new ProjectAttributes instance using the specified properties. + * Creates a new SignalListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributes instance + * @returns SignalListRequest instance */ - public static create(properties?: flyteidl.admin.IProjectAttributes): flyteidl.admin.ProjectAttributes; + public static create(properties?: flyteidl.admin.ISignalListRequest): flyteidl.admin.SignalListRequest; /** - * Encodes the specified ProjectAttributes message. Does not implicitly {@link flyteidl.admin.ProjectAttributes.verify|verify} messages. - * @param message ProjectAttributes message or plain object to encode + * Encodes the specified SignalListRequest message. Does not implicitly {@link flyteidl.admin.SignalListRequest.verify|verify} messages. + * @param message SignalListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISignalListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributes message from the specified reader or buffer. + * Decodes a SignalListRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectAttributes + * @returns SignalListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalListRequest; /** - * Verifies a ProjectAttributes message. + * Verifies a SignalListRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectAttributesUpdateRequest. */ - interface IProjectAttributesUpdateRequest { + /** Properties of a SignalList. */ + interface ISignalList { - /** ProjectAttributesUpdateRequest attributes */ - attributes?: (flyteidl.admin.IProjectAttributes|null); + /** SignalList signals */ + signals?: (flyteidl.admin.ISignal[]|null); + + /** SignalList token */ + token?: (string|null); } - /** Represents a ProjectAttributesUpdateRequest. */ - class ProjectAttributesUpdateRequest implements IProjectAttributesUpdateRequest { + /** Represents a SignalList. */ + class SignalList implements ISignalList { /** - * Constructs a new ProjectAttributesUpdateRequest. + * Constructs a new SignalList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributesUpdateRequest); + constructor(properties?: flyteidl.admin.ISignalList); - /** ProjectAttributesUpdateRequest attributes. */ - public attributes?: (flyteidl.admin.IProjectAttributes|null); + /** SignalList signals. */ + public signals: flyteidl.admin.ISignal[]; + + /** SignalList token. */ + public token: string; /** - * Creates a new ProjectAttributesUpdateRequest instance using the specified properties. + * Creates a new SignalList instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributesUpdateRequest instance + * @returns SignalList instance */ - public static create(properties?: flyteidl.admin.IProjectAttributesUpdateRequest): flyteidl.admin.ProjectAttributesUpdateRequest; + public static create(properties?: flyteidl.admin.ISignalList): flyteidl.admin.SignalList; /** - * Encodes the specified ProjectAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateRequest.verify|verify} messages. - * @param message ProjectAttributesUpdateRequest message or plain object to encode + * Encodes the specified SignalList message. Does not implicitly {@link flyteidl.admin.SignalList.verify|verify} messages. + * @param message SignalList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISignalList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributesUpdateRequest message from the specified reader or buffer. + * Decodes a SignalList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectAttributesUpdateRequest + * @returns SignalList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalList; /** - * Verifies a ProjectAttributesUpdateRequest message. + * Verifies a SignalList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectAttributesUpdateResponse. */ - interface IProjectAttributesUpdateResponse { + /** Properties of a SignalSetRequest. */ + interface ISignalSetRequest { + + /** SignalSetRequest id */ + id?: (flyteidl.core.ISignalIdentifier|null); + + /** SignalSetRequest value */ + value?: (flyteidl.core.ILiteral|null); } - /** Represents a ProjectAttributesUpdateResponse. */ - class ProjectAttributesUpdateResponse implements IProjectAttributesUpdateResponse { + /** Represents a SignalSetRequest. */ + class SignalSetRequest implements ISignalSetRequest { /** - * Constructs a new ProjectAttributesUpdateResponse. + * Constructs a new SignalSetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributesUpdateResponse); + constructor(properties?: flyteidl.admin.ISignalSetRequest); - /** - * Creates a new ProjectAttributesUpdateResponse instance using the specified properties. + /** SignalSetRequest id. */ + public id?: (flyteidl.core.ISignalIdentifier|null); + + /** SignalSetRequest value. */ + public value?: (flyteidl.core.ILiteral|null); + + /** + * Creates a new SignalSetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributesUpdateResponse instance + * @returns SignalSetRequest instance */ - public static create(properties?: flyteidl.admin.IProjectAttributesUpdateResponse): flyteidl.admin.ProjectAttributesUpdateResponse; + public static create(properties?: flyteidl.admin.ISignalSetRequest): flyteidl.admin.SignalSetRequest; /** - * Encodes the specified ProjectAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateResponse.verify|verify} messages. - * @param message ProjectAttributesUpdateResponse message or plain object to encode + * Encodes the specified SignalSetRequest message. Does not implicitly {@link flyteidl.admin.SignalSetRequest.verify|verify} messages. + * @param message SignalSetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISignalSetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributesUpdateResponse message from the specified reader or buffer. + * Decodes a SignalSetRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectAttributesUpdateResponse + * @returns SignalSetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalSetRequest; /** - * Verifies a ProjectAttributesUpdateResponse message. + * Verifies a SignalSetRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectAttributesGetRequest. */ - interface IProjectAttributesGetRequest { - - /** ProjectAttributesGetRequest project */ - project?: (string|null); - - /** ProjectAttributesGetRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); - - /** ProjectAttributesGetRequest org */ - org?: (string|null); + /** Properties of a SignalSetResponse. */ + interface ISignalSetResponse { } - /** Represents a ProjectAttributesGetRequest. */ - class ProjectAttributesGetRequest implements IProjectAttributesGetRequest { + /** Represents a SignalSetResponse. */ + class SignalSetResponse implements ISignalSetResponse { /** - * Constructs a new ProjectAttributesGetRequest. + * Constructs a new SignalSetResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributesGetRequest); - - /** ProjectAttributesGetRequest project. */ - public project: string; - - /** ProjectAttributesGetRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; - - /** ProjectAttributesGetRequest org. */ - public org: string; + constructor(properties?: flyteidl.admin.ISignalSetResponse); /** - * Creates a new ProjectAttributesGetRequest instance using the specified properties. + * Creates a new SignalSetResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributesGetRequest instance + * @returns SignalSetResponse instance */ - public static create(properties?: flyteidl.admin.IProjectAttributesGetRequest): flyteidl.admin.ProjectAttributesGetRequest; + public static create(properties?: flyteidl.admin.ISignalSetResponse): flyteidl.admin.SignalSetResponse; /** - * Encodes the specified ProjectAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetRequest.verify|verify} messages. - * @param message ProjectAttributesGetRequest message or plain object to encode + * Encodes the specified SignalSetResponse message. Does not implicitly {@link flyteidl.admin.SignalSetResponse.verify|verify} messages. + * @param message SignalSetResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISignalSetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributesGetRequest message from the specified reader or buffer. + * Decodes a SignalSetResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectAttributesGetRequest + * @returns SignalSetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalSetResponse; /** - * Verifies a ProjectAttributesGetRequest message. + * Verifies a SignalSetResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectAttributesGetResponse. */ - interface IProjectAttributesGetResponse { + /** Properties of a Signal. */ + interface ISignal { - /** ProjectAttributesGetResponse attributes */ - attributes?: (flyteidl.admin.IProjectAttributes|null); + /** Signal id */ + id?: (flyteidl.core.ISignalIdentifier|null); + + /** Signal type */ + type?: (flyteidl.core.ILiteralType|null); + + /** Signal value */ + value?: (flyteidl.core.ILiteral|null); } - /** Represents a ProjectAttributesGetResponse. */ - class ProjectAttributesGetResponse implements IProjectAttributesGetResponse { + /** Represents a Signal. */ + class Signal implements ISignal { /** - * Constructs a new ProjectAttributesGetResponse. + * Constructs a new Signal. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributesGetResponse); + constructor(properties?: flyteidl.admin.ISignal); - /** ProjectAttributesGetResponse attributes. */ - public attributes?: (flyteidl.admin.IProjectAttributes|null); + /** Signal id. */ + public id?: (flyteidl.core.ISignalIdentifier|null); + + /** Signal type. */ + public type?: (flyteidl.core.ILiteralType|null); + + /** Signal value. */ + public value?: (flyteidl.core.ILiteral|null); /** - * Creates a new ProjectAttributesGetResponse instance using the specified properties. + * Creates a new Signal instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributesGetResponse instance + * @returns Signal instance */ - public static create(properties?: flyteidl.admin.IProjectAttributesGetResponse): flyteidl.admin.ProjectAttributesGetResponse; + public static create(properties?: flyteidl.admin.ISignal): flyteidl.admin.Signal; /** - * Encodes the specified ProjectAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetResponse.verify|verify} messages. - * @param message ProjectAttributesGetResponse message or plain object to encode + * Encodes the specified Signal message. Does not implicitly {@link flyteidl.admin.Signal.verify|verify} messages. + * @param message Signal message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributesGetResponse message from the specified reader or buffer. + * Decodes a Signal message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectAttributesGetResponse + * @returns Signal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesGetResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Signal; /** - * Verifies a ProjectAttributesGetResponse message. + * Verifies a Signal message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectAttributesDeleteRequest. */ - interface IProjectAttributesDeleteRequest { - - /** ProjectAttributesDeleteRequest project */ - project?: (string|null); + /** Properties of a TaskCreateRequest. */ + interface ITaskCreateRequest { - /** ProjectAttributesDeleteRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** TaskCreateRequest id */ + id?: (flyteidl.core.IIdentifier|null); - /** ProjectAttributesDeleteRequest org */ - org?: (string|null); + /** TaskCreateRequest spec */ + spec?: (flyteidl.admin.ITaskSpec|null); } - /** Represents a ProjectAttributesDeleteRequest. */ - class ProjectAttributesDeleteRequest implements IProjectAttributesDeleteRequest { + /** Represents a TaskCreateRequest. */ + class TaskCreateRequest implements ITaskCreateRequest { /** - * Constructs a new ProjectAttributesDeleteRequest. + * Constructs a new TaskCreateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributesDeleteRequest); - - /** ProjectAttributesDeleteRequest project. */ - public project: string; + constructor(properties?: flyteidl.admin.ITaskCreateRequest); - /** ProjectAttributesDeleteRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + /** TaskCreateRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** ProjectAttributesDeleteRequest org. */ - public org: string; + /** TaskCreateRequest spec. */ + public spec?: (flyteidl.admin.ITaskSpec|null); /** - * Creates a new ProjectAttributesDeleteRequest instance using the specified properties. + * Creates a new TaskCreateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributesDeleteRequest instance + * @returns TaskCreateRequest instance */ - public static create(properties?: flyteidl.admin.IProjectAttributesDeleteRequest): flyteidl.admin.ProjectAttributesDeleteRequest; + public static create(properties?: flyteidl.admin.ITaskCreateRequest): flyteidl.admin.TaskCreateRequest; /** - * Encodes the specified ProjectAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteRequest.verify|verify} messages. - * @param message ProjectAttributesDeleteRequest message or plain object to encode + * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.admin.TaskCreateRequest.verify|verify} messages. + * @param message TaskCreateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributesDeleteRequest message from the specified reader or buffer. + * Decodes a TaskCreateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectAttributesDeleteRequest + * @returns TaskCreateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesDeleteRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskCreateRequest; /** - * Verifies a ProjectAttributesDeleteRequest message. + * Verifies a TaskCreateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectAttributesDeleteResponse. */ - interface IProjectAttributesDeleteResponse { + /** Properties of a TaskCreateResponse. */ + interface ITaskCreateResponse { } - /** Represents a ProjectAttributesDeleteResponse. */ - class ProjectAttributesDeleteResponse implements IProjectAttributesDeleteResponse { + /** Represents a TaskCreateResponse. */ + class TaskCreateResponse implements ITaskCreateResponse { /** - * Constructs a new ProjectAttributesDeleteResponse. + * Constructs a new TaskCreateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectAttributesDeleteResponse); + constructor(properties?: flyteidl.admin.ITaskCreateResponse); /** - * Creates a new ProjectAttributesDeleteResponse instance using the specified properties. + * Creates a new TaskCreateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectAttributesDeleteResponse instance + * @returns TaskCreateResponse instance */ - public static create(properties?: flyteidl.admin.IProjectAttributesDeleteResponse): flyteidl.admin.ProjectAttributesDeleteResponse; + public static create(properties?: flyteidl.admin.ITaskCreateResponse): flyteidl.admin.TaskCreateResponse; /** - * Encodes the specified ProjectAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteResponse.verify|verify} messages. - * @param message ProjectAttributesDeleteResponse message or plain object to encode + * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.admin.TaskCreateResponse.verify|verify} messages. + * @param message TaskCreateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectAttributesDeleteResponse message from the specified reader or buffer. + * Decodes a TaskCreateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectAttributesDeleteResponse + * @returns TaskCreateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectAttributesDeleteResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskCreateResponse; /** - * Verifies a ProjectAttributesDeleteResponse message. + * Verifies a TaskCreateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectDomainAttributes. */ - interface IProjectDomainAttributes { - - /** ProjectDomainAttributes project */ - project?: (string|null); + /** Properties of a Task. */ + interface ITask { - /** ProjectDomainAttributes domain */ - domain?: (string|null); + /** Task id */ + id?: (flyteidl.core.IIdentifier|null); - /** ProjectDomainAttributes matchingAttributes */ - matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + /** Task closure */ + closure?: (flyteidl.admin.ITaskClosure|null); - /** ProjectDomainAttributes org */ - org?: (string|null); + /** Task shortDescription */ + shortDescription?: (string|null); } - /** Represents a ProjectDomainAttributes. */ - class ProjectDomainAttributes implements IProjectDomainAttributes { + /** Represents a Task. */ + class Task implements ITask { /** - * Constructs a new ProjectDomainAttributes. + * Constructs a new Task. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributes); - - /** ProjectDomainAttributes project. */ - public project: string; + constructor(properties?: flyteidl.admin.ITask); - /** ProjectDomainAttributes domain. */ - public domain: string; + /** Task id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** ProjectDomainAttributes matchingAttributes. */ - public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + /** Task closure. */ + public closure?: (flyteidl.admin.ITaskClosure|null); - /** ProjectDomainAttributes org. */ - public org: string; + /** Task shortDescription. */ + public shortDescription: string; /** - * Creates a new ProjectDomainAttributes instance using the specified properties. + * Creates a new Task instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributes instance + * @returns Task instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributes): flyteidl.admin.ProjectDomainAttributes; + public static create(properties?: flyteidl.admin.ITask): flyteidl.admin.Task; /** - * Encodes the specified ProjectDomainAttributes message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributes.verify|verify} messages. - * @param message ProjectDomainAttributes message or plain object to encode + * Encodes the specified Task message. Does not implicitly {@link flyteidl.admin.Task.verify|verify} messages. + * @param message Task message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectDomainAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITask, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributes message from the specified reader or buffer. + * Decodes a Task message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectDomainAttributes + * @returns Task * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Task; /** - * Verifies a ProjectDomainAttributes message. + * Verifies a Task message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectDomainAttributesUpdateRequest. */ - interface IProjectDomainAttributesUpdateRequest { + /** Properties of a TaskList. */ + interface ITaskList { - /** ProjectDomainAttributesUpdateRequest attributes */ - attributes?: (flyteidl.admin.IProjectDomainAttributes|null); + /** TaskList tasks */ + tasks?: (flyteidl.admin.ITask[]|null); + + /** TaskList token */ + token?: (string|null); } - /** Represents a ProjectDomainAttributesUpdateRequest. */ - class ProjectDomainAttributesUpdateRequest implements IProjectDomainAttributesUpdateRequest { + /** Represents a TaskList. */ + class TaskList implements ITaskList { /** - * Constructs a new ProjectDomainAttributesUpdateRequest. + * Constructs a new TaskList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributesUpdateRequest); + constructor(properties?: flyteidl.admin.ITaskList); - /** ProjectDomainAttributesUpdateRequest attributes. */ - public attributes?: (flyteidl.admin.IProjectDomainAttributes|null); + /** TaskList tasks. */ + public tasks: flyteidl.admin.ITask[]; + + /** TaskList token. */ + public token: string; /** - * Creates a new ProjectDomainAttributesUpdateRequest instance using the specified properties. + * Creates a new TaskList instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributesUpdateRequest instance + * @returns TaskList instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributesUpdateRequest): flyteidl.admin.ProjectDomainAttributesUpdateRequest; + public static create(properties?: flyteidl.admin.ITaskList): flyteidl.admin.TaskList; /** - * Encodes the specified ProjectDomainAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateRequest.verify|verify} messages. - * @param message ProjectDomainAttributesUpdateRequest message or plain object to encode + * Encodes the specified TaskList message. Does not implicitly {@link flyteidl.admin.TaskList.verify|verify} messages. + * @param message TaskList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectDomainAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributesUpdateRequest message from the specified reader or buffer. + * Decodes a TaskList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectDomainAttributesUpdateRequest + * @returns TaskList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskList; /** - * Verifies a ProjectDomainAttributesUpdateRequest message. + * Verifies a TaskList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectDomainAttributesUpdateResponse. */ - interface IProjectDomainAttributesUpdateResponse { + /** Properties of a TaskSpec. */ + interface ITaskSpec { + + /** TaskSpec template */ + template?: (flyteidl.core.ITaskTemplate|null); + + /** TaskSpec description */ + description?: (flyteidl.admin.IDescriptionEntity|null); } - /** Represents a ProjectDomainAttributesUpdateResponse. */ - class ProjectDomainAttributesUpdateResponse implements IProjectDomainAttributesUpdateResponse { + /** Represents a TaskSpec. */ + class TaskSpec implements ITaskSpec { /** - * Constructs a new ProjectDomainAttributesUpdateResponse. + * Constructs a new TaskSpec. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributesUpdateResponse); + constructor(properties?: flyteidl.admin.ITaskSpec); + + /** TaskSpec template. */ + public template?: (flyteidl.core.ITaskTemplate|null); + + /** TaskSpec description. */ + public description?: (flyteidl.admin.IDescriptionEntity|null); /** - * Creates a new ProjectDomainAttributesUpdateResponse instance using the specified properties. + * Creates a new TaskSpec instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributesUpdateResponse instance + * @returns TaskSpec instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributesUpdateResponse): flyteidl.admin.ProjectDomainAttributesUpdateResponse; + public static create(properties?: flyteidl.admin.ITaskSpec): flyteidl.admin.TaskSpec; /** - * Encodes the specified ProjectDomainAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateResponse.verify|verify} messages. - * @param message ProjectDomainAttributesUpdateResponse message or plain object to encode + * Encodes the specified TaskSpec message. Does not implicitly {@link flyteidl.admin.TaskSpec.verify|verify} messages. + * @param message TaskSpec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectDomainAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributesUpdateResponse message from the specified reader or buffer. + * Decodes a TaskSpec message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectDomainAttributesUpdateResponse + * @returns TaskSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskSpec; /** - * Verifies a ProjectDomainAttributesUpdateResponse message. + * Verifies a TaskSpec message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectDomainAttributesGetRequest. */ - interface IProjectDomainAttributesGetRequest { - - /** ProjectDomainAttributesGetRequest project */ - project?: (string|null); - - /** ProjectDomainAttributesGetRequest domain */ - domain?: (string|null); + /** Properties of a TaskClosure. */ + interface ITaskClosure { - /** ProjectDomainAttributesGetRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** TaskClosure compiledTask */ + compiledTask?: (flyteidl.core.ICompiledTask|null); - /** ProjectDomainAttributesGetRequest org */ - org?: (string|null); + /** TaskClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); } - /** Represents a ProjectDomainAttributesGetRequest. */ - class ProjectDomainAttributesGetRequest implements IProjectDomainAttributesGetRequest { + /** Represents a TaskClosure. */ + class TaskClosure implements ITaskClosure { /** - * Constructs a new ProjectDomainAttributesGetRequest. + * Constructs a new TaskClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributesGetRequest); - - /** ProjectDomainAttributesGetRequest project. */ - public project: string; - - /** ProjectDomainAttributesGetRequest domain. */ - public domain: string; + constructor(properties?: flyteidl.admin.ITaskClosure); - /** ProjectDomainAttributesGetRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + /** TaskClosure compiledTask. */ + public compiledTask?: (flyteidl.core.ICompiledTask|null); - /** ProjectDomainAttributesGetRequest org. */ - public org: string; + /** TaskClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); /** - * Creates a new ProjectDomainAttributesGetRequest instance using the specified properties. + * Creates a new TaskClosure instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributesGetRequest instance + * @returns TaskClosure instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributesGetRequest): flyteidl.admin.ProjectDomainAttributesGetRequest; + public static create(properties?: flyteidl.admin.ITaskClosure): flyteidl.admin.TaskClosure; /** - * Encodes the specified ProjectDomainAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetRequest.verify|verify} messages. - * @param message ProjectDomainAttributesGetRequest message or plain object to encode + * Encodes the specified TaskClosure message. Does not implicitly {@link flyteidl.admin.TaskClosure.verify|verify} messages. + * @param message TaskClosure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectDomainAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributesGetRequest message from the specified reader or buffer. + * Decodes a TaskClosure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectDomainAttributesGetRequest + * @returns TaskClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskClosure; /** - * Verifies a ProjectDomainAttributesGetRequest message. + * Verifies a TaskClosure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectDomainAttributesGetResponse. */ - interface IProjectDomainAttributesGetResponse { + /** Properties of a TaskExecutionGetRequest. */ + interface ITaskExecutionGetRequest { - /** ProjectDomainAttributesGetResponse attributes */ - attributes?: (flyteidl.admin.IProjectDomainAttributes|null); + /** TaskExecutionGetRequest id */ + id?: (flyteidl.core.ITaskExecutionIdentifier|null); } - /** Represents a ProjectDomainAttributesGetResponse. */ - class ProjectDomainAttributesGetResponse implements IProjectDomainAttributesGetResponse { + /** Represents a TaskExecutionGetRequest. */ + class TaskExecutionGetRequest implements ITaskExecutionGetRequest { /** - * Constructs a new ProjectDomainAttributesGetResponse. + * Constructs a new TaskExecutionGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributesGetResponse); + constructor(properties?: flyteidl.admin.ITaskExecutionGetRequest); - /** ProjectDomainAttributesGetResponse attributes. */ - public attributes?: (flyteidl.admin.IProjectDomainAttributes|null); + /** TaskExecutionGetRequest id. */ + public id?: (flyteidl.core.ITaskExecutionIdentifier|null); /** - * Creates a new ProjectDomainAttributesGetResponse instance using the specified properties. + * Creates a new TaskExecutionGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributesGetResponse instance + * @returns TaskExecutionGetRequest instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributesGetResponse): flyteidl.admin.ProjectDomainAttributesGetResponse; + public static create(properties?: flyteidl.admin.ITaskExecutionGetRequest): flyteidl.admin.TaskExecutionGetRequest; /** - * Encodes the specified ProjectDomainAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetResponse.verify|verify} messages. - * @param message ProjectDomainAttributesGetResponse message or plain object to encode + * Encodes the specified TaskExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetRequest.verify|verify} messages. + * @param message TaskExecutionGetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectDomainAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributesGetResponse message from the specified reader or buffer. + * Decodes a TaskExecutionGetRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectDomainAttributesGetResponse + * @returns TaskExecutionGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesGetResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionGetRequest; /** - * Verifies a ProjectDomainAttributesGetResponse message. + * Verifies a TaskExecutionGetRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectDomainAttributesDeleteRequest. */ - interface IProjectDomainAttributesDeleteRequest { + /** Properties of a TaskExecutionListRequest. */ + interface ITaskExecutionListRequest { - /** ProjectDomainAttributesDeleteRequest project */ - project?: (string|null); + /** TaskExecutionListRequest nodeExecutionId */ + nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - /** ProjectDomainAttributesDeleteRequest domain */ - domain?: (string|null); + /** TaskExecutionListRequest limit */ + limit?: (number|null); - /** ProjectDomainAttributesDeleteRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** TaskExecutionListRequest token */ + token?: (string|null); - /** ProjectDomainAttributesDeleteRequest org */ - org?: (string|null); + /** TaskExecutionListRequest filters */ + filters?: (string|null); + + /** TaskExecutionListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); } - /** Represents a ProjectDomainAttributesDeleteRequest. */ - class ProjectDomainAttributesDeleteRequest implements IProjectDomainAttributesDeleteRequest { + /** Represents a TaskExecutionListRequest. */ + class TaskExecutionListRequest implements ITaskExecutionListRequest { /** - * Constructs a new ProjectDomainAttributesDeleteRequest. + * Constructs a new TaskExecutionListRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributesDeleteRequest); - - /** ProjectDomainAttributesDeleteRequest project. */ - public project: string; + constructor(properties?: flyteidl.admin.ITaskExecutionListRequest); - /** ProjectDomainAttributesDeleteRequest domain. */ - public domain: string; + /** TaskExecutionListRequest nodeExecutionId. */ + public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - /** ProjectDomainAttributesDeleteRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + /** TaskExecutionListRequest limit. */ + public limit: number; - /** ProjectDomainAttributesDeleteRequest org. */ - public org: string; + /** TaskExecutionListRequest token. */ + public token: string; + + /** TaskExecutionListRequest filters. */ + public filters: string; + + /** TaskExecutionListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); /** - * Creates a new ProjectDomainAttributesDeleteRequest instance using the specified properties. + * Creates a new TaskExecutionListRequest instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributesDeleteRequest instance + * @returns TaskExecutionListRequest instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributesDeleteRequest): flyteidl.admin.ProjectDomainAttributesDeleteRequest; + public static create(properties?: flyteidl.admin.ITaskExecutionListRequest): flyteidl.admin.TaskExecutionListRequest; /** - * Encodes the specified ProjectDomainAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteRequest.verify|verify} messages. - * @param message ProjectDomainAttributesDeleteRequest message or plain object to encode + * Encodes the specified TaskExecutionListRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionListRequest.verify|verify} messages. + * @param message TaskExecutionListRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectDomainAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionListRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributesDeleteRequest message from the specified reader or buffer. + * Decodes a TaskExecutionListRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectDomainAttributesDeleteRequest + * @returns TaskExecutionListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesDeleteRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionListRequest; /** - * Verifies a ProjectDomainAttributesDeleteRequest message. + * Verifies a TaskExecutionListRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a ProjectDomainAttributesDeleteResponse. */ - interface IProjectDomainAttributesDeleteResponse { + /** Properties of a TaskExecution. */ + interface ITaskExecution { + + /** TaskExecution id */ + id?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** TaskExecution inputUri */ + inputUri?: (string|null); + + /** TaskExecution closure */ + closure?: (flyteidl.admin.ITaskExecutionClosure|null); + + /** TaskExecution isParent */ + isParent?: (boolean|null); } - /** Represents a ProjectDomainAttributesDeleteResponse. */ - class ProjectDomainAttributesDeleteResponse implements IProjectDomainAttributesDeleteResponse { + /** Represents a TaskExecution. */ + class TaskExecution implements ITaskExecution { /** - * Constructs a new ProjectDomainAttributesDeleteResponse. + * Constructs a new TaskExecution. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IProjectDomainAttributesDeleteResponse); + constructor(properties?: flyteidl.admin.ITaskExecution); + + /** TaskExecution id. */ + public id?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** TaskExecution inputUri. */ + public inputUri: string; + + /** TaskExecution closure. */ + public closure?: (flyteidl.admin.ITaskExecutionClosure|null); + + /** TaskExecution isParent. */ + public isParent: boolean; /** - * Creates a new ProjectDomainAttributesDeleteResponse instance using the specified properties. + * Creates a new TaskExecution instance using the specified properties. * @param [properties] Properties to set - * @returns ProjectDomainAttributesDeleteResponse instance + * @returns TaskExecution instance */ - public static create(properties?: flyteidl.admin.IProjectDomainAttributesDeleteResponse): flyteidl.admin.ProjectDomainAttributesDeleteResponse; + public static create(properties?: flyteidl.admin.ITaskExecution): flyteidl.admin.TaskExecution; /** - * Encodes the specified ProjectDomainAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteResponse.verify|verify} messages. - * @param message ProjectDomainAttributesDeleteResponse message or plain object to encode + * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.admin.TaskExecution.verify|verify} messages. + * @param message TaskExecution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IProjectDomainAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a ProjectDomainAttributesDeleteResponse message from the specified reader or buffer. + * Decodes a TaskExecution message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ProjectDomainAttributesDeleteResponse + * @returns TaskExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectDomainAttributesDeleteResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecution; /** - * Verifies a ProjectDomainAttributesDeleteResponse message. + * Verifies a TaskExecution message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a SignalGetOrCreateRequest. */ - interface ISignalGetOrCreateRequest { + /** Properties of a TaskExecutionList. */ + interface ITaskExecutionList { - /** SignalGetOrCreateRequest id */ - id?: (flyteidl.core.ISignalIdentifier|null); + /** TaskExecutionList taskExecutions */ + taskExecutions?: (flyteidl.admin.ITaskExecution[]|null); - /** SignalGetOrCreateRequest type */ - type?: (flyteidl.core.ILiteralType|null); + /** TaskExecutionList token */ + token?: (string|null); } - /** Represents a SignalGetOrCreateRequest. */ - class SignalGetOrCreateRequest implements ISignalGetOrCreateRequest { + /** Represents a TaskExecutionList. */ + class TaskExecutionList implements ITaskExecutionList { /** - * Constructs a new SignalGetOrCreateRequest. + * Constructs a new TaskExecutionList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISignalGetOrCreateRequest); + constructor(properties?: flyteidl.admin.ITaskExecutionList); - /** SignalGetOrCreateRequest id. */ - public id?: (flyteidl.core.ISignalIdentifier|null); + /** TaskExecutionList taskExecutions. */ + public taskExecutions: flyteidl.admin.ITaskExecution[]; - /** SignalGetOrCreateRequest type. */ - public type?: (flyteidl.core.ILiteralType|null); + /** TaskExecutionList token. */ + public token: string; /** - * Creates a new SignalGetOrCreateRequest instance using the specified properties. + * Creates a new TaskExecutionList instance using the specified properties. * @param [properties] Properties to set - * @returns SignalGetOrCreateRequest instance + * @returns TaskExecutionList instance */ - public static create(properties?: flyteidl.admin.ISignalGetOrCreateRequest): flyteidl.admin.SignalGetOrCreateRequest; + public static create(properties?: flyteidl.admin.ITaskExecutionList): flyteidl.admin.TaskExecutionList; /** - * Encodes the specified SignalGetOrCreateRequest message. Does not implicitly {@link flyteidl.admin.SignalGetOrCreateRequest.verify|verify} messages. - * @param message SignalGetOrCreateRequest message or plain object to encode + * Encodes the specified TaskExecutionList message. Does not implicitly {@link flyteidl.admin.TaskExecutionList.verify|verify} messages. + * @param message TaskExecutionList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ISignalGetOrCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SignalGetOrCreateRequest message from the specified reader or buffer. + * Decodes a TaskExecutionList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SignalGetOrCreateRequest + * @returns TaskExecutionList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalGetOrCreateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionList; /** - * Verifies a SignalGetOrCreateRequest message. + * Verifies a TaskExecutionList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a SignalListRequest. */ - interface ISignalListRequest { - - /** SignalListRequest workflowExecutionId */ - workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - - /** SignalListRequest limit */ - limit?: (number|null); - - /** SignalListRequest token */ - token?: (string|null); - - /** SignalListRequest filters */ - filters?: (string|null); + /** Properties of a TaskExecutionClosure. */ + interface ITaskExecutionClosure { - /** SignalListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); - } + /** TaskExecutionClosure outputUri */ + outputUri?: (string|null); - /** Represents a SignalListRequest. */ - class SignalListRequest implements ISignalListRequest { + /** TaskExecutionClosure error */ + error?: (flyteidl.core.IExecutionError|null); - /** - * Constructs a new SignalListRequest. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.ISignalListRequest); + /** TaskExecutionClosure outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); - /** SignalListRequest workflowExecutionId. */ - public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + /** TaskExecutionClosure phase */ + phase?: (flyteidl.core.TaskExecution.Phase|null); - /** SignalListRequest limit. */ - public limit: number; + /** TaskExecutionClosure logs */ + logs?: (flyteidl.core.ITaskLog[]|null); - /** SignalListRequest token. */ - public token: string; + /** TaskExecutionClosure startedAt */ + startedAt?: (google.protobuf.ITimestamp|null); - /** SignalListRequest filters. */ - public filters: string; + /** TaskExecutionClosure duration */ + duration?: (google.protobuf.IDuration|null); - /** SignalListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** TaskExecutionClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); - /** - * Creates a new SignalListRequest instance using the specified properties. - * @param [properties] Properties to set - * @returns SignalListRequest instance - */ - public static create(properties?: flyteidl.admin.ISignalListRequest): flyteidl.admin.SignalListRequest; + /** TaskExecutionClosure updatedAt */ + updatedAt?: (google.protobuf.ITimestamp|null); - /** - * Encodes the specified SignalListRequest message. Does not implicitly {@link flyteidl.admin.SignalListRequest.verify|verify} messages. - * @param message SignalListRequest message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: flyteidl.admin.ISignalListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + /** TaskExecutionClosure customInfo */ + customInfo?: (google.protobuf.IStruct|null); - /** - * Decodes a SignalListRequest message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SignalListRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalListRequest; + /** TaskExecutionClosure reason */ + reason?: (string|null); - /** - * Verifies a SignalListRequest message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - } + /** TaskExecutionClosure taskType */ + taskType?: (string|null); - /** Properties of a SignalList. */ - interface ISignalList { + /** TaskExecutionClosure metadata */ + metadata?: (flyteidl.event.ITaskExecutionMetadata|null); - /** SignalList signals */ - signals?: (flyteidl.admin.ISignal[]|null); + /** TaskExecutionClosure eventVersion */ + eventVersion?: (number|null); - /** SignalList token */ - token?: (string|null); + /** TaskExecutionClosure reasons */ + reasons?: (flyteidl.admin.IReason[]|null); } - /** Represents a SignalList. */ - class SignalList implements ISignalList { + /** Represents a TaskExecutionClosure. */ + class TaskExecutionClosure implements ITaskExecutionClosure { /** - * Constructs a new SignalList. + * Constructs a new TaskExecutionClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISignalList); + constructor(properties?: flyteidl.admin.ITaskExecutionClosure); - /** SignalList signals. */ - public signals: flyteidl.admin.ISignal[]; + /** TaskExecutionClosure outputUri. */ + public outputUri: string; - /** SignalList token. */ - public token: string; + /** TaskExecutionClosure error. */ + public error?: (flyteidl.core.IExecutionError|null); - /** - * Creates a new SignalList instance using the specified properties. - * @param [properties] Properties to set - * @returns SignalList instance - */ - public static create(properties?: flyteidl.admin.ISignalList): flyteidl.admin.SignalList; + /** TaskExecutionClosure outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); - /** - * Encodes the specified SignalList message. Does not implicitly {@link flyteidl.admin.SignalList.verify|verify} messages. - * @param message SignalList message or plain object to encode + /** TaskExecutionClosure phase. */ + public phase: flyteidl.core.TaskExecution.Phase; + + /** TaskExecutionClosure logs. */ + public logs: flyteidl.core.ITaskLog[]; + + /** TaskExecutionClosure startedAt. */ + public startedAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionClosure duration. */ + public duration?: (google.protobuf.IDuration|null); + + /** TaskExecutionClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionClosure updatedAt. */ + public updatedAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionClosure customInfo. */ + public customInfo?: (google.protobuf.IStruct|null); + + /** TaskExecutionClosure reason. */ + public reason: string; + + /** TaskExecutionClosure taskType. */ + public taskType: string; + + /** TaskExecutionClosure metadata. */ + public metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + + /** TaskExecutionClosure eventVersion. */ + public eventVersion: number; + + /** TaskExecutionClosure reasons. */ + public reasons: flyteidl.admin.IReason[]; + + /** TaskExecutionClosure outputResult. */ + public outputResult?: ("outputUri"|"error"|"outputData"); + + /** + * Creates a new TaskExecutionClosure instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecutionClosure instance + */ + public static create(properties?: flyteidl.admin.ITaskExecutionClosure): flyteidl.admin.TaskExecutionClosure; + + /** + * Encodes the specified TaskExecutionClosure message. Does not implicitly {@link flyteidl.admin.TaskExecutionClosure.verify|verify} messages. + * @param message TaskExecutionClosure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ISignalList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SignalList message from the specified reader or buffer. + * Decodes a TaskExecutionClosure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SignalList + * @returns TaskExecutionClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionClosure; /** - * Verifies a SignalList message. + * Verifies a TaskExecutionClosure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a SignalSetRequest. */ - interface ISignalSetRequest { + /** Properties of a Reason. */ + interface IReason { - /** SignalSetRequest id */ - id?: (flyteidl.core.ISignalIdentifier|null); + /** Reason occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); - /** SignalSetRequest value */ - value?: (flyteidl.core.ILiteral|null); + /** Reason message */ + message?: (string|null); } - /** Represents a SignalSetRequest. */ - class SignalSetRequest implements ISignalSetRequest { + /** Represents a Reason. */ + class Reason implements IReason { /** - * Constructs a new SignalSetRequest. + * Constructs a new Reason. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISignalSetRequest); + constructor(properties?: flyteidl.admin.IReason); - /** SignalSetRequest id. */ - public id?: (flyteidl.core.ISignalIdentifier|null); + /** Reason occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); - /** SignalSetRequest value. */ - public value?: (flyteidl.core.ILiteral|null); + /** Reason message. */ + public message: string; /** - * Creates a new SignalSetRequest instance using the specified properties. + * Creates a new Reason instance using the specified properties. * @param [properties] Properties to set - * @returns SignalSetRequest instance + * @returns Reason instance */ - public static create(properties?: flyteidl.admin.ISignalSetRequest): flyteidl.admin.SignalSetRequest; + public static create(properties?: flyteidl.admin.IReason): flyteidl.admin.Reason; /** - * Encodes the specified SignalSetRequest message. Does not implicitly {@link flyteidl.admin.SignalSetRequest.verify|verify} messages. - * @param message SignalSetRequest message or plain object to encode + * Encodes the specified Reason message. Does not implicitly {@link flyteidl.admin.Reason.verify|verify} messages. + * @param message Reason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ISignalSetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IReason, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SignalSetRequest message from the specified reader or buffer. + * Decodes a Reason message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SignalSetRequest + * @returns Reason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalSetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Reason; /** - * Verifies a SignalSetRequest message. + * Verifies a Reason message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a SignalSetResponse. */ - interface ISignalSetResponse { + /** Properties of a TaskExecutionGetDataRequest. */ + interface ITaskExecutionGetDataRequest { + + /** TaskExecutionGetDataRequest id */ + id?: (flyteidl.core.ITaskExecutionIdentifier|null); } - /** Represents a SignalSetResponse. */ - class SignalSetResponse implements ISignalSetResponse { + /** Represents a TaskExecutionGetDataRequest. */ + class TaskExecutionGetDataRequest implements ITaskExecutionGetDataRequest { /** - * Constructs a new SignalSetResponse. + * Constructs a new TaskExecutionGetDataRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISignalSetResponse); + constructor(properties?: flyteidl.admin.ITaskExecutionGetDataRequest); + + /** TaskExecutionGetDataRequest id. */ + public id?: (flyteidl.core.ITaskExecutionIdentifier|null); /** - * Creates a new SignalSetResponse instance using the specified properties. + * Creates a new TaskExecutionGetDataRequest instance using the specified properties. * @param [properties] Properties to set - * @returns SignalSetResponse instance + * @returns TaskExecutionGetDataRequest instance */ - public static create(properties?: flyteidl.admin.ISignalSetResponse): flyteidl.admin.SignalSetResponse; + public static create(properties?: flyteidl.admin.ITaskExecutionGetDataRequest): flyteidl.admin.TaskExecutionGetDataRequest; /** - * Encodes the specified SignalSetResponse message. Does not implicitly {@link flyteidl.admin.SignalSetResponse.verify|verify} messages. - * @param message SignalSetResponse message or plain object to encode + * Encodes the specified TaskExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataRequest.verify|verify} messages. + * @param message TaskExecutionGetDataRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ISignalSetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SignalSetResponse message from the specified reader or buffer. + * Decodes a TaskExecutionGetDataRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SignalSetResponse + * @returns TaskExecutionGetDataRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SignalSetResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionGetDataRequest; /** - * Verifies a SignalSetResponse message. + * Verifies a TaskExecutionGetDataRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a Signal. */ - interface ISignal { + /** Properties of a TaskExecutionGetDataResponse. */ + interface ITaskExecutionGetDataResponse { - /** Signal id */ - id?: (flyteidl.core.ISignalIdentifier|null); + /** TaskExecutionGetDataResponse inputs */ + inputs?: (flyteidl.admin.IUrlBlob|null); - /** Signal type */ - type?: (flyteidl.core.ILiteralType|null); + /** TaskExecutionGetDataResponse outputs */ + outputs?: (flyteidl.admin.IUrlBlob|null); - /** Signal value */ - value?: (flyteidl.core.ILiteral|null); + /** TaskExecutionGetDataResponse fullInputs */ + fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionGetDataResponse fullOutputs */ + fullOutputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionGetDataResponse flyteUrls */ + flyteUrls?: (flyteidl.admin.IFlyteURLs|null); } - /** Represents a Signal. */ - class Signal implements ISignal { + /** Represents a TaskExecutionGetDataResponse. */ + class TaskExecutionGetDataResponse implements ITaskExecutionGetDataResponse { /** - * Constructs a new Signal. + * Constructs a new TaskExecutionGetDataResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ISignal); + constructor(properties?: flyteidl.admin.ITaskExecutionGetDataResponse); - /** Signal id. */ - public id?: (flyteidl.core.ISignalIdentifier|null); + /** TaskExecutionGetDataResponse inputs. */ + public inputs?: (flyteidl.admin.IUrlBlob|null); - /** Signal type. */ - public type?: (flyteidl.core.ILiteralType|null); + /** TaskExecutionGetDataResponse outputs. */ + public outputs?: (flyteidl.admin.IUrlBlob|null); - /** Signal value. */ - public value?: (flyteidl.core.ILiteral|null); + /** TaskExecutionGetDataResponse fullInputs. */ + public fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionGetDataResponse fullOutputs. */ + public fullOutputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionGetDataResponse flyteUrls. */ + public flyteUrls?: (flyteidl.admin.IFlyteURLs|null); /** - * Creates a new Signal instance using the specified properties. + * Creates a new TaskExecutionGetDataResponse instance using the specified properties. * @param [properties] Properties to set - * @returns Signal instance + * @returns TaskExecutionGetDataResponse instance */ - public static create(properties?: flyteidl.admin.ISignal): flyteidl.admin.Signal; + public static create(properties?: flyteidl.admin.ITaskExecutionGetDataResponse): flyteidl.admin.TaskExecutionGetDataResponse; /** - * Encodes the specified Signal message. Does not implicitly {@link flyteidl.admin.Signal.verify|verify} messages. - * @param message Signal message or plain object to encode + * Encodes the specified TaskExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataResponse.verify|verify} messages. + * @param message TaskExecutionGetDataResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.ITaskExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Signal message from the specified reader or buffer. + * Decodes a TaskExecutionGetDataResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Signal + * @returns TaskExecutionGetDataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Signal; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionGetDataResponse; /** - * Verifies a Signal message. + * Verifies a TaskExecutionGetDataResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskCreateRequest. */ - interface ITaskCreateRequest { - - /** TaskCreateRequest id */ - id?: (flyteidl.core.IIdentifier|null); + /** Properties of a GetVersionResponse. */ + interface IGetVersionResponse { - /** TaskCreateRequest spec */ - spec?: (flyteidl.admin.ITaskSpec|null); + /** GetVersionResponse controlPlaneVersion */ + controlPlaneVersion?: (flyteidl.admin.IVersion|null); } - /** Represents a TaskCreateRequest. */ - class TaskCreateRequest implements ITaskCreateRequest { + /** Represents a GetVersionResponse. */ + class GetVersionResponse implements IGetVersionResponse { /** - * Constructs a new TaskCreateRequest. + * Constructs a new GetVersionResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskCreateRequest); - - /** TaskCreateRequest id. */ - public id?: (flyteidl.core.IIdentifier|null); + constructor(properties?: flyteidl.admin.IGetVersionResponse); - /** TaskCreateRequest spec. */ - public spec?: (flyteidl.admin.ITaskSpec|null); + /** GetVersionResponse controlPlaneVersion. */ + public controlPlaneVersion?: (flyteidl.admin.IVersion|null); /** - * Creates a new TaskCreateRequest instance using the specified properties. + * Creates a new GetVersionResponse instance using the specified properties. * @param [properties] Properties to set - * @returns TaskCreateRequest instance + * @returns GetVersionResponse instance */ - public static create(properties?: flyteidl.admin.ITaskCreateRequest): flyteidl.admin.TaskCreateRequest; + public static create(properties?: flyteidl.admin.IGetVersionResponse): flyteidl.admin.GetVersionResponse; /** - * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.admin.TaskCreateRequest.verify|verify} messages. - * @param message TaskCreateRequest message or plain object to encode + * Encodes the specified GetVersionResponse message. Does not implicitly {@link flyteidl.admin.GetVersionResponse.verify|verify} messages. + * @param message GetVersionResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetVersionResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskCreateRequest message from the specified reader or buffer. + * Decodes a GetVersionResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskCreateRequest + * @returns GetVersionResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskCreateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetVersionResponse; /** - * Verifies a TaskCreateRequest message. + * Verifies a GetVersionResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskCreateResponse. */ - interface ITaskCreateResponse { + /** Properties of a Version. */ + interface IVersion { + + /** Version Build */ + Build?: (string|null); + + /** Version Version */ + Version?: (string|null); + + /** Version BuildTime */ + BuildTime?: (string|null); } - /** Represents a TaskCreateResponse. */ - class TaskCreateResponse implements ITaskCreateResponse { + /** Represents a Version. */ + class Version implements IVersion { /** - * Constructs a new TaskCreateResponse. + * Constructs a new Version. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskCreateResponse); + constructor(properties?: flyteidl.admin.IVersion); + + /** Version Build. */ + public Build: string; + + /** Version Version. */ + public Version: string; + + /** Version BuildTime. */ + public BuildTime: string; /** - * Creates a new TaskCreateResponse instance using the specified properties. + * Creates a new Version instance using the specified properties. * @param [properties] Properties to set - * @returns TaskCreateResponse instance + * @returns Version instance */ - public static create(properties?: flyteidl.admin.ITaskCreateResponse): flyteidl.admin.TaskCreateResponse; + public static create(properties?: flyteidl.admin.IVersion): flyteidl.admin.Version; /** - * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.admin.TaskCreateResponse.verify|verify} messages. - * @param message TaskCreateResponse message or plain object to encode + * Encodes the specified Version message. Does not implicitly {@link flyteidl.admin.Version.verify|verify} messages. + * @param message Version message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IVersion, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskCreateResponse message from the specified reader or buffer. + * Decodes a Version message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskCreateResponse + * @returns Version * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskCreateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Version; /** - * Verifies a TaskCreateResponse message. + * Verifies a Version message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a Task. */ - interface ITask { - - /** Task id */ - id?: (flyteidl.core.IIdentifier|null); - - /** Task closure */ - closure?: (flyteidl.admin.ITaskClosure|null); - - /** Task shortDescription */ - shortDescription?: (string|null); + /** Properties of a GetVersionRequest. */ + interface IGetVersionRequest { } - /** Represents a Task. */ - class Task implements ITask { + /** Represents a GetVersionRequest. */ + class GetVersionRequest implements IGetVersionRequest { /** - * Constructs a new Task. + * Constructs a new GetVersionRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITask); - - /** Task id. */ - public id?: (flyteidl.core.IIdentifier|null); - - /** Task closure. */ - public closure?: (flyteidl.admin.ITaskClosure|null); - - /** Task shortDescription. */ - public shortDescription: string; + constructor(properties?: flyteidl.admin.IGetVersionRequest); /** - * Creates a new Task instance using the specified properties. + * Creates a new GetVersionRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Task instance + * @returns GetVersionRequest instance */ - public static create(properties?: flyteidl.admin.ITask): flyteidl.admin.Task; + public static create(properties?: flyteidl.admin.IGetVersionRequest): flyteidl.admin.GetVersionRequest; /** - * Encodes the specified Task message. Does not implicitly {@link flyteidl.admin.Task.verify|verify} messages. - * @param message Task message or plain object to encode + * Encodes the specified GetVersionRequest message. Does not implicitly {@link flyteidl.admin.GetVersionRequest.verify|verify} messages. + * @param message GetVersionRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITask, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IGetVersionRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Task message from the specified reader or buffer. + * Decodes a GetVersionRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Task + * @returns GetVersionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Task; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetVersionRequest; /** - * Verifies a Task message. + * Verifies a GetVersionRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskList. */ - interface ITaskList { + /** Properties of a WorkflowCreateRequest. */ + interface IWorkflowCreateRequest { - /** TaskList tasks */ - tasks?: (flyteidl.admin.ITask[]|null); + /** WorkflowCreateRequest id */ + id?: (flyteidl.core.IIdentifier|null); - /** TaskList token */ - token?: (string|null); + /** WorkflowCreateRequest spec */ + spec?: (flyteidl.admin.IWorkflowSpec|null); } - /** Represents a TaskList. */ - class TaskList implements ITaskList { + /** Represents a WorkflowCreateRequest. */ + class WorkflowCreateRequest implements IWorkflowCreateRequest { /** - * Constructs a new TaskList. + * Constructs a new WorkflowCreateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskList); + constructor(properties?: flyteidl.admin.IWorkflowCreateRequest); - /** TaskList tasks. */ - public tasks: flyteidl.admin.ITask[]; + /** WorkflowCreateRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** TaskList token. */ - public token: string; + /** WorkflowCreateRequest spec. */ + public spec?: (flyteidl.admin.IWorkflowSpec|null); /** - * Creates a new TaskList instance using the specified properties. + * Creates a new WorkflowCreateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns TaskList instance + * @returns WorkflowCreateRequest instance */ - public static create(properties?: flyteidl.admin.ITaskList): flyteidl.admin.TaskList; + public static create(properties?: flyteidl.admin.IWorkflowCreateRequest): flyteidl.admin.WorkflowCreateRequest; /** - * Encodes the specified TaskList message. Does not implicitly {@link flyteidl.admin.TaskList.verify|verify} messages. - * @param message TaskList message or plain object to encode + * Encodes the specified WorkflowCreateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowCreateRequest.verify|verify} messages. + * @param message WorkflowCreateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskList message from the specified reader or buffer. + * Decodes a WorkflowCreateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskList + * @returns WorkflowCreateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowCreateRequest; /** - * Verifies a TaskList message. + * Verifies a WorkflowCreateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskSpec. */ - interface ITaskSpec { - - /** TaskSpec template */ - template?: (flyteidl.core.ITaskTemplate|null); - - /** TaskSpec description */ - description?: (flyteidl.admin.IDescriptionEntity|null); + /** Properties of a WorkflowCreateResponse. */ + interface IWorkflowCreateResponse { } - /** Represents a TaskSpec. */ - class TaskSpec implements ITaskSpec { + /** Represents a WorkflowCreateResponse. */ + class WorkflowCreateResponse implements IWorkflowCreateResponse { /** - * Constructs a new TaskSpec. + * Constructs a new WorkflowCreateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskSpec); - - /** TaskSpec template. */ - public template?: (flyteidl.core.ITaskTemplate|null); - - /** TaskSpec description. */ - public description?: (flyteidl.admin.IDescriptionEntity|null); + constructor(properties?: flyteidl.admin.IWorkflowCreateResponse); /** - * Creates a new TaskSpec instance using the specified properties. + * Creates a new WorkflowCreateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns TaskSpec instance + * @returns WorkflowCreateResponse instance */ - public static create(properties?: flyteidl.admin.ITaskSpec): flyteidl.admin.TaskSpec; + public static create(properties?: flyteidl.admin.IWorkflowCreateResponse): flyteidl.admin.WorkflowCreateResponse; /** - * Encodes the specified TaskSpec message. Does not implicitly {@link flyteidl.admin.TaskSpec.verify|verify} messages. - * @param message TaskSpec message or plain object to encode + * Encodes the specified WorkflowCreateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowCreateResponse.verify|verify} messages. + * @param message WorkflowCreateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskSpec message from the specified reader or buffer. + * Decodes a WorkflowCreateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskSpec + * @returns WorkflowCreateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowCreateResponse; /** - * Verifies a TaskSpec message. + * Verifies a WorkflowCreateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskClosure. */ - interface ITaskClosure { + /** Properties of a Workflow. */ + interface IWorkflow { - /** TaskClosure compiledTask */ - compiledTask?: (flyteidl.core.ICompiledTask|null); + /** Workflow id */ + id?: (flyteidl.core.IIdentifier|null); - /** TaskClosure createdAt */ - createdAt?: (google.protobuf.ITimestamp|null); + /** Workflow closure */ + closure?: (flyteidl.admin.IWorkflowClosure|null); + + /** Workflow shortDescription */ + shortDescription?: (string|null); } - /** Represents a TaskClosure. */ - class TaskClosure implements ITaskClosure { + /** Represents a Workflow. */ + class Workflow implements IWorkflow { /** - * Constructs a new TaskClosure. + * Constructs a new Workflow. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskClosure); + constructor(properties?: flyteidl.admin.IWorkflow); - /** TaskClosure compiledTask. */ - public compiledTask?: (flyteidl.core.ICompiledTask|null); + /** Workflow id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** TaskClosure createdAt. */ - public createdAt?: (google.protobuf.ITimestamp|null); + /** Workflow closure. */ + public closure?: (flyteidl.admin.IWorkflowClosure|null); + + /** Workflow shortDescription. */ + public shortDescription: string; /** - * Creates a new TaskClosure instance using the specified properties. + * Creates a new Workflow instance using the specified properties. * @param [properties] Properties to set - * @returns TaskClosure instance + * @returns Workflow instance */ - public static create(properties?: flyteidl.admin.ITaskClosure): flyteidl.admin.TaskClosure; + public static create(properties?: flyteidl.admin.IWorkflow): flyteidl.admin.Workflow; /** - * Encodes the specified TaskClosure message. Does not implicitly {@link flyteidl.admin.TaskClosure.verify|verify} messages. - * @param message TaskClosure message or plain object to encode + * Encodes the specified Workflow message. Does not implicitly {@link flyteidl.admin.Workflow.verify|verify} messages. + * @param message Workflow message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskClosure message from the specified reader or buffer. + * Decodes a Workflow message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskClosure + * @returns Workflow * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Workflow; /** - * Verifies a TaskClosure message. + * Verifies a Workflow message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskExecutionGetRequest. */ - interface ITaskExecutionGetRequest { + /** Properties of a WorkflowList. */ + interface IWorkflowList { - /** TaskExecutionGetRequest id */ - id?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** WorkflowList workflows */ + workflows?: (flyteidl.admin.IWorkflow[]|null); + + /** WorkflowList token */ + token?: (string|null); } - /** Represents a TaskExecutionGetRequest. */ - class TaskExecutionGetRequest implements ITaskExecutionGetRequest { + /** Represents a WorkflowList. */ + class WorkflowList implements IWorkflowList { /** - * Constructs a new TaskExecutionGetRequest. + * Constructs a new WorkflowList. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionGetRequest); + constructor(properties?: flyteidl.admin.IWorkflowList); - /** TaskExecutionGetRequest id. */ - public id?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** WorkflowList workflows. */ + public workflows: flyteidl.admin.IWorkflow[]; + + /** WorkflowList token. */ + public token: string; /** - * Creates a new TaskExecutionGetRequest instance using the specified properties. + * Creates a new WorkflowList instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionGetRequest instance + * @returns WorkflowList instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionGetRequest): flyteidl.admin.TaskExecutionGetRequest; + public static create(properties?: flyteidl.admin.IWorkflowList): flyteidl.admin.WorkflowList; /** - * Encodes the specified TaskExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetRequest.verify|verify} messages. - * @param message TaskExecutionGetRequest message or plain object to encode + * Encodes the specified WorkflowList message. Does not implicitly {@link flyteidl.admin.WorkflowList.verify|verify} messages. + * @param message WorkflowList message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowList, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionGetRequest message from the specified reader or buffer. + * Decodes a WorkflowList message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskExecutionGetRequest + * @returns WorkflowList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowList; /** - * Verifies a TaskExecutionGetRequest message. + * Verifies a WorkflowList message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskExecutionListRequest. */ - interface ITaskExecutionListRequest { - - /** TaskExecutionListRequest nodeExecutionId */ - nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - - /** TaskExecutionListRequest limit */ - limit?: (number|null); + /** Properties of a WorkflowSpec. */ + interface IWorkflowSpec { - /** TaskExecutionListRequest token */ - token?: (string|null); + /** WorkflowSpec template */ + template?: (flyteidl.core.IWorkflowTemplate|null); - /** TaskExecutionListRequest filters */ - filters?: (string|null); + /** WorkflowSpec subWorkflows */ + subWorkflows?: (flyteidl.core.IWorkflowTemplate[]|null); - /** TaskExecutionListRequest sortBy */ - sortBy?: (flyteidl.admin.ISort|null); + /** WorkflowSpec description */ + description?: (flyteidl.admin.IDescriptionEntity|null); } - /** Represents a TaskExecutionListRequest. */ - class TaskExecutionListRequest implements ITaskExecutionListRequest { + /** Represents a WorkflowSpec. */ + class WorkflowSpec implements IWorkflowSpec { /** - * Constructs a new TaskExecutionListRequest. + * Constructs a new WorkflowSpec. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionListRequest); - - /** TaskExecutionListRequest nodeExecutionId. */ - public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - - /** TaskExecutionListRequest limit. */ - public limit: number; + constructor(properties?: flyteidl.admin.IWorkflowSpec); - /** TaskExecutionListRequest token. */ - public token: string; + /** WorkflowSpec template. */ + public template?: (flyteidl.core.IWorkflowTemplate|null); - /** TaskExecutionListRequest filters. */ - public filters: string; + /** WorkflowSpec subWorkflows. */ + public subWorkflows: flyteidl.core.IWorkflowTemplate[]; - /** TaskExecutionListRequest sortBy. */ - public sortBy?: (flyteidl.admin.ISort|null); + /** WorkflowSpec description. */ + public description?: (flyteidl.admin.IDescriptionEntity|null); /** - * Creates a new TaskExecutionListRequest instance using the specified properties. + * Creates a new WorkflowSpec instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionListRequest instance + * @returns WorkflowSpec instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionListRequest): flyteidl.admin.TaskExecutionListRequest; + public static create(properties?: flyteidl.admin.IWorkflowSpec): flyteidl.admin.WorkflowSpec; /** - * Encodes the specified TaskExecutionListRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionListRequest.verify|verify} messages. - * @param message TaskExecutionListRequest message or plain object to encode + * Encodes the specified WorkflowSpec message. Does not implicitly {@link flyteidl.admin.WorkflowSpec.verify|verify} messages. + * @param message WorkflowSpec message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskExecutionListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowSpec, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionListRequest message from the specified reader or buffer. + * Decodes a WorkflowSpec message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskExecutionListRequest + * @returns WorkflowSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionListRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowSpec; /** - * Verifies a TaskExecutionListRequest message. + * Verifies a WorkflowSpec message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskExecution. */ - interface ITaskExecution { - - /** TaskExecution id */ - id?: (flyteidl.core.ITaskExecutionIdentifier|null); - - /** TaskExecution inputUri */ - inputUri?: (string|null); + /** Properties of a WorkflowClosure. */ + interface IWorkflowClosure { - /** TaskExecution closure */ - closure?: (flyteidl.admin.ITaskExecutionClosure|null); + /** WorkflowClosure compiledWorkflow */ + compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); - /** TaskExecution isParent */ - isParent?: (boolean|null); + /** WorkflowClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); } - /** Represents a TaskExecution. */ - class TaskExecution implements ITaskExecution { + /** Represents a WorkflowClosure. */ + class WorkflowClosure implements IWorkflowClosure { /** - * Constructs a new TaskExecution. + * Constructs a new WorkflowClosure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecution); - - /** TaskExecution id. */ - public id?: (flyteidl.core.ITaskExecutionIdentifier|null); - - /** TaskExecution inputUri. */ - public inputUri: string; + constructor(properties?: flyteidl.admin.IWorkflowClosure); - /** TaskExecution closure. */ - public closure?: (flyteidl.admin.ITaskExecutionClosure|null); + /** WorkflowClosure compiledWorkflow. */ + public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); - /** TaskExecution isParent. */ - public isParent: boolean; + /** WorkflowClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); /** - * Creates a new TaskExecution instance using the specified properties. + * Creates a new WorkflowClosure instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecution instance + * @returns WorkflowClosure instance */ - public static create(properties?: flyteidl.admin.ITaskExecution): flyteidl.admin.TaskExecution; + public static create(properties?: flyteidl.admin.IWorkflowClosure): flyteidl.admin.WorkflowClosure; /** - * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.admin.TaskExecution.verify|verify} messages. - * @param message TaskExecution message or plain object to encode + * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.admin.WorkflowClosure.verify|verify} messages. + * @param message WorkflowClosure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowClosure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecution message from the specified reader or buffer. + * Decodes a WorkflowClosure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskExecution + * @returns WorkflowClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecution; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowClosure; /** - * Verifies a TaskExecution message. + * Verifies a WorkflowClosure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskExecutionList. */ - interface ITaskExecutionList { - - /** TaskExecutionList taskExecutions */ - taskExecutions?: (flyteidl.admin.ITaskExecution[]|null); + /** Properties of a WorkflowErrorExistsDifferentStructure. */ + interface IWorkflowErrorExistsDifferentStructure { - /** TaskExecutionList token */ - token?: (string|null); + /** WorkflowErrorExistsDifferentStructure id */ + id?: (flyteidl.core.IIdentifier|null); } - /** Represents a TaskExecutionList. */ - class TaskExecutionList implements ITaskExecutionList { + /** Represents a WorkflowErrorExistsDifferentStructure. */ + class WorkflowErrorExistsDifferentStructure implements IWorkflowErrorExistsDifferentStructure { /** - * Constructs a new TaskExecutionList. + * Constructs a new WorkflowErrorExistsDifferentStructure. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionList); - - /** TaskExecutionList taskExecutions. */ - public taskExecutions: flyteidl.admin.ITaskExecution[]; + constructor(properties?: flyteidl.admin.IWorkflowErrorExistsDifferentStructure); - /** TaskExecutionList token. */ - public token: string; + /** WorkflowErrorExistsDifferentStructure id. */ + public id?: (flyteidl.core.IIdentifier|null); /** - * Creates a new TaskExecutionList instance using the specified properties. + * Creates a new WorkflowErrorExistsDifferentStructure instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionList instance + * @returns WorkflowErrorExistsDifferentStructure instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionList): flyteidl.admin.TaskExecutionList; + public static create(properties?: flyteidl.admin.IWorkflowErrorExistsDifferentStructure): flyteidl.admin.WorkflowErrorExistsDifferentStructure; /** - * Encodes the specified TaskExecutionList message. Does not implicitly {@link flyteidl.admin.TaskExecutionList.verify|verify} messages. - * @param message TaskExecutionList message or plain object to encode + * Encodes the specified WorkflowErrorExistsDifferentStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsDifferentStructure.verify|verify} messages. + * @param message WorkflowErrorExistsDifferentStructure message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowErrorExistsDifferentStructure, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionList message from the specified reader or buffer. + * Decodes a WorkflowErrorExistsDifferentStructure message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskExecutionList + * @returns WorkflowErrorExistsDifferentStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowErrorExistsDifferentStructure; /** - * Verifies a TaskExecutionList message. + * Verifies a WorkflowErrorExistsDifferentStructure message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskExecutionClosure. */ - interface ITaskExecutionClosure { + /** Properties of a WorkflowErrorExistsIdenticalStructure. */ + interface IWorkflowErrorExistsIdenticalStructure { - /** TaskExecutionClosure outputUri */ - outputUri?: (string|null); + /** WorkflowErrorExistsIdenticalStructure id */ + id?: (flyteidl.core.IIdentifier|null); + } - /** TaskExecutionClosure error */ - error?: (flyteidl.core.IExecutionError|null); + /** Represents a WorkflowErrorExistsIdenticalStructure. */ + class WorkflowErrorExistsIdenticalStructure implements IWorkflowErrorExistsIdenticalStructure { - /** TaskExecutionClosure outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); + /** + * Constructs a new WorkflowErrorExistsIdenticalStructure. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure); - /** TaskExecutionClosure phase */ - phase?: (flyteidl.core.TaskExecution.Phase|null); + /** WorkflowErrorExistsIdenticalStructure id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** TaskExecutionClosure logs */ - logs?: (flyteidl.core.ITaskLog[]|null); + /** + * Creates a new WorkflowErrorExistsIdenticalStructure instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowErrorExistsIdenticalStructure instance + */ + public static create(properties?: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure): flyteidl.admin.WorkflowErrorExistsIdenticalStructure; - /** TaskExecutionClosure startedAt */ - startedAt?: (google.protobuf.ITimestamp|null); + /** + * Encodes the specified WorkflowErrorExistsIdenticalStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsIdenticalStructure.verify|verify} messages. + * @param message WorkflowErrorExistsIdenticalStructure message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure, writer?: $protobuf.Writer): $protobuf.Writer; - /** TaskExecutionClosure duration */ - duration?: (google.protobuf.IDuration|null); + /** + * Decodes a WorkflowErrorExistsIdenticalStructure message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowErrorExistsIdenticalStructure + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowErrorExistsIdenticalStructure; - /** TaskExecutionClosure createdAt */ - createdAt?: (google.protobuf.ITimestamp|null); + /** + * Verifies a WorkflowErrorExistsIdenticalStructure message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } - /** TaskExecutionClosure updatedAt */ - updatedAt?: (google.protobuf.ITimestamp|null); + /** Properties of a CreateWorkflowFailureReason. */ + interface ICreateWorkflowFailureReason { - /** TaskExecutionClosure customInfo */ - customInfo?: (google.protobuf.IStruct|null); + /** CreateWorkflowFailureReason existsDifferentStructure */ + existsDifferentStructure?: (flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null); - /** TaskExecutionClosure reason */ - reason?: (string|null); + /** CreateWorkflowFailureReason existsIdenticalStructure */ + existsIdenticalStructure?: (flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null); + } - /** TaskExecutionClosure taskType */ - taskType?: (string|null); + /** Represents a CreateWorkflowFailureReason. */ + class CreateWorkflowFailureReason implements ICreateWorkflowFailureReason { - /** TaskExecutionClosure metadata */ - metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + /** + * Constructs a new CreateWorkflowFailureReason. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ICreateWorkflowFailureReason); - /** TaskExecutionClosure eventVersion */ - eventVersion?: (number|null); + /** CreateWorkflowFailureReason existsDifferentStructure. */ + public existsDifferentStructure?: (flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null); - /** TaskExecutionClosure reasons */ - reasons?: (flyteidl.admin.IReason[]|null); - } + /** CreateWorkflowFailureReason existsIdenticalStructure. */ + public existsIdenticalStructure?: (flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null); - /** Represents a TaskExecutionClosure. */ - class TaskExecutionClosure implements ITaskExecutionClosure { + /** CreateWorkflowFailureReason reason. */ + public reason?: ("existsDifferentStructure"|"existsIdenticalStructure"); /** - * Constructs a new TaskExecutionClosure. + * Creates a new CreateWorkflowFailureReason instance using the specified properties. * @param [properties] Properties to set + * @returns CreateWorkflowFailureReason instance */ - constructor(properties?: flyteidl.admin.ITaskExecutionClosure); + public static create(properties?: flyteidl.admin.ICreateWorkflowFailureReason): flyteidl.admin.CreateWorkflowFailureReason; - /** TaskExecutionClosure outputUri. */ - public outputUri: string; + /** + * Encodes the specified CreateWorkflowFailureReason message. Does not implicitly {@link flyteidl.admin.CreateWorkflowFailureReason.verify|verify} messages. + * @param message CreateWorkflowFailureReason message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ICreateWorkflowFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; - /** TaskExecutionClosure error. */ - public error?: (flyteidl.core.IExecutionError|null); + /** + * Decodes a CreateWorkflowFailureReason message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateWorkflowFailureReason + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateWorkflowFailureReason; - /** TaskExecutionClosure outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); + /** + * Verifies a CreateWorkflowFailureReason message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } - /** TaskExecutionClosure phase. */ - public phase: flyteidl.core.TaskExecution.Phase; + /** Properties of a WorkflowAttributes. */ + interface IWorkflowAttributes { - /** TaskExecutionClosure logs. */ - public logs: flyteidl.core.ITaskLog[]; + /** WorkflowAttributes project */ + project?: (string|null); - /** TaskExecutionClosure startedAt. */ - public startedAt?: (google.protobuf.ITimestamp|null); + /** WorkflowAttributes domain */ + domain?: (string|null); - /** TaskExecutionClosure duration. */ - public duration?: (google.protobuf.IDuration|null); + /** WorkflowAttributes workflow */ + workflow?: (string|null); - /** TaskExecutionClosure createdAt. */ - public createdAt?: (google.protobuf.ITimestamp|null); + /** WorkflowAttributes matchingAttributes */ + matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); - /** TaskExecutionClosure updatedAt. */ - public updatedAt?: (google.protobuf.ITimestamp|null); + /** WorkflowAttributes org */ + org?: (string|null); + } - /** TaskExecutionClosure customInfo. */ - public customInfo?: (google.protobuf.IStruct|null); + /** Represents a WorkflowAttributes. */ + class WorkflowAttributes implements IWorkflowAttributes { - /** TaskExecutionClosure reason. */ - public reason: string; + /** + * Constructs a new WorkflowAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowAttributes); - /** TaskExecutionClosure taskType. */ - public taskType: string; + /** WorkflowAttributes project. */ + public project: string; - /** TaskExecutionClosure metadata. */ - public metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + /** WorkflowAttributes domain. */ + public domain: string; - /** TaskExecutionClosure eventVersion. */ - public eventVersion: number; + /** WorkflowAttributes workflow. */ + public workflow: string; - /** TaskExecutionClosure reasons. */ - public reasons: flyteidl.admin.IReason[]; + /** WorkflowAttributes matchingAttributes. */ + public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); - /** TaskExecutionClosure outputResult. */ - public outputResult?: ("outputUri"|"error"|"outputData"); + /** WorkflowAttributes org. */ + public org: string; /** - * Creates a new TaskExecutionClosure instance using the specified properties. + * Creates a new WorkflowAttributes instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionClosure instance + * @returns WorkflowAttributes instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionClosure): flyteidl.admin.TaskExecutionClosure; + public static create(properties?: flyteidl.admin.IWorkflowAttributes): flyteidl.admin.WorkflowAttributes; /** - * Encodes the specified TaskExecutionClosure message. Does not implicitly {@link flyteidl.admin.TaskExecutionClosure.verify|verify} messages. - * @param message TaskExecutionClosure message or plain object to encode + * Encodes the specified WorkflowAttributes message. Does not implicitly {@link flyteidl.admin.WorkflowAttributes.verify|verify} messages. + * @param message WorkflowAttributes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowAttributes, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionClosure message from the specified reader or buffer. + * Decodes a WorkflowAttributes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskExecutionClosure + * @returns WorkflowAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributes; /** - * Verifies a TaskExecutionClosure message. + * Verifies a WorkflowAttributes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a Reason. */ - interface IReason { - - /** Reason occurredAt */ - occurredAt?: (google.protobuf.ITimestamp|null); + /** Properties of a WorkflowAttributesUpdateRequest. */ + interface IWorkflowAttributesUpdateRequest { - /** Reason message */ - message?: (string|null); + /** WorkflowAttributesUpdateRequest attributes */ + attributes?: (flyteidl.admin.IWorkflowAttributes|null); } - /** Represents a Reason. */ - class Reason implements IReason { + /** Represents a WorkflowAttributesUpdateRequest. */ + class WorkflowAttributesUpdateRequest implements IWorkflowAttributesUpdateRequest { /** - * Constructs a new Reason. + * Constructs a new WorkflowAttributesUpdateRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IReason); - - /** Reason occurredAt. */ - public occurredAt?: (google.protobuf.ITimestamp|null); + constructor(properties?: flyteidl.admin.IWorkflowAttributesUpdateRequest); - /** Reason message. */ - public message: string; + /** WorkflowAttributesUpdateRequest attributes. */ + public attributes?: (flyteidl.admin.IWorkflowAttributes|null); /** - * Creates a new Reason instance using the specified properties. + * Creates a new WorkflowAttributesUpdateRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Reason instance + * @returns WorkflowAttributesUpdateRequest instance */ - public static create(properties?: flyteidl.admin.IReason): flyteidl.admin.Reason; + public static create(properties?: flyteidl.admin.IWorkflowAttributesUpdateRequest): flyteidl.admin.WorkflowAttributesUpdateRequest; /** - * Encodes the specified Reason message. Does not implicitly {@link flyteidl.admin.Reason.verify|verify} messages. - * @param message Reason message or plain object to encode + * Encodes the specified WorkflowAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateRequest.verify|verify} messages. + * @param message WorkflowAttributesUpdateRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IReason, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Reason message from the specified reader or buffer. + * Decodes a WorkflowAttributesUpdateRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Reason + * @returns WorkflowAttributesUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Reason; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesUpdateRequest; /** - * Verifies a Reason message. + * Verifies a WorkflowAttributesUpdateRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskExecutionGetDataRequest. */ - interface ITaskExecutionGetDataRequest { - - /** TaskExecutionGetDataRequest id */ - id?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** Properties of a WorkflowAttributesUpdateResponse. */ + interface IWorkflowAttributesUpdateResponse { } - /** Represents a TaskExecutionGetDataRequest. */ - class TaskExecutionGetDataRequest implements ITaskExecutionGetDataRequest { + /** Represents a WorkflowAttributesUpdateResponse. */ + class WorkflowAttributesUpdateResponse implements IWorkflowAttributesUpdateResponse { /** - * Constructs a new TaskExecutionGetDataRequest. + * Constructs a new WorkflowAttributesUpdateResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionGetDataRequest); - - /** TaskExecutionGetDataRequest id. */ - public id?: (flyteidl.core.ITaskExecutionIdentifier|null); + constructor(properties?: flyteidl.admin.IWorkflowAttributesUpdateResponse); /** - * Creates a new TaskExecutionGetDataRequest instance using the specified properties. + * Creates a new WorkflowAttributesUpdateResponse instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionGetDataRequest instance + * @returns WorkflowAttributesUpdateResponse instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionGetDataRequest): flyteidl.admin.TaskExecutionGetDataRequest; + public static create(properties?: flyteidl.admin.IWorkflowAttributesUpdateResponse): flyteidl.admin.WorkflowAttributesUpdateResponse; /** - * Encodes the specified TaskExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataRequest.verify|verify} messages. - * @param message TaskExecutionGetDataRequest message or plain object to encode + * Encodes the specified WorkflowAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateResponse.verify|verify} messages. + * @param message WorkflowAttributesUpdateResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionGetDataRequest message from the specified reader or buffer. + * Decodes a WorkflowAttributesUpdateResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskExecutionGetDataRequest + * @returns WorkflowAttributesUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionGetDataRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesUpdateResponse; /** - * Verifies a TaskExecutionGetDataRequest message. + * Verifies a WorkflowAttributesUpdateResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a TaskExecutionGetDataResponse. */ - interface ITaskExecutionGetDataResponse { + /** Properties of a WorkflowAttributesGetRequest. */ + interface IWorkflowAttributesGetRequest { - /** TaskExecutionGetDataResponse inputs */ - inputs?: (flyteidl.admin.IUrlBlob|null); + /** WorkflowAttributesGetRequest project */ + project?: (string|null); - /** TaskExecutionGetDataResponse outputs */ - outputs?: (flyteidl.admin.IUrlBlob|null); + /** WorkflowAttributesGetRequest domain */ + domain?: (string|null); - /** TaskExecutionGetDataResponse fullInputs */ - fullInputs?: (flyteidl.core.ILiteralMap|null); + /** WorkflowAttributesGetRequest workflow */ + workflow?: (string|null); - /** TaskExecutionGetDataResponse fullOutputs */ - fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** WorkflowAttributesGetRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); - /** TaskExecutionGetDataResponse flyteUrls */ - flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + /** WorkflowAttributesGetRequest org */ + org?: (string|null); } - /** Represents a TaskExecutionGetDataResponse. */ - class TaskExecutionGetDataResponse implements ITaskExecutionGetDataResponse { + /** Represents a WorkflowAttributesGetRequest. */ + class WorkflowAttributesGetRequest implements IWorkflowAttributesGetRequest { /** - * Constructs a new TaskExecutionGetDataResponse. + * Constructs a new WorkflowAttributesGetRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ITaskExecutionGetDataResponse); + constructor(properties?: flyteidl.admin.IWorkflowAttributesGetRequest); - /** TaskExecutionGetDataResponse inputs. */ - public inputs?: (flyteidl.admin.IUrlBlob|null); + /** WorkflowAttributesGetRequest project. */ + public project: string; - /** TaskExecutionGetDataResponse outputs. */ - public outputs?: (flyteidl.admin.IUrlBlob|null); + /** WorkflowAttributesGetRequest domain. */ + public domain: string; - /** TaskExecutionGetDataResponse fullInputs. */ - public fullInputs?: (flyteidl.core.ILiteralMap|null); + /** WorkflowAttributesGetRequest workflow. */ + public workflow: string; - /** TaskExecutionGetDataResponse fullOutputs. */ - public fullOutputs?: (flyteidl.core.ILiteralMap|null); + /** WorkflowAttributesGetRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; - /** TaskExecutionGetDataResponse flyteUrls. */ - public flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + /** WorkflowAttributesGetRequest org. */ + public org: string; /** - * Creates a new TaskExecutionGetDataResponse instance using the specified properties. + * Creates a new WorkflowAttributesGetRequest instance using the specified properties. * @param [properties] Properties to set - * @returns TaskExecutionGetDataResponse instance + * @returns WorkflowAttributesGetRequest instance */ - public static create(properties?: flyteidl.admin.ITaskExecutionGetDataResponse): flyteidl.admin.TaskExecutionGetDataResponse; + public static create(properties?: flyteidl.admin.IWorkflowAttributesGetRequest): flyteidl.admin.WorkflowAttributesGetRequest; /** - * Encodes the specified TaskExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataResponse.verify|verify} messages. - * @param message TaskExecutionGetDataResponse message or plain object to encode + * Encodes the specified WorkflowAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetRequest.verify|verify} messages. + * @param message WorkflowAttributesGetRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ITaskExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a TaskExecutionGetDataResponse message from the specified reader or buffer. + * Decodes a WorkflowAttributesGetRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TaskExecutionGetDataResponse + * @returns WorkflowAttributesGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.TaskExecutionGetDataResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesGetRequest; /** - * Verifies a TaskExecutionGetDataResponse message. + * Verifies a WorkflowAttributesGetRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetVersionResponse. */ - interface IGetVersionResponse { + /** Properties of a WorkflowAttributesGetResponse. */ + interface IWorkflowAttributesGetResponse { - /** GetVersionResponse controlPlaneVersion */ - controlPlaneVersion?: (flyteidl.admin.IVersion|null); + /** WorkflowAttributesGetResponse attributes */ + attributes?: (flyteidl.admin.IWorkflowAttributes|null); } - /** Represents a GetVersionResponse. */ - class GetVersionResponse implements IGetVersionResponse { + /** Represents a WorkflowAttributesGetResponse. */ + class WorkflowAttributesGetResponse implements IWorkflowAttributesGetResponse { /** - * Constructs a new GetVersionResponse. + * Constructs a new WorkflowAttributesGetResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetVersionResponse); + constructor(properties?: flyteidl.admin.IWorkflowAttributesGetResponse); - /** GetVersionResponse controlPlaneVersion. */ - public controlPlaneVersion?: (flyteidl.admin.IVersion|null); + /** WorkflowAttributesGetResponse attributes. */ + public attributes?: (flyteidl.admin.IWorkflowAttributes|null); /** - * Creates a new GetVersionResponse instance using the specified properties. + * Creates a new WorkflowAttributesGetResponse instance using the specified properties. * @param [properties] Properties to set - * @returns GetVersionResponse instance + * @returns WorkflowAttributesGetResponse instance */ - public static create(properties?: flyteidl.admin.IGetVersionResponse): flyteidl.admin.GetVersionResponse; + public static create(properties?: flyteidl.admin.IWorkflowAttributesGetResponse): flyteidl.admin.WorkflowAttributesGetResponse; /** - * Encodes the specified GetVersionResponse message. Does not implicitly {@link flyteidl.admin.GetVersionResponse.verify|verify} messages. - * @param message GetVersionResponse message or plain object to encode + * Encodes the specified WorkflowAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetResponse.verify|verify} messages. + * @param message WorkflowAttributesGetResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetVersionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetVersionResponse message from the specified reader or buffer. + * Decodes a WorkflowAttributesGetResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetVersionResponse + * @returns WorkflowAttributesGetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetVersionResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesGetResponse; /** - * Verifies a GetVersionResponse message. + * Verifies a WorkflowAttributesGetResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a Version. */ - interface IVersion { + /** Properties of a WorkflowAttributesDeleteRequest. */ + interface IWorkflowAttributesDeleteRequest { - /** Version Build */ - Build?: (string|null); + /** WorkflowAttributesDeleteRequest project */ + project?: (string|null); - /** Version Version */ - Version?: (string|null); + /** WorkflowAttributesDeleteRequest domain */ + domain?: (string|null); - /** Version BuildTime */ - BuildTime?: (string|null); + /** WorkflowAttributesDeleteRequest workflow */ + workflow?: (string|null); + + /** WorkflowAttributesDeleteRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + + /** WorkflowAttributesDeleteRequest org */ + org?: (string|null); } - /** Represents a Version. */ - class Version implements IVersion { + /** Represents a WorkflowAttributesDeleteRequest. */ + class WorkflowAttributesDeleteRequest implements IWorkflowAttributesDeleteRequest { /** - * Constructs a new Version. + * Constructs a new WorkflowAttributesDeleteRequest. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IVersion); + constructor(properties?: flyteidl.admin.IWorkflowAttributesDeleteRequest); - /** Version Build. */ - public Build: string; + /** WorkflowAttributesDeleteRequest project. */ + public project: string; - /** Version Version. */ - public Version: string; + /** WorkflowAttributesDeleteRequest domain. */ + public domain: string; - /** Version BuildTime. */ - public BuildTime: string; + /** WorkflowAttributesDeleteRequest workflow. */ + public workflow: string; + + /** WorkflowAttributesDeleteRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; + + /** WorkflowAttributesDeleteRequest org. */ + public org: string; /** - * Creates a new Version instance using the specified properties. + * Creates a new WorkflowAttributesDeleteRequest instance using the specified properties. * @param [properties] Properties to set - * @returns Version instance + * @returns WorkflowAttributesDeleteRequest instance */ - public static create(properties?: flyteidl.admin.IVersion): flyteidl.admin.Version; + public static create(properties?: flyteidl.admin.IWorkflowAttributesDeleteRequest): flyteidl.admin.WorkflowAttributesDeleteRequest; /** - * Encodes the specified Version message. Does not implicitly {@link flyteidl.admin.Version.verify|verify} messages. - * @param message Version message or plain object to encode + * Encodes the specified WorkflowAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteRequest.verify|verify} messages. + * @param message WorkflowAttributesDeleteRequest message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IVersion, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Version message from the specified reader or buffer. + * Decodes a WorkflowAttributesDeleteRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Version + * @returns WorkflowAttributesDeleteRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Version; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesDeleteRequest; /** - * Verifies a Version message. + * Verifies a WorkflowAttributesDeleteRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a GetVersionRequest. */ - interface IGetVersionRequest { + /** Properties of a WorkflowAttributesDeleteResponse. */ + interface IWorkflowAttributesDeleteResponse { } - /** Represents a GetVersionRequest. */ - class GetVersionRequest implements IGetVersionRequest { + /** Represents a WorkflowAttributesDeleteResponse. */ + class WorkflowAttributesDeleteResponse implements IWorkflowAttributesDeleteResponse { /** - * Constructs a new GetVersionRequest. + * Constructs a new WorkflowAttributesDeleteResponse. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IGetVersionRequest); + constructor(properties?: flyteidl.admin.IWorkflowAttributesDeleteResponse); /** - * Creates a new GetVersionRequest instance using the specified properties. + * Creates a new WorkflowAttributesDeleteResponse instance using the specified properties. * @param [properties] Properties to set - * @returns GetVersionRequest instance + * @returns WorkflowAttributesDeleteResponse instance */ - public static create(properties?: flyteidl.admin.IGetVersionRequest): flyteidl.admin.GetVersionRequest; + public static create(properties?: flyteidl.admin.IWorkflowAttributesDeleteResponse): flyteidl.admin.WorkflowAttributesDeleteResponse; /** - * Encodes the specified GetVersionRequest message. Does not implicitly {@link flyteidl.admin.GetVersionRequest.verify|verify} messages. - * @param message GetVersionRequest message or plain object to encode + * Encodes the specified WorkflowAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteResponse.verify|verify} messages. + * @param message WorkflowAttributesDeleteResponse message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IGetVersionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.admin.IWorkflowAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a GetVersionRequest message from the specified reader or buffer. + * Decodes a WorkflowAttributesDeleteResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetVersionRequest + * @returns WorkflowAttributesDeleteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetVersionRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesDeleteResponse; /** - * Verifies a GetVersionRequest message. + * Verifies a WorkflowAttributesDeleteResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } + } - /** Properties of a WorkflowCreateRequest. */ - interface IWorkflowCreateRequest { + /** Namespace event. */ + namespace event { - /** WorkflowCreateRequest id */ - id?: (flyteidl.core.IIdentifier|null); + /** Properties of a CloudEventWorkflowExecution. */ + interface ICloudEventWorkflowExecution { - /** WorkflowCreateRequest spec */ - spec?: (flyteidl.admin.IWorkflowSpec|null); - } + /** CloudEventWorkflowExecution rawEvent */ + rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); - /** Represents a WorkflowCreateRequest. */ - class WorkflowCreateRequest implements IWorkflowCreateRequest { + /** CloudEventWorkflowExecution outputInterface */ + outputInterface?: (flyteidl.core.ITypedInterface|null); - /** - * Constructs a new WorkflowCreateRequest. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IWorkflowCreateRequest); + /** CloudEventWorkflowExecution artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); - /** WorkflowCreateRequest id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** CloudEventWorkflowExecution referenceExecution */ + referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** WorkflowCreateRequest spec. */ - public spec?: (flyteidl.admin.IWorkflowSpec|null); + /** CloudEventWorkflowExecution principal */ + principal?: (string|null); + + /** CloudEventWorkflowExecution launchPlanId */ + launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventWorkflowExecution labels */ + labels?: ({ [k: string]: string }|null); + } + + /** Represents a CloudEventWorkflowExecution. */ + class CloudEventWorkflowExecution implements ICloudEventWorkflowExecution { /** - * Creates a new WorkflowCreateRequest instance using the specified properties. + * Constructs a new CloudEventWorkflowExecution. * @param [properties] Properties to set - * @returns WorkflowCreateRequest instance */ - public static create(properties?: flyteidl.admin.IWorkflowCreateRequest): flyteidl.admin.WorkflowCreateRequest; + constructor(properties?: flyteidl.event.ICloudEventWorkflowExecution); - /** - * Encodes the specified WorkflowCreateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowCreateRequest.verify|verify} messages. - * @param message WorkflowCreateRequest message or plain object to encode + /** CloudEventWorkflowExecution rawEvent. */ + public rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); + + /** CloudEventWorkflowExecution outputInterface. */ + public outputInterface?: (flyteidl.core.ITypedInterface|null); + + /** CloudEventWorkflowExecution artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; + + /** CloudEventWorkflowExecution referenceExecution. */ + public referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** CloudEventWorkflowExecution principal. */ + public principal: string; + + /** CloudEventWorkflowExecution launchPlanId. */ + public launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventWorkflowExecution labels. */ + public labels: { [k: string]: string }; + + /** + * Creates a new CloudEventWorkflowExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns CloudEventWorkflowExecution instance + */ + public static create(properties?: flyteidl.event.ICloudEventWorkflowExecution): flyteidl.event.CloudEventWorkflowExecution; + + /** + * Encodes the specified CloudEventWorkflowExecution message. Does not implicitly {@link flyteidl.event.CloudEventWorkflowExecution.verify|verify} messages. + * @param message CloudEventWorkflowExecution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ICloudEventWorkflowExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowCreateRequest message from the specified reader or buffer. + * Decodes a CloudEventWorkflowExecution message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowCreateRequest + * @returns CloudEventWorkflowExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowCreateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventWorkflowExecution; /** - * Verifies a WorkflowCreateRequest message. + * Verifies a CloudEventWorkflowExecution message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowCreateResponse. */ - interface IWorkflowCreateResponse { + /** Properties of a CloudEventNodeExecution. */ + interface ICloudEventNodeExecution { + + /** CloudEventNodeExecution rawEvent */ + rawEvent?: (flyteidl.event.INodeExecutionEvent|null); + + /** CloudEventNodeExecution taskExecId */ + taskExecId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** CloudEventNodeExecution outputInterface */ + outputInterface?: (flyteidl.core.ITypedInterface|null); + + /** CloudEventNodeExecution artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); + + /** CloudEventNodeExecution principal */ + principal?: (string|null); + + /** CloudEventNodeExecution launchPlanId */ + launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventNodeExecution labels */ + labels?: ({ [k: string]: string }|null); } - /** Represents a WorkflowCreateResponse. */ - class WorkflowCreateResponse implements IWorkflowCreateResponse { + /** Represents a CloudEventNodeExecution. */ + class CloudEventNodeExecution implements ICloudEventNodeExecution { /** - * Constructs a new WorkflowCreateResponse. + * Constructs a new CloudEventNodeExecution. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowCreateResponse); + constructor(properties?: flyteidl.event.ICloudEventNodeExecution); + + /** CloudEventNodeExecution rawEvent. */ + public rawEvent?: (flyteidl.event.INodeExecutionEvent|null); + + /** CloudEventNodeExecution taskExecId. */ + public taskExecId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** CloudEventNodeExecution outputInterface. */ + public outputInterface?: (flyteidl.core.ITypedInterface|null); + + /** CloudEventNodeExecution artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; + + /** CloudEventNodeExecution principal. */ + public principal: string; + + /** CloudEventNodeExecution launchPlanId. */ + public launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventNodeExecution labels. */ + public labels: { [k: string]: string }; /** - * Creates a new WorkflowCreateResponse instance using the specified properties. + * Creates a new CloudEventNodeExecution instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowCreateResponse instance + * @returns CloudEventNodeExecution instance */ - public static create(properties?: flyteidl.admin.IWorkflowCreateResponse): flyteidl.admin.WorkflowCreateResponse; + public static create(properties?: flyteidl.event.ICloudEventNodeExecution): flyteidl.event.CloudEventNodeExecution; /** - * Encodes the specified WorkflowCreateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowCreateResponse.verify|verify} messages. - * @param message WorkflowCreateResponse message or plain object to encode + * Encodes the specified CloudEventNodeExecution message. Does not implicitly {@link flyteidl.event.CloudEventNodeExecution.verify|verify} messages. + * @param message CloudEventNodeExecution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ICloudEventNodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowCreateResponse message from the specified reader or buffer. + * Decodes a CloudEventNodeExecution message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowCreateResponse + * @returns CloudEventNodeExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowCreateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventNodeExecution; /** - * Verifies a WorkflowCreateResponse message. + * Verifies a CloudEventNodeExecution message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a Workflow. */ - interface IWorkflow { - - /** Workflow id */ - id?: (flyteidl.core.IIdentifier|null); + /** Properties of a CloudEventTaskExecution. */ + interface ICloudEventTaskExecution { - /** Workflow closure */ - closure?: (flyteidl.admin.IWorkflowClosure|null); + /** CloudEventTaskExecution rawEvent */ + rawEvent?: (flyteidl.event.ITaskExecutionEvent|null); - /** Workflow shortDescription */ - shortDescription?: (string|null); + /** CloudEventTaskExecution labels */ + labels?: ({ [k: string]: string }|null); } - /** Represents a Workflow. */ - class Workflow implements IWorkflow { + /** Represents a CloudEventTaskExecution. */ + class CloudEventTaskExecution implements ICloudEventTaskExecution { /** - * Constructs a new Workflow. + * Constructs a new CloudEventTaskExecution. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflow); - - /** Workflow id. */ - public id?: (flyteidl.core.IIdentifier|null); + constructor(properties?: flyteidl.event.ICloudEventTaskExecution); - /** Workflow closure. */ - public closure?: (flyteidl.admin.IWorkflowClosure|null); + /** CloudEventTaskExecution rawEvent. */ + public rawEvent?: (flyteidl.event.ITaskExecutionEvent|null); - /** Workflow shortDescription. */ - public shortDescription: string; + /** CloudEventTaskExecution labels. */ + public labels: { [k: string]: string }; /** - * Creates a new Workflow instance using the specified properties. + * Creates a new CloudEventTaskExecution instance using the specified properties. * @param [properties] Properties to set - * @returns Workflow instance + * @returns CloudEventTaskExecution instance */ - public static create(properties?: flyteidl.admin.IWorkflow): flyteidl.admin.Workflow; + public static create(properties?: flyteidl.event.ICloudEventTaskExecution): flyteidl.event.CloudEventTaskExecution; /** - * Encodes the specified Workflow message. Does not implicitly {@link flyteidl.admin.Workflow.verify|verify} messages. - * @param message Workflow message or plain object to encode + * Encodes the specified CloudEventTaskExecution message. Does not implicitly {@link flyteidl.event.CloudEventTaskExecution.verify|verify} messages. + * @param message CloudEventTaskExecution message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ICloudEventTaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a Workflow message from the specified reader or buffer. + * Decodes a CloudEventTaskExecution message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Workflow + * @returns CloudEventTaskExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Workflow; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventTaskExecution; /** - * Verifies a Workflow message. + * Verifies a CloudEventTaskExecution message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowList. */ - interface IWorkflowList { + /** Properties of a CloudEventExecutionStart. */ + interface ICloudEventExecutionStart { - /** WorkflowList workflows */ - workflows?: (flyteidl.admin.IWorkflow[]|null); + /** CloudEventExecutionStart executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** WorkflowList token */ - token?: (string|null); + /** CloudEventExecutionStart launchPlanId */ + launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart workflowId */ + workflowId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); + + /** CloudEventExecutionStart artifactTrackers */ + artifactTrackers?: (string[]|null); + + /** CloudEventExecutionStart principal */ + principal?: (string|null); } - /** Represents a WorkflowList. */ - class WorkflowList implements IWorkflowList { + /** Represents a CloudEventExecutionStart. */ + class CloudEventExecutionStart implements ICloudEventExecutionStart { /** - * Constructs a new WorkflowList. + * Constructs a new CloudEventExecutionStart. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowList); + constructor(properties?: flyteidl.event.ICloudEventExecutionStart); - /** WorkflowList workflows. */ - public workflows: flyteidl.admin.IWorkflow[]; + /** CloudEventExecutionStart executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** WorkflowList token. */ - public token: string; + /** CloudEventExecutionStart launchPlanId. */ + public launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart workflowId. */ + public workflowId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; + + /** CloudEventExecutionStart artifactTrackers. */ + public artifactTrackers: string[]; + + /** CloudEventExecutionStart principal. */ + public principal: string; /** - * Creates a new WorkflowList instance using the specified properties. + * Creates a new CloudEventExecutionStart instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowList instance + * @returns CloudEventExecutionStart instance */ - public static create(properties?: flyteidl.admin.IWorkflowList): flyteidl.admin.WorkflowList; + public static create(properties?: flyteidl.event.ICloudEventExecutionStart): flyteidl.event.CloudEventExecutionStart; /** - * Encodes the specified WorkflowList message. Does not implicitly {@link flyteidl.admin.WorkflowList.verify|verify} messages. - * @param message WorkflowList message or plain object to encode + * Encodes the specified CloudEventExecutionStart message. Does not implicitly {@link flyteidl.event.CloudEventExecutionStart.verify|verify} messages. + * @param message CloudEventExecutionStart message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowList, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ICloudEventExecutionStart, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowList message from the specified reader or buffer. + * Decodes a CloudEventExecutionStart message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowList + * @returns CloudEventExecutionStart * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowList; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventExecutionStart; /** - * Verifies a WorkflowList message. + * Verifies a CloudEventExecutionStart message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowSpec. */ - interface IWorkflowSpec { + /** Properties of a WorkflowExecutionEvent. */ + interface IWorkflowExecutionEvent { - /** WorkflowSpec template */ - template?: (flyteidl.core.IWorkflowTemplate|null); + /** WorkflowExecutionEvent executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** WorkflowSpec subWorkflows */ - subWorkflows?: (flyteidl.core.IWorkflowTemplate[]|null); + /** WorkflowExecutionEvent producerId */ + producerId?: (string|null); - /** WorkflowSpec description */ - description?: (flyteidl.admin.IDescriptionEntity|null); + /** WorkflowExecutionEvent phase */ + phase?: (flyteidl.core.WorkflowExecution.Phase|null); + + /** WorkflowExecutionEvent occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); + + /** WorkflowExecutionEvent outputUri */ + outputUri?: (string|null); + + /** WorkflowExecutionEvent error */ + error?: (flyteidl.core.IExecutionError|null); + + /** WorkflowExecutionEvent outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); } - /** Represents a WorkflowSpec. */ - class WorkflowSpec implements IWorkflowSpec { + /** Represents a WorkflowExecutionEvent. */ + class WorkflowExecutionEvent implements IWorkflowExecutionEvent { /** - * Constructs a new WorkflowSpec. + * Constructs a new WorkflowExecutionEvent. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowSpec); + constructor(properties?: flyteidl.event.IWorkflowExecutionEvent); - /** WorkflowSpec template. */ - public template?: (flyteidl.core.IWorkflowTemplate|null); + /** WorkflowExecutionEvent executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); - /** WorkflowSpec subWorkflows. */ - public subWorkflows: flyteidl.core.IWorkflowTemplate[]; + /** WorkflowExecutionEvent producerId. */ + public producerId: string; - /** WorkflowSpec description. */ - public description?: (flyteidl.admin.IDescriptionEntity|null); + /** WorkflowExecutionEvent phase. */ + public phase: flyteidl.core.WorkflowExecution.Phase; + + /** WorkflowExecutionEvent occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); + + /** WorkflowExecutionEvent outputUri. */ + public outputUri: string; + + /** WorkflowExecutionEvent error. */ + public error?: (flyteidl.core.IExecutionError|null); + + /** WorkflowExecutionEvent outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); + + /** WorkflowExecutionEvent outputResult. */ + public outputResult?: ("outputUri"|"error"|"outputData"); /** - * Creates a new WorkflowSpec instance using the specified properties. + * Creates a new WorkflowExecutionEvent instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowSpec instance + * @returns WorkflowExecutionEvent instance */ - public static create(properties?: flyteidl.admin.IWorkflowSpec): flyteidl.admin.WorkflowSpec; + public static create(properties?: flyteidl.event.IWorkflowExecutionEvent): flyteidl.event.WorkflowExecutionEvent; /** - * Encodes the specified WorkflowSpec message. Does not implicitly {@link flyteidl.admin.WorkflowSpec.verify|verify} messages. - * @param message WorkflowSpec message or plain object to encode + * Encodes the specified WorkflowExecutionEvent message. Does not implicitly {@link flyteidl.event.WorkflowExecutionEvent.verify|verify} messages. + * @param message WorkflowExecutionEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowSpec, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IWorkflowExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowSpec message from the specified reader or buffer. + * Decodes a WorkflowExecutionEvent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowSpec + * @returns WorkflowExecutionEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowSpec; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.WorkflowExecutionEvent; + + /** + * Verifies a WorkflowExecutionEvent message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a NodeExecutionEvent. */ + interface INodeExecutionEvent { + + /** NodeExecutionEvent id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** NodeExecutionEvent producerId */ + producerId?: (string|null); + + /** NodeExecutionEvent phase */ + phase?: (flyteidl.core.NodeExecution.Phase|null); + + /** NodeExecutionEvent occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionEvent inputUri */ + inputUri?: (string|null); + + /** NodeExecutionEvent inputData */ + inputData?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionEvent outputUri */ + outputUri?: (string|null); + + /** NodeExecutionEvent error */ + error?: (flyteidl.core.IExecutionError|null); + + /** NodeExecutionEvent outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionEvent workflowNodeMetadata */ + workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); + + /** NodeExecutionEvent taskNodeMetadata */ + taskNodeMetadata?: (flyteidl.event.ITaskNodeMetadata|null); + + /** NodeExecutionEvent parentTaskMetadata */ + parentTaskMetadata?: (flyteidl.event.IParentTaskExecutionMetadata|null); + + /** NodeExecutionEvent parentNodeMetadata */ + parentNodeMetadata?: (flyteidl.event.IParentNodeExecutionMetadata|null); + + /** NodeExecutionEvent retryGroup */ + retryGroup?: (string|null); + + /** NodeExecutionEvent specNodeId */ + specNodeId?: (string|null); + + /** NodeExecutionEvent nodeName */ + nodeName?: (string|null); + + /** NodeExecutionEvent eventVersion */ + eventVersion?: (number|null); + + /** NodeExecutionEvent isParent */ + isParent?: (boolean|null); + + /** NodeExecutionEvent isDynamic */ + isDynamic?: (boolean|null); + + /** NodeExecutionEvent deckUri */ + deckUri?: (string|null); + + /** NodeExecutionEvent reportedAt */ + reportedAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionEvent isArray */ + isArray?: (boolean|null); + + /** NodeExecutionEvent targetEntity */ + targetEntity?: (flyteidl.core.IIdentifier|null); + + /** NodeExecutionEvent isInDynamicChain */ + isInDynamicChain?: (boolean|null); + + /** NodeExecutionEvent isEager */ + isEager?: (boolean|null); + } + + /** Represents a NodeExecutionEvent. */ + class NodeExecutionEvent implements INodeExecutionEvent { + + /** + * Constructs a new NodeExecutionEvent. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.INodeExecutionEvent); + + /** NodeExecutionEvent id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** NodeExecutionEvent producerId. */ + public producerId: string; + + /** NodeExecutionEvent phase. */ + public phase: flyteidl.core.NodeExecution.Phase; + + /** NodeExecutionEvent occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionEvent inputUri. */ + public inputUri: string; + + /** NodeExecutionEvent inputData. */ + public inputData?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionEvent outputUri. */ + public outputUri: string; + + /** NodeExecutionEvent error. */ + public error?: (flyteidl.core.IExecutionError|null); + + /** NodeExecutionEvent outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionEvent workflowNodeMetadata. */ + public workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); + + /** NodeExecutionEvent taskNodeMetadata. */ + public taskNodeMetadata?: (flyteidl.event.ITaskNodeMetadata|null); + + /** NodeExecutionEvent parentTaskMetadata. */ + public parentTaskMetadata?: (flyteidl.event.IParentTaskExecutionMetadata|null); + + /** NodeExecutionEvent parentNodeMetadata. */ + public parentNodeMetadata?: (flyteidl.event.IParentNodeExecutionMetadata|null); + + /** NodeExecutionEvent retryGroup. */ + public retryGroup: string; + + /** NodeExecutionEvent specNodeId. */ + public specNodeId: string; + + /** NodeExecutionEvent nodeName. */ + public nodeName: string; + + /** NodeExecutionEvent eventVersion. */ + public eventVersion: number; + + /** NodeExecutionEvent isParent. */ + public isParent: boolean; + + /** NodeExecutionEvent isDynamic. */ + public isDynamic: boolean; + + /** NodeExecutionEvent deckUri. */ + public deckUri: string; - /** - * Verifies a WorkflowSpec message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - } + /** NodeExecutionEvent reportedAt. */ + public reportedAt?: (google.protobuf.ITimestamp|null); - /** Properties of a WorkflowClosure. */ - interface IWorkflowClosure { + /** NodeExecutionEvent isArray. */ + public isArray: boolean; - /** WorkflowClosure compiledWorkflow */ - compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** NodeExecutionEvent targetEntity. */ + public targetEntity?: (flyteidl.core.IIdentifier|null); - /** WorkflowClosure createdAt */ - createdAt?: (google.protobuf.ITimestamp|null); - } + /** NodeExecutionEvent isInDynamicChain. */ + public isInDynamicChain: boolean; - /** Represents a WorkflowClosure. */ - class WorkflowClosure implements IWorkflowClosure { + /** NodeExecutionEvent isEager. */ + public isEager: boolean; - /** - * Constructs a new WorkflowClosure. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IWorkflowClosure); + /** NodeExecutionEvent inputValue. */ + public inputValue?: ("inputUri"|"inputData"); - /** WorkflowClosure compiledWorkflow. */ - public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + /** NodeExecutionEvent outputResult. */ + public outputResult?: ("outputUri"|"error"|"outputData"); - /** WorkflowClosure createdAt. */ - public createdAt?: (google.protobuf.ITimestamp|null); + /** NodeExecutionEvent targetMetadata. */ + public targetMetadata?: ("workflowNodeMetadata"|"taskNodeMetadata"); /** - * Creates a new WorkflowClosure instance using the specified properties. + * Creates a new NodeExecutionEvent instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowClosure instance + * @returns NodeExecutionEvent instance */ - public static create(properties?: flyteidl.admin.IWorkflowClosure): flyteidl.admin.WorkflowClosure; + public static create(properties?: flyteidl.event.INodeExecutionEvent): flyteidl.event.NodeExecutionEvent; /** - * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.admin.WorkflowClosure.verify|verify} messages. - * @param message WorkflowClosure message or plain object to encode + * Encodes the specified NodeExecutionEvent message. Does not implicitly {@link flyteidl.event.NodeExecutionEvent.verify|verify} messages. + * @param message NodeExecutionEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowClosure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.INodeExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowClosure message from the specified reader or buffer. + * Decodes a NodeExecutionEvent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowClosure + * @returns NodeExecutionEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowClosure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.NodeExecutionEvent; /** - * Verifies a WorkflowClosure message. + * Verifies a NodeExecutionEvent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowErrorExistsDifferentStructure. */ - interface IWorkflowErrorExistsDifferentStructure { + /** Properties of a WorkflowNodeMetadata. */ + interface IWorkflowNodeMetadata { - /** WorkflowErrorExistsDifferentStructure id */ - id?: (flyteidl.core.IIdentifier|null); + /** WorkflowNodeMetadata executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); } - /** Represents a WorkflowErrorExistsDifferentStructure. */ - class WorkflowErrorExistsDifferentStructure implements IWorkflowErrorExistsDifferentStructure { + /** Represents a WorkflowNodeMetadata. */ + class WorkflowNodeMetadata implements IWorkflowNodeMetadata { /** - * Constructs a new WorkflowErrorExistsDifferentStructure. + * Constructs a new WorkflowNodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowErrorExistsDifferentStructure); + constructor(properties?: flyteidl.event.IWorkflowNodeMetadata); - /** WorkflowErrorExistsDifferentStructure id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** WorkflowNodeMetadata executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); /** - * Creates a new WorkflowErrorExistsDifferentStructure instance using the specified properties. + * Creates a new WorkflowNodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowErrorExistsDifferentStructure instance + * @returns WorkflowNodeMetadata instance */ - public static create(properties?: flyteidl.admin.IWorkflowErrorExistsDifferentStructure): flyteidl.admin.WorkflowErrorExistsDifferentStructure; + public static create(properties?: flyteidl.event.IWorkflowNodeMetadata): flyteidl.event.WorkflowNodeMetadata; /** - * Encodes the specified WorkflowErrorExistsDifferentStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsDifferentStructure.verify|verify} messages. - * @param message WorkflowErrorExistsDifferentStructure message or plain object to encode + * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.WorkflowNodeMetadata.verify|verify} messages. + * @param message WorkflowNodeMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowErrorExistsDifferentStructure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowErrorExistsDifferentStructure message from the specified reader or buffer. + * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowErrorExistsDifferentStructure + * @returns WorkflowNodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowErrorExistsDifferentStructure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.WorkflowNodeMetadata; /** - * Verifies a WorkflowErrorExistsDifferentStructure message. + * Verifies a WorkflowNodeMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowErrorExistsIdenticalStructure. */ - interface IWorkflowErrorExistsIdenticalStructure { + /** Properties of a TaskNodeMetadata. */ + interface ITaskNodeMetadata { - /** WorkflowErrorExistsIdenticalStructure id */ - id?: (flyteidl.core.IIdentifier|null); + /** TaskNodeMetadata cacheStatus */ + cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); + + /** TaskNodeMetadata catalogKey */ + catalogKey?: (flyteidl.core.ICatalogMetadata|null); + + /** TaskNodeMetadata reservationStatus */ + reservationStatus?: (flyteidl.core.CatalogReservation.Status|null); + + /** TaskNodeMetadata checkpointUri */ + checkpointUri?: (string|null); + + /** TaskNodeMetadata dynamicWorkflow */ + dynamicWorkflow?: (flyteidl.event.IDynamicWorkflowNodeMetadata|null); } - /** Represents a WorkflowErrorExistsIdenticalStructure. */ - class WorkflowErrorExistsIdenticalStructure implements IWorkflowErrorExistsIdenticalStructure { + /** Represents a TaskNodeMetadata. */ + class TaskNodeMetadata implements ITaskNodeMetadata { /** - * Constructs a new WorkflowErrorExistsIdenticalStructure. + * Constructs a new TaskNodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure); + constructor(properties?: flyteidl.event.ITaskNodeMetadata); - /** WorkflowErrorExistsIdenticalStructure id. */ - public id?: (flyteidl.core.IIdentifier|null); + /** TaskNodeMetadata cacheStatus. */ + public cacheStatus: flyteidl.core.CatalogCacheStatus; + + /** TaskNodeMetadata catalogKey. */ + public catalogKey?: (flyteidl.core.ICatalogMetadata|null); + + /** TaskNodeMetadata reservationStatus. */ + public reservationStatus: flyteidl.core.CatalogReservation.Status; + + /** TaskNodeMetadata checkpointUri. */ + public checkpointUri: string; + + /** TaskNodeMetadata dynamicWorkflow. */ + public dynamicWorkflow?: (flyteidl.event.IDynamicWorkflowNodeMetadata|null); /** - * Creates a new WorkflowErrorExistsIdenticalStructure instance using the specified properties. + * Creates a new TaskNodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowErrorExistsIdenticalStructure instance + * @returns TaskNodeMetadata instance */ - public static create(properties?: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure): flyteidl.admin.WorkflowErrorExistsIdenticalStructure; + public static create(properties?: flyteidl.event.ITaskNodeMetadata): flyteidl.event.TaskNodeMetadata; /** - * Encodes the specified WorkflowErrorExistsIdenticalStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsIdenticalStructure.verify|verify} messages. - * @param message WorkflowErrorExistsIdenticalStructure message or plain object to encode + * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.event.TaskNodeMetadata.verify|verify} messages. + * @param message TaskNodeMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ITaskNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowErrorExistsIdenticalStructure message from the specified reader or buffer. + * Decodes a TaskNodeMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowErrorExistsIdenticalStructure + * @returns TaskNodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowErrorExistsIdenticalStructure; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.TaskNodeMetadata; /** - * Verifies a WorkflowErrorExistsIdenticalStructure message. + * Verifies a TaskNodeMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a CreateWorkflowFailureReason. */ - interface ICreateWorkflowFailureReason { + /** Properties of a DynamicWorkflowNodeMetadata. */ + interface IDynamicWorkflowNodeMetadata { - /** CreateWorkflowFailureReason existsDifferentStructure */ - existsDifferentStructure?: (flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null); + /** DynamicWorkflowNodeMetadata id */ + id?: (flyteidl.core.IIdentifier|null); - /** CreateWorkflowFailureReason existsIdenticalStructure */ - existsIdenticalStructure?: (flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null); + /** DynamicWorkflowNodeMetadata compiledWorkflow */ + compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */ + dynamicJobSpecUri?: (string|null); } - /** Represents a CreateWorkflowFailureReason. */ - class CreateWorkflowFailureReason implements ICreateWorkflowFailureReason { + /** Represents a DynamicWorkflowNodeMetadata. */ + class DynamicWorkflowNodeMetadata implements IDynamicWorkflowNodeMetadata { /** - * Constructs a new CreateWorkflowFailureReason. + * Constructs a new DynamicWorkflowNodeMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.ICreateWorkflowFailureReason); + constructor(properties?: flyteidl.event.IDynamicWorkflowNodeMetadata); - /** CreateWorkflowFailureReason existsDifferentStructure. */ - public existsDifferentStructure?: (flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null); + /** DynamicWorkflowNodeMetadata id. */ + public id?: (flyteidl.core.IIdentifier|null); - /** CreateWorkflowFailureReason existsIdenticalStructure. */ - public existsIdenticalStructure?: (flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null); + /** DynamicWorkflowNodeMetadata compiledWorkflow. */ + public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); - /** CreateWorkflowFailureReason reason. */ - public reason?: ("existsDifferentStructure"|"existsIdenticalStructure"); + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */ + public dynamicJobSpecUri: string; /** - * Creates a new CreateWorkflowFailureReason instance using the specified properties. + * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns CreateWorkflowFailureReason instance + * @returns DynamicWorkflowNodeMetadata instance */ - public static create(properties?: flyteidl.admin.ICreateWorkflowFailureReason): flyteidl.admin.CreateWorkflowFailureReason; + public static create(properties?: flyteidl.event.IDynamicWorkflowNodeMetadata): flyteidl.event.DynamicWorkflowNodeMetadata; /** - * Encodes the specified CreateWorkflowFailureReason message. Does not implicitly {@link flyteidl.admin.CreateWorkflowFailureReason.verify|verify} messages. - * @param message CreateWorkflowFailureReason message or plain object to encode + * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.DynamicWorkflowNodeMetadata.verify|verify} messages. + * @param message DynamicWorkflowNodeMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.ICreateWorkflowFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IDynamicWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CreateWorkflowFailureReason message from the specified reader or buffer. + * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CreateWorkflowFailureReason + * @returns DynamicWorkflowNodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateWorkflowFailureReason; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.DynamicWorkflowNodeMetadata; /** - * Verifies a CreateWorkflowFailureReason message. + * Verifies a DynamicWorkflowNodeMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowAttributes. */ - interface IWorkflowAttributes { - - /** WorkflowAttributes project */ - project?: (string|null); - - /** WorkflowAttributes domain */ - domain?: (string|null); - - /** WorkflowAttributes workflow */ - workflow?: (string|null); - - /** WorkflowAttributes matchingAttributes */ - matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); - - /** WorkflowAttributes org */ - org?: (string|null); - } - - /** Represents a WorkflowAttributes. */ - class WorkflowAttributes implements IWorkflowAttributes { - - /** - * Constructs a new WorkflowAttributes. - * @param [properties] Properties to set - */ - constructor(properties?: flyteidl.admin.IWorkflowAttributes); - - /** WorkflowAttributes project. */ - public project: string; + /** Properties of a ParentTaskExecutionMetadata. */ + interface IParentTaskExecutionMetadata { - /** WorkflowAttributes domain. */ - public domain: string; + /** ParentTaskExecutionMetadata id */ + id?: (flyteidl.core.ITaskExecutionIdentifier|null); + } - /** WorkflowAttributes workflow. */ - public workflow: string; + /** Represents a ParentTaskExecutionMetadata. */ + class ParentTaskExecutionMetadata implements IParentTaskExecutionMetadata { - /** WorkflowAttributes matchingAttributes. */ - public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + /** + * Constructs a new ParentTaskExecutionMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.IParentTaskExecutionMetadata); - /** WorkflowAttributes org. */ - public org: string; + /** ParentTaskExecutionMetadata id. */ + public id?: (flyteidl.core.ITaskExecutionIdentifier|null); /** - * Creates a new WorkflowAttributes instance using the specified properties. + * Creates a new ParentTaskExecutionMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributes instance + * @returns ParentTaskExecutionMetadata instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributes): flyteidl.admin.WorkflowAttributes; + public static create(properties?: flyteidl.event.IParentTaskExecutionMetadata): flyteidl.event.ParentTaskExecutionMetadata; /** - * Encodes the specified WorkflowAttributes message. Does not implicitly {@link flyteidl.admin.WorkflowAttributes.verify|verify} messages. - * @param message WorkflowAttributes message or plain object to encode + * Encodes the specified ParentTaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentTaskExecutionMetadata.verify|verify} messages. + * @param message ParentTaskExecutionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IParentTaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributes message from the specified reader or buffer. + * Decodes a ParentTaskExecutionMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowAttributes + * @returns ParentTaskExecutionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributes; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.ParentTaskExecutionMetadata; /** - * Verifies a WorkflowAttributes message. + * Verifies a ParentTaskExecutionMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowAttributesUpdateRequest. */ - interface IWorkflowAttributesUpdateRequest { + /** Properties of a ParentNodeExecutionMetadata. */ + interface IParentNodeExecutionMetadata { - /** WorkflowAttributesUpdateRequest attributes */ - attributes?: (flyteidl.admin.IWorkflowAttributes|null); + /** ParentNodeExecutionMetadata nodeId */ + nodeId?: (string|null); } - /** Represents a WorkflowAttributesUpdateRequest. */ - class WorkflowAttributesUpdateRequest implements IWorkflowAttributesUpdateRequest { + /** Represents a ParentNodeExecutionMetadata. */ + class ParentNodeExecutionMetadata implements IParentNodeExecutionMetadata { /** - * Constructs a new WorkflowAttributesUpdateRequest. + * Constructs a new ParentNodeExecutionMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributesUpdateRequest); + constructor(properties?: flyteidl.event.IParentNodeExecutionMetadata); - /** WorkflowAttributesUpdateRequest attributes. */ - public attributes?: (flyteidl.admin.IWorkflowAttributes|null); + /** ParentNodeExecutionMetadata nodeId. */ + public nodeId: string; /** - * Creates a new WorkflowAttributesUpdateRequest instance using the specified properties. + * Creates a new ParentNodeExecutionMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributesUpdateRequest instance + * @returns ParentNodeExecutionMetadata instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributesUpdateRequest): flyteidl.admin.WorkflowAttributesUpdateRequest; + public static create(properties?: flyteidl.event.IParentNodeExecutionMetadata): flyteidl.event.ParentNodeExecutionMetadata; /** - * Encodes the specified WorkflowAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateRequest.verify|verify} messages. - * @param message WorkflowAttributesUpdateRequest message or plain object to encode + * Encodes the specified ParentNodeExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentNodeExecutionMetadata.verify|verify} messages. + * @param message ParentNodeExecutionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IParentNodeExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributesUpdateRequest message from the specified reader or buffer. + * Decodes a ParentNodeExecutionMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowAttributesUpdateRequest + * @returns ParentNodeExecutionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesUpdateRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.ParentNodeExecutionMetadata; /** - * Verifies a WorkflowAttributesUpdateRequest message. + * Verifies a ParentNodeExecutionMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowAttributesUpdateResponse. */ - interface IWorkflowAttributesUpdateResponse { + /** Properties of an EventReason. */ + interface IEventReason { + + /** EventReason reason */ + reason?: (string|null); + + /** EventReason occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); } - /** Represents a WorkflowAttributesUpdateResponse. */ - class WorkflowAttributesUpdateResponse implements IWorkflowAttributesUpdateResponse { + /** Represents an EventReason. */ + class EventReason implements IEventReason { /** - * Constructs a new WorkflowAttributesUpdateResponse. + * Constructs a new EventReason. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributesUpdateResponse); + constructor(properties?: flyteidl.event.IEventReason); + + /** EventReason reason. */ + public reason: string; + + /** EventReason occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); /** - * Creates a new WorkflowAttributesUpdateResponse instance using the specified properties. + * Creates a new EventReason instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributesUpdateResponse instance + * @returns EventReason instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributesUpdateResponse): flyteidl.admin.WorkflowAttributesUpdateResponse; + public static create(properties?: flyteidl.event.IEventReason): flyteidl.event.EventReason; /** - * Encodes the specified WorkflowAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateResponse.verify|verify} messages. - * @param message WorkflowAttributesUpdateResponse message or plain object to encode + * Encodes the specified EventReason message. Does not implicitly {@link flyteidl.event.EventReason.verify|verify} messages. + * @param message EventReason message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IEventReason, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributesUpdateResponse message from the specified reader or buffer. + * Decodes an EventReason message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowAttributesUpdateResponse + * @returns EventReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesUpdateResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.EventReason; /** - * Verifies a WorkflowAttributesUpdateResponse message. + * Verifies an EventReason message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowAttributesGetRequest. */ - interface IWorkflowAttributesGetRequest { + /** Properties of a TaskExecutionEvent. */ + interface ITaskExecutionEvent { - /** WorkflowAttributesGetRequest project */ - project?: (string|null); + /** TaskExecutionEvent taskId */ + taskId?: (flyteidl.core.IIdentifier|null); - /** WorkflowAttributesGetRequest domain */ - domain?: (string|null); + /** TaskExecutionEvent parentNodeExecutionId */ + parentNodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); - /** WorkflowAttributesGetRequest workflow */ - workflow?: (string|null); + /** TaskExecutionEvent retryAttempt */ + retryAttempt?: (number|null); - /** WorkflowAttributesGetRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** TaskExecutionEvent phase */ + phase?: (flyteidl.core.TaskExecution.Phase|null); - /** WorkflowAttributesGetRequest org */ - org?: (string|null); + /** TaskExecutionEvent producerId */ + producerId?: (string|null); + + /** TaskExecutionEvent logs */ + logs?: (flyteidl.core.ITaskLog[]|null); + + /** TaskExecutionEvent occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionEvent inputUri */ + inputUri?: (string|null); + + /** TaskExecutionEvent inputData */ + inputData?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionEvent outputUri */ + outputUri?: (string|null); + + /** TaskExecutionEvent error */ + error?: (flyteidl.core.IExecutionError|null); + + /** TaskExecutionEvent outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionEvent customInfo */ + customInfo?: (google.protobuf.IStruct|null); + + /** TaskExecutionEvent phaseVersion */ + phaseVersion?: (number|null); + + /** TaskExecutionEvent reason */ + reason?: (string|null); + + /** TaskExecutionEvent reasons */ + reasons?: (flyteidl.event.IEventReason[]|null); + + /** TaskExecutionEvent taskType */ + taskType?: (string|null); + + /** TaskExecutionEvent metadata */ + metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + + /** TaskExecutionEvent eventVersion */ + eventVersion?: (number|null); + + /** TaskExecutionEvent reportedAt */ + reportedAt?: (google.protobuf.ITimestamp|null); } - /** Represents a WorkflowAttributesGetRequest. */ - class WorkflowAttributesGetRequest implements IWorkflowAttributesGetRequest { + /** Represents a TaskExecutionEvent. */ + class TaskExecutionEvent implements ITaskExecutionEvent { /** - * Constructs a new WorkflowAttributesGetRequest. + * Constructs a new TaskExecutionEvent. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributesGetRequest); + constructor(properties?: flyteidl.event.ITaskExecutionEvent); - /** WorkflowAttributesGetRequest project. */ - public project: string; + /** TaskExecutionEvent taskId. */ + public taskId?: (flyteidl.core.IIdentifier|null); - /** WorkflowAttributesGetRequest domain. */ - public domain: string; + /** TaskExecutionEvent parentNodeExecutionId. */ + public parentNodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** TaskExecutionEvent retryAttempt. */ + public retryAttempt: number; + + /** TaskExecutionEvent phase. */ + public phase: flyteidl.core.TaskExecution.Phase; + + /** TaskExecutionEvent producerId. */ + public producerId: string; + + /** TaskExecutionEvent logs. */ + public logs: flyteidl.core.ITaskLog[]; + + /** TaskExecutionEvent occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionEvent inputUri. */ + public inputUri: string; + + /** TaskExecutionEvent inputData. */ + public inputData?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionEvent outputUri. */ + public outputUri: string; + + /** TaskExecutionEvent error. */ + public error?: (flyteidl.core.IExecutionError|null); + + /** TaskExecutionEvent outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionEvent customInfo. */ + public customInfo?: (google.protobuf.IStruct|null); + + /** TaskExecutionEvent phaseVersion. */ + public phaseVersion: number; + + /** TaskExecutionEvent reason. */ + public reason: string; + + /** TaskExecutionEvent reasons. */ + public reasons: flyteidl.event.IEventReason[]; + + /** TaskExecutionEvent taskType. */ + public taskType: string; + + /** TaskExecutionEvent metadata. */ + public metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + + /** TaskExecutionEvent eventVersion. */ + public eventVersion: number; - /** WorkflowAttributesGetRequest workflow. */ - public workflow: string; + /** TaskExecutionEvent reportedAt. */ + public reportedAt?: (google.protobuf.ITimestamp|null); - /** WorkflowAttributesGetRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + /** TaskExecutionEvent inputValue. */ + public inputValue?: ("inputUri"|"inputData"); - /** WorkflowAttributesGetRequest org. */ - public org: string; + /** TaskExecutionEvent outputResult. */ + public outputResult?: ("outputUri"|"error"|"outputData"); /** - * Creates a new WorkflowAttributesGetRequest instance using the specified properties. + * Creates a new TaskExecutionEvent instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributesGetRequest instance + * @returns TaskExecutionEvent instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributesGetRequest): flyteidl.admin.WorkflowAttributesGetRequest; + public static create(properties?: flyteidl.event.ITaskExecutionEvent): flyteidl.event.TaskExecutionEvent; /** - * Encodes the specified WorkflowAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetRequest.verify|verify} messages. - * @param message WorkflowAttributesGetRequest message or plain object to encode + * Encodes the specified TaskExecutionEvent message. Does not implicitly {@link flyteidl.event.TaskExecutionEvent.verify|verify} messages. + * @param message TaskExecutionEvent message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ITaskExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributesGetRequest message from the specified reader or buffer. + * Decodes a TaskExecutionEvent message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowAttributesGetRequest + * @returns TaskExecutionEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesGetRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.TaskExecutionEvent; /** - * Verifies a WorkflowAttributesGetRequest message. + * Verifies a TaskExecutionEvent message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowAttributesGetResponse. */ - interface IWorkflowAttributesGetResponse { + /** Properties of an ExternalResourceInfo. */ + interface IExternalResourceInfo { - /** WorkflowAttributesGetResponse attributes */ - attributes?: (flyteidl.admin.IWorkflowAttributes|null); + /** ExternalResourceInfo externalId */ + externalId?: (string|null); + + /** ExternalResourceInfo index */ + index?: (number|null); + + /** ExternalResourceInfo retryAttempt */ + retryAttempt?: (number|null); + + /** ExternalResourceInfo phase */ + phase?: (flyteidl.core.TaskExecution.Phase|null); + + /** ExternalResourceInfo cacheStatus */ + cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); + + /** ExternalResourceInfo logs */ + logs?: (flyteidl.core.ITaskLog[]|null); + + /** ExternalResourceInfo workflowNodeMetadata */ + workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); + + /** ExternalResourceInfo customInfo */ + customInfo?: (google.protobuf.IStruct|null); } - /** Represents a WorkflowAttributesGetResponse. */ - class WorkflowAttributesGetResponse implements IWorkflowAttributesGetResponse { + /** Represents an ExternalResourceInfo. */ + class ExternalResourceInfo implements IExternalResourceInfo { /** - * Constructs a new WorkflowAttributesGetResponse. + * Constructs a new ExternalResourceInfo. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributesGetResponse); + constructor(properties?: flyteidl.event.IExternalResourceInfo); - /** WorkflowAttributesGetResponse attributes. */ - public attributes?: (flyteidl.admin.IWorkflowAttributes|null); + /** ExternalResourceInfo externalId. */ + public externalId: string; + + /** ExternalResourceInfo index. */ + public index: number; + + /** ExternalResourceInfo retryAttempt. */ + public retryAttempt: number; + + /** ExternalResourceInfo phase. */ + public phase: flyteidl.core.TaskExecution.Phase; + + /** ExternalResourceInfo cacheStatus. */ + public cacheStatus: flyteidl.core.CatalogCacheStatus; + + /** ExternalResourceInfo logs. */ + public logs: flyteidl.core.ITaskLog[]; + + /** ExternalResourceInfo workflowNodeMetadata. */ + public workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); + + /** ExternalResourceInfo customInfo. */ + public customInfo?: (google.protobuf.IStruct|null); + + /** ExternalResourceInfo targetMetadata. */ + public targetMetadata?: "workflowNodeMetadata"; /** - * Creates a new WorkflowAttributesGetResponse instance using the specified properties. + * Creates a new ExternalResourceInfo instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributesGetResponse instance + * @returns ExternalResourceInfo instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributesGetResponse): flyteidl.admin.WorkflowAttributesGetResponse; + public static create(properties?: flyteidl.event.IExternalResourceInfo): flyteidl.event.ExternalResourceInfo; /** - * Encodes the specified WorkflowAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetResponse.verify|verify} messages. - * @param message WorkflowAttributesGetResponse message or plain object to encode + * Encodes the specified ExternalResourceInfo message. Does not implicitly {@link flyteidl.event.ExternalResourceInfo.verify|verify} messages. + * @param message ExternalResourceInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IExternalResourceInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributesGetResponse message from the specified reader or buffer. + * Decodes an ExternalResourceInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowAttributesGetResponse + * @returns ExternalResourceInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesGetResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.ExternalResourceInfo; /** - * Verifies a WorkflowAttributesGetResponse message. + * Verifies an ExternalResourceInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowAttributesDeleteRequest. */ - interface IWorkflowAttributesDeleteRequest { - - /** WorkflowAttributesDeleteRequest project */ - project?: (string|null); - - /** WorkflowAttributesDeleteRequest domain */ - domain?: (string|null); - - /** WorkflowAttributesDeleteRequest workflow */ - workflow?: (string|null); + /** Properties of a ResourcePoolInfo. */ + interface IResourcePoolInfo { - /** WorkflowAttributesDeleteRequest resourceType */ - resourceType?: (flyteidl.admin.MatchableResource|null); + /** ResourcePoolInfo allocationToken */ + allocationToken?: (string|null); - /** WorkflowAttributesDeleteRequest org */ - org?: (string|null); + /** ResourcePoolInfo namespace */ + namespace?: (string|null); } - /** Represents a WorkflowAttributesDeleteRequest. */ - class WorkflowAttributesDeleteRequest implements IWorkflowAttributesDeleteRequest { + /** Represents a ResourcePoolInfo. */ + class ResourcePoolInfo implements IResourcePoolInfo { /** - * Constructs a new WorkflowAttributesDeleteRequest. + * Constructs a new ResourcePoolInfo. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributesDeleteRequest); - - /** WorkflowAttributesDeleteRequest project. */ - public project: string; - - /** WorkflowAttributesDeleteRequest domain. */ - public domain: string; - - /** WorkflowAttributesDeleteRequest workflow. */ - public workflow: string; + constructor(properties?: flyteidl.event.IResourcePoolInfo); - /** WorkflowAttributesDeleteRequest resourceType. */ - public resourceType: flyteidl.admin.MatchableResource; + /** ResourcePoolInfo allocationToken. */ + public allocationToken: string; - /** WorkflowAttributesDeleteRequest org. */ - public org: string; + /** ResourcePoolInfo namespace. */ + public namespace: string; /** - * Creates a new WorkflowAttributesDeleteRequest instance using the specified properties. + * Creates a new ResourcePoolInfo instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributesDeleteRequest instance + * @returns ResourcePoolInfo instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributesDeleteRequest): flyteidl.admin.WorkflowAttributesDeleteRequest; + public static create(properties?: flyteidl.event.IResourcePoolInfo): flyteidl.event.ResourcePoolInfo; /** - * Encodes the specified WorkflowAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteRequest.verify|verify} messages. - * @param message WorkflowAttributesDeleteRequest message or plain object to encode + * Encodes the specified ResourcePoolInfo message. Does not implicitly {@link flyteidl.event.ResourcePoolInfo.verify|verify} messages. + * @param message ResourcePoolInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.IResourcePoolInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributesDeleteRequest message from the specified reader or buffer. + * Decodes a ResourcePoolInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowAttributesDeleteRequest + * @returns ResourcePoolInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesDeleteRequest; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.ResourcePoolInfo; /** - * Verifies a WorkflowAttributesDeleteRequest message. + * Verifies a ResourcePoolInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a WorkflowAttributesDeleteResponse. */ - interface IWorkflowAttributesDeleteResponse { + /** Properties of a TaskExecutionMetadata. */ + interface ITaskExecutionMetadata { + + /** TaskExecutionMetadata generatedName */ + generatedName?: (string|null); + + /** TaskExecutionMetadata externalResources */ + externalResources?: (flyteidl.event.IExternalResourceInfo[]|null); + + /** TaskExecutionMetadata resourcePoolInfo */ + resourcePoolInfo?: (flyteidl.event.IResourcePoolInfo[]|null); + + /** TaskExecutionMetadata pluginIdentifier */ + pluginIdentifier?: (string|null); + + /** TaskExecutionMetadata instanceClass */ + instanceClass?: (flyteidl.event.TaskExecutionMetadata.InstanceClass|null); } - /** Represents a WorkflowAttributesDeleteResponse. */ - class WorkflowAttributesDeleteResponse implements IWorkflowAttributesDeleteResponse { + /** Represents a TaskExecutionMetadata. */ + class TaskExecutionMetadata implements ITaskExecutionMetadata { /** - * Constructs a new WorkflowAttributesDeleteResponse. + * Constructs a new TaskExecutionMetadata. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.admin.IWorkflowAttributesDeleteResponse); + constructor(properties?: flyteidl.event.ITaskExecutionMetadata); + + /** TaskExecutionMetadata generatedName. */ + public generatedName: string; + + /** TaskExecutionMetadata externalResources. */ + public externalResources: flyteidl.event.IExternalResourceInfo[]; + + /** TaskExecutionMetadata resourcePoolInfo. */ + public resourcePoolInfo: flyteidl.event.IResourcePoolInfo[]; + + /** TaskExecutionMetadata pluginIdentifier. */ + public pluginIdentifier: string; + + /** TaskExecutionMetadata instanceClass. */ + public instanceClass: flyteidl.event.TaskExecutionMetadata.InstanceClass; /** - * Creates a new WorkflowAttributesDeleteResponse instance using the specified properties. + * Creates a new TaskExecutionMetadata instance using the specified properties. * @param [properties] Properties to set - * @returns WorkflowAttributesDeleteResponse instance + * @returns TaskExecutionMetadata instance */ - public static create(properties?: flyteidl.admin.IWorkflowAttributesDeleteResponse): flyteidl.admin.WorkflowAttributesDeleteResponse; + public static create(properties?: flyteidl.event.ITaskExecutionMetadata): flyteidl.event.TaskExecutionMetadata; /** - * Encodes the specified WorkflowAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteResponse.verify|verify} messages. - * @param message WorkflowAttributesDeleteResponse message or plain object to encode + * Encodes the specified TaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.TaskExecutionMetadata.verify|verify} messages. + * @param message TaskExecutionMetadata message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.admin.IWorkflowAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.event.ITaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a WorkflowAttributesDeleteResponse message from the specified reader or buffer. + * Decodes a TaskExecutionMetadata message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns WorkflowAttributesDeleteResponse + * @returns TaskExecutionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowAttributesDeleteResponse; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.TaskExecutionMetadata; /** - * Verifies a WorkflowAttributesDeleteResponse message. + * Verifies a TaskExecutionMetadata message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } + + namespace TaskExecutionMetadata { + + /** InstanceClass enum. */ + enum InstanceClass { + DEFAULT = 0, + INTERRUPTIBLE = 1 + } + } } /** Namespace service. */ diff --git a/flyteidl/gen/pb-js/flyteidl.js b/flyteidl/gen/pb-js/flyteidl.js index b23d7f5e01..0b38d4aace 100644 --- a/flyteidl/gen/pb-js/flyteidl.js +++ b/flyteidl/gen/pb-js/flyteidl.js @@ -11296,6 +11296,8 @@ * @property {boolean|null} [cacheable] NodeMetadata cacheable * @property {string|null} [cacheVersion] NodeMetadata cacheVersion * @property {boolean|null} [cacheSerializable] NodeMetadata cacheSerializable + * @property {flyteidl.admin.ILabels|null} [labels] NodeMetadata labels + * @property {flyteidl.admin.IAnnotations|null} [annotations] NodeMetadata annotations */ /** @@ -11369,6 +11371,22 @@ */ NodeMetadata.prototype.cacheSerializable = false; + /** + * NodeMetadata labels. + * @member {flyteidl.admin.ILabels|null|undefined} labels + * @memberof flyteidl.core.NodeMetadata + * @instance + */ + NodeMetadata.prototype.labels = null; + + /** + * NodeMetadata annotations. + * @member {flyteidl.admin.IAnnotations|null|undefined} annotations + * @memberof flyteidl.core.NodeMetadata + * @instance + */ + NodeMetadata.prototype.annotations = null; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -11454,6 +11472,10 @@ writer.uint32(/* id 8, wireType 2 =*/66).string(message.cacheVersion); if (message.cacheSerializable != null && message.hasOwnProperty("cacheSerializable")) writer.uint32(/* id 9, wireType 0 =*/72).bool(message.cacheSerializable); + if (message.labels != null && message.hasOwnProperty("labels")) + $root.flyteidl.admin.Labels.encode(message.labels, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.annotations != null && message.hasOwnProperty("annotations")) + $root.flyteidl.admin.Annotations.encode(message.annotations, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); return writer; }; @@ -11496,6 +11518,12 @@ case 9: message.cacheSerializable = reader.bool(); break; + case 10: + message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32()); + break; + case 11: + message.annotations = $root.flyteidl.admin.Annotations.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -11549,6 +11577,16 @@ if (typeof message.cacheSerializable !== "boolean") return "cacheSerializable: boolean expected"; } + if (message.labels != null && message.hasOwnProperty("labels")) { + var error = $root.flyteidl.admin.Labels.verify(message.labels); + if (error) + return "labels." + error; + } + if (message.annotations != null && message.hasOwnProperty("annotations")) { + var error = $root.flyteidl.admin.Annotations.verify(message.annotations); + if (error) + return "annotations." + error; + } return null; }; @@ -19618,41 +19656,36 @@ return core; })(); - flyteidl.event = (function() { + flyteidl.admin = (function() { /** - * Namespace event. + * Namespace admin. * @memberof flyteidl * @namespace */ - var event = {}; + var admin = {}; - event.CloudEventWorkflowExecution = (function() { + admin.NamedEntityIdentifier = (function() { /** - * Properties of a CloudEventWorkflowExecution. - * @memberof flyteidl.event - * @interface ICloudEventWorkflowExecution - * @property {flyteidl.event.IWorkflowExecutionEvent|null} [rawEvent] CloudEventWorkflowExecution rawEvent - * @property {flyteidl.core.ITypedInterface|null} [outputInterface] CloudEventWorkflowExecution outputInterface - * @property {Array.|null} [artifactIds] CloudEventWorkflowExecution artifactIds - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [referenceExecution] CloudEventWorkflowExecution referenceExecution - * @property {string|null} [principal] CloudEventWorkflowExecution principal - * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventWorkflowExecution launchPlanId - * @property {Object.|null} [labels] CloudEventWorkflowExecution labels + * Properties of a NamedEntityIdentifier. + * @memberof flyteidl.admin + * @interface INamedEntityIdentifier + * @property {string|null} [project] NamedEntityIdentifier project + * @property {string|null} [domain] NamedEntityIdentifier domain + * @property {string|null} [name] NamedEntityIdentifier name + * @property {string|null} [org] NamedEntityIdentifier org */ /** - * Constructs a new CloudEventWorkflowExecution. - * @memberof flyteidl.event - * @classdesc Represents a CloudEventWorkflowExecution. - * @implements ICloudEventWorkflowExecution + * Constructs a new NamedEntityIdentifier. + * @memberof flyteidl.admin + * @classdesc Represents a NamedEntityIdentifier. + * @implements INamedEntityIdentifier * @constructor - * @param {flyteidl.event.ICloudEventWorkflowExecution=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityIdentifier=} [properties] Properties to set */ - function CloudEventWorkflowExecution(properties) { - this.artifactIds = []; - this.labels = {}; + function NamedEntityIdentifier(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -19660,149 +19693,101 @@ } /** - * CloudEventWorkflowExecution rawEvent. - * @member {flyteidl.event.IWorkflowExecutionEvent|null|undefined} rawEvent - * @memberof flyteidl.event.CloudEventWorkflowExecution - * @instance - */ - CloudEventWorkflowExecution.prototype.rawEvent = null; - - /** - * CloudEventWorkflowExecution outputInterface. - * @member {flyteidl.core.ITypedInterface|null|undefined} outputInterface - * @memberof flyteidl.event.CloudEventWorkflowExecution - * @instance - */ - CloudEventWorkflowExecution.prototype.outputInterface = null; - - /** - * CloudEventWorkflowExecution artifactIds. - * @member {Array.} artifactIds - * @memberof flyteidl.event.CloudEventWorkflowExecution - * @instance - */ - CloudEventWorkflowExecution.prototype.artifactIds = $util.emptyArray; - - /** - * CloudEventWorkflowExecution referenceExecution. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} referenceExecution - * @memberof flyteidl.event.CloudEventWorkflowExecution + * NamedEntityIdentifier project. + * @member {string} project + * @memberof flyteidl.admin.NamedEntityIdentifier * @instance */ - CloudEventWorkflowExecution.prototype.referenceExecution = null; + NamedEntityIdentifier.prototype.project = ""; /** - * CloudEventWorkflowExecution principal. - * @member {string} principal - * @memberof flyteidl.event.CloudEventWorkflowExecution + * NamedEntityIdentifier domain. + * @member {string} domain + * @memberof flyteidl.admin.NamedEntityIdentifier * @instance */ - CloudEventWorkflowExecution.prototype.principal = ""; + NamedEntityIdentifier.prototype.domain = ""; /** - * CloudEventWorkflowExecution launchPlanId. - * @member {flyteidl.core.IIdentifier|null|undefined} launchPlanId - * @memberof flyteidl.event.CloudEventWorkflowExecution + * NamedEntityIdentifier name. + * @member {string} name + * @memberof flyteidl.admin.NamedEntityIdentifier * @instance */ - CloudEventWorkflowExecution.prototype.launchPlanId = null; + NamedEntityIdentifier.prototype.name = ""; /** - * CloudEventWorkflowExecution labels. - * @member {Object.} labels - * @memberof flyteidl.event.CloudEventWorkflowExecution + * NamedEntityIdentifier org. + * @member {string} org + * @memberof flyteidl.admin.NamedEntityIdentifier * @instance */ - CloudEventWorkflowExecution.prototype.labels = $util.emptyObject; + NamedEntityIdentifier.prototype.org = ""; /** - * Creates a new CloudEventWorkflowExecution instance using the specified properties. + * Creates a new NamedEntityIdentifier instance using the specified properties. * @function create - * @memberof flyteidl.event.CloudEventWorkflowExecution + * @memberof flyteidl.admin.NamedEntityIdentifier * @static - * @param {flyteidl.event.ICloudEventWorkflowExecution=} [properties] Properties to set - * @returns {flyteidl.event.CloudEventWorkflowExecution} CloudEventWorkflowExecution instance + * @param {flyteidl.admin.INamedEntityIdentifier=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityIdentifier} NamedEntityIdentifier instance */ - CloudEventWorkflowExecution.create = function create(properties) { - return new CloudEventWorkflowExecution(properties); + NamedEntityIdentifier.create = function create(properties) { + return new NamedEntityIdentifier(properties); }; /** - * Encodes the specified CloudEventWorkflowExecution message. Does not implicitly {@link flyteidl.event.CloudEventWorkflowExecution.verify|verify} messages. + * Encodes the specified NamedEntityIdentifier message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifier.verify|verify} messages. * @function encode - * @memberof flyteidl.event.CloudEventWorkflowExecution + * @memberof flyteidl.admin.NamedEntityIdentifier * @static - * @param {flyteidl.event.ICloudEventWorkflowExecution} message CloudEventWorkflowExecution message or plain object to encode + * @param {flyteidl.admin.INamedEntityIdentifier} message NamedEntityIdentifier message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CloudEventWorkflowExecution.encode = function encode(message, writer) { + NamedEntityIdentifier.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) - $root.flyteidl.event.WorkflowExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) - $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.artifactIds != null && message.artifactIds.length) - for (var i = 0; i < message.artifactIds.length; ++i) - $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.referenceExecution, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.principal != null && message.hasOwnProperty("principal")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.principal); - if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) - $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.labels != null && message.hasOwnProperty("labels")) - for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) - writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.name); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.org); return writer; }; /** - * Decodes a CloudEventWorkflowExecution message from the specified reader or buffer. + * Decodes a NamedEntityIdentifier message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.CloudEventWorkflowExecution + * @memberof flyteidl.admin.NamedEntityIdentifier * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.CloudEventWorkflowExecution} CloudEventWorkflowExecution + * @returns {flyteidl.admin.NamedEntityIdentifier} NamedEntityIdentifier * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CloudEventWorkflowExecution.decode = function decode(reader, length) { + NamedEntityIdentifier.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventWorkflowExecution(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityIdentifier(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.rawEvent = $root.flyteidl.event.WorkflowExecutionEvent.decode(reader, reader.uint32()); + message.project = reader.string(); break; case 2: - message.outputInterface = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); + message.domain = reader.string(); break; case 3: - if (!(message.artifactIds && message.artifactIds.length)) - message.artifactIds = []; - message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); + message.name = reader.string(); break; case 4: - message.referenceExecution = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 5: - message.principal = reader.string(); - break; - case 6: - message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 7: - reader.skip().pos++; - if (message.labels === $util.emptyObject) - message.labels = {}; - key = reader.string(); - reader.pos++; - message.labels[key] = reader.string(); + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -19813,88 +19798,69 @@ }; /** - * Verifies a CloudEventWorkflowExecution message. + * Verifies a NamedEntityIdentifier message. * @function verify - * @memberof flyteidl.event.CloudEventWorkflowExecution + * @memberof flyteidl.admin.NamedEntityIdentifier * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CloudEventWorkflowExecution.verify = function verify(message) { + NamedEntityIdentifier.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) { - var error = $root.flyteidl.event.WorkflowExecutionEvent.verify(message.rawEvent); - if (error) - return "rawEvent." + error; - } - if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) { - var error = $root.flyteidl.core.TypedInterface.verify(message.outputInterface); - if (error) - return "outputInterface." + error; - } - if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { - if (!Array.isArray(message.artifactIds)) - return "artifactIds: array expected"; - for (var i = 0; i < message.artifactIds.length; ++i) { - var error = $root.flyteidl.core.ArtifactID.verify(message.artifactIds[i]); - if (error) - return "artifactIds." + error; - } - } - if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.referenceExecution); - if (error) - return "referenceExecution." + error; - } - if (message.principal != null && message.hasOwnProperty("principal")) - if (!$util.isString(message.principal)) - return "principal: string expected"; - if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) { - var error = $root.flyteidl.core.Identifier.verify(message.launchPlanId); - if (error) - return "launchPlanId." + error; - } - if (message.labels != null && message.hasOwnProperty("labels")) { - if (!$util.isObject(message.labels)) - return "labels: object expected"; - var key = Object.keys(message.labels); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.labels[key[i]])) - return "labels: string{k:string} expected"; - } + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return CloudEventWorkflowExecution; + return NamedEntityIdentifier; })(); - event.CloudEventNodeExecution = (function() { + /** + * NamedEntityState enum. + * @name flyteidl.admin.NamedEntityState + * @enum {string} + * @property {number} NAMED_ENTITY_ACTIVE=0 NAMED_ENTITY_ACTIVE value + * @property {number} NAMED_ENTITY_ARCHIVED=1 NAMED_ENTITY_ARCHIVED value + * @property {number} SYSTEM_GENERATED=2 SYSTEM_GENERATED value + */ + admin.NamedEntityState = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "NAMED_ENTITY_ACTIVE"] = 0; + values[valuesById[1] = "NAMED_ENTITY_ARCHIVED"] = 1; + values[valuesById[2] = "SYSTEM_GENERATED"] = 2; + return values; + })(); + + admin.NamedEntityMetadata = (function() { /** - * Properties of a CloudEventNodeExecution. - * @memberof flyteidl.event - * @interface ICloudEventNodeExecution - * @property {flyteidl.event.INodeExecutionEvent|null} [rawEvent] CloudEventNodeExecution rawEvent - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecId] CloudEventNodeExecution taskExecId - * @property {flyteidl.core.ITypedInterface|null} [outputInterface] CloudEventNodeExecution outputInterface - * @property {Array.|null} [artifactIds] CloudEventNodeExecution artifactIds - * @property {string|null} [principal] CloudEventNodeExecution principal - * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventNodeExecution launchPlanId - * @property {Object.|null} [labels] CloudEventNodeExecution labels + * Properties of a NamedEntityMetadata. + * @memberof flyteidl.admin + * @interface INamedEntityMetadata + * @property {string|null} [description] NamedEntityMetadata description + * @property {flyteidl.admin.NamedEntityState|null} [state] NamedEntityMetadata state */ /** - * Constructs a new CloudEventNodeExecution. - * @memberof flyteidl.event - * @classdesc Represents a CloudEventNodeExecution. - * @implements ICloudEventNodeExecution + * Constructs a new NamedEntityMetadata. + * @memberof flyteidl.admin + * @classdesc Represents a NamedEntityMetadata. + * @implements INamedEntityMetadata * @constructor - * @param {flyteidl.event.ICloudEventNodeExecution=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityMetadata=} [properties] Properties to set */ - function CloudEventNodeExecution(properties) { - this.artifactIds = []; - this.labels = {}; + function NamedEntityMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -19902,149 +19868,75 @@ } /** - * CloudEventNodeExecution rawEvent. - * @member {flyteidl.event.INodeExecutionEvent|null|undefined} rawEvent - * @memberof flyteidl.event.CloudEventNodeExecution - * @instance - */ - CloudEventNodeExecution.prototype.rawEvent = null; - - /** - * CloudEventNodeExecution taskExecId. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecId - * @memberof flyteidl.event.CloudEventNodeExecution - * @instance - */ - CloudEventNodeExecution.prototype.taskExecId = null; - - /** - * CloudEventNodeExecution outputInterface. - * @member {flyteidl.core.ITypedInterface|null|undefined} outputInterface - * @memberof flyteidl.event.CloudEventNodeExecution - * @instance - */ - CloudEventNodeExecution.prototype.outputInterface = null; - - /** - * CloudEventNodeExecution artifactIds. - * @member {Array.} artifactIds - * @memberof flyteidl.event.CloudEventNodeExecution - * @instance - */ - CloudEventNodeExecution.prototype.artifactIds = $util.emptyArray; - - /** - * CloudEventNodeExecution principal. - * @member {string} principal - * @memberof flyteidl.event.CloudEventNodeExecution - * @instance - */ - CloudEventNodeExecution.prototype.principal = ""; - - /** - * CloudEventNodeExecution launchPlanId. - * @member {flyteidl.core.IIdentifier|null|undefined} launchPlanId - * @memberof flyteidl.event.CloudEventNodeExecution + * NamedEntityMetadata description. + * @member {string} description + * @memberof flyteidl.admin.NamedEntityMetadata * @instance */ - CloudEventNodeExecution.prototype.launchPlanId = null; + NamedEntityMetadata.prototype.description = ""; /** - * CloudEventNodeExecution labels. - * @member {Object.} labels - * @memberof flyteidl.event.CloudEventNodeExecution + * NamedEntityMetadata state. + * @member {flyteidl.admin.NamedEntityState} state + * @memberof flyteidl.admin.NamedEntityMetadata * @instance */ - CloudEventNodeExecution.prototype.labels = $util.emptyObject; + NamedEntityMetadata.prototype.state = 0; /** - * Creates a new CloudEventNodeExecution instance using the specified properties. + * Creates a new NamedEntityMetadata instance using the specified properties. * @function create - * @memberof flyteidl.event.CloudEventNodeExecution + * @memberof flyteidl.admin.NamedEntityMetadata * @static - * @param {flyteidl.event.ICloudEventNodeExecution=} [properties] Properties to set - * @returns {flyteidl.event.CloudEventNodeExecution} CloudEventNodeExecution instance + * @param {flyteidl.admin.INamedEntityMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityMetadata} NamedEntityMetadata instance */ - CloudEventNodeExecution.create = function create(properties) { - return new CloudEventNodeExecution(properties); + NamedEntityMetadata.create = function create(properties) { + return new NamedEntityMetadata(properties); }; /** - * Encodes the specified CloudEventNodeExecution message. Does not implicitly {@link flyteidl.event.CloudEventNodeExecution.verify|verify} messages. + * Encodes the specified NamedEntityMetadata message. Does not implicitly {@link flyteidl.admin.NamedEntityMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.event.CloudEventNodeExecution + * @memberof flyteidl.admin.NamedEntityMetadata * @static - * @param {flyteidl.event.ICloudEventNodeExecution} message CloudEventNodeExecution message or plain object to encode + * @param {flyteidl.admin.INamedEntityMetadata} message NamedEntityMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CloudEventNodeExecution.encode = function encode(message, writer) { + NamedEntityMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) - $root.flyteidl.event.NodeExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.taskExecId != null && message.hasOwnProperty("taskExecId")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskExecId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) - $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.artifactIds != null && message.artifactIds.length) - for (var i = 0; i < message.artifactIds.length; ++i) - $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.principal != null && message.hasOwnProperty("principal")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.principal); - if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) - $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.labels != null && message.hasOwnProperty("labels")) - for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) - writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); + if (message.description != null && message.hasOwnProperty("description")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.description); + if (message.state != null && message.hasOwnProperty("state")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.state); return writer; }; /** - * Decodes a CloudEventNodeExecution message from the specified reader or buffer. + * Decodes a NamedEntityMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.CloudEventNodeExecution + * @memberof flyteidl.admin.NamedEntityMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.CloudEventNodeExecution} CloudEventNodeExecution + * @returns {flyteidl.admin.NamedEntityMetadata} NamedEntityMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CloudEventNodeExecution.decode = function decode(reader, length) { + NamedEntityMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventNodeExecution(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.rawEvent = $root.flyteidl.event.NodeExecutionEvent.decode(reader, reader.uint32()); + message.description = reader.string(); break; case 2: - message.taskExecId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 3: - message.outputInterface = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); - break; - case 4: - if (!(message.artifactIds && message.artifactIds.length)) - message.artifactIds = []; - message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); - break; - case 5: - message.principal = reader.string(); - break; - case 6: - message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 7: - reader.skip().pos++; - if (message.labels === $util.emptyObject) - message.labels = {}; - key = reader.string(); - reader.pos++; - message.labels[key] = reader.string(); + message.state = reader.int32(); break; default: reader.skipType(tag & 7); @@ -20055,82 +19947,54 @@ }; /** - * Verifies a CloudEventNodeExecution message. + * Verifies a NamedEntityMetadata message. * @function verify - * @memberof flyteidl.event.CloudEventNodeExecution + * @memberof flyteidl.admin.NamedEntityMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CloudEventNodeExecution.verify = function verify(message) { + NamedEntityMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) { - var error = $root.flyteidl.event.NodeExecutionEvent.verify(message.rawEvent); - if (error) - return "rawEvent." + error; - } - if (message.taskExecId != null && message.hasOwnProperty("taskExecId")) { - var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskExecId); - if (error) - return "taskExecId." + error; - } - if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) { - var error = $root.flyteidl.core.TypedInterface.verify(message.outputInterface); - if (error) - return "outputInterface." + error; - } - if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { - if (!Array.isArray(message.artifactIds)) - return "artifactIds: array expected"; - for (var i = 0; i < message.artifactIds.length; ++i) { - var error = $root.flyteidl.core.ArtifactID.verify(message.artifactIds[i]); - if (error) - return "artifactIds." + error; + if (message.description != null && message.hasOwnProperty("description")) + if (!$util.isString(message.description)) + return "description: string expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + break; } - } - if (message.principal != null && message.hasOwnProperty("principal")) - if (!$util.isString(message.principal)) - return "principal: string expected"; - if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) { - var error = $root.flyteidl.core.Identifier.verify(message.launchPlanId); - if (error) - return "launchPlanId." + error; - } - if (message.labels != null && message.hasOwnProperty("labels")) { - if (!$util.isObject(message.labels)) - return "labels: object expected"; - var key = Object.keys(message.labels); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.labels[key[i]])) - return "labels: string{k:string} expected"; - } return null; }; - return CloudEventNodeExecution; + return NamedEntityMetadata; })(); - event.CloudEventTaskExecution = (function() { - - /** - * Properties of a CloudEventTaskExecution. - * @memberof flyteidl.event - * @interface ICloudEventTaskExecution - * @property {flyteidl.event.ITaskExecutionEvent|null} [rawEvent] CloudEventTaskExecution rawEvent - * @property {Object.|null} [labels] CloudEventTaskExecution labels - */ + admin.NamedEntity = (function() { /** - * Constructs a new CloudEventTaskExecution. - * @memberof flyteidl.event - * @classdesc Represents a CloudEventTaskExecution. - * @implements ICloudEventTaskExecution + * Properties of a NamedEntity. + * @memberof flyteidl.admin + * @interface INamedEntity + * @property {flyteidl.core.ResourceType|null} [resourceType] NamedEntity resourceType + * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] NamedEntity id + * @property {flyteidl.admin.INamedEntityMetadata|null} [metadata] NamedEntity metadata + */ + + /** + * Constructs a new NamedEntity. + * @memberof flyteidl.admin + * @classdesc Represents a NamedEntity. + * @implements INamedEntity * @constructor - * @param {flyteidl.event.ICloudEventTaskExecution=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntity=} [properties] Properties to set */ - function CloudEventTaskExecution(properties) { - this.labels = {}; + function NamedEntity(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20138,81 +20002,88 @@ } /** - * CloudEventTaskExecution rawEvent. - * @member {flyteidl.event.ITaskExecutionEvent|null|undefined} rawEvent - * @memberof flyteidl.event.CloudEventTaskExecution + * NamedEntity resourceType. + * @member {flyteidl.core.ResourceType} resourceType + * @memberof flyteidl.admin.NamedEntity * @instance */ - CloudEventTaskExecution.prototype.rawEvent = null; + NamedEntity.prototype.resourceType = 0; /** - * CloudEventTaskExecution labels. - * @member {Object.} labels - * @memberof flyteidl.event.CloudEventTaskExecution + * NamedEntity id. + * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id + * @memberof flyteidl.admin.NamedEntity * @instance */ - CloudEventTaskExecution.prototype.labels = $util.emptyObject; + NamedEntity.prototype.id = null; /** - * Creates a new CloudEventTaskExecution instance using the specified properties. + * NamedEntity metadata. + * @member {flyteidl.admin.INamedEntityMetadata|null|undefined} metadata + * @memberof flyteidl.admin.NamedEntity + * @instance + */ + NamedEntity.prototype.metadata = null; + + /** + * Creates a new NamedEntity instance using the specified properties. * @function create - * @memberof flyteidl.event.CloudEventTaskExecution + * @memberof flyteidl.admin.NamedEntity * @static - * @param {flyteidl.event.ICloudEventTaskExecution=} [properties] Properties to set - * @returns {flyteidl.event.CloudEventTaskExecution} CloudEventTaskExecution instance + * @param {flyteidl.admin.INamedEntity=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntity} NamedEntity instance */ - CloudEventTaskExecution.create = function create(properties) { - return new CloudEventTaskExecution(properties); + NamedEntity.create = function create(properties) { + return new NamedEntity(properties); }; /** - * Encodes the specified CloudEventTaskExecution message. Does not implicitly {@link flyteidl.event.CloudEventTaskExecution.verify|verify} messages. + * Encodes the specified NamedEntity message. Does not implicitly {@link flyteidl.admin.NamedEntity.verify|verify} messages. * @function encode - * @memberof flyteidl.event.CloudEventTaskExecution + * @memberof flyteidl.admin.NamedEntity * @static - * @param {flyteidl.event.ICloudEventTaskExecution} message CloudEventTaskExecution message or plain object to encode + * @param {flyteidl.admin.INamedEntity} message NamedEntity message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CloudEventTaskExecution.encode = function encode(message, writer) { + NamedEntity.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) - $root.flyteidl.event.TaskExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.labels != null && message.hasOwnProperty("labels")) - for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.admin.NamedEntityMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a CloudEventTaskExecution message from the specified reader or buffer. + * Decodes a NamedEntity message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.CloudEventTaskExecution + * @memberof flyteidl.admin.NamedEntity * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.CloudEventTaskExecution} CloudEventTaskExecution + * @returns {flyteidl.admin.NamedEntity} NamedEntity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CloudEventTaskExecution.decode = function decode(reader, length) { + NamedEntity.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventTaskExecution(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntity(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.rawEvent = $root.flyteidl.event.TaskExecutionEvent.decode(reader, reader.uint32()); + message.resourceType = reader.int32(); break; case 2: - reader.skip().pos++; - if (message.labels === $util.emptyObject) - message.labels = {}; - key = reader.string(); - reader.pos++; - message.labels[key] = reader.string(); + message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); + break; + case 3: + message.metadata = $root.flyteidl.admin.NamedEntityMetadata.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -20223,60 +20094,62 @@ }; /** - * Verifies a CloudEventTaskExecution message. + * Verifies a NamedEntity message. * @function verify - * @memberof flyteidl.event.CloudEventTaskExecution + * @memberof flyteidl.admin.NamedEntity * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CloudEventTaskExecution.verify = function verify(message) { + NamedEntity.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) { - var error = $root.flyteidl.event.TaskExecutionEvent.verify(message.rawEvent); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { + default: + return "resourceType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); if (error) - return "rawEvent." + error; + return "id." + error; } - if (message.labels != null && message.hasOwnProperty("labels")) { - if (!$util.isObject(message.labels)) - return "labels: object expected"; - var key = Object.keys(message.labels); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.labels[key[i]])) - return "labels: string{k:string} expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.admin.NamedEntityMetadata.verify(message.metadata); + if (error) + return "metadata." + error; } return null; }; - return CloudEventTaskExecution; + return NamedEntity; })(); - event.CloudEventExecutionStart = (function() { + admin.Sort = (function() { /** - * Properties of a CloudEventExecutionStart. - * @memberof flyteidl.event - * @interface ICloudEventExecutionStart - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] CloudEventExecutionStart executionId - * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventExecutionStart launchPlanId - * @property {flyteidl.core.IIdentifier|null} [workflowId] CloudEventExecutionStart workflowId - * @property {Array.|null} [artifactIds] CloudEventExecutionStart artifactIds - * @property {Array.|null} [artifactTrackers] CloudEventExecutionStart artifactTrackers - * @property {string|null} [principal] CloudEventExecutionStart principal + * Properties of a Sort. + * @memberof flyteidl.admin + * @interface ISort + * @property {string|null} [key] Sort key + * @property {flyteidl.admin.Sort.Direction|null} [direction] Sort direction */ /** - * Constructs a new CloudEventExecutionStart. - * @memberof flyteidl.event - * @classdesc Represents a CloudEventExecutionStart. - * @implements ICloudEventExecutionStart + * Constructs a new Sort. + * @memberof flyteidl.admin + * @classdesc Represents a Sort. + * @implements ISort * @constructor - * @param {flyteidl.event.ICloudEventExecutionStart=} [properties] Properties to set + * @param {flyteidl.admin.ISort=} [properties] Properties to set */ - function CloudEventExecutionStart(properties) { - this.artifactIds = []; - this.artifactTrackers = []; + function Sort(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20284,133 +20157,75 @@ } /** - * CloudEventExecutionStart executionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId - * @memberof flyteidl.event.CloudEventExecutionStart - * @instance - */ - CloudEventExecutionStart.prototype.executionId = null; - - /** - * CloudEventExecutionStart launchPlanId. - * @member {flyteidl.core.IIdentifier|null|undefined} launchPlanId - * @memberof flyteidl.event.CloudEventExecutionStart - * @instance - */ - CloudEventExecutionStart.prototype.launchPlanId = null; - - /** - * CloudEventExecutionStart workflowId. - * @member {flyteidl.core.IIdentifier|null|undefined} workflowId - * @memberof flyteidl.event.CloudEventExecutionStart - * @instance - */ - CloudEventExecutionStart.prototype.workflowId = null; - - /** - * CloudEventExecutionStart artifactIds. - * @member {Array.} artifactIds - * @memberof flyteidl.event.CloudEventExecutionStart - * @instance - */ - CloudEventExecutionStart.prototype.artifactIds = $util.emptyArray; - - /** - * CloudEventExecutionStart artifactTrackers. - * @member {Array.} artifactTrackers - * @memberof flyteidl.event.CloudEventExecutionStart + * Sort key. + * @member {string} key + * @memberof flyteidl.admin.Sort * @instance */ - CloudEventExecutionStart.prototype.artifactTrackers = $util.emptyArray; + Sort.prototype.key = ""; /** - * CloudEventExecutionStart principal. - * @member {string} principal - * @memberof flyteidl.event.CloudEventExecutionStart + * Sort direction. + * @member {flyteidl.admin.Sort.Direction} direction + * @memberof flyteidl.admin.Sort * @instance */ - CloudEventExecutionStart.prototype.principal = ""; + Sort.prototype.direction = 0; /** - * Creates a new CloudEventExecutionStart instance using the specified properties. + * Creates a new Sort instance using the specified properties. * @function create - * @memberof flyteidl.event.CloudEventExecutionStart + * @memberof flyteidl.admin.Sort * @static - * @param {flyteidl.event.ICloudEventExecutionStart=} [properties] Properties to set - * @returns {flyteidl.event.CloudEventExecutionStart} CloudEventExecutionStart instance + * @param {flyteidl.admin.ISort=} [properties] Properties to set + * @returns {flyteidl.admin.Sort} Sort instance */ - CloudEventExecutionStart.create = function create(properties) { - return new CloudEventExecutionStart(properties); + Sort.create = function create(properties) { + return new Sort(properties); }; /** - * Encodes the specified CloudEventExecutionStart message. Does not implicitly {@link flyteidl.event.CloudEventExecutionStart.verify|verify} messages. + * Encodes the specified Sort message. Does not implicitly {@link flyteidl.admin.Sort.verify|verify} messages. * @function encode - * @memberof flyteidl.event.CloudEventExecutionStart + * @memberof flyteidl.admin.Sort * @static - * @param {flyteidl.event.ICloudEventExecutionStart} message CloudEventExecutionStart message or plain object to encode + * @param {flyteidl.admin.ISort} message Sort message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CloudEventExecutionStart.encode = function encode(message, writer) { + Sort.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.executionId != null && message.hasOwnProperty("executionId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) - $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.workflowId != null && message.hasOwnProperty("workflowId")) - $root.flyteidl.core.Identifier.encode(message.workflowId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.artifactIds != null && message.artifactIds.length) - for (var i = 0; i < message.artifactIds.length; ++i) - $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.artifactTrackers != null && message.artifactTrackers.length) - for (var i = 0; i < message.artifactTrackers.length; ++i) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.artifactTrackers[i]); - if (message.principal != null && message.hasOwnProperty("principal")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.principal); + if (message.key != null && message.hasOwnProperty("key")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.key); + if (message.direction != null && message.hasOwnProperty("direction")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.direction); return writer; }; /** - * Decodes a CloudEventExecutionStart message from the specified reader or buffer. + * Decodes a Sort message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.CloudEventExecutionStart + * @memberof flyteidl.admin.Sort * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.CloudEventExecutionStart} CloudEventExecutionStart + * @returns {flyteidl.admin.Sort} Sort * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CloudEventExecutionStart.decode = function decode(reader, length) { + Sort.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventExecutionStart(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Sort(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.key = reader.string(); break; case 2: - message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 3: - message.workflowId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 4: - if (!(message.artifactIds && message.artifactIds.length)) - message.artifactIds = []; - message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.artifactTrackers && message.artifactTrackers.length)) - message.artifactTrackers = []; - message.artifactTrackers.push(reader.string()); - break; - case 6: - message.principal = reader.string(); + message.direction = reader.int32(); break; default: reader.skipType(tag & 7); @@ -20421,80 +20236,71 @@ }; /** - * Verifies a CloudEventExecutionStart message. + * Verifies a Sort message. * @function verify - * @memberof flyteidl.event.CloudEventExecutionStart + * @memberof flyteidl.admin.Sort * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CloudEventExecutionStart.verify = function verify(message) { + Sort.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.executionId != null && message.hasOwnProperty("executionId")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); - if (error) - return "executionId." + error; - } - if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) { - var error = $root.flyteidl.core.Identifier.verify(message.launchPlanId); - if (error) - return "launchPlanId." + error; - } - if (message.workflowId != null && message.hasOwnProperty("workflowId")) { - var error = $root.flyteidl.core.Identifier.verify(message.workflowId); - if (error) - return "workflowId." + error; - } - if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { - if (!Array.isArray(message.artifactIds)) - return "artifactIds: array expected"; - for (var i = 0; i < message.artifactIds.length; ++i) { - var error = $root.flyteidl.core.ArtifactID.verify(message.artifactIds[i]); - if (error) - return "artifactIds." + error; + if (message.key != null && message.hasOwnProperty("key")) + if (!$util.isString(message.key)) + return "key: string expected"; + if (message.direction != null && message.hasOwnProperty("direction")) + switch (message.direction) { + default: + return "direction: enum value expected"; + case 0: + case 1: + break; } - } - if (message.artifactTrackers != null && message.hasOwnProperty("artifactTrackers")) { - if (!Array.isArray(message.artifactTrackers)) - return "artifactTrackers: array expected"; - for (var i = 0; i < message.artifactTrackers.length; ++i) - if (!$util.isString(message.artifactTrackers[i])) - return "artifactTrackers: string[] expected"; - } - if (message.principal != null && message.hasOwnProperty("principal")) - if (!$util.isString(message.principal)) - return "principal: string expected"; return null; }; - return CloudEventExecutionStart; + /** + * Direction enum. + * @name flyteidl.admin.Sort.Direction + * @enum {string} + * @property {number} DESCENDING=0 DESCENDING value + * @property {number} ASCENDING=1 ASCENDING value + */ + Sort.Direction = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "DESCENDING"] = 0; + values[valuesById[1] = "ASCENDING"] = 1; + return values; + })(); + + return Sort; })(); - event.WorkflowExecutionEvent = (function() { + admin.NamedEntityIdentifierListRequest = (function() { /** - * Properties of a WorkflowExecutionEvent. - * @memberof flyteidl.event - * @interface IWorkflowExecutionEvent - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] WorkflowExecutionEvent executionId - * @property {string|null} [producerId] WorkflowExecutionEvent producerId - * @property {flyteidl.core.WorkflowExecution.Phase|null} [phase] WorkflowExecutionEvent phase - * @property {google.protobuf.ITimestamp|null} [occurredAt] WorkflowExecutionEvent occurredAt - * @property {string|null} [outputUri] WorkflowExecutionEvent outputUri - * @property {flyteidl.core.IExecutionError|null} [error] WorkflowExecutionEvent error - * @property {flyteidl.core.ILiteralMap|null} [outputData] WorkflowExecutionEvent outputData + * Properties of a NamedEntityIdentifierListRequest. + * @memberof flyteidl.admin + * @interface INamedEntityIdentifierListRequest + * @property {string|null} [project] NamedEntityIdentifierListRequest project + * @property {string|null} [domain] NamedEntityIdentifierListRequest domain + * @property {number|null} [limit] NamedEntityIdentifierListRequest limit + * @property {string|null} [token] NamedEntityIdentifierListRequest token + * @property {flyteidl.admin.ISort|null} [sortBy] NamedEntityIdentifierListRequest sortBy + * @property {string|null} [filters] NamedEntityIdentifierListRequest filters + * @property {string|null} [org] NamedEntityIdentifierListRequest org */ /** - * Constructs a new WorkflowExecutionEvent. - * @memberof flyteidl.event - * @classdesc Represents a WorkflowExecutionEvent. - * @implements IWorkflowExecutionEvent + * Constructs a new NamedEntityIdentifierListRequest. + * @memberof flyteidl.admin + * @classdesc Represents a NamedEntityIdentifierListRequest. + * @implements INamedEntityIdentifierListRequest * @constructor - * @param {flyteidl.event.IWorkflowExecutionEvent=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityIdentifierListRequest=} [properties] Properties to set */ - function WorkflowExecutionEvent(properties) { + function NamedEntityIdentifierListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20502,154 +20308,140 @@ } /** - * WorkflowExecutionEvent executionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId - * @memberof flyteidl.event.WorkflowExecutionEvent - * @instance - */ - WorkflowExecutionEvent.prototype.executionId = null; - - /** - * WorkflowExecutionEvent producerId. - * @member {string} producerId - * @memberof flyteidl.event.WorkflowExecutionEvent + * NamedEntityIdentifierListRequest project. + * @member {string} project + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @instance */ - WorkflowExecutionEvent.prototype.producerId = ""; + NamedEntityIdentifierListRequest.prototype.project = ""; /** - * WorkflowExecutionEvent phase. - * @member {flyteidl.core.WorkflowExecution.Phase} phase - * @memberof flyteidl.event.WorkflowExecutionEvent + * NamedEntityIdentifierListRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @instance */ - WorkflowExecutionEvent.prototype.phase = 0; + NamedEntityIdentifierListRequest.prototype.domain = ""; /** - * WorkflowExecutionEvent occurredAt. - * @member {google.protobuf.ITimestamp|null|undefined} occurredAt - * @memberof flyteidl.event.WorkflowExecutionEvent + * NamedEntityIdentifierListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @instance */ - WorkflowExecutionEvent.prototype.occurredAt = null; + NamedEntityIdentifierListRequest.prototype.limit = 0; /** - * WorkflowExecutionEvent outputUri. - * @member {string} outputUri - * @memberof flyteidl.event.WorkflowExecutionEvent + * NamedEntityIdentifierListRequest token. + * @member {string} token + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @instance */ - WorkflowExecutionEvent.prototype.outputUri = ""; + NamedEntityIdentifierListRequest.prototype.token = ""; /** - * WorkflowExecutionEvent error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.event.WorkflowExecutionEvent + * NamedEntityIdentifierListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @instance */ - WorkflowExecutionEvent.prototype.error = null; + NamedEntityIdentifierListRequest.prototype.sortBy = null; /** - * WorkflowExecutionEvent outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.event.WorkflowExecutionEvent + * NamedEntityIdentifierListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @instance */ - WorkflowExecutionEvent.prototype.outputData = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + NamedEntityIdentifierListRequest.prototype.filters = ""; /** - * WorkflowExecutionEvent outputResult. - * @member {"outputUri"|"error"|"outputData"|undefined} outputResult - * @memberof flyteidl.event.WorkflowExecutionEvent + * NamedEntityIdentifierListRequest org. + * @member {string} org + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @instance */ - Object.defineProperty(WorkflowExecutionEvent.prototype, "outputResult", { - get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), - set: $util.oneOfSetter($oneOfFields) - }); + NamedEntityIdentifierListRequest.prototype.org = ""; /** - * Creates a new WorkflowExecutionEvent instance using the specified properties. + * Creates a new NamedEntityIdentifierListRequest instance using the specified properties. * @function create - * @memberof flyteidl.event.WorkflowExecutionEvent + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @static - * @param {flyteidl.event.IWorkflowExecutionEvent=} [properties] Properties to set - * @returns {flyteidl.event.WorkflowExecutionEvent} WorkflowExecutionEvent instance + * @param {flyteidl.admin.INamedEntityIdentifierListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityIdentifierListRequest} NamedEntityIdentifierListRequest instance */ - WorkflowExecutionEvent.create = function create(properties) { - return new WorkflowExecutionEvent(properties); + NamedEntityIdentifierListRequest.create = function create(properties) { + return new NamedEntityIdentifierListRequest(properties); }; /** - * Encodes the specified WorkflowExecutionEvent message. Does not implicitly {@link flyteidl.event.WorkflowExecutionEvent.verify|verify} messages. + * Encodes the specified NamedEntityIdentifierListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.event.WorkflowExecutionEvent + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @static - * @param {flyteidl.event.IWorkflowExecutionEvent} message WorkflowExecutionEvent message or plain object to encode + * @param {flyteidl.admin.INamedEntityIdentifierListRequest} message NamedEntityIdentifierListRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowExecutionEvent.encode = function encode(message, writer) { + NamedEntityIdentifierListRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.executionId != null && message.hasOwnProperty("executionId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.producerId != null && message.hasOwnProperty("producerId")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.producerId); - if (message.phase != null && message.hasOwnProperty("phase")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.phase); - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) - $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.outputUri != null && message.hasOwnProperty("outputUri")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.outputUri); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.outputData != null && message.hasOwnProperty("outputData")) - $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.limit != null && message.hasOwnProperty("limit")) + writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.limit); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.token); + if (message.sortBy != null && message.hasOwnProperty("sortBy")) + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.filters != null && message.hasOwnProperty("filters")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.filters); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.org); return writer; }; /** - * Decodes a WorkflowExecutionEvent message from the specified reader or buffer. + * Decodes a NamedEntityIdentifierListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.WorkflowExecutionEvent + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.WorkflowExecutionEvent} WorkflowExecutionEvent + * @returns {flyteidl.admin.NamedEntityIdentifierListRequest} NamedEntityIdentifierListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowExecutionEvent.decode = function decode(reader, length) { + NamedEntityIdentifierListRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.WorkflowExecutionEvent(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityIdentifierListRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.project = reader.string(); break; case 2: - message.producerId = reader.string(); + message.domain = reader.string(); break; case 3: - message.phase = reader.int32(); + message.limit = reader.uint32(); break; case 4: - message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.token = reader.string(); break; case 5: - message.outputUri = reader.string(); + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); break; case 6: - message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); + message.filters = reader.string(); break; case 7: - message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -20660,119 +20452,70 @@ }; /** - * Verifies a WorkflowExecutionEvent message. + * Verifies a NamedEntityIdentifierListRequest message. * @function verify - * @memberof flyteidl.event.WorkflowExecutionEvent + * @memberof flyteidl.admin.NamedEntityIdentifierListRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowExecutionEvent.verify = function verify(message) { + NamedEntityIdentifierListRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.executionId != null && message.hasOwnProperty("executionId")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); - if (error) - return "executionId." + error; - } - if (message.producerId != null && message.hasOwnProperty("producerId")) - if (!$util.isString(message.producerId)) - return "producerId: string expected"; - if (message.phase != null && message.hasOwnProperty("phase")) - switch (message.phase) { - default: - return "phase: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - break; - } - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.limit != null && message.hasOwnProperty("limit")) + if (!$util.isInteger(message.limit)) + return "limit: integer expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + if (message.sortBy != null && message.hasOwnProperty("sortBy")) { + var error = $root.flyteidl.admin.Sort.verify(message.sortBy); if (error) - return "occurredAt." + error; - } - if (message.outputUri != null && message.hasOwnProperty("outputUri")) { - properties.outputResult = 1; - if (!$util.isString(message.outputUri)) - return "outputUri: string expected"; - } - if (message.error != null && message.hasOwnProperty("error")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - { - var error = $root.flyteidl.core.ExecutionError.verify(message.error); - if (error) - return "error." + error; - } - } - if (message.outputData != null && message.hasOwnProperty("outputData")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); - if (error) - return "outputData." + error; - } + return "sortBy." + error; } + if (message.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return WorkflowExecutionEvent; + return NamedEntityIdentifierListRequest; })(); - event.NodeExecutionEvent = (function() { + admin.NamedEntityListRequest = (function() { /** - * Properties of a NodeExecutionEvent. - * @memberof flyteidl.event - * @interface INodeExecutionEvent - * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionEvent id - * @property {string|null} [producerId] NodeExecutionEvent producerId - * @property {flyteidl.core.NodeExecution.Phase|null} [phase] NodeExecutionEvent phase - * @property {google.protobuf.ITimestamp|null} [occurredAt] NodeExecutionEvent occurredAt - * @property {string|null} [inputUri] NodeExecutionEvent inputUri - * @property {flyteidl.core.ILiteralMap|null} [inputData] NodeExecutionEvent inputData - * @property {string|null} [outputUri] NodeExecutionEvent outputUri - * @property {flyteidl.core.IExecutionError|null} [error] NodeExecutionEvent error - * @property {flyteidl.core.ILiteralMap|null} [outputData] NodeExecutionEvent outputData - * @property {flyteidl.event.IWorkflowNodeMetadata|null} [workflowNodeMetadata] NodeExecutionEvent workflowNodeMetadata - * @property {flyteidl.event.ITaskNodeMetadata|null} [taskNodeMetadata] NodeExecutionEvent taskNodeMetadata - * @property {flyteidl.event.IParentTaskExecutionMetadata|null} [parentTaskMetadata] NodeExecutionEvent parentTaskMetadata - * @property {flyteidl.event.IParentNodeExecutionMetadata|null} [parentNodeMetadata] NodeExecutionEvent parentNodeMetadata - * @property {string|null} [retryGroup] NodeExecutionEvent retryGroup - * @property {string|null} [specNodeId] NodeExecutionEvent specNodeId - * @property {string|null} [nodeName] NodeExecutionEvent nodeName - * @property {number|null} [eventVersion] NodeExecutionEvent eventVersion - * @property {boolean|null} [isParent] NodeExecutionEvent isParent - * @property {boolean|null} [isDynamic] NodeExecutionEvent isDynamic - * @property {string|null} [deckUri] NodeExecutionEvent deckUri - * @property {google.protobuf.ITimestamp|null} [reportedAt] NodeExecutionEvent reportedAt - * @property {boolean|null} [isArray] NodeExecutionEvent isArray - * @property {flyteidl.core.IIdentifier|null} [targetEntity] NodeExecutionEvent targetEntity - * @property {boolean|null} [isInDynamicChain] NodeExecutionEvent isInDynamicChain - * @property {boolean|null} [isEager] NodeExecutionEvent isEager + * Properties of a NamedEntityListRequest. + * @memberof flyteidl.admin + * @interface INamedEntityListRequest + * @property {flyteidl.core.ResourceType|null} [resourceType] NamedEntityListRequest resourceType + * @property {string|null} [project] NamedEntityListRequest project + * @property {string|null} [domain] NamedEntityListRequest domain + * @property {number|null} [limit] NamedEntityListRequest limit + * @property {string|null} [token] NamedEntityListRequest token + * @property {flyteidl.admin.ISort|null} [sortBy] NamedEntityListRequest sortBy + * @property {string|null} [filters] NamedEntityListRequest filters + * @property {string|null} [org] NamedEntityListRequest org */ /** - * Constructs a new NodeExecutionEvent. - * @memberof flyteidl.event - * @classdesc Represents a NodeExecutionEvent. - * @implements INodeExecutionEvent + * Constructs a new NamedEntityListRequest. + * @memberof flyteidl.admin + * @classdesc Represents a NamedEntityListRequest. + * @implements INamedEntityListRequest * @constructor - * @param {flyteidl.event.INodeExecutionEvent=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityListRequest=} [properties] Properties to set */ - function NodeExecutionEvent(properties) { + function NamedEntityListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20780,413 +20523,156 @@ } /** - * NodeExecutionEvent id. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.id = null; - - /** - * NodeExecutionEvent producerId. - * @member {string} producerId - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.producerId = ""; - - /** - * NodeExecutionEvent phase. - * @member {flyteidl.core.NodeExecution.Phase} phase - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.phase = 0; - - /** - * NodeExecutionEvent occurredAt. - * @member {google.protobuf.ITimestamp|null|undefined} occurredAt - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.occurredAt = null; - - /** - * NodeExecutionEvent inputUri. - * @member {string} inputUri - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.inputUri = ""; - - /** - * NodeExecutionEvent inputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} inputData - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.inputData = null; - - /** - * NodeExecutionEvent outputUri. - * @member {string} outputUri - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.outputUri = ""; - - /** - * NodeExecutionEvent error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.error = null; - - /** - * NodeExecutionEvent outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.outputData = null; - - /** - * NodeExecutionEvent workflowNodeMetadata. - * @member {flyteidl.event.IWorkflowNodeMetadata|null|undefined} workflowNodeMetadata - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.workflowNodeMetadata = null; - - /** - * NodeExecutionEvent taskNodeMetadata. - * @member {flyteidl.event.ITaskNodeMetadata|null|undefined} taskNodeMetadata - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.taskNodeMetadata = null; - - /** - * NodeExecutionEvent parentTaskMetadata. - * @member {flyteidl.event.IParentTaskExecutionMetadata|null|undefined} parentTaskMetadata - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.parentTaskMetadata = null; - - /** - * NodeExecutionEvent parentNodeMetadata. - * @member {flyteidl.event.IParentNodeExecutionMetadata|null|undefined} parentNodeMetadata - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.parentNodeMetadata = null; - - /** - * NodeExecutionEvent retryGroup. - * @member {string} retryGroup - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.retryGroup = ""; - - /** - * NodeExecutionEvent specNodeId. - * @member {string} specNodeId - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.specNodeId = ""; - - /** - * NodeExecutionEvent nodeName. - * @member {string} nodeName - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.nodeName = ""; - - /** - * NodeExecutionEvent eventVersion. - * @member {number} eventVersion - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.eventVersion = 0; - - /** - * NodeExecutionEvent isParent. - * @member {boolean} isParent - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.isParent = false; - - /** - * NodeExecutionEvent isDynamic. - * @member {boolean} isDynamic - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.isDynamic = false; - - /** - * NodeExecutionEvent deckUri. - * @member {string} deckUri - * @memberof flyteidl.event.NodeExecutionEvent - * @instance - */ - NodeExecutionEvent.prototype.deckUri = ""; - - /** - * NodeExecutionEvent reportedAt. - * @member {google.protobuf.ITimestamp|null|undefined} reportedAt - * @memberof flyteidl.event.NodeExecutionEvent + * NamedEntityListRequest resourceType. + * @member {flyteidl.core.ResourceType} resourceType + * @memberof flyteidl.admin.NamedEntityListRequest * @instance */ - NodeExecutionEvent.prototype.reportedAt = null; + NamedEntityListRequest.prototype.resourceType = 0; /** - * NodeExecutionEvent isArray. - * @member {boolean} isArray - * @memberof flyteidl.event.NodeExecutionEvent + * NamedEntityListRequest project. + * @member {string} project + * @memberof flyteidl.admin.NamedEntityListRequest * @instance */ - NodeExecutionEvent.prototype.isArray = false; + NamedEntityListRequest.prototype.project = ""; /** - * NodeExecutionEvent targetEntity. - * @member {flyteidl.core.IIdentifier|null|undefined} targetEntity - * @memberof flyteidl.event.NodeExecutionEvent + * NamedEntityListRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.NamedEntityListRequest * @instance */ - NodeExecutionEvent.prototype.targetEntity = null; + NamedEntityListRequest.prototype.domain = ""; /** - * NodeExecutionEvent isInDynamicChain. - * @member {boolean} isInDynamicChain - * @memberof flyteidl.event.NodeExecutionEvent + * NamedEntityListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.NamedEntityListRequest * @instance */ - NodeExecutionEvent.prototype.isInDynamicChain = false; + NamedEntityListRequest.prototype.limit = 0; /** - * NodeExecutionEvent isEager. - * @member {boolean} isEager - * @memberof flyteidl.event.NodeExecutionEvent + * NamedEntityListRequest token. + * @member {string} token + * @memberof flyteidl.admin.NamedEntityListRequest * @instance */ - NodeExecutionEvent.prototype.isEager = false; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + NamedEntityListRequest.prototype.token = ""; /** - * NodeExecutionEvent inputValue. - * @member {"inputUri"|"inputData"|undefined} inputValue - * @memberof flyteidl.event.NodeExecutionEvent + * NamedEntityListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.NamedEntityListRequest * @instance */ - Object.defineProperty(NodeExecutionEvent.prototype, "inputValue", { - get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]), - set: $util.oneOfSetter($oneOfFields) - }); + NamedEntityListRequest.prototype.sortBy = null; /** - * NodeExecutionEvent outputResult. - * @member {"outputUri"|"error"|"outputData"|undefined} outputResult - * @memberof flyteidl.event.NodeExecutionEvent + * NamedEntityListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.NamedEntityListRequest * @instance */ - Object.defineProperty(NodeExecutionEvent.prototype, "outputResult", { - get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), - set: $util.oneOfSetter($oneOfFields) - }); + NamedEntityListRequest.prototype.filters = ""; /** - * NodeExecutionEvent targetMetadata. - * @member {"workflowNodeMetadata"|"taskNodeMetadata"|undefined} targetMetadata - * @memberof flyteidl.event.NodeExecutionEvent + * NamedEntityListRequest org. + * @member {string} org + * @memberof flyteidl.admin.NamedEntityListRequest * @instance */ - Object.defineProperty(NodeExecutionEvent.prototype, "targetMetadata", { - get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata", "taskNodeMetadata"]), - set: $util.oneOfSetter($oneOfFields) - }); + NamedEntityListRequest.prototype.org = ""; /** - * Creates a new NodeExecutionEvent instance using the specified properties. + * Creates a new NamedEntityListRequest instance using the specified properties. * @function create - * @memberof flyteidl.event.NodeExecutionEvent + * @memberof flyteidl.admin.NamedEntityListRequest * @static - * @param {flyteidl.event.INodeExecutionEvent=} [properties] Properties to set - * @returns {flyteidl.event.NodeExecutionEvent} NodeExecutionEvent instance + * @param {flyteidl.admin.INamedEntityListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityListRequest} NamedEntityListRequest instance */ - NodeExecutionEvent.create = function create(properties) { - return new NodeExecutionEvent(properties); + NamedEntityListRequest.create = function create(properties) { + return new NamedEntityListRequest(properties); }; /** - * Encodes the specified NodeExecutionEvent message. Does not implicitly {@link flyteidl.event.NodeExecutionEvent.verify|verify} messages. + * Encodes the specified NamedEntityListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.event.NodeExecutionEvent + * @memberof flyteidl.admin.NamedEntityListRequest * @static - * @param {flyteidl.event.INodeExecutionEvent} message NodeExecutionEvent message or plain object to encode + * @param {flyteidl.admin.INamedEntityListRequest} message NamedEntityListRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionEvent.encode = function encode(message, writer) { + NamedEntityListRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.producerId != null && message.hasOwnProperty("producerId")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.producerId); - if (message.phase != null && message.hasOwnProperty("phase")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.phase); - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) - $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.inputUri != null && message.hasOwnProperty("inputUri")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.inputUri); - if (message.outputUri != null && message.hasOwnProperty("outputUri")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.outputUri); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) - $root.flyteidl.event.WorkflowNodeMetadata.encode(message.workflowNodeMetadata, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.parentTaskMetadata != null && message.hasOwnProperty("parentTaskMetadata")) - $root.flyteidl.event.ParentTaskExecutionMetadata.encode(message.parentTaskMetadata, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.parentNodeMetadata != null && message.hasOwnProperty("parentNodeMetadata")) - $root.flyteidl.event.ParentNodeExecutionMetadata.encode(message.parentNodeMetadata, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - if (message.retryGroup != null && message.hasOwnProperty("retryGroup")) - writer.uint32(/* id 11, wireType 2 =*/90).string(message.retryGroup); - if (message.specNodeId != null && message.hasOwnProperty("specNodeId")) - writer.uint32(/* id 12, wireType 2 =*/98).string(message.specNodeId); - if (message.nodeName != null && message.hasOwnProperty("nodeName")) - writer.uint32(/* id 13, wireType 2 =*/106).string(message.nodeName); - if (message.taskNodeMetadata != null && message.hasOwnProperty("taskNodeMetadata")) - $root.flyteidl.event.TaskNodeMetadata.encode(message.taskNodeMetadata, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); - if (message.outputData != null && message.hasOwnProperty("outputData")) - $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim(); - if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) - writer.uint32(/* id 16, wireType 0 =*/128).int32(message.eventVersion); - if (message.isParent != null && message.hasOwnProperty("isParent")) - writer.uint32(/* id 17, wireType 0 =*/136).bool(message.isParent); - if (message.isDynamic != null && message.hasOwnProperty("isDynamic")) - writer.uint32(/* id 18, wireType 0 =*/144).bool(message.isDynamic); - if (message.deckUri != null && message.hasOwnProperty("deckUri")) - writer.uint32(/* id 19, wireType 2 =*/154).string(message.deckUri); - if (message.inputData != null && message.hasOwnProperty("inputData")) - $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); - if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) - $root.google.protobuf.Timestamp.encode(message.reportedAt, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.isArray != null && message.hasOwnProperty("isArray")) - writer.uint32(/* id 22, wireType 0 =*/176).bool(message.isArray); - if (message.targetEntity != null && message.hasOwnProperty("targetEntity")) - $root.flyteidl.core.Identifier.encode(message.targetEntity, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim(); - if (message.isInDynamicChain != null && message.hasOwnProperty("isInDynamicChain")) - writer.uint32(/* id 24, wireType 0 =*/192).bool(message.isInDynamicChain); - if (message.isEager != null && message.hasOwnProperty("isEager")) - writer.uint32(/* id 25, wireType 0 =*/200).bool(message.isEager); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.domain); + if (message.limit != null && message.hasOwnProperty("limit")) + writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.limit); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.token); + if (message.sortBy != null && message.hasOwnProperty("sortBy")) + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.filters != null && message.hasOwnProperty("filters")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.filters); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 8, wireType 2 =*/66).string(message.org); return writer; }; /** - * Decodes a NodeExecutionEvent message from the specified reader or buffer. + * Decodes a NamedEntityListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.NodeExecutionEvent + * @memberof flyteidl.admin.NamedEntityListRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.NodeExecutionEvent} NodeExecutionEvent + * @returns {flyteidl.admin.NamedEntityListRequest} NamedEntityListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionEvent.decode = function decode(reader, length) { + NamedEntityListRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.NodeExecutionEvent(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityListRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.resourceType = reader.int32(); break; case 2: - message.producerId = reader.string(); + message.project = reader.string(); break; case 3: - message.phase = reader.int32(); + message.domain = reader.string(); break; case 4: - message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.limit = reader.uint32(); break; case 5: - message.inputUri = reader.string(); - break; - case 20: - message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.token = reader.string(); break; case 6: - message.outputUri = reader.string(); + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); break; case 7: - message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); - break; - case 15: - message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.filters = reader.string(); break; case 8: - message.workflowNodeMetadata = $root.flyteidl.event.WorkflowNodeMetadata.decode(reader, reader.uint32()); - break; - case 14: - message.taskNodeMetadata = $root.flyteidl.event.TaskNodeMetadata.decode(reader, reader.uint32()); - break; - case 9: - message.parentTaskMetadata = $root.flyteidl.event.ParentTaskExecutionMetadata.decode(reader, reader.uint32()); - break; - case 10: - message.parentNodeMetadata = $root.flyteidl.event.ParentNodeExecutionMetadata.decode(reader, reader.uint32()); + message.org = reader.string(); break; - case 11: - message.retryGroup = reader.string(); - break; - case 12: - message.specNodeId = reader.string(); - break; - case 13: - message.nodeName = reader.string(); - break; - case 16: - message.eventVersion = reader.int32(); - break; - case 17: - message.isParent = reader.bool(); - break; - case 18: - message.isDynamic = reader.bool(); - break; - case 19: - message.deckUri = reader.string(); - break; - case 21: - message.reportedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 22: - message.isArray = reader.bool(); - break; - case 23: - message.targetEntity = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 24: - message.isInDynamicChain = reader.bool(); - break; - case 25: - message.isEager = reader.bool(); - break; - default: - reader.skipType(tag & 7); + default: + reader.skipType(tag & 7); break; } } @@ -21194,179 +20680,76 @@ }; /** - * Verifies a NodeExecutionEvent message. + * Verifies a NamedEntityListRequest message. * @function verify - * @memberof flyteidl.event.NodeExecutionEvent + * @memberof flyteidl.admin.NamedEntityListRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionEvent.verify = function verify(message) { + NamedEntityListRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.producerId != null && message.hasOwnProperty("producerId")) - if (!$util.isString(message.producerId)) - return "producerId: string expected"; - if (message.phase != null && message.hasOwnProperty("phase")) - switch (message.phase) { + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { default: - return "phase: enum value expected"; + return "resourceType: enum value expected"; case 0: case 1: case 2: case 3: case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: break; } - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); - if (error) - return "occurredAt." + error; - } - if (message.inputUri != null && message.hasOwnProperty("inputUri")) { - properties.inputValue = 1; - if (!$util.isString(message.inputUri)) - return "inputUri: string expected"; - } - if (message.inputData != null && message.hasOwnProperty("inputData")) { - if (properties.inputValue === 1) - return "inputValue: multiple values"; - properties.inputValue = 1; - { - var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); - if (error) - return "inputData." + error; - } - } - if (message.outputUri != null && message.hasOwnProperty("outputUri")) { - properties.outputResult = 1; - if (!$util.isString(message.outputUri)) - return "outputUri: string expected"; - } - if (message.error != null && message.hasOwnProperty("error")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - { - var error = $root.flyteidl.core.ExecutionError.verify(message.error); - if (error) - return "error." + error; - } - } - if (message.outputData != null && message.hasOwnProperty("outputData")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); - if (error) - return "outputData." + error; - } - } - if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) { - properties.targetMetadata = 1; - { - var error = $root.flyteidl.event.WorkflowNodeMetadata.verify(message.workflowNodeMetadata); - if (error) - return "workflowNodeMetadata." + error; - } - } - if (message.taskNodeMetadata != null && message.hasOwnProperty("taskNodeMetadata")) { - if (properties.targetMetadata === 1) - return "targetMetadata: multiple values"; - properties.targetMetadata = 1; - { - var error = $root.flyteidl.event.TaskNodeMetadata.verify(message.taskNodeMetadata); - if (error) - return "taskNodeMetadata." + error; - } - } - if (message.parentTaskMetadata != null && message.hasOwnProperty("parentTaskMetadata")) { - var error = $root.flyteidl.event.ParentTaskExecutionMetadata.verify(message.parentTaskMetadata); - if (error) - return "parentTaskMetadata." + error; - } - if (message.parentNodeMetadata != null && message.hasOwnProperty("parentNodeMetadata")) { - var error = $root.flyteidl.event.ParentNodeExecutionMetadata.verify(message.parentNodeMetadata); - if (error) - return "parentNodeMetadata." + error; - } - if (message.retryGroup != null && message.hasOwnProperty("retryGroup")) - if (!$util.isString(message.retryGroup)) - return "retryGroup: string expected"; - if (message.specNodeId != null && message.hasOwnProperty("specNodeId")) - if (!$util.isString(message.specNodeId)) - return "specNodeId: string expected"; - if (message.nodeName != null && message.hasOwnProperty("nodeName")) - if (!$util.isString(message.nodeName)) - return "nodeName: string expected"; - if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) - if (!$util.isInteger(message.eventVersion)) - return "eventVersion: integer expected"; - if (message.isParent != null && message.hasOwnProperty("isParent")) - if (typeof message.isParent !== "boolean") - return "isParent: boolean expected"; - if (message.isDynamic != null && message.hasOwnProperty("isDynamic")) - if (typeof message.isDynamic !== "boolean") - return "isDynamic: boolean expected"; - if (message.deckUri != null && message.hasOwnProperty("deckUri")) - if (!$util.isString(message.deckUri)) - return "deckUri: string expected"; - if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.reportedAt); - if (error) - return "reportedAt." + error; - } - if (message.isArray != null && message.hasOwnProperty("isArray")) - if (typeof message.isArray !== "boolean") - return "isArray: boolean expected"; - if (message.targetEntity != null && message.hasOwnProperty("targetEntity")) { - var error = $root.flyteidl.core.Identifier.verify(message.targetEntity); + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.limit != null && message.hasOwnProperty("limit")) + if (!$util.isInteger(message.limit)) + return "limit: integer expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + if (message.sortBy != null && message.hasOwnProperty("sortBy")) { + var error = $root.flyteidl.admin.Sort.verify(message.sortBy); if (error) - return "targetEntity." + error; + return "sortBy." + error; } - if (message.isInDynamicChain != null && message.hasOwnProperty("isInDynamicChain")) - if (typeof message.isInDynamicChain !== "boolean") - return "isInDynamicChain: boolean expected"; - if (message.isEager != null && message.hasOwnProperty("isEager")) - if (typeof message.isEager !== "boolean") - return "isEager: boolean expected"; + if (message.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return NodeExecutionEvent; + return NamedEntityListRequest; })(); - event.WorkflowNodeMetadata = (function() { + admin.NamedEntityIdentifierList = (function() { /** - * Properties of a WorkflowNodeMetadata. - * @memberof flyteidl.event - * @interface IWorkflowNodeMetadata - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] WorkflowNodeMetadata executionId + * Properties of a NamedEntityIdentifierList. + * @memberof flyteidl.admin + * @interface INamedEntityIdentifierList + * @property {Array.|null} [entities] NamedEntityIdentifierList entities + * @property {string|null} [token] NamedEntityIdentifierList token */ /** - * Constructs a new WorkflowNodeMetadata. - * @memberof flyteidl.event - * @classdesc Represents a WorkflowNodeMetadata. - * @implements IWorkflowNodeMetadata + * Constructs a new NamedEntityIdentifierList. + * @memberof flyteidl.admin + * @classdesc Represents a NamedEntityIdentifierList. + * @implements INamedEntityIdentifierList * @constructor - * @param {flyteidl.event.IWorkflowNodeMetadata=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityIdentifierList=} [properties] Properties to set */ - function WorkflowNodeMetadata(properties) { + function NamedEntityIdentifierList(properties) { + this.entities = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21374,62 +20757,78 @@ } /** - * WorkflowNodeMetadata executionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId - * @memberof flyteidl.event.WorkflowNodeMetadata + * NamedEntityIdentifierList entities. + * @member {Array.} entities + * @memberof flyteidl.admin.NamedEntityIdentifierList * @instance */ - WorkflowNodeMetadata.prototype.executionId = null; + NamedEntityIdentifierList.prototype.entities = $util.emptyArray; /** - * Creates a new WorkflowNodeMetadata instance using the specified properties. + * NamedEntityIdentifierList token. + * @member {string} token + * @memberof flyteidl.admin.NamedEntityIdentifierList + * @instance + */ + NamedEntityIdentifierList.prototype.token = ""; + + /** + * Creates a new NamedEntityIdentifierList instance using the specified properties. * @function create - * @memberof flyteidl.event.WorkflowNodeMetadata + * @memberof flyteidl.admin.NamedEntityIdentifierList * @static - * @param {flyteidl.event.IWorkflowNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.event.WorkflowNodeMetadata} WorkflowNodeMetadata instance + * @param {flyteidl.admin.INamedEntityIdentifierList=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityIdentifierList} NamedEntityIdentifierList instance */ - WorkflowNodeMetadata.create = function create(properties) { - return new WorkflowNodeMetadata(properties); + NamedEntityIdentifierList.create = function create(properties) { + return new NamedEntityIdentifierList(properties); }; /** - * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.WorkflowNodeMetadata.verify|verify} messages. + * Encodes the specified NamedEntityIdentifierList message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierList.verify|verify} messages. * @function encode - * @memberof flyteidl.event.WorkflowNodeMetadata + * @memberof flyteidl.admin.NamedEntityIdentifierList * @static - * @param {flyteidl.event.IWorkflowNodeMetadata} message WorkflowNodeMetadata message or plain object to encode + * @param {flyteidl.admin.INamedEntityIdentifierList} message NamedEntityIdentifierList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowNodeMetadata.encode = function encode(message, writer) { + NamedEntityIdentifierList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.executionId != null && message.hasOwnProperty("executionId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.entities != null && message.entities.length) + for (var i = 0; i < message.entities.length; ++i) + $root.flyteidl.admin.NamedEntityIdentifier.encode(message.entities[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a NamedEntityIdentifierList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.WorkflowNodeMetadata + * @memberof flyteidl.admin.NamedEntityIdentifierList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.WorkflowNodeMetadata} WorkflowNodeMetadata + * @returns {flyteidl.admin.NamedEntityIdentifierList} NamedEntityIdentifierList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowNodeMetadata.decode = function decode(reader, length) { + NamedEntityIdentifierList.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.WorkflowNodeMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityIdentifierList(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + if (!(message.entities && message.entities.length)) + message.entities = []; + message.entities.push($root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32())); + break; + case 2: + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -21440,49 +20839,54 @@ }; /** - * Verifies a WorkflowNodeMetadata message. + * Verifies a NamedEntityIdentifierList message. * @function verify - * @memberof flyteidl.event.WorkflowNodeMetadata + * @memberof flyteidl.admin.NamedEntityIdentifierList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowNodeMetadata.verify = function verify(message) { + NamedEntityIdentifierList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.executionId != null && message.hasOwnProperty("executionId")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); - if (error) - return "executionId." + error; + if (message.entities != null && message.hasOwnProperty("entities")) { + if (!Array.isArray(message.entities)) + return "entities: array expected"; + for (var i = 0; i < message.entities.length; ++i) { + var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.entities[i]); + if (error) + return "entities." + error; + } } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return WorkflowNodeMetadata; + return NamedEntityIdentifierList; })(); - event.TaskNodeMetadata = (function() { + admin.NamedEntityList = (function() { /** - * Properties of a TaskNodeMetadata. - * @memberof flyteidl.event - * @interface ITaskNodeMetadata - * @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] TaskNodeMetadata cacheStatus - * @property {flyteidl.core.ICatalogMetadata|null} [catalogKey] TaskNodeMetadata catalogKey - * @property {flyteidl.core.CatalogReservation.Status|null} [reservationStatus] TaskNodeMetadata reservationStatus - * @property {string|null} [checkpointUri] TaskNodeMetadata checkpointUri - * @property {flyteidl.event.IDynamicWorkflowNodeMetadata|null} [dynamicWorkflow] TaskNodeMetadata dynamicWorkflow + * Properties of a NamedEntityList. + * @memberof flyteidl.admin + * @interface INamedEntityList + * @property {Array.|null} [entities] NamedEntityList entities + * @property {string|null} [token] NamedEntityList token */ /** - * Constructs a new TaskNodeMetadata. - * @memberof flyteidl.event - * @classdesc Represents a TaskNodeMetadata. - * @implements ITaskNodeMetadata + * Constructs a new NamedEntityList. + * @memberof flyteidl.admin + * @classdesc Represents a NamedEntityList. + * @implements INamedEntityList * @constructor - * @param {flyteidl.event.ITaskNodeMetadata=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityList=} [properties] Properties to set */ - function TaskNodeMetadata(properties) { + function NamedEntityList(properties) { + this.entities = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21490,114 +20894,78 @@ } /** - * TaskNodeMetadata cacheStatus. - * @member {flyteidl.core.CatalogCacheStatus} cacheStatus - * @memberof flyteidl.event.TaskNodeMetadata - * @instance - */ - TaskNodeMetadata.prototype.cacheStatus = 0; - - /** - * TaskNodeMetadata catalogKey. - * @member {flyteidl.core.ICatalogMetadata|null|undefined} catalogKey - * @memberof flyteidl.event.TaskNodeMetadata - * @instance - */ - TaskNodeMetadata.prototype.catalogKey = null; - - /** - * TaskNodeMetadata reservationStatus. - * @member {flyteidl.core.CatalogReservation.Status} reservationStatus - * @memberof flyteidl.event.TaskNodeMetadata - * @instance - */ - TaskNodeMetadata.prototype.reservationStatus = 0; - - /** - * TaskNodeMetadata checkpointUri. - * @member {string} checkpointUri - * @memberof flyteidl.event.TaskNodeMetadata + * NamedEntityList entities. + * @member {Array.} entities + * @memberof flyteidl.admin.NamedEntityList * @instance */ - TaskNodeMetadata.prototype.checkpointUri = ""; + NamedEntityList.prototype.entities = $util.emptyArray; /** - * TaskNodeMetadata dynamicWorkflow. - * @member {flyteidl.event.IDynamicWorkflowNodeMetadata|null|undefined} dynamicWorkflow - * @memberof flyteidl.event.TaskNodeMetadata + * NamedEntityList token. + * @member {string} token + * @memberof flyteidl.admin.NamedEntityList * @instance */ - TaskNodeMetadata.prototype.dynamicWorkflow = null; + NamedEntityList.prototype.token = ""; /** - * Creates a new TaskNodeMetadata instance using the specified properties. + * Creates a new NamedEntityList instance using the specified properties. * @function create - * @memberof flyteidl.event.TaskNodeMetadata + * @memberof flyteidl.admin.NamedEntityList * @static - * @param {flyteidl.event.ITaskNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.event.TaskNodeMetadata} TaskNodeMetadata instance + * @param {flyteidl.admin.INamedEntityList=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityList} NamedEntityList instance */ - TaskNodeMetadata.create = function create(properties) { - return new TaskNodeMetadata(properties); + NamedEntityList.create = function create(properties) { + return new NamedEntityList(properties); }; /** - * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.event.TaskNodeMetadata.verify|verify} messages. + * Encodes the specified NamedEntityList message. Does not implicitly {@link flyteidl.admin.NamedEntityList.verify|verify} messages. * @function encode - * @memberof flyteidl.event.TaskNodeMetadata + * @memberof flyteidl.admin.NamedEntityList * @static - * @param {flyteidl.event.ITaskNodeMetadata} message TaskNodeMetadata message or plain object to encode + * @param {flyteidl.admin.INamedEntityList} message NamedEntityList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskNodeMetadata.encode = function encode(message, writer) { + NamedEntityList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.cacheStatus); - if (message.catalogKey != null && message.hasOwnProperty("catalogKey")) - $root.flyteidl.core.CatalogMetadata.encode(message.catalogKey, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.reservationStatus != null && message.hasOwnProperty("reservationStatus")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.reservationStatus); - if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.checkpointUri); - if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow")) - $root.flyteidl.event.DynamicWorkflowNodeMetadata.encode(message.dynamicWorkflow, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); + if (message.entities != null && message.entities.length) + for (var i = 0; i < message.entities.length; ++i) + $root.flyteidl.admin.NamedEntity.encode(message.entities[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes a TaskNodeMetadata message from the specified reader or buffer. + * Decodes a NamedEntityList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.TaskNodeMetadata + * @memberof flyteidl.admin.NamedEntityList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.TaskNodeMetadata} TaskNodeMetadata + * @returns {flyteidl.admin.NamedEntityList} NamedEntityList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskNodeMetadata.decode = function decode(reader, length) { + NamedEntityList.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.TaskNodeMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityList(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.cacheStatus = reader.int32(); + if (!(message.entities && message.entities.length)) + message.entities = []; + message.entities.push($root.flyteidl.admin.NamedEntity.decode(reader, reader.uint32())); break; case 2: - message.catalogKey = $root.flyteidl.core.CatalogMetadata.decode(reader, reader.uint32()); - break; - case 3: - message.reservationStatus = reader.int32(); - break; - case 4: - message.checkpointUri = reader.string(); - break; - case 16: - message.dynamicWorkflow = $root.flyteidl.event.DynamicWorkflowNodeMetadata.decode(reader, reader.uint32()); + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -21608,80 +20976,53 @@ }; /** - * Verifies a TaskNodeMetadata message. + * Verifies a NamedEntityList message. * @function verify - * @memberof flyteidl.event.TaskNodeMetadata + * @memberof flyteidl.admin.NamedEntityList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskNodeMetadata.verify = function verify(message) { + NamedEntityList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) - switch (message.cacheStatus) { - default: - return "cacheStatus: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - break; - } - if (message.catalogKey != null && message.hasOwnProperty("catalogKey")) { - var error = $root.flyteidl.core.CatalogMetadata.verify(message.catalogKey); - if (error) - return "catalogKey." + error; - } - if (message.reservationStatus != null && message.hasOwnProperty("reservationStatus")) - switch (message.reservationStatus) { - default: - return "reservationStatus: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; + if (message.entities != null && message.hasOwnProperty("entities")) { + if (!Array.isArray(message.entities)) + return "entities: array expected"; + for (var i = 0; i < message.entities.length; ++i) { + var error = $root.flyteidl.admin.NamedEntity.verify(message.entities[i]); + if (error) + return "entities." + error; } - if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri")) - if (!$util.isString(message.checkpointUri)) - return "checkpointUri: string expected"; - if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow")) { - var error = $root.flyteidl.event.DynamicWorkflowNodeMetadata.verify(message.dynamicWorkflow); - if (error) - return "dynamicWorkflow." + error; } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return TaskNodeMetadata; + return NamedEntityList; })(); - event.DynamicWorkflowNodeMetadata = (function() { + admin.NamedEntityGetRequest = (function() { /** - * Properties of a DynamicWorkflowNodeMetadata. - * @memberof flyteidl.event - * @interface IDynamicWorkflowNodeMetadata - * @property {flyteidl.core.IIdentifier|null} [id] DynamicWorkflowNodeMetadata id - * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] DynamicWorkflowNodeMetadata compiledWorkflow - * @property {string|null} [dynamicJobSpecUri] DynamicWorkflowNodeMetadata dynamicJobSpecUri + * Properties of a NamedEntityGetRequest. + * @memberof flyteidl.admin + * @interface INamedEntityGetRequest + * @property {flyteidl.core.ResourceType|null} [resourceType] NamedEntityGetRequest resourceType + * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] NamedEntityGetRequest id */ /** - * Constructs a new DynamicWorkflowNodeMetadata. - * @memberof flyteidl.event - * @classdesc Represents a DynamicWorkflowNodeMetadata. - * @implements IDynamicWorkflowNodeMetadata + * Constructs a new NamedEntityGetRequest. + * @memberof flyteidl.admin + * @classdesc Represents a NamedEntityGetRequest. + * @implements INamedEntityGetRequest * @constructor - * @param {flyteidl.event.IDynamicWorkflowNodeMetadata=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityGetRequest=} [properties] Properties to set */ - function DynamicWorkflowNodeMetadata(properties) { + function NamedEntityGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21689,88 +21030,75 @@ } /** - * DynamicWorkflowNodeMetadata id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.event.DynamicWorkflowNodeMetadata - * @instance - */ - DynamicWorkflowNodeMetadata.prototype.id = null; - - /** - * DynamicWorkflowNodeMetadata compiledWorkflow. - * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow - * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * NamedEntityGetRequest resourceType. + * @member {flyteidl.core.ResourceType} resourceType + * @memberof flyteidl.admin.NamedEntityGetRequest * @instance */ - DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null; + NamedEntityGetRequest.prototype.resourceType = 0; /** - * DynamicWorkflowNodeMetadata dynamicJobSpecUri. - * @member {string} dynamicJobSpecUri - * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * NamedEntityGetRequest id. + * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id + * @memberof flyteidl.admin.NamedEntityGetRequest * @instance */ - DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = ""; + NamedEntityGetRequest.prototype.id = null; /** - * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. + * Creates a new NamedEntityGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * @memberof flyteidl.admin.NamedEntityGetRequest * @static - * @param {flyteidl.event.IDynamicWorkflowNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.event.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata instance + * @param {flyteidl.admin.INamedEntityGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityGetRequest} NamedEntityGetRequest instance */ - DynamicWorkflowNodeMetadata.create = function create(properties) { - return new DynamicWorkflowNodeMetadata(properties); + NamedEntityGetRequest.create = function create(properties) { + return new NamedEntityGetRequest(properties); }; /** - * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.DynamicWorkflowNodeMetadata.verify|verify} messages. + * Encodes the specified NamedEntityGetRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * @memberof flyteidl.admin.NamedEntityGetRequest * @static - * @param {flyteidl.event.IDynamicWorkflowNodeMetadata} message DynamicWorkflowNodeMetadata message or plain object to encode + * @param {flyteidl.admin.INamedEntityGetRequest} message NamedEntityGetRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DynamicWorkflowNodeMetadata.encode = function encode(message, writer) { + NamedEntityGetRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) - $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.dynamicJobSpecUri); + $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a NamedEntityGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * @memberof flyteidl.admin.NamedEntityGetRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata + * @returns {flyteidl.admin.NamedEntityGetRequest} NamedEntityGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DynamicWorkflowNodeMetadata.decode = function decode(reader, length) { + NamedEntityGetRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.DynamicWorkflowNodeMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityGetRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.resourceType = reader.int32(); break; case 2: - message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); - break; - case 3: - message.dynamicJobSpecUri = reader.string(); + message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -21781,53 +21109,58 @@ }; /** - * Verifies a DynamicWorkflowNodeMetadata message. + * Verifies a NamedEntityGetRequest message. * @function verify - * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * @memberof flyteidl.admin.NamedEntityGetRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - DynamicWorkflowNodeMetadata.verify = function verify(message) { + NamedEntityGetRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { + default: + return "resourceType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.Identifier.verify(message.id); + var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); if (error) return "id." + error; } - if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) { - var error = $root.flyteidl.core.CompiledWorkflowClosure.verify(message.compiledWorkflow); - if (error) - return "compiledWorkflow." + error; - } - if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) - if (!$util.isString(message.dynamicJobSpecUri)) - return "dynamicJobSpecUri: string expected"; return null; }; - return DynamicWorkflowNodeMetadata; + return NamedEntityGetRequest; })(); - event.ParentTaskExecutionMetadata = (function() { + admin.NamedEntityUpdateRequest = (function() { /** - * Properties of a ParentTaskExecutionMetadata. - * @memberof flyteidl.event - * @interface IParentTaskExecutionMetadata - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] ParentTaskExecutionMetadata id + * Properties of a NamedEntityUpdateRequest. + * @memberof flyteidl.admin + * @interface INamedEntityUpdateRequest + * @property {flyteidl.core.ResourceType|null} [resourceType] NamedEntityUpdateRequest resourceType + * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] NamedEntityUpdateRequest id + * @property {flyteidl.admin.INamedEntityMetadata|null} [metadata] NamedEntityUpdateRequest metadata */ /** - * Constructs a new ParentTaskExecutionMetadata. - * @memberof flyteidl.event - * @classdesc Represents a ParentTaskExecutionMetadata. - * @implements IParentTaskExecutionMetadata + * Constructs a new NamedEntityUpdateRequest. + * @memberof flyteidl.admin + * @classdesc Represents a NamedEntityUpdateRequest. + * @implements INamedEntityUpdateRequest * @constructor - * @param {flyteidl.event.IParentTaskExecutionMetadata=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityUpdateRequest=} [properties] Properties to set */ - function ParentTaskExecutionMetadata(properties) { + function NamedEntityUpdateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21835,62 +21168,88 @@ } /** - * ParentTaskExecutionMetadata id. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id - * @memberof flyteidl.event.ParentTaskExecutionMetadata + * NamedEntityUpdateRequest resourceType. + * @member {flyteidl.core.ResourceType} resourceType + * @memberof flyteidl.admin.NamedEntityUpdateRequest * @instance */ - ParentTaskExecutionMetadata.prototype.id = null; + NamedEntityUpdateRequest.prototype.resourceType = 0; /** - * Creates a new ParentTaskExecutionMetadata instance using the specified properties. + * NamedEntityUpdateRequest id. + * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id + * @memberof flyteidl.admin.NamedEntityUpdateRequest + * @instance + */ + NamedEntityUpdateRequest.prototype.id = null; + + /** + * NamedEntityUpdateRequest metadata. + * @member {flyteidl.admin.INamedEntityMetadata|null|undefined} metadata + * @memberof flyteidl.admin.NamedEntityUpdateRequest + * @instance + */ + NamedEntityUpdateRequest.prototype.metadata = null; + + /** + * Creates a new NamedEntityUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.event.ParentTaskExecutionMetadata + * @memberof flyteidl.admin.NamedEntityUpdateRequest * @static - * @param {flyteidl.event.IParentTaskExecutionMetadata=} [properties] Properties to set - * @returns {flyteidl.event.ParentTaskExecutionMetadata} ParentTaskExecutionMetadata instance + * @param {flyteidl.admin.INamedEntityUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityUpdateRequest} NamedEntityUpdateRequest instance */ - ParentTaskExecutionMetadata.create = function create(properties) { - return new ParentTaskExecutionMetadata(properties); + NamedEntityUpdateRequest.create = function create(properties) { + return new NamedEntityUpdateRequest(properties); }; /** - * Encodes the specified ParentTaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentTaskExecutionMetadata.verify|verify} messages. + * Encodes the specified NamedEntityUpdateRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.event.ParentTaskExecutionMetadata + * @memberof flyteidl.admin.NamedEntityUpdateRequest * @static - * @param {flyteidl.event.IParentTaskExecutionMetadata} message ParentTaskExecutionMetadata message or plain object to encode + * @param {flyteidl.admin.INamedEntityUpdateRequest} message NamedEntityUpdateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ParentTaskExecutionMetadata.encode = function encode(message, writer) { + NamedEntityUpdateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.admin.NamedEntityMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a ParentTaskExecutionMetadata message from the specified reader or buffer. + * Decodes a NamedEntityUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.ParentTaskExecutionMetadata + * @memberof flyteidl.admin.NamedEntityUpdateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.ParentTaskExecutionMetadata} ParentTaskExecutionMetadata + * @returns {flyteidl.admin.NamedEntityUpdateRequest} NamedEntityUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ParentTaskExecutionMetadata.decode = function decode(reader, length) { + NamedEntityUpdateRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.ParentTaskExecutionMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityUpdateRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + message.resourceType = reader.int32(); + break; + case 2: + message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); + break; + case 3: + message.metadata = $root.flyteidl.admin.NamedEntityMetadata.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -21901,45 +21260,60 @@ }; /** - * Verifies a ParentTaskExecutionMetadata message. + * Verifies a NamedEntityUpdateRequest message. * @function verify - * @memberof flyteidl.event.ParentTaskExecutionMetadata + * @memberof flyteidl.admin.NamedEntityUpdateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ParentTaskExecutionMetadata.verify = function verify(message) { + NamedEntityUpdateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { + default: + return "resourceType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); + var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); if (error) return "id." + error; } + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.admin.NamedEntityMetadata.verify(message.metadata); + if (error) + return "metadata." + error; + } return null; }; - return ParentTaskExecutionMetadata; + return NamedEntityUpdateRequest; })(); - event.ParentNodeExecutionMetadata = (function() { + admin.NamedEntityUpdateResponse = (function() { /** - * Properties of a ParentNodeExecutionMetadata. - * @memberof flyteidl.event - * @interface IParentNodeExecutionMetadata - * @property {string|null} [nodeId] ParentNodeExecutionMetadata nodeId + * Properties of a NamedEntityUpdateResponse. + * @memberof flyteidl.admin + * @interface INamedEntityUpdateResponse */ /** - * Constructs a new ParentNodeExecutionMetadata. - * @memberof flyteidl.event - * @classdesc Represents a ParentNodeExecutionMetadata. - * @implements IParentNodeExecutionMetadata + * Constructs a new NamedEntityUpdateResponse. + * @memberof flyteidl.admin + * @classdesc Represents a NamedEntityUpdateResponse. + * @implements INamedEntityUpdateResponse * @constructor - * @param {flyteidl.event.IParentNodeExecutionMetadata=} [properties] Properties to set + * @param {flyteidl.admin.INamedEntityUpdateResponse=} [properties] Properties to set */ - function ParentNodeExecutionMetadata(properties) { + function NamedEntityUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21947,63 +21321,50 @@ } /** - * ParentNodeExecutionMetadata nodeId. - * @member {string} nodeId - * @memberof flyteidl.event.ParentNodeExecutionMetadata - * @instance - */ - ParentNodeExecutionMetadata.prototype.nodeId = ""; - - /** - * Creates a new ParentNodeExecutionMetadata instance using the specified properties. + * Creates a new NamedEntityUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.event.ParentNodeExecutionMetadata + * @memberof flyteidl.admin.NamedEntityUpdateResponse * @static - * @param {flyteidl.event.IParentNodeExecutionMetadata=} [properties] Properties to set - * @returns {flyteidl.event.ParentNodeExecutionMetadata} ParentNodeExecutionMetadata instance + * @param {flyteidl.admin.INamedEntityUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.NamedEntityUpdateResponse} NamedEntityUpdateResponse instance */ - ParentNodeExecutionMetadata.create = function create(properties) { - return new ParentNodeExecutionMetadata(properties); + NamedEntityUpdateResponse.create = function create(properties) { + return new NamedEntityUpdateResponse(properties); }; /** - * Encodes the specified ParentNodeExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentNodeExecutionMetadata.verify|verify} messages. + * Encodes the specified NamedEntityUpdateResponse message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.event.ParentNodeExecutionMetadata + * @memberof flyteidl.admin.NamedEntityUpdateResponse * @static - * @param {flyteidl.event.IParentNodeExecutionMetadata} message ParentNodeExecutionMetadata message or plain object to encode + * @param {flyteidl.admin.INamedEntityUpdateResponse} message NamedEntityUpdateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ParentNodeExecutionMetadata.encode = function encode(message, writer) { + NamedEntityUpdateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.nodeId != null && message.hasOwnProperty("nodeId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.nodeId); return writer; }; /** - * Decodes a ParentNodeExecutionMetadata message from the specified reader or buffer. + * Decodes a NamedEntityUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.ParentNodeExecutionMetadata + * @memberof flyteidl.admin.NamedEntityUpdateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.ParentNodeExecutionMetadata} ParentNodeExecutionMetadata + * @returns {flyteidl.admin.NamedEntityUpdateResponse} NamedEntityUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ParentNodeExecutionMetadata.decode = function decode(reader, length) { + NamedEntityUpdateResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.ParentNodeExecutionMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityUpdateResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.nodeId = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -22013,44 +21374,40 @@ }; /** - * Verifies a ParentNodeExecutionMetadata message. + * Verifies a NamedEntityUpdateResponse message. * @function verify - * @memberof flyteidl.event.ParentNodeExecutionMetadata + * @memberof flyteidl.admin.NamedEntityUpdateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ParentNodeExecutionMetadata.verify = function verify(message) { + NamedEntityUpdateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.nodeId != null && message.hasOwnProperty("nodeId")) - if (!$util.isString(message.nodeId)) - return "nodeId: string expected"; return null; }; - return ParentNodeExecutionMetadata; + return NamedEntityUpdateResponse; })(); - event.EventReason = (function() { + admin.ObjectGetRequest = (function() { /** - * Properties of an EventReason. - * @memberof flyteidl.event - * @interface IEventReason - * @property {string|null} [reason] EventReason reason - * @property {google.protobuf.ITimestamp|null} [occurredAt] EventReason occurredAt + * Properties of an ObjectGetRequest. + * @memberof flyteidl.admin + * @interface IObjectGetRequest + * @property {flyteidl.core.IIdentifier|null} [id] ObjectGetRequest id */ /** - * Constructs a new EventReason. - * @memberof flyteidl.event - * @classdesc Represents an EventReason. - * @implements IEventReason + * Constructs a new ObjectGetRequest. + * @memberof flyteidl.admin + * @classdesc Represents an ObjectGetRequest. + * @implements IObjectGetRequest * @constructor - * @param {flyteidl.event.IEventReason=} [properties] Properties to set + * @param {flyteidl.admin.IObjectGetRequest=} [properties] Properties to set */ - function EventReason(properties) { + function ObjectGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22058,75 +21415,62 @@ } /** - * EventReason reason. - * @member {string} reason - * @memberof flyteidl.event.EventReason - * @instance - */ - EventReason.prototype.reason = ""; - - /** - * EventReason occurredAt. - * @member {google.protobuf.ITimestamp|null|undefined} occurredAt - * @memberof flyteidl.event.EventReason + * ObjectGetRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.ObjectGetRequest * @instance */ - EventReason.prototype.occurredAt = null; + ObjectGetRequest.prototype.id = null; /** - * Creates a new EventReason instance using the specified properties. + * Creates a new ObjectGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.event.EventReason + * @memberof flyteidl.admin.ObjectGetRequest * @static - * @param {flyteidl.event.IEventReason=} [properties] Properties to set - * @returns {flyteidl.event.EventReason} EventReason instance + * @param {flyteidl.admin.IObjectGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ObjectGetRequest} ObjectGetRequest instance */ - EventReason.create = function create(properties) { - return new EventReason(properties); + ObjectGetRequest.create = function create(properties) { + return new ObjectGetRequest(properties); }; /** - * Encodes the specified EventReason message. Does not implicitly {@link flyteidl.event.EventReason.verify|verify} messages. + * Encodes the specified ObjectGetRequest message. Does not implicitly {@link flyteidl.admin.ObjectGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.event.EventReason + * @memberof flyteidl.admin.ObjectGetRequest * @static - * @param {flyteidl.event.IEventReason} message EventReason message or plain object to encode + * @param {flyteidl.admin.IObjectGetRequest} message ObjectGetRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EventReason.encode = function encode(message, writer) { + ObjectGetRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.reason != null && message.hasOwnProperty("reason")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.reason); - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) - $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes an EventReason message from the specified reader or buffer. + * Decodes an ObjectGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.EventReason + * @memberof flyteidl.admin.ObjectGetRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.EventReason} EventReason + * @returns {flyteidl.admin.ObjectGetRequest} ObjectGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EventReason.decode = function decode(reader, length) { + ObjectGetRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.EventReason(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ObjectGetRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.reason = reader.string(); - break; - case 2: - message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -22137,69 +21481,49 @@ }; /** - * Verifies an EventReason message. + * Verifies an ObjectGetRequest message. * @function verify - * @memberof flyteidl.event.EventReason + * @memberof flyteidl.admin.ObjectGetRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - EventReason.verify = function verify(message) { + ObjectGetRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.reason != null && message.hasOwnProperty("reason")) - if (!$util.isString(message.reason)) - return "reason: string expected"; - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); if (error) - return "occurredAt." + error; + return "id." + error; } return null; }; - return EventReason; + return ObjectGetRequest; })(); - event.TaskExecutionEvent = (function() { + admin.ResourceListRequest = (function() { /** - * Properties of a TaskExecutionEvent. - * @memberof flyteidl.event - * @interface ITaskExecutionEvent - * @property {flyteidl.core.IIdentifier|null} [taskId] TaskExecutionEvent taskId - * @property {flyteidl.core.INodeExecutionIdentifier|null} [parentNodeExecutionId] TaskExecutionEvent parentNodeExecutionId - * @property {number|null} [retryAttempt] TaskExecutionEvent retryAttempt - * @property {flyteidl.core.TaskExecution.Phase|null} [phase] TaskExecutionEvent phase - * @property {string|null} [producerId] TaskExecutionEvent producerId - * @property {Array.|null} [logs] TaskExecutionEvent logs - * @property {google.protobuf.ITimestamp|null} [occurredAt] TaskExecutionEvent occurredAt - * @property {string|null} [inputUri] TaskExecutionEvent inputUri - * @property {flyteidl.core.ILiteralMap|null} [inputData] TaskExecutionEvent inputData - * @property {string|null} [outputUri] TaskExecutionEvent outputUri - * @property {flyteidl.core.IExecutionError|null} [error] TaskExecutionEvent error - * @property {flyteidl.core.ILiteralMap|null} [outputData] TaskExecutionEvent outputData - * @property {google.protobuf.IStruct|null} [customInfo] TaskExecutionEvent customInfo - * @property {number|null} [phaseVersion] TaskExecutionEvent phaseVersion - * @property {string|null} [reason] TaskExecutionEvent reason - * @property {Array.|null} [reasons] TaskExecutionEvent reasons - * @property {string|null} [taskType] TaskExecutionEvent taskType - * @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionEvent metadata - * @property {number|null} [eventVersion] TaskExecutionEvent eventVersion - * @property {google.protobuf.ITimestamp|null} [reportedAt] TaskExecutionEvent reportedAt + * Properties of a ResourceListRequest. + * @memberof flyteidl.admin + * @interface IResourceListRequest + * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] ResourceListRequest id + * @property {number|null} [limit] ResourceListRequest limit + * @property {string|null} [token] ResourceListRequest token + * @property {string|null} [filters] ResourceListRequest filters + * @property {flyteidl.admin.ISort|null} [sortBy] ResourceListRequest sortBy */ /** - * Constructs a new TaskExecutionEvent. - * @memberof flyteidl.event - * @classdesc Represents a TaskExecutionEvent. - * @implements ITaskExecutionEvent + * Constructs a new ResourceListRequest. + * @memberof flyteidl.admin + * @classdesc Represents a ResourceListRequest. + * @implements IResourceListRequest * @constructor - * @param {flyteidl.event.ITaskExecutionEvent=} [properties] Properties to set + * @param {flyteidl.admin.IResourceListRequest=} [properties] Properties to set */ - function TaskExecutionEvent(properties) { - this.logs = []; - this.reasons = []; + function ResourceListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22207,340 +21531,1074 @@ } /** - * TaskExecutionEvent taskId. - * @member {flyteidl.core.IIdentifier|null|undefined} taskId - * @memberof flyteidl.event.TaskExecutionEvent - * @instance - */ - TaskExecutionEvent.prototype.taskId = null; - - /** - * TaskExecutionEvent parentNodeExecutionId. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} parentNodeExecutionId - * @memberof flyteidl.event.TaskExecutionEvent + * ResourceListRequest id. + * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id + * @memberof flyteidl.admin.ResourceListRequest * @instance */ - TaskExecutionEvent.prototype.parentNodeExecutionId = null; + ResourceListRequest.prototype.id = null; /** - * TaskExecutionEvent retryAttempt. - * @member {number} retryAttempt - * @memberof flyteidl.event.TaskExecutionEvent + * ResourceListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.ResourceListRequest * @instance */ - TaskExecutionEvent.prototype.retryAttempt = 0; + ResourceListRequest.prototype.limit = 0; /** - * TaskExecutionEvent phase. - * @member {flyteidl.core.TaskExecution.Phase} phase - * @memberof flyteidl.event.TaskExecutionEvent + * ResourceListRequest token. + * @member {string} token + * @memberof flyteidl.admin.ResourceListRequest * @instance */ - TaskExecutionEvent.prototype.phase = 0; + ResourceListRequest.prototype.token = ""; /** - * TaskExecutionEvent producerId. - * @member {string} producerId - * @memberof flyteidl.event.TaskExecutionEvent + * ResourceListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.ResourceListRequest * @instance */ - TaskExecutionEvent.prototype.producerId = ""; + ResourceListRequest.prototype.filters = ""; /** - * TaskExecutionEvent logs. - * @member {Array.} logs - * @memberof flyteidl.event.TaskExecutionEvent + * ResourceListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.ResourceListRequest * @instance */ - TaskExecutionEvent.prototype.logs = $util.emptyArray; + ResourceListRequest.prototype.sortBy = null; /** - * TaskExecutionEvent occurredAt. - * @member {google.protobuf.ITimestamp|null|undefined} occurredAt - * @memberof flyteidl.event.TaskExecutionEvent - * @instance + * Creates a new ResourceListRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.ResourceListRequest + * @static + * @param {flyteidl.admin.IResourceListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ResourceListRequest} ResourceListRequest instance */ - TaskExecutionEvent.prototype.occurredAt = null; + ResourceListRequest.create = function create(properties) { + return new ResourceListRequest(properties); + }; /** - * TaskExecutionEvent inputUri. - * @member {string} inputUri - * @memberof flyteidl.event.TaskExecutionEvent - * @instance + * Encodes the specified ResourceListRequest message. Does not implicitly {@link flyteidl.admin.ResourceListRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.ResourceListRequest + * @static + * @param {flyteidl.admin.IResourceListRequest} message ResourceListRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - TaskExecutionEvent.prototype.inputUri = ""; - - /** - * TaskExecutionEvent inputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} inputData - * @memberof flyteidl.event.TaskExecutionEvent - * @instance + ResourceListRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.limit != null && message.hasOwnProperty("limit")) + writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); + if (message.filters != null && message.hasOwnProperty("filters")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); + if (message.sortBy != null && message.hasOwnProperty("sortBy")) + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a ResourceListRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.ResourceListRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.ResourceListRequest} ResourceListRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionEvent.prototype.inputData = null; + ResourceListRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ResourceListRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.limit = reader.uint32(); + break; + case 3: + message.token = reader.string(); + break; + case 4: + message.filters = reader.string(); + break; + case 5: + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * TaskExecutionEvent outputUri. - * @member {string} outputUri - * @memberof flyteidl.event.TaskExecutionEvent + * Verifies a ResourceListRequest message. + * @function verify + * @memberof flyteidl.admin.ResourceListRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ResourceListRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.limit != null && message.hasOwnProperty("limit")) + if (!$util.isInteger(message.limit)) + return "limit: integer expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + if (message.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; + if (message.sortBy != null && message.hasOwnProperty("sortBy")) { + var error = $root.flyteidl.admin.Sort.verify(message.sortBy); + if (error) + return "sortBy." + error; + } + return null; + }; + + return ResourceListRequest; + })(); + + admin.EmailNotification = (function() { + + /** + * Properties of an EmailNotification. + * @memberof flyteidl.admin + * @interface IEmailNotification + * @property {Array.|null} [recipientsEmail] EmailNotification recipientsEmail + */ + + /** + * Constructs a new EmailNotification. + * @memberof flyteidl.admin + * @classdesc Represents an EmailNotification. + * @implements IEmailNotification + * @constructor + * @param {flyteidl.admin.IEmailNotification=} [properties] Properties to set + */ + function EmailNotification(properties) { + this.recipientsEmail = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * EmailNotification recipientsEmail. + * @member {Array.} recipientsEmail + * @memberof flyteidl.admin.EmailNotification * @instance */ - TaskExecutionEvent.prototype.outputUri = ""; + EmailNotification.prototype.recipientsEmail = $util.emptyArray; /** - * TaskExecutionEvent error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.event.TaskExecutionEvent + * Creates a new EmailNotification instance using the specified properties. + * @function create + * @memberof flyteidl.admin.EmailNotification + * @static + * @param {flyteidl.admin.IEmailNotification=} [properties] Properties to set + * @returns {flyteidl.admin.EmailNotification} EmailNotification instance + */ + EmailNotification.create = function create(properties) { + return new EmailNotification(properties); + }; + + /** + * Encodes the specified EmailNotification message. Does not implicitly {@link flyteidl.admin.EmailNotification.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.EmailNotification + * @static + * @param {flyteidl.admin.IEmailNotification} message EmailNotification message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EmailNotification.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.recipientsEmail != null && message.recipientsEmail.length) + for (var i = 0; i < message.recipientsEmail.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.recipientsEmail[i]); + return writer; + }; + + /** + * Decodes an EmailNotification message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.EmailNotification + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.EmailNotification} EmailNotification + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EmailNotification.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.EmailNotification(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.recipientsEmail && message.recipientsEmail.length)) + message.recipientsEmail = []; + message.recipientsEmail.push(reader.string()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an EmailNotification message. + * @function verify + * @memberof flyteidl.admin.EmailNotification + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + EmailNotification.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.recipientsEmail != null && message.hasOwnProperty("recipientsEmail")) { + if (!Array.isArray(message.recipientsEmail)) + return "recipientsEmail: array expected"; + for (var i = 0; i < message.recipientsEmail.length; ++i) + if (!$util.isString(message.recipientsEmail[i])) + return "recipientsEmail: string[] expected"; + } + return null; + }; + + return EmailNotification; + })(); + + admin.PagerDutyNotification = (function() { + + /** + * Properties of a PagerDutyNotification. + * @memberof flyteidl.admin + * @interface IPagerDutyNotification + * @property {Array.|null} [recipientsEmail] PagerDutyNotification recipientsEmail + */ + + /** + * Constructs a new PagerDutyNotification. + * @memberof flyteidl.admin + * @classdesc Represents a PagerDutyNotification. + * @implements IPagerDutyNotification + * @constructor + * @param {flyteidl.admin.IPagerDutyNotification=} [properties] Properties to set + */ + function PagerDutyNotification(properties) { + this.recipientsEmail = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * PagerDutyNotification recipientsEmail. + * @member {Array.} recipientsEmail + * @memberof flyteidl.admin.PagerDutyNotification * @instance */ - TaskExecutionEvent.prototype.error = null; + PagerDutyNotification.prototype.recipientsEmail = $util.emptyArray; /** - * TaskExecutionEvent outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.event.TaskExecutionEvent + * Creates a new PagerDutyNotification instance using the specified properties. + * @function create + * @memberof flyteidl.admin.PagerDutyNotification + * @static + * @param {flyteidl.admin.IPagerDutyNotification=} [properties] Properties to set + * @returns {flyteidl.admin.PagerDutyNotification} PagerDutyNotification instance + */ + PagerDutyNotification.create = function create(properties) { + return new PagerDutyNotification(properties); + }; + + /** + * Encodes the specified PagerDutyNotification message. Does not implicitly {@link flyteidl.admin.PagerDutyNotification.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.PagerDutyNotification + * @static + * @param {flyteidl.admin.IPagerDutyNotification} message PagerDutyNotification message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + PagerDutyNotification.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.recipientsEmail != null && message.recipientsEmail.length) + for (var i = 0; i < message.recipientsEmail.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.recipientsEmail[i]); + return writer; + }; + + /** + * Decodes a PagerDutyNotification message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.PagerDutyNotification + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.PagerDutyNotification} PagerDutyNotification + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + PagerDutyNotification.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.PagerDutyNotification(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.recipientsEmail && message.recipientsEmail.length)) + message.recipientsEmail = []; + message.recipientsEmail.push(reader.string()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a PagerDutyNotification message. + * @function verify + * @memberof flyteidl.admin.PagerDutyNotification + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + PagerDutyNotification.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.recipientsEmail != null && message.hasOwnProperty("recipientsEmail")) { + if (!Array.isArray(message.recipientsEmail)) + return "recipientsEmail: array expected"; + for (var i = 0; i < message.recipientsEmail.length; ++i) + if (!$util.isString(message.recipientsEmail[i])) + return "recipientsEmail: string[] expected"; + } + return null; + }; + + return PagerDutyNotification; + })(); + + admin.SlackNotification = (function() { + + /** + * Properties of a SlackNotification. + * @memberof flyteidl.admin + * @interface ISlackNotification + * @property {Array.|null} [recipientsEmail] SlackNotification recipientsEmail + */ + + /** + * Constructs a new SlackNotification. + * @memberof flyteidl.admin + * @classdesc Represents a SlackNotification. + * @implements ISlackNotification + * @constructor + * @param {flyteidl.admin.ISlackNotification=} [properties] Properties to set + */ + function SlackNotification(properties) { + this.recipientsEmail = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * SlackNotification recipientsEmail. + * @member {Array.} recipientsEmail + * @memberof flyteidl.admin.SlackNotification * @instance */ - TaskExecutionEvent.prototype.outputData = null; + SlackNotification.prototype.recipientsEmail = $util.emptyArray; /** - * TaskExecutionEvent customInfo. - * @member {google.protobuf.IStruct|null|undefined} customInfo - * @memberof flyteidl.event.TaskExecutionEvent + * Creates a new SlackNotification instance using the specified properties. + * @function create + * @memberof flyteidl.admin.SlackNotification + * @static + * @param {flyteidl.admin.ISlackNotification=} [properties] Properties to set + * @returns {flyteidl.admin.SlackNotification} SlackNotification instance + */ + SlackNotification.create = function create(properties) { + return new SlackNotification(properties); + }; + + /** + * Encodes the specified SlackNotification message. Does not implicitly {@link flyteidl.admin.SlackNotification.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.SlackNotification + * @static + * @param {flyteidl.admin.ISlackNotification} message SlackNotification message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SlackNotification.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.recipientsEmail != null && message.recipientsEmail.length) + for (var i = 0; i < message.recipientsEmail.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.recipientsEmail[i]); + return writer; + }; + + /** + * Decodes a SlackNotification message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.SlackNotification + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.SlackNotification} SlackNotification + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SlackNotification.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SlackNotification(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.recipientsEmail && message.recipientsEmail.length)) + message.recipientsEmail = []; + message.recipientsEmail.push(reader.string()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a SlackNotification message. + * @function verify + * @memberof flyteidl.admin.SlackNotification + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + SlackNotification.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.recipientsEmail != null && message.hasOwnProperty("recipientsEmail")) { + if (!Array.isArray(message.recipientsEmail)) + return "recipientsEmail: array expected"; + for (var i = 0; i < message.recipientsEmail.length; ++i) + if (!$util.isString(message.recipientsEmail[i])) + return "recipientsEmail: string[] expected"; + } + return null; + }; + + return SlackNotification; + })(); + + admin.Notification = (function() { + + /** + * Properties of a Notification. + * @memberof flyteidl.admin + * @interface INotification + * @property {Array.|null} [phases] Notification phases + * @property {flyteidl.admin.IEmailNotification|null} [email] Notification email + * @property {flyteidl.admin.IPagerDutyNotification|null} [pagerDuty] Notification pagerDuty + * @property {flyteidl.admin.ISlackNotification|null} [slack] Notification slack + */ + + /** + * Constructs a new Notification. + * @memberof flyteidl.admin + * @classdesc Represents a Notification. + * @implements INotification + * @constructor + * @param {flyteidl.admin.INotification=} [properties] Properties to set + */ + function Notification(properties) { + this.phases = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Notification phases. + * @member {Array.} phases + * @memberof flyteidl.admin.Notification * @instance */ - TaskExecutionEvent.prototype.customInfo = null; + Notification.prototype.phases = $util.emptyArray; /** - * TaskExecutionEvent phaseVersion. - * @member {number} phaseVersion - * @memberof flyteidl.event.TaskExecutionEvent + * Notification email. + * @member {flyteidl.admin.IEmailNotification|null|undefined} email + * @memberof flyteidl.admin.Notification * @instance */ - TaskExecutionEvent.prototype.phaseVersion = 0; + Notification.prototype.email = null; /** - * TaskExecutionEvent reason. - * @member {string} reason - * @memberof flyteidl.event.TaskExecutionEvent + * Notification pagerDuty. + * @member {flyteidl.admin.IPagerDutyNotification|null|undefined} pagerDuty + * @memberof flyteidl.admin.Notification * @instance */ - TaskExecutionEvent.prototype.reason = ""; + Notification.prototype.pagerDuty = null; /** - * TaskExecutionEvent reasons. - * @member {Array.} reasons - * @memberof flyteidl.event.TaskExecutionEvent + * Notification slack. + * @member {flyteidl.admin.ISlackNotification|null|undefined} slack + * @memberof flyteidl.admin.Notification * @instance */ - TaskExecutionEvent.prototype.reasons = $util.emptyArray; + Notification.prototype.slack = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * TaskExecutionEvent taskType. - * @member {string} taskType - * @memberof flyteidl.event.TaskExecutionEvent + * Notification type. + * @member {"email"|"pagerDuty"|"slack"|undefined} type + * @memberof flyteidl.admin.Notification * @instance */ - TaskExecutionEvent.prototype.taskType = ""; + Object.defineProperty(Notification.prototype, "type", { + get: $util.oneOfGetter($oneOfFields = ["email", "pagerDuty", "slack"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Notification instance using the specified properties. + * @function create + * @memberof flyteidl.admin.Notification + * @static + * @param {flyteidl.admin.INotification=} [properties] Properties to set + * @returns {flyteidl.admin.Notification} Notification instance + */ + Notification.create = function create(properties) { + return new Notification(properties); + }; + + /** + * Encodes the specified Notification message. Does not implicitly {@link flyteidl.admin.Notification.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.Notification + * @static + * @param {flyteidl.admin.INotification} message Notification message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Notification.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.phases != null && message.phases.length) { + writer.uint32(/* id 1, wireType 2 =*/10).fork(); + for (var i = 0; i < message.phases.length; ++i) + writer.int32(message.phases[i]); + writer.ldelim(); + } + if (message.email != null && message.hasOwnProperty("email")) + $root.flyteidl.admin.EmailNotification.encode(message.email, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.pagerDuty != null && message.hasOwnProperty("pagerDuty")) + $root.flyteidl.admin.PagerDutyNotification.encode(message.pagerDuty, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.slack != null && message.hasOwnProperty("slack")) + $root.flyteidl.admin.SlackNotification.encode(message.slack, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a Notification message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.Notification + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.Notification} Notification + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Notification.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Notification(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.phases && message.phases.length)) + message.phases = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.phases.push(reader.int32()); + } else + message.phases.push(reader.int32()); + break; + case 2: + message.email = $root.flyteidl.admin.EmailNotification.decode(reader, reader.uint32()); + break; + case 3: + message.pagerDuty = $root.flyteidl.admin.PagerDutyNotification.decode(reader, reader.uint32()); + break; + case 4: + message.slack = $root.flyteidl.admin.SlackNotification.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a Notification message. + * @function verify + * @memberof flyteidl.admin.Notification + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Notification.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.phases != null && message.hasOwnProperty("phases")) { + if (!Array.isArray(message.phases)) + return "phases: array expected"; + for (var i = 0; i < message.phases.length; ++i) + switch (message.phases[i]) { + default: + return "phases: enum value[] expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + break; + } + } + if (message.email != null && message.hasOwnProperty("email")) { + properties.type = 1; + { + var error = $root.flyteidl.admin.EmailNotification.verify(message.email); + if (error) + return "email." + error; + } + } + if (message.pagerDuty != null && message.hasOwnProperty("pagerDuty")) { + if (properties.type === 1) + return "type: multiple values"; + properties.type = 1; + { + var error = $root.flyteidl.admin.PagerDutyNotification.verify(message.pagerDuty); + if (error) + return "pagerDuty." + error; + } + } + if (message.slack != null && message.hasOwnProperty("slack")) { + if (properties.type === 1) + return "type: multiple values"; + properties.type = 1; + { + var error = $root.flyteidl.admin.SlackNotification.verify(message.slack); + if (error) + return "slack." + error; + } + } + return null; + }; + + return Notification; + })(); + + admin.UrlBlob = (function() { + + /** + * Properties of an UrlBlob. + * @memberof flyteidl.admin + * @interface IUrlBlob + * @property {string|null} [url] UrlBlob url + * @property {Long|null} [bytes] UrlBlob bytes + */ + + /** + * Constructs a new UrlBlob. + * @memberof flyteidl.admin + * @classdesc Represents an UrlBlob. + * @implements IUrlBlob + * @constructor + * @param {flyteidl.admin.IUrlBlob=} [properties] Properties to set + */ + function UrlBlob(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * UrlBlob url. + * @member {string} url + * @memberof flyteidl.admin.UrlBlob + * @instance + */ + UrlBlob.prototype.url = ""; + + /** + * UrlBlob bytes. + * @member {Long} bytes + * @memberof flyteidl.admin.UrlBlob + * @instance + */ + UrlBlob.prototype.bytes = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * Creates a new UrlBlob instance using the specified properties. + * @function create + * @memberof flyteidl.admin.UrlBlob + * @static + * @param {flyteidl.admin.IUrlBlob=} [properties] Properties to set + * @returns {flyteidl.admin.UrlBlob} UrlBlob instance + */ + UrlBlob.create = function create(properties) { + return new UrlBlob(properties); + }; + + /** + * Encodes the specified UrlBlob message. Does not implicitly {@link flyteidl.admin.UrlBlob.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.UrlBlob + * @static + * @param {flyteidl.admin.IUrlBlob} message UrlBlob message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + UrlBlob.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.url != null && message.hasOwnProperty("url")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.url); + if (message.bytes != null && message.hasOwnProperty("bytes")) + writer.uint32(/* id 2, wireType 0 =*/16).int64(message.bytes); + return writer; + }; + + /** + * Decodes an UrlBlob message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.UrlBlob + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.UrlBlob} UrlBlob + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UrlBlob.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.UrlBlob(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.url = reader.string(); + break; + case 2: + message.bytes = reader.int64(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an UrlBlob message. + * @function verify + * @memberof flyteidl.admin.UrlBlob + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + UrlBlob.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.url != null && message.hasOwnProperty("url")) + if (!$util.isString(message.url)) + return "url: string expected"; + if (message.bytes != null && message.hasOwnProperty("bytes")) + if (!$util.isInteger(message.bytes) && !(message.bytes && $util.isInteger(message.bytes.low) && $util.isInteger(message.bytes.high))) + return "bytes: integer|Long expected"; + return null; + }; + + return UrlBlob; + })(); + + admin.Labels = (function() { + + /** + * Properties of a Labels. + * @memberof flyteidl.admin + * @interface ILabels + * @property {Object.|null} [values] Labels values + */ + + /** + * Constructs a new Labels. + * @memberof flyteidl.admin + * @classdesc Represents a Labels. + * @implements ILabels + * @constructor + * @param {flyteidl.admin.ILabels=} [properties] Properties to set + */ + function Labels(properties) { + this.values = {}; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Labels values. + * @member {Object.} values + * @memberof flyteidl.admin.Labels + * @instance + */ + Labels.prototype.values = $util.emptyObject; + + /** + * Creates a new Labels instance using the specified properties. + * @function create + * @memberof flyteidl.admin.Labels + * @static + * @param {flyteidl.admin.ILabels=} [properties] Properties to set + * @returns {flyteidl.admin.Labels} Labels instance + */ + Labels.create = function create(properties) { + return new Labels(properties); + }; + + /** + * Encodes the specified Labels message. Does not implicitly {@link flyteidl.admin.Labels.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.Labels + * @static + * @param {flyteidl.admin.ILabels} message Labels message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Labels.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.values != null && message.hasOwnProperty("values")) + for (var keys = Object.keys(message.values), i = 0; i < keys.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.values[keys[i]]).ldelim(); + return writer; + }; + + /** + * Decodes a Labels message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.Labels + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.Labels} Labels + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Labels.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Labels(), key; + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + reader.skip().pos++; + if (message.values === $util.emptyObject) + message.values = {}; + key = reader.string(); + reader.pos++; + message.values[key] = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * TaskExecutionEvent metadata. - * @member {flyteidl.event.ITaskExecutionMetadata|null|undefined} metadata - * @memberof flyteidl.event.TaskExecutionEvent - * @instance + * Verifies a Labels message. + * @function verify + * @memberof flyteidl.admin.Labels + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionEvent.prototype.metadata = null; + Labels.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.values != null && message.hasOwnProperty("values")) { + if (!$util.isObject(message.values)) + return "values: object expected"; + var key = Object.keys(message.values); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.values[key[i]])) + return "values: string{k:string} expected"; + } + return null; + }; - /** - * TaskExecutionEvent eventVersion. - * @member {number} eventVersion - * @memberof flyteidl.event.TaskExecutionEvent - * @instance - */ - TaskExecutionEvent.prototype.eventVersion = 0; + return Labels; + })(); + + admin.Annotations = (function() { /** - * TaskExecutionEvent reportedAt. - * @member {google.protobuf.ITimestamp|null|undefined} reportedAt - * @memberof flyteidl.event.TaskExecutionEvent - * @instance + * Properties of an Annotations. + * @memberof flyteidl.admin + * @interface IAnnotations + * @property {Object.|null} [values] Annotations values */ - TaskExecutionEvent.prototype.reportedAt = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; /** - * TaskExecutionEvent inputValue. - * @member {"inputUri"|"inputData"|undefined} inputValue - * @memberof flyteidl.event.TaskExecutionEvent - * @instance + * Constructs a new Annotations. + * @memberof flyteidl.admin + * @classdesc Represents an Annotations. + * @implements IAnnotations + * @constructor + * @param {flyteidl.admin.IAnnotations=} [properties] Properties to set */ - Object.defineProperty(TaskExecutionEvent.prototype, "inputValue", { - get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]), - set: $util.oneOfSetter($oneOfFields) - }); + function Annotations(properties) { + this.values = {}; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } /** - * TaskExecutionEvent outputResult. - * @member {"outputUri"|"error"|"outputData"|undefined} outputResult - * @memberof flyteidl.event.TaskExecutionEvent + * Annotations values. + * @member {Object.} values + * @memberof flyteidl.admin.Annotations * @instance */ - Object.defineProperty(TaskExecutionEvent.prototype, "outputResult", { - get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), - set: $util.oneOfSetter($oneOfFields) - }); + Annotations.prototype.values = $util.emptyObject; /** - * Creates a new TaskExecutionEvent instance using the specified properties. + * Creates a new Annotations instance using the specified properties. * @function create - * @memberof flyteidl.event.TaskExecutionEvent + * @memberof flyteidl.admin.Annotations * @static - * @param {flyteidl.event.ITaskExecutionEvent=} [properties] Properties to set - * @returns {flyteidl.event.TaskExecutionEvent} TaskExecutionEvent instance + * @param {flyteidl.admin.IAnnotations=} [properties] Properties to set + * @returns {flyteidl.admin.Annotations} Annotations instance */ - TaskExecutionEvent.create = function create(properties) { - return new TaskExecutionEvent(properties); + Annotations.create = function create(properties) { + return new Annotations(properties); }; /** - * Encodes the specified TaskExecutionEvent message. Does not implicitly {@link flyteidl.event.TaskExecutionEvent.verify|verify} messages. + * Encodes the specified Annotations message. Does not implicitly {@link flyteidl.admin.Annotations.verify|verify} messages. * @function encode - * @memberof flyteidl.event.TaskExecutionEvent + * @memberof flyteidl.admin.Annotations * @static - * @param {flyteidl.event.ITaskExecutionEvent} message TaskExecutionEvent message or plain object to encode + * @param {flyteidl.admin.IAnnotations} message Annotations message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionEvent.encode = function encode(message, writer) { + Annotations.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.taskId != null && message.hasOwnProperty("taskId")) - $root.flyteidl.core.Identifier.encode(message.taskId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parentNodeExecutionId != null && message.hasOwnProperty("parentNodeExecutionId")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.parentNodeExecutionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.retryAttempt); - if (message.phase != null && message.hasOwnProperty("phase")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.phase); - if (message.producerId != null && message.hasOwnProperty("producerId")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.producerId); - if (message.logs != null && message.logs.length) - for (var i = 0; i < message.logs.length; ++i) - $root.flyteidl.core.TaskLog.encode(message.logs[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) - $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.inputUri != null && message.hasOwnProperty("inputUri")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.inputUri); - if (message.outputUri != null && message.hasOwnProperty("outputUri")) - writer.uint32(/* id 9, wireType 2 =*/74).string(message.outputUri); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - if (message.customInfo != null && message.hasOwnProperty("customInfo")) - $root.google.protobuf.Struct.encode(message.customInfo, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.phaseVersion != null && message.hasOwnProperty("phaseVersion")) - writer.uint32(/* id 12, wireType 0 =*/96).uint32(message.phaseVersion); - if (message.reason != null && message.hasOwnProperty("reason")) - writer.uint32(/* id 13, wireType 2 =*/106).string(message.reason); - if (message.taskType != null && message.hasOwnProperty("taskType")) - writer.uint32(/* id 14, wireType 2 =*/114).string(message.taskType); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.event.TaskExecutionMetadata.encode(message.metadata, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - if (message.outputData != null && message.hasOwnProperty("outputData")) - $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); - if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) - writer.uint32(/* id 18, wireType 0 =*/144).int32(message.eventVersion); - if (message.inputData != null && message.hasOwnProperty("inputData")) - $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim(); - if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) - $root.google.protobuf.Timestamp.encode(message.reportedAt, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); - if (message.reasons != null && message.reasons.length) - for (var i = 0; i < message.reasons.length; ++i) - $root.flyteidl.event.EventReason.encode(message.reasons[i], writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); + if (message.values != null && message.hasOwnProperty("values")) + for (var keys = Object.keys(message.values), i = 0; i < keys.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.values[keys[i]]).ldelim(); return writer; }; /** - * Decodes a TaskExecutionEvent message from the specified reader or buffer. + * Decodes an Annotations message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.TaskExecutionEvent + * @memberof flyteidl.admin.Annotations * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.TaskExecutionEvent} TaskExecutionEvent + * @returns {flyteidl.admin.Annotations} Annotations * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionEvent.decode = function decode(reader, length) { + Annotations.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.TaskExecutionEvent(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Annotations(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.taskId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 2: - message.parentNodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 3: - message.retryAttempt = reader.uint32(); - break; - case 4: - message.phase = reader.int32(); - break; - case 5: - message.producerId = reader.string(); - break; - case 6: - if (!(message.logs && message.logs.length)) - message.logs = []; - message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32())); - break; - case 7: - message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 8: - message.inputUri = reader.string(); - break; - case 19: - message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 9: - message.outputUri = reader.string(); - break; - case 10: - message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); - break; - case 17: - message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 11: - message.customInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 12: - message.phaseVersion = reader.uint32(); - break; - case 13: - message.reason = reader.string(); - break; - case 21: - if (!(message.reasons && message.reasons.length)) - message.reasons = []; - message.reasons.push($root.flyteidl.event.EventReason.decode(reader, reader.uint32())); - break; - case 14: - message.taskType = reader.string(); - break; - case 16: - message.metadata = $root.flyteidl.event.TaskExecutionMetadata.decode(reader, reader.uint32()); - break; - case 18: - message.eventVersion = reader.int32(); - break; - case 20: - message.reportedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + reader.skip().pos++; + if (message.values === $util.emptyObject) + message.values = {}; + key = reader.string(); + reader.pos++; + message.values[key] = reader.string(); break; default: reader.skipType(tag & 7); @@ -22551,169 +22609,49 @@ }; /** - * Verifies a TaskExecutionEvent message. + * Verifies an Annotations message. * @function verify - * @memberof flyteidl.event.TaskExecutionEvent + * @memberof flyteidl.admin.Annotations * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionEvent.verify = function verify(message) { + Annotations.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.taskId != null && message.hasOwnProperty("taskId")) { - var error = $root.flyteidl.core.Identifier.verify(message.taskId); - if (error) - return "taskId." + error; - } - if (message.parentNodeExecutionId != null && message.hasOwnProperty("parentNodeExecutionId")) { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.parentNodeExecutionId); - if (error) - return "parentNodeExecutionId." + error; - } - if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) - if (!$util.isInteger(message.retryAttempt)) - return "retryAttempt: integer expected"; - if (message.phase != null && message.hasOwnProperty("phase")) - switch (message.phase) { - default: - return "phase: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - break; - } - if (message.producerId != null && message.hasOwnProperty("producerId")) - if (!$util.isString(message.producerId)) - return "producerId: string expected"; - if (message.logs != null && message.hasOwnProperty("logs")) { - if (!Array.isArray(message.logs)) - return "logs: array expected"; - for (var i = 0; i < message.logs.length; ++i) { - var error = $root.flyteidl.core.TaskLog.verify(message.logs[i]); - if (error) - return "logs." + error; - } - } - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); - if (error) - return "occurredAt." + error; - } - if (message.inputUri != null && message.hasOwnProperty("inputUri")) { - properties.inputValue = 1; - if (!$util.isString(message.inputUri)) - return "inputUri: string expected"; - } - if (message.inputData != null && message.hasOwnProperty("inputData")) { - if (properties.inputValue === 1) - return "inputValue: multiple values"; - properties.inputValue = 1; - { - var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); - if (error) - return "inputData." + error; - } - } - if (message.outputUri != null && message.hasOwnProperty("outputUri")) { - properties.outputResult = 1; - if (!$util.isString(message.outputUri)) - return "outputUri: string expected"; - } - if (message.error != null && message.hasOwnProperty("error")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - { - var error = $root.flyteidl.core.ExecutionError.verify(message.error); - if (error) - return "error." + error; - } - } - if (message.outputData != null && message.hasOwnProperty("outputData")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); - if (error) - return "outputData." + error; - } - } - if (message.customInfo != null && message.hasOwnProperty("customInfo")) { - var error = $root.google.protobuf.Struct.verify(message.customInfo); - if (error) - return "customInfo." + error; - } - if (message.phaseVersion != null && message.hasOwnProperty("phaseVersion")) - if (!$util.isInteger(message.phaseVersion)) - return "phaseVersion: integer expected"; - if (message.reason != null && message.hasOwnProperty("reason")) - if (!$util.isString(message.reason)) - return "reason: string expected"; - if (message.reasons != null && message.hasOwnProperty("reasons")) { - if (!Array.isArray(message.reasons)) - return "reasons: array expected"; - for (var i = 0; i < message.reasons.length; ++i) { - var error = $root.flyteidl.event.EventReason.verify(message.reasons[i]); - if (error) - return "reasons." + error; - } - } - if (message.taskType != null && message.hasOwnProperty("taskType")) - if (!$util.isString(message.taskType)) - return "taskType: string expected"; - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.event.TaskExecutionMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } - if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) - if (!$util.isInteger(message.eventVersion)) - return "eventVersion: integer expected"; - if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.reportedAt); - if (error) - return "reportedAt." + error; + if (message.values != null && message.hasOwnProperty("values")) { + if (!$util.isObject(message.values)) + return "values: object expected"; + var key = Object.keys(message.values); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.values[key[i]])) + return "values: string{k:string} expected"; } return null; }; - return TaskExecutionEvent; + return Annotations; })(); - event.ExternalResourceInfo = (function() { + admin.Envs = (function() { /** - * Properties of an ExternalResourceInfo. - * @memberof flyteidl.event - * @interface IExternalResourceInfo - * @property {string|null} [externalId] ExternalResourceInfo externalId - * @property {number|null} [index] ExternalResourceInfo index - * @property {number|null} [retryAttempt] ExternalResourceInfo retryAttempt - * @property {flyteidl.core.TaskExecution.Phase|null} [phase] ExternalResourceInfo phase - * @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] ExternalResourceInfo cacheStatus - * @property {Array.|null} [logs] ExternalResourceInfo logs - * @property {flyteidl.event.IWorkflowNodeMetadata|null} [workflowNodeMetadata] ExternalResourceInfo workflowNodeMetadata - * @property {google.protobuf.IStruct|null} [customInfo] ExternalResourceInfo customInfo + * Properties of an Envs. + * @memberof flyteidl.admin + * @interface IEnvs + * @property {Array.|null} [values] Envs values */ /** - * Constructs a new ExternalResourceInfo. - * @memberof flyteidl.event - * @classdesc Represents an ExternalResourceInfo. - * @implements IExternalResourceInfo + * Constructs a new Envs. + * @memberof flyteidl.admin + * @classdesc Represents an Envs. + * @implements IEnvs * @constructor - * @param {flyteidl.event.IExternalResourceInfo=} [properties] Properties to set + * @param {flyteidl.admin.IEnvs=} [properties] Properties to set */ - function ExternalResourceInfo(properties) { - this.logs = []; + function Envs(properties) { + this.values = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22721,170 +22659,195 @@ } /** - * ExternalResourceInfo externalId. - * @member {string} externalId - * @memberof flyteidl.event.ExternalResourceInfo + * Envs values. + * @member {Array.} values + * @memberof flyteidl.admin.Envs * @instance */ - ExternalResourceInfo.prototype.externalId = ""; + Envs.prototype.values = $util.emptyArray; /** - * ExternalResourceInfo index. - * @member {number} index - * @memberof flyteidl.event.ExternalResourceInfo - * @instance + * Creates a new Envs instance using the specified properties. + * @function create + * @memberof flyteidl.admin.Envs + * @static + * @param {flyteidl.admin.IEnvs=} [properties] Properties to set + * @returns {flyteidl.admin.Envs} Envs instance */ - ExternalResourceInfo.prototype.index = 0; + Envs.create = function create(properties) { + return new Envs(properties); + }; /** - * ExternalResourceInfo retryAttempt. - * @member {number} retryAttempt - * @memberof flyteidl.event.ExternalResourceInfo - * @instance + * Encodes the specified Envs message. Does not implicitly {@link flyteidl.admin.Envs.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.Envs + * @static + * @param {flyteidl.admin.IEnvs} message Envs message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - ExternalResourceInfo.prototype.retryAttempt = 0; + Envs.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.values != null && message.values.length) + for (var i = 0; i < message.values.length; ++i) + $root.flyteidl.core.KeyValuePair.encode(message.values[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; /** - * ExternalResourceInfo phase. - * @member {flyteidl.core.TaskExecution.Phase} phase - * @memberof flyteidl.event.ExternalResourceInfo - * @instance + * Decodes an Envs message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.Envs + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.Envs} Envs + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExternalResourceInfo.prototype.phase = 0; + Envs.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Envs(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.values && message.values.length)) + message.values = []; + message.values.push($root.flyteidl.core.KeyValuePair.decode(reader, reader.uint32())); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an Envs message. + * @function verify + * @memberof flyteidl.admin.Envs + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Envs.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.values != null && message.hasOwnProperty("values")) { + if (!Array.isArray(message.values)) + return "values: array expected"; + for (var i = 0; i < message.values.length; ++i) { + var error = $root.flyteidl.core.KeyValuePair.verify(message.values[i]); + if (error) + return "values." + error; + } + } + return null; + }; + + return Envs; + })(); - /** - * ExternalResourceInfo cacheStatus. - * @member {flyteidl.core.CatalogCacheStatus} cacheStatus - * @memberof flyteidl.event.ExternalResourceInfo - * @instance - */ - ExternalResourceInfo.prototype.cacheStatus = 0; + admin.AuthRole = (function() { /** - * ExternalResourceInfo logs. - * @member {Array.} logs - * @memberof flyteidl.event.ExternalResourceInfo - * @instance + * Properties of an AuthRole. + * @memberof flyteidl.admin + * @interface IAuthRole + * @property {string|null} [assumableIamRole] AuthRole assumableIamRole + * @property {string|null} [kubernetesServiceAccount] AuthRole kubernetesServiceAccount */ - ExternalResourceInfo.prototype.logs = $util.emptyArray; /** - * ExternalResourceInfo workflowNodeMetadata. - * @member {flyteidl.event.IWorkflowNodeMetadata|null|undefined} workflowNodeMetadata - * @memberof flyteidl.event.ExternalResourceInfo - * @instance + * Constructs a new AuthRole. + * @memberof flyteidl.admin + * @classdesc Represents an AuthRole. + * @implements IAuthRole + * @constructor + * @param {flyteidl.admin.IAuthRole=} [properties] Properties to set */ - ExternalResourceInfo.prototype.workflowNodeMetadata = null; + function AuthRole(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } /** - * ExternalResourceInfo customInfo. - * @member {google.protobuf.IStruct|null|undefined} customInfo - * @memberof flyteidl.event.ExternalResourceInfo + * AuthRole assumableIamRole. + * @member {string} assumableIamRole + * @memberof flyteidl.admin.AuthRole * @instance */ - ExternalResourceInfo.prototype.customInfo = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + AuthRole.prototype.assumableIamRole = ""; /** - * ExternalResourceInfo targetMetadata. - * @member {"workflowNodeMetadata"|undefined} targetMetadata - * @memberof flyteidl.event.ExternalResourceInfo + * AuthRole kubernetesServiceAccount. + * @member {string} kubernetesServiceAccount + * @memberof flyteidl.admin.AuthRole * @instance */ - Object.defineProperty(ExternalResourceInfo.prototype, "targetMetadata", { - get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata"]), - set: $util.oneOfSetter($oneOfFields) - }); + AuthRole.prototype.kubernetesServiceAccount = ""; /** - * Creates a new ExternalResourceInfo instance using the specified properties. + * Creates a new AuthRole instance using the specified properties. * @function create - * @memberof flyteidl.event.ExternalResourceInfo + * @memberof flyteidl.admin.AuthRole * @static - * @param {flyteidl.event.IExternalResourceInfo=} [properties] Properties to set - * @returns {flyteidl.event.ExternalResourceInfo} ExternalResourceInfo instance + * @param {flyteidl.admin.IAuthRole=} [properties] Properties to set + * @returns {flyteidl.admin.AuthRole} AuthRole instance */ - ExternalResourceInfo.create = function create(properties) { - return new ExternalResourceInfo(properties); + AuthRole.create = function create(properties) { + return new AuthRole(properties); }; /** - * Encodes the specified ExternalResourceInfo message. Does not implicitly {@link flyteidl.event.ExternalResourceInfo.verify|verify} messages. + * Encodes the specified AuthRole message. Does not implicitly {@link flyteidl.admin.AuthRole.verify|verify} messages. * @function encode - * @memberof flyteidl.event.ExternalResourceInfo + * @memberof flyteidl.admin.AuthRole * @static - * @param {flyteidl.event.IExternalResourceInfo} message ExternalResourceInfo message or plain object to encode + * @param {flyteidl.admin.IAuthRole} message AuthRole message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExternalResourceInfo.encode = function encode(message, writer) { + AuthRole.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.externalId != null && message.hasOwnProperty("externalId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.externalId); - if (message.index != null && message.hasOwnProperty("index")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.index); - if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.retryAttempt); - if (message.phase != null && message.hasOwnProperty("phase")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.phase); - if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.cacheStatus); - if (message.logs != null && message.logs.length) - for (var i = 0; i < message.logs.length; ++i) - $root.flyteidl.core.TaskLog.encode(message.logs[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) - $root.flyteidl.event.WorkflowNodeMetadata.encode(message.workflowNodeMetadata, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.customInfo != null && message.hasOwnProperty("customInfo")) - $root.google.protobuf.Struct.encode(message.customInfo, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.assumableIamRole); + if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.kubernetesServiceAccount); return writer; }; /** - * Decodes an ExternalResourceInfo message from the specified reader or buffer. + * Decodes an AuthRole message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.ExternalResourceInfo + * @memberof flyteidl.admin.AuthRole * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.ExternalResourceInfo} ExternalResourceInfo + * @returns {flyteidl.admin.AuthRole} AuthRole * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExternalResourceInfo.decode = function decode(reader, length) { + AuthRole.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.ExternalResourceInfo(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.AuthRole(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.externalId = reader.string(); + message.assumableIamRole = reader.string(); break; case 2: - message.index = reader.uint32(); - break; - case 3: - message.retryAttempt = reader.uint32(); - break; - case 4: - message.phase = reader.int32(); - break; - case 5: - message.cacheStatus = reader.int32(); - break; - case 6: - if (!(message.logs && message.logs.length)) - message.logs = []; - message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32())); - break; - case 7: - message.workflowNodeMetadata = $root.flyteidl.event.WorkflowNodeMetadata.decode(reader, reader.uint32()); - break; - case 8: - message.customInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + message.kubernetesServiceAccount = reader.string(); break; default: reader.skipType(tag & 7); @@ -22895,101 +22858,46 @@ }; /** - * Verifies an ExternalResourceInfo message. + * Verifies an AuthRole message. * @function verify - * @memberof flyteidl.event.ExternalResourceInfo + * @memberof flyteidl.admin.AuthRole * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExternalResourceInfo.verify = function verify(message) { + AuthRole.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.externalId != null && message.hasOwnProperty("externalId")) - if (!$util.isString(message.externalId)) - return "externalId: string expected"; - if (message.index != null && message.hasOwnProperty("index")) - if (!$util.isInteger(message.index)) - return "index: integer expected"; - if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) - if (!$util.isInteger(message.retryAttempt)) - return "retryAttempt: integer expected"; - if (message.phase != null && message.hasOwnProperty("phase")) - switch (message.phase) { - default: - return "phase: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - break; - } - if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) - switch (message.cacheStatus) { - default: - return "cacheStatus: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - break; - } - if (message.logs != null && message.hasOwnProperty("logs")) { - if (!Array.isArray(message.logs)) - return "logs: array expected"; - for (var i = 0; i < message.logs.length; ++i) { - var error = $root.flyteidl.core.TaskLog.verify(message.logs[i]); - if (error) - return "logs." + error; - } - } - if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) { - properties.targetMetadata = 1; - { - var error = $root.flyteidl.event.WorkflowNodeMetadata.verify(message.workflowNodeMetadata); - if (error) - return "workflowNodeMetadata." + error; - } - } - if (message.customInfo != null && message.hasOwnProperty("customInfo")) { - var error = $root.google.protobuf.Struct.verify(message.customInfo); - if (error) - return "customInfo." + error; - } + if (message.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) + if (!$util.isString(message.assumableIamRole)) + return "assumableIamRole: string expected"; + if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) + if (!$util.isString(message.kubernetesServiceAccount)) + return "kubernetesServiceAccount: string expected"; return null; }; - return ExternalResourceInfo; + return AuthRole; })(); - event.ResourcePoolInfo = (function() { + admin.RawOutputDataConfig = (function() { /** - * Properties of a ResourcePoolInfo. - * @memberof flyteidl.event - * @interface IResourcePoolInfo - * @property {string|null} [allocationToken] ResourcePoolInfo allocationToken - * @property {string|null} [namespace] ResourcePoolInfo namespace + * Properties of a RawOutputDataConfig. + * @memberof flyteidl.admin + * @interface IRawOutputDataConfig + * @property {string|null} [outputLocationPrefix] RawOutputDataConfig outputLocationPrefix */ /** - * Constructs a new ResourcePoolInfo. - * @memberof flyteidl.event - * @classdesc Represents a ResourcePoolInfo. - * @implements IResourcePoolInfo + * Constructs a new RawOutputDataConfig. + * @memberof flyteidl.admin + * @classdesc Represents a RawOutputDataConfig. + * @implements IRawOutputDataConfig * @constructor - * @param {flyteidl.event.IResourcePoolInfo=} [properties] Properties to set + * @param {flyteidl.admin.IRawOutputDataConfig=} [properties] Properties to set */ - function ResourcePoolInfo(properties) { + function RawOutputDataConfig(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22997,75 +22905,62 @@ } /** - * ResourcePoolInfo allocationToken. - * @member {string} allocationToken - * @memberof flyteidl.event.ResourcePoolInfo - * @instance - */ - ResourcePoolInfo.prototype.allocationToken = ""; - - /** - * ResourcePoolInfo namespace. - * @member {string} namespace - * @memberof flyteidl.event.ResourcePoolInfo + * RawOutputDataConfig outputLocationPrefix. + * @member {string} outputLocationPrefix + * @memberof flyteidl.admin.RawOutputDataConfig * @instance */ - ResourcePoolInfo.prototype.namespace = ""; + RawOutputDataConfig.prototype.outputLocationPrefix = ""; /** - * Creates a new ResourcePoolInfo instance using the specified properties. + * Creates a new RawOutputDataConfig instance using the specified properties. * @function create - * @memberof flyteidl.event.ResourcePoolInfo + * @memberof flyteidl.admin.RawOutputDataConfig * @static - * @param {flyteidl.event.IResourcePoolInfo=} [properties] Properties to set - * @returns {flyteidl.event.ResourcePoolInfo} ResourcePoolInfo instance + * @param {flyteidl.admin.IRawOutputDataConfig=} [properties] Properties to set + * @returns {flyteidl.admin.RawOutputDataConfig} RawOutputDataConfig instance */ - ResourcePoolInfo.create = function create(properties) { - return new ResourcePoolInfo(properties); + RawOutputDataConfig.create = function create(properties) { + return new RawOutputDataConfig(properties); }; /** - * Encodes the specified ResourcePoolInfo message. Does not implicitly {@link flyteidl.event.ResourcePoolInfo.verify|verify} messages. + * Encodes the specified RawOutputDataConfig message. Does not implicitly {@link flyteidl.admin.RawOutputDataConfig.verify|verify} messages. * @function encode - * @memberof flyteidl.event.ResourcePoolInfo + * @memberof flyteidl.admin.RawOutputDataConfig * @static - * @param {flyteidl.event.IResourcePoolInfo} message ResourcePoolInfo message or plain object to encode + * @param {flyteidl.admin.IRawOutputDataConfig} message RawOutputDataConfig message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ResourcePoolInfo.encode = function encode(message, writer) { + RawOutputDataConfig.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.allocationToken != null && message.hasOwnProperty("allocationToken")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.allocationToken); - if (message.namespace != null && message.hasOwnProperty("namespace")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.namespace); + if (message.outputLocationPrefix != null && message.hasOwnProperty("outputLocationPrefix")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.outputLocationPrefix); return writer; }; /** - * Decodes a ResourcePoolInfo message from the specified reader or buffer. + * Decodes a RawOutputDataConfig message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.ResourcePoolInfo + * @memberof flyteidl.admin.RawOutputDataConfig * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.ResourcePoolInfo} ResourcePoolInfo + * @returns {flyteidl.admin.RawOutputDataConfig} RawOutputDataConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ResourcePoolInfo.decode = function decode(reader, length) { + RawOutputDataConfig.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.ResourcePoolInfo(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.RawOutputDataConfig(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.allocationToken = reader.string(); - break; - case 2: - message.namespace = reader.string(); + message.outputLocationPrefix = reader.string(); break; default: reader.skipType(tag & 7); @@ -23076,52 +22971,45 @@ }; /** - * Verifies a ResourcePoolInfo message. + * Verifies a RawOutputDataConfig message. * @function verify - * @memberof flyteidl.event.ResourcePoolInfo + * @memberof flyteidl.admin.RawOutputDataConfig * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ResourcePoolInfo.verify = function verify(message) { + RawOutputDataConfig.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.allocationToken != null && message.hasOwnProperty("allocationToken")) - if (!$util.isString(message.allocationToken)) - return "allocationToken: string expected"; - if (message.namespace != null && message.hasOwnProperty("namespace")) - if (!$util.isString(message.namespace)) - return "namespace: string expected"; + if (message.outputLocationPrefix != null && message.hasOwnProperty("outputLocationPrefix")) + if (!$util.isString(message.outputLocationPrefix)) + return "outputLocationPrefix: string expected"; return null; }; - return ResourcePoolInfo; + return RawOutputDataConfig; })(); - event.TaskExecutionMetadata = (function() { + admin.FlyteURLs = (function() { /** - * Properties of a TaskExecutionMetadata. - * @memberof flyteidl.event - * @interface ITaskExecutionMetadata - * @property {string|null} [generatedName] TaskExecutionMetadata generatedName - * @property {Array.|null} [externalResources] TaskExecutionMetadata externalResources - * @property {Array.|null} [resourcePoolInfo] TaskExecutionMetadata resourcePoolInfo - * @property {string|null} [pluginIdentifier] TaskExecutionMetadata pluginIdentifier - * @property {flyteidl.event.TaskExecutionMetadata.InstanceClass|null} [instanceClass] TaskExecutionMetadata instanceClass + * Properties of a FlyteURLs. + * @memberof flyteidl.admin + * @interface IFlyteURLs + * @property {string|null} [inputs] FlyteURLs inputs + * @property {string|null} [outputs] FlyteURLs outputs + * @property {string|null} [deck] FlyteURLs deck */ /** - * Constructs a new TaskExecutionMetadata. - * @memberof flyteidl.event - * @classdesc Represents a TaskExecutionMetadata. - * @implements ITaskExecutionMetadata + * Constructs a new FlyteURLs. + * @memberof flyteidl.admin + * @classdesc Represents a FlyteURLs. + * @implements IFlyteURLs * @constructor - * @param {flyteidl.event.ITaskExecutionMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set */ - function TaskExecutionMetadata(properties) { - this.externalResources = []; - this.resourcePoolInfo = []; + function FlyteURLs(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23129,120 +23017,88 @@ } /** - * TaskExecutionMetadata generatedName. - * @member {string} generatedName - * @memberof flyteidl.event.TaskExecutionMetadata - * @instance - */ - TaskExecutionMetadata.prototype.generatedName = ""; - - /** - * TaskExecutionMetadata externalResources. - * @member {Array.} externalResources - * @memberof flyteidl.event.TaskExecutionMetadata - * @instance - */ - TaskExecutionMetadata.prototype.externalResources = $util.emptyArray; - - /** - * TaskExecutionMetadata resourcePoolInfo. - * @member {Array.} resourcePoolInfo - * @memberof flyteidl.event.TaskExecutionMetadata + * FlyteURLs inputs. + * @member {string} inputs + * @memberof flyteidl.admin.FlyteURLs * @instance */ - TaskExecutionMetadata.prototype.resourcePoolInfo = $util.emptyArray; + FlyteURLs.prototype.inputs = ""; /** - * TaskExecutionMetadata pluginIdentifier. - * @member {string} pluginIdentifier - * @memberof flyteidl.event.TaskExecutionMetadata + * FlyteURLs outputs. + * @member {string} outputs + * @memberof flyteidl.admin.FlyteURLs * @instance */ - TaskExecutionMetadata.prototype.pluginIdentifier = ""; + FlyteURLs.prototype.outputs = ""; /** - * TaskExecutionMetadata instanceClass. - * @member {flyteidl.event.TaskExecutionMetadata.InstanceClass} instanceClass - * @memberof flyteidl.event.TaskExecutionMetadata + * FlyteURLs deck. + * @member {string} deck + * @memberof flyteidl.admin.FlyteURLs * @instance */ - TaskExecutionMetadata.prototype.instanceClass = 0; + FlyteURLs.prototype.deck = ""; /** - * Creates a new TaskExecutionMetadata instance using the specified properties. + * Creates a new FlyteURLs instance using the specified properties. * @function create - * @memberof flyteidl.event.TaskExecutionMetadata + * @memberof flyteidl.admin.FlyteURLs * @static - * @param {flyteidl.event.ITaskExecutionMetadata=} [properties] Properties to set - * @returns {flyteidl.event.TaskExecutionMetadata} TaskExecutionMetadata instance + * @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set + * @returns {flyteidl.admin.FlyteURLs} FlyteURLs instance */ - TaskExecutionMetadata.create = function create(properties) { - return new TaskExecutionMetadata(properties); + FlyteURLs.create = function create(properties) { + return new FlyteURLs(properties); }; /** - * Encodes the specified TaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.TaskExecutionMetadata.verify|verify} messages. + * Encodes the specified FlyteURLs message. Does not implicitly {@link flyteidl.admin.FlyteURLs.verify|verify} messages. * @function encode - * @memberof flyteidl.event.TaskExecutionMetadata + * @memberof flyteidl.admin.FlyteURLs * @static - * @param {flyteidl.event.ITaskExecutionMetadata} message TaskExecutionMetadata message or plain object to encode + * @param {flyteidl.admin.IFlyteURLs} message FlyteURLs message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionMetadata.encode = function encode(message, writer) { + FlyteURLs.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.generatedName != null && message.hasOwnProperty("generatedName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.generatedName); - if (message.externalResources != null && message.externalResources.length) - for (var i = 0; i < message.externalResources.length; ++i) - $root.flyteidl.event.ExternalResourceInfo.encode(message.externalResources[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.resourcePoolInfo != null && message.resourcePoolInfo.length) - for (var i = 0; i < message.resourcePoolInfo.length; ++i) - $root.flyteidl.event.ResourcePoolInfo.encode(message.resourcePoolInfo[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.pluginIdentifier != null && message.hasOwnProperty("pluginIdentifier")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.pluginIdentifier); - if (message.instanceClass != null && message.hasOwnProperty("instanceClass")) - writer.uint32(/* id 16, wireType 0 =*/128).int32(message.instanceClass); + if (message.inputs != null && message.hasOwnProperty("inputs")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.inputs); + if (message.outputs != null && message.hasOwnProperty("outputs")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.outputs); + if (message.deck != null && message.hasOwnProperty("deck")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.deck); return writer; }; /** - * Decodes a TaskExecutionMetadata message from the specified reader or buffer. + * Decodes a FlyteURLs message from the specified reader or buffer. * @function decode - * @memberof flyteidl.event.TaskExecutionMetadata + * @memberof flyteidl.admin.FlyteURLs * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.event.TaskExecutionMetadata} TaskExecutionMetadata + * @returns {flyteidl.admin.FlyteURLs} FlyteURLs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionMetadata.decode = function decode(reader, length) { + FlyteURLs.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.TaskExecutionMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.FlyteURLs(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.generatedName = reader.string(); + message.inputs = reader.string(); break; case 2: - if (!(message.externalResources && message.externalResources.length)) - message.externalResources = []; - message.externalResources.push($root.flyteidl.event.ExternalResourceInfo.decode(reader, reader.uint32())); + message.outputs = reader.string(); break; case 3: - if (!(message.resourcePoolInfo && message.resourcePoolInfo.length)) - message.resourcePoolInfo = []; - message.resourcePoolInfo.push($root.flyteidl.event.ResourcePoolInfo.decode(reader, reader.uint32())); - break; - case 4: - message.pluginIdentifier = reader.string(); - break; - case 16: - message.instanceClass = reader.int32(); + message.deck = reader.string(); break; default: reader.skipType(tag & 7); @@ -23253,80 +23109,31 @@ }; /** - * Verifies a TaskExecutionMetadata message. + * Verifies a FlyteURLs message. * @function verify - * @memberof flyteidl.event.TaskExecutionMetadata + * @memberof flyteidl.admin.FlyteURLs * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionMetadata.verify = function verify(message) { + FlyteURLs.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.generatedName != null && message.hasOwnProperty("generatedName")) - if (!$util.isString(message.generatedName)) - return "generatedName: string expected"; - if (message.externalResources != null && message.hasOwnProperty("externalResources")) { - if (!Array.isArray(message.externalResources)) - return "externalResources: array expected"; - for (var i = 0; i < message.externalResources.length; ++i) { - var error = $root.flyteidl.event.ExternalResourceInfo.verify(message.externalResources[i]); - if (error) - return "externalResources." + error; - } - } - if (message.resourcePoolInfo != null && message.hasOwnProperty("resourcePoolInfo")) { - if (!Array.isArray(message.resourcePoolInfo)) - return "resourcePoolInfo: array expected"; - for (var i = 0; i < message.resourcePoolInfo.length; ++i) { - var error = $root.flyteidl.event.ResourcePoolInfo.verify(message.resourcePoolInfo[i]); - if (error) - return "resourcePoolInfo." + error; - } - } - if (message.pluginIdentifier != null && message.hasOwnProperty("pluginIdentifier")) - if (!$util.isString(message.pluginIdentifier)) - return "pluginIdentifier: string expected"; - if (message.instanceClass != null && message.hasOwnProperty("instanceClass")) - switch (message.instanceClass) { - default: - return "instanceClass: enum value expected"; - case 0: - case 1: - break; - } + if (message.inputs != null && message.hasOwnProperty("inputs")) + if (!$util.isString(message.inputs)) + return "inputs: string expected"; + if (message.outputs != null && message.hasOwnProperty("outputs")) + if (!$util.isString(message.outputs)) + return "outputs: string expected"; + if (message.deck != null && message.hasOwnProperty("deck")) + if (!$util.isString(message.deck)) + return "deck: string expected"; return null; }; - /** - * InstanceClass enum. - * @name flyteidl.event.TaskExecutionMetadata.InstanceClass - * @enum {string} - * @property {number} DEFAULT=0 DEFAULT value - * @property {number} INTERRUPTIBLE=1 INTERRUPTIBLE value - */ - TaskExecutionMetadata.InstanceClass = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT"] = 0; - values[valuesById[1] = "INTERRUPTIBLE"] = 1; - return values; - })(); - - return TaskExecutionMetadata; + return FlyteURLs; })(); - return event; - })(); - - flyteidl.admin = (function() { - - /** - * Namespace admin. - * @memberof flyteidl - * @namespace - */ - var admin = {}; - /** * State enum. * @name flyteidl.admin.State @@ -27205,27 +27012,29 @@ return ClusterAssignment; })(); - admin.NamedEntityIdentifier = (function() { + admin.DescriptionEntity = (function() { /** - * Properties of a NamedEntityIdentifier. + * Properties of a DescriptionEntity. * @memberof flyteidl.admin - * @interface INamedEntityIdentifier - * @property {string|null} [project] NamedEntityIdentifier project - * @property {string|null} [domain] NamedEntityIdentifier domain - * @property {string|null} [name] NamedEntityIdentifier name - * @property {string|null} [org] NamedEntityIdentifier org + * @interface IDescriptionEntity + * @property {flyteidl.core.IIdentifier|null} [id] DescriptionEntity id + * @property {string|null} [shortDescription] DescriptionEntity shortDescription + * @property {flyteidl.admin.IDescription|null} [longDescription] DescriptionEntity longDescription + * @property {flyteidl.admin.ISourceCode|null} [sourceCode] DescriptionEntity sourceCode + * @property {Array.|null} [tags] DescriptionEntity tags */ /** - * Constructs a new NamedEntityIdentifier. + * Constructs a new DescriptionEntity. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityIdentifier. - * @implements INamedEntityIdentifier + * @classdesc Represents a DescriptionEntity. + * @implements IDescriptionEntity * @constructor - * @param {flyteidl.admin.INamedEntityIdentifier=} [properties] Properties to set + * @param {flyteidl.admin.IDescriptionEntity=} [properties] Properties to set */ - function NamedEntityIdentifier(properties) { + function DescriptionEntity(properties) { + this.tags = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -27233,250 +27042,117 @@ } /** - * NamedEntityIdentifier project. - * @member {string} project - * @memberof flyteidl.admin.NamedEntityIdentifier + * DescriptionEntity id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.DescriptionEntity * @instance */ - NamedEntityIdentifier.prototype.project = ""; + DescriptionEntity.prototype.id = null; /** - * NamedEntityIdentifier domain. - * @member {string} domain - * @memberof flyteidl.admin.NamedEntityIdentifier + * DescriptionEntity shortDescription. + * @member {string} shortDescription + * @memberof flyteidl.admin.DescriptionEntity * @instance */ - NamedEntityIdentifier.prototype.domain = ""; + DescriptionEntity.prototype.shortDescription = ""; /** - * NamedEntityIdentifier name. - * @member {string} name - * @memberof flyteidl.admin.NamedEntityIdentifier + * DescriptionEntity longDescription. + * @member {flyteidl.admin.IDescription|null|undefined} longDescription + * @memberof flyteidl.admin.DescriptionEntity * @instance */ - NamedEntityIdentifier.prototype.name = ""; + DescriptionEntity.prototype.longDescription = null; /** - * NamedEntityIdentifier org. - * @member {string} org - * @memberof flyteidl.admin.NamedEntityIdentifier + * DescriptionEntity sourceCode. + * @member {flyteidl.admin.ISourceCode|null|undefined} sourceCode + * @memberof flyteidl.admin.DescriptionEntity * @instance */ - NamedEntityIdentifier.prototype.org = ""; + DescriptionEntity.prototype.sourceCode = null; /** - * Creates a new NamedEntityIdentifier instance using the specified properties. + * DescriptionEntity tags. + * @member {Array.} tags + * @memberof flyteidl.admin.DescriptionEntity + * @instance + */ + DescriptionEntity.prototype.tags = $util.emptyArray; + + /** + * Creates a new DescriptionEntity instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityIdentifier + * @memberof flyteidl.admin.DescriptionEntity * @static - * @param {flyteidl.admin.INamedEntityIdentifier=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityIdentifier} NamedEntityIdentifier instance + * @param {flyteidl.admin.IDescriptionEntity=} [properties] Properties to set + * @returns {flyteidl.admin.DescriptionEntity} DescriptionEntity instance */ - NamedEntityIdentifier.create = function create(properties) { - return new NamedEntityIdentifier(properties); + DescriptionEntity.create = function create(properties) { + return new DescriptionEntity(properties); }; /** - * Encodes the specified NamedEntityIdentifier message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifier.verify|verify} messages. + * Encodes the specified DescriptionEntity message. Does not implicitly {@link flyteidl.admin.DescriptionEntity.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityIdentifier + * @memberof flyteidl.admin.DescriptionEntity * @static - * @param {flyteidl.admin.INamedEntityIdentifier} message NamedEntityIdentifier message or plain object to encode + * @param {flyteidl.admin.IDescriptionEntity} message DescriptionEntity message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityIdentifier.encode = function encode(message, writer) { + DescriptionEntity.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.name); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.org); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.shortDescription); + if (message.longDescription != null && message.hasOwnProperty("longDescription")) + $root.flyteidl.admin.Description.encode(message.longDescription, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.sourceCode != null && message.hasOwnProperty("sourceCode")) + $root.flyteidl.admin.SourceCode.encode(message.sourceCode, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.tags != null && message.tags.length) + for (var i = 0; i < message.tags.length; ++i) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.tags[i]); return writer; }; /** - * Decodes a NamedEntityIdentifier message from the specified reader or buffer. + * Decodes a DescriptionEntity message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityIdentifier + * @memberof flyteidl.admin.DescriptionEntity * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NamedEntityIdentifier} NamedEntityIdentifier + * @returns {flyteidl.admin.DescriptionEntity} DescriptionEntity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NamedEntityIdentifier.decode = function decode(reader, length) { + DescriptionEntity.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityIdentifier(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DescriptionEntity(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.domain = reader.string(); + message.shortDescription = reader.string(); break; case 3: - message.name = reader.string(); + message.longDescription = $root.flyteidl.admin.Description.decode(reader, reader.uint32()); break; case 4: - message.org = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Verifies a NamedEntityIdentifier message. - * @function verify - * @memberof flyteidl.admin.NamedEntityIdentifier - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - NamedEntityIdentifier.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; - return null; - }; - - return NamedEntityIdentifier; - })(); - - /** - * NamedEntityState enum. - * @name flyteidl.admin.NamedEntityState - * @enum {string} - * @property {number} NAMED_ENTITY_ACTIVE=0 NAMED_ENTITY_ACTIVE value - * @property {number} NAMED_ENTITY_ARCHIVED=1 NAMED_ENTITY_ARCHIVED value - * @property {number} SYSTEM_GENERATED=2 SYSTEM_GENERATED value - */ - admin.NamedEntityState = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "NAMED_ENTITY_ACTIVE"] = 0; - values[valuesById[1] = "NAMED_ENTITY_ARCHIVED"] = 1; - values[valuesById[2] = "SYSTEM_GENERATED"] = 2; - return values; - })(); - - admin.NamedEntityMetadata = (function() { - - /** - * Properties of a NamedEntityMetadata. - * @memberof flyteidl.admin - * @interface INamedEntityMetadata - * @property {string|null} [description] NamedEntityMetadata description - * @property {flyteidl.admin.NamedEntityState|null} [state] NamedEntityMetadata state - */ - - /** - * Constructs a new NamedEntityMetadata. - * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityMetadata. - * @implements INamedEntityMetadata - * @constructor - * @param {flyteidl.admin.INamedEntityMetadata=} [properties] Properties to set - */ - function NamedEntityMetadata(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * NamedEntityMetadata description. - * @member {string} description - * @memberof flyteidl.admin.NamedEntityMetadata - * @instance - */ - NamedEntityMetadata.prototype.description = ""; - - /** - * NamedEntityMetadata state. - * @member {flyteidl.admin.NamedEntityState} state - * @memberof flyteidl.admin.NamedEntityMetadata - * @instance - */ - NamedEntityMetadata.prototype.state = 0; - - /** - * Creates a new NamedEntityMetadata instance using the specified properties. - * @function create - * @memberof flyteidl.admin.NamedEntityMetadata - * @static - * @param {flyteidl.admin.INamedEntityMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityMetadata} NamedEntityMetadata instance - */ - NamedEntityMetadata.create = function create(properties) { - return new NamedEntityMetadata(properties); - }; - - /** - * Encodes the specified NamedEntityMetadata message. Does not implicitly {@link flyteidl.admin.NamedEntityMetadata.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.NamedEntityMetadata - * @static - * @param {flyteidl.admin.INamedEntityMetadata} message NamedEntityMetadata message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - NamedEntityMetadata.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.description != null && message.hasOwnProperty("description")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.description); - if (message.state != null && message.hasOwnProperty("state")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.state); - return writer; - }; - - /** - * Decodes a NamedEntityMetadata message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.NamedEntityMetadata - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NamedEntityMetadata} NamedEntityMetadata - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - NamedEntityMetadata.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityMetadata(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.description = reader.string(); + message.sourceCode = $root.flyteidl.admin.SourceCode.decode(reader, reader.uint32()); break; - case 2: - message.state = reader.int32(); + case 5: + if (!(message.tags && message.tags.length)) + message.tags = []; + message.tags.push(reader.string()); break; default: reader.skipType(tag & 7); @@ -27487,54 +27163,86 @@ }; /** - * Verifies a NamedEntityMetadata message. + * Verifies a DescriptionEntity message. * @function verify - * @memberof flyteidl.admin.NamedEntityMetadata + * @memberof flyteidl.admin.DescriptionEntity * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NamedEntityMetadata.verify = function verify(message) { + DescriptionEntity.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.description != null && message.hasOwnProperty("description")) - if (!$util.isString(message.description)) - return "description: string expected"; - if (message.state != null && message.hasOwnProperty("state")) - switch (message.state) { - default: - return "state: enum value expected"; - case 0: - case 1: - case 2: - break; - } + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) + if (!$util.isString(message.shortDescription)) + return "shortDescription: string expected"; + if (message.longDescription != null && message.hasOwnProperty("longDescription")) { + var error = $root.flyteidl.admin.Description.verify(message.longDescription); + if (error) + return "longDescription." + error; + } + if (message.sourceCode != null && message.hasOwnProperty("sourceCode")) { + var error = $root.flyteidl.admin.SourceCode.verify(message.sourceCode); + if (error) + return "sourceCode." + error; + } + if (message.tags != null && message.hasOwnProperty("tags")) { + if (!Array.isArray(message.tags)) + return "tags: array expected"; + for (var i = 0; i < message.tags.length; ++i) + if (!$util.isString(message.tags[i])) + return "tags: string[] expected"; + } return null; }; - return NamedEntityMetadata; + return DescriptionEntity; })(); - admin.NamedEntity = (function() { + /** + * DescriptionFormat enum. + * @name flyteidl.admin.DescriptionFormat + * @enum {string} + * @property {number} DESCRIPTION_FORMAT_UNKNOWN=0 DESCRIPTION_FORMAT_UNKNOWN value + * @property {number} DESCRIPTION_FORMAT_MARKDOWN=1 DESCRIPTION_FORMAT_MARKDOWN value + * @property {number} DESCRIPTION_FORMAT_HTML=2 DESCRIPTION_FORMAT_HTML value + * @property {number} DESCRIPTION_FORMAT_RST=3 DESCRIPTION_FORMAT_RST value + */ + admin.DescriptionFormat = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "DESCRIPTION_FORMAT_UNKNOWN"] = 0; + values[valuesById[1] = "DESCRIPTION_FORMAT_MARKDOWN"] = 1; + values[valuesById[2] = "DESCRIPTION_FORMAT_HTML"] = 2; + values[valuesById[3] = "DESCRIPTION_FORMAT_RST"] = 3; + return values; + })(); + + admin.Description = (function() { /** - * Properties of a NamedEntity. + * Properties of a Description. * @memberof flyteidl.admin - * @interface INamedEntity - * @property {flyteidl.core.ResourceType|null} [resourceType] NamedEntity resourceType - * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] NamedEntity id - * @property {flyteidl.admin.INamedEntityMetadata|null} [metadata] NamedEntity metadata + * @interface IDescription + * @property {string|null} [value] Description value + * @property {string|null} [uri] Description uri + * @property {flyteidl.admin.DescriptionFormat|null} [format] Description format + * @property {string|null} [iconLink] Description iconLink */ /** - * Constructs a new NamedEntity. + * Constructs a new Description. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntity. - * @implements INamedEntity + * @classdesc Represents a Description. + * @implements IDescription * @constructor - * @param {flyteidl.admin.INamedEntity=} [properties] Properties to set + * @param {flyteidl.admin.IDescription=} [properties] Properties to set */ - function NamedEntity(properties) { + function Description(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -27542,88 +27250,115 @@ } /** - * NamedEntity resourceType. - * @member {flyteidl.core.ResourceType} resourceType - * @memberof flyteidl.admin.NamedEntity + * Description value. + * @member {string} value + * @memberof flyteidl.admin.Description * @instance */ - NamedEntity.prototype.resourceType = 0; + Description.prototype.value = ""; /** - * NamedEntity id. - * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id - * @memberof flyteidl.admin.NamedEntity + * Description uri. + * @member {string} uri + * @memberof flyteidl.admin.Description * @instance */ - NamedEntity.prototype.id = null; + Description.prototype.uri = ""; /** - * NamedEntity metadata. - * @member {flyteidl.admin.INamedEntityMetadata|null|undefined} metadata - * @memberof flyteidl.admin.NamedEntity + * Description format. + * @member {flyteidl.admin.DescriptionFormat} format + * @memberof flyteidl.admin.Description * @instance */ - NamedEntity.prototype.metadata = null; + Description.prototype.format = 0; /** - * Creates a new NamedEntity instance using the specified properties. + * Description iconLink. + * @member {string} iconLink + * @memberof flyteidl.admin.Description + * @instance + */ + Description.prototype.iconLink = ""; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Description content. + * @member {"value"|"uri"|undefined} content + * @memberof flyteidl.admin.Description + * @instance + */ + Object.defineProperty(Description.prototype, "content", { + get: $util.oneOfGetter($oneOfFields = ["value", "uri"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Description instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntity + * @memberof flyteidl.admin.Description * @static - * @param {flyteidl.admin.INamedEntity=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntity} NamedEntity instance + * @param {flyteidl.admin.IDescription=} [properties] Properties to set + * @returns {flyteidl.admin.Description} Description instance */ - NamedEntity.create = function create(properties) { - return new NamedEntity(properties); + Description.create = function create(properties) { + return new Description(properties); }; /** - * Encodes the specified NamedEntity message. Does not implicitly {@link flyteidl.admin.NamedEntity.verify|verify} messages. + * Encodes the specified Description message. Does not implicitly {@link flyteidl.admin.Description.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntity + * @memberof flyteidl.admin.Description * @static - * @param {flyteidl.admin.INamedEntity} message NamedEntity message or plain object to encode + * @param {flyteidl.admin.IDescription} message Description message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntity.encode = function encode(message, writer) { + Description.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.admin.NamedEntityMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.value != null && message.hasOwnProperty("value")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.value); + if (message.uri != null && message.hasOwnProperty("uri")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.uri); + if (message.format != null && message.hasOwnProperty("format")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.format); + if (message.iconLink != null && message.hasOwnProperty("iconLink")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.iconLink); return writer; }; /** - * Decodes a NamedEntity message from the specified reader or buffer. + * Decodes a Description message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntity + * @memberof flyteidl.admin.Description * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NamedEntity} NamedEntity + * @returns {flyteidl.admin.Description} Description * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NamedEntity.decode = function decode(reader, length) { + Description.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntity(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Description(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.resourceType = reader.int32(); + message.value = reader.string(); break; case 2: - message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); + message.uri = reader.string(); break; case 3: - message.metadata = $root.flyteidl.admin.NamedEntityMetadata.decode(reader, reader.uint32()); + message.format = reader.int32(); + break; + case 4: + message.iconLink = reader.string(); break; default: reader.skipType(tag & 7); @@ -27634,62 +27369,66 @@ }; /** - * Verifies a NamedEntity message. + * Verifies a Description message. * @function verify - * @memberof flyteidl.admin.NamedEntity + * @memberof flyteidl.admin.Description * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NamedEntity.verify = function verify(message) { + Description.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { + var properties = {}; + if (message.value != null && message.hasOwnProperty("value")) { + properties.content = 1; + if (!$util.isString(message.value)) + return "value: string expected"; + } + if (message.uri != null && message.hasOwnProperty("uri")) { + if (properties.content === 1) + return "content: multiple values"; + properties.content = 1; + if (!$util.isString(message.uri)) + return "uri: string expected"; + } + if (message.format != null && message.hasOwnProperty("format")) + switch (message.format) { default: - return "resourceType: enum value expected"; + return "format: enum value expected"; case 0: case 1: case 2: case 3: - case 4: break; } - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.admin.NamedEntityMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } + if (message.iconLink != null && message.hasOwnProperty("iconLink")) + if (!$util.isString(message.iconLink)) + return "iconLink: string expected"; return null; }; - return NamedEntity; + return Description; })(); - admin.Sort = (function() { + admin.SourceCode = (function() { /** - * Properties of a Sort. + * Properties of a SourceCode. * @memberof flyteidl.admin - * @interface ISort - * @property {string|null} [key] Sort key - * @property {flyteidl.admin.Sort.Direction|null} [direction] Sort direction + * @interface ISourceCode + * @property {string|null} [link] SourceCode link */ /** - * Constructs a new Sort. + * Constructs a new SourceCode. * @memberof flyteidl.admin - * @classdesc Represents a Sort. - * @implements ISort + * @classdesc Represents a SourceCode. + * @implements ISourceCode * @constructor - * @param {flyteidl.admin.ISort=} [properties] Properties to set + * @param {flyteidl.admin.ISourceCode=} [properties] Properties to set */ - function Sort(properties) { + function SourceCode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -27697,75 +27436,62 @@ } /** - * Sort key. - * @member {string} key - * @memberof flyteidl.admin.Sort - * @instance - */ - Sort.prototype.key = ""; - - /** - * Sort direction. - * @member {flyteidl.admin.Sort.Direction} direction - * @memberof flyteidl.admin.Sort + * SourceCode link. + * @member {string} link + * @memberof flyteidl.admin.SourceCode * @instance */ - Sort.prototype.direction = 0; + SourceCode.prototype.link = ""; /** - * Creates a new Sort instance using the specified properties. + * Creates a new SourceCode instance using the specified properties. * @function create - * @memberof flyteidl.admin.Sort + * @memberof flyteidl.admin.SourceCode * @static - * @param {flyteidl.admin.ISort=} [properties] Properties to set - * @returns {flyteidl.admin.Sort} Sort instance + * @param {flyteidl.admin.ISourceCode=} [properties] Properties to set + * @returns {flyteidl.admin.SourceCode} SourceCode instance */ - Sort.create = function create(properties) { - return new Sort(properties); + SourceCode.create = function create(properties) { + return new SourceCode(properties); }; /** - * Encodes the specified Sort message. Does not implicitly {@link flyteidl.admin.Sort.verify|verify} messages. + * Encodes the specified SourceCode message. Does not implicitly {@link flyteidl.admin.SourceCode.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Sort + * @memberof flyteidl.admin.SourceCode * @static - * @param {flyteidl.admin.ISort} message Sort message or plain object to encode + * @param {flyteidl.admin.ISourceCode} message SourceCode message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Sort.encode = function encode(message, writer) { + SourceCode.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.key != null && message.hasOwnProperty("key")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.key); - if (message.direction != null && message.hasOwnProperty("direction")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.direction); + if (message.link != null && message.hasOwnProperty("link")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.link); return writer; }; /** - * Decodes a Sort message from the specified reader or buffer. + * Decodes a SourceCode message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Sort + * @memberof flyteidl.admin.SourceCode * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Sort} Sort + * @returns {flyteidl.admin.SourceCode} SourceCode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Sort.decode = function decode(reader, length) { + SourceCode.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Sort(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SourceCode(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.key = reader.string(); - break; - case 2: - message.direction = reader.int32(); + message.link = reader.string(); break; default: reader.skipType(tag & 7); @@ -27776,71 +27502,45 @@ }; /** - * Verifies a Sort message. + * Verifies a SourceCode message. * @function verify - * @memberof flyteidl.admin.Sort + * @memberof flyteidl.admin.SourceCode * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Sort.verify = function verify(message) { + SourceCode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.key != null && message.hasOwnProperty("key")) - if (!$util.isString(message.key)) - return "key: string expected"; - if (message.direction != null && message.hasOwnProperty("direction")) - switch (message.direction) { - default: - return "direction: enum value expected"; - case 0: - case 1: - break; - } + if (message.link != null && message.hasOwnProperty("link")) + if (!$util.isString(message.link)) + return "link: string expected"; return null; }; - /** - * Direction enum. - * @name flyteidl.admin.Sort.Direction - * @enum {string} - * @property {number} DESCENDING=0 DESCENDING value - * @property {number} ASCENDING=1 ASCENDING value - */ - Sort.Direction = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DESCENDING"] = 0; - values[valuesById[1] = "ASCENDING"] = 1; - return values; - })(); - - return Sort; + return SourceCode; })(); - admin.NamedEntityIdentifierListRequest = (function() { + admin.DescriptionEntityList = (function() { /** - * Properties of a NamedEntityIdentifierListRequest. + * Properties of a DescriptionEntityList. * @memberof flyteidl.admin - * @interface INamedEntityIdentifierListRequest - * @property {string|null} [project] NamedEntityIdentifierListRequest project - * @property {string|null} [domain] NamedEntityIdentifierListRequest domain - * @property {number|null} [limit] NamedEntityIdentifierListRequest limit - * @property {string|null} [token] NamedEntityIdentifierListRequest token - * @property {flyteidl.admin.ISort|null} [sortBy] NamedEntityIdentifierListRequest sortBy - * @property {string|null} [filters] NamedEntityIdentifierListRequest filters - * @property {string|null} [org] NamedEntityIdentifierListRequest org + * @interface IDescriptionEntityList + * @property {Array.|null} [descriptionEntities] DescriptionEntityList descriptionEntities + * @property {string|null} [token] DescriptionEntityList token */ /** - * Constructs a new NamedEntityIdentifierListRequest. + * Constructs a new DescriptionEntityList. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityIdentifierListRequest. - * @implements INamedEntityIdentifierListRequest + * @classdesc Represents a DescriptionEntityList. + * @implements IDescriptionEntityList * @constructor - * @param {flyteidl.admin.INamedEntityIdentifierListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IDescriptionEntityList=} [properties] Properties to set */ - function NamedEntityIdentifierListRequest(properties) { + function DescriptionEntityList(properties) { + this.descriptionEntities = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -27848,141 +27548,79 @@ } /** - * NamedEntityIdentifierListRequest project. - * @member {string} project - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest - * @instance - */ - NamedEntityIdentifierListRequest.prototype.project = ""; - - /** - * NamedEntityIdentifierListRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest - * @instance - */ - NamedEntityIdentifierListRequest.prototype.domain = ""; - - /** - * NamedEntityIdentifierListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest + * DescriptionEntityList descriptionEntities. + * @member {Array.} descriptionEntities + * @memberof flyteidl.admin.DescriptionEntityList * @instance */ - NamedEntityIdentifierListRequest.prototype.limit = 0; + DescriptionEntityList.prototype.descriptionEntities = $util.emptyArray; /** - * NamedEntityIdentifierListRequest token. + * DescriptionEntityList token. * @member {string} token - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest - * @instance - */ - NamedEntityIdentifierListRequest.prototype.token = ""; - - /** - * NamedEntityIdentifierListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest - * @instance - */ - NamedEntityIdentifierListRequest.prototype.sortBy = null; - - /** - * NamedEntityIdentifierListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest - * @instance - */ - NamedEntityIdentifierListRequest.prototype.filters = ""; - - /** - * NamedEntityIdentifierListRequest org. - * @member {string} org - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest + * @memberof flyteidl.admin.DescriptionEntityList * @instance */ - NamedEntityIdentifierListRequest.prototype.org = ""; + DescriptionEntityList.prototype.token = ""; /** - * Creates a new NamedEntityIdentifierListRequest instance using the specified properties. + * Creates a new DescriptionEntityList instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest + * @memberof flyteidl.admin.DescriptionEntityList * @static - * @param {flyteidl.admin.INamedEntityIdentifierListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityIdentifierListRequest} NamedEntityIdentifierListRequest instance + * @param {flyteidl.admin.IDescriptionEntityList=} [properties] Properties to set + * @returns {flyteidl.admin.DescriptionEntityList} DescriptionEntityList instance */ - NamedEntityIdentifierListRequest.create = function create(properties) { - return new NamedEntityIdentifierListRequest(properties); + DescriptionEntityList.create = function create(properties) { + return new DescriptionEntityList(properties); }; /** - * Encodes the specified NamedEntityIdentifierListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierListRequest.verify|verify} messages. + * Encodes the specified DescriptionEntityList message. Does not implicitly {@link flyteidl.admin.DescriptionEntityList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest + * @memberof flyteidl.admin.DescriptionEntityList * @static - * @param {flyteidl.admin.INamedEntityIdentifierListRequest} message NamedEntityIdentifierListRequest message or plain object to encode + * @param {flyteidl.admin.IDescriptionEntityList} message DescriptionEntityList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityIdentifierListRequest.encode = function encode(message, writer) { + DescriptionEntityList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.limit); + if (message.descriptionEntities != null && message.descriptionEntities.length) + for (var i = 0; i < message.descriptionEntities.length; ++i) + $root.flyteidl.admin.DescriptionEntity.encode(message.descriptionEntities[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.token); - if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.filters); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.org); + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes a NamedEntityIdentifierListRequest message from the specified reader or buffer. + * Decodes a DescriptionEntityList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest + * @memberof flyteidl.admin.DescriptionEntityList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NamedEntityIdentifierListRequest} NamedEntityIdentifierListRequest + * @returns {flyteidl.admin.DescriptionEntityList} DescriptionEntityList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NamedEntityIdentifierListRequest.decode = function decode(reader, length) { + DescriptionEntityList.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityIdentifierListRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DescriptionEntityList(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); + if (!(message.descriptionEntities && message.descriptionEntities.length)) + message.descriptionEntities = []; + message.descriptionEntities.push($root.flyteidl.admin.DescriptionEntity.decode(reader, reader.uint32())); break; case 2: - message.domain = reader.string(); - break; - case 3: - message.limit = reader.uint32(); - break; - case 4: message.token = reader.string(); break; - case 5: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); - break; - case 6: - message.filters = reader.string(); - break; - case 7: - message.org = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -27992,70 +27630,57 @@ }; /** - * Verifies a NamedEntityIdentifierListRequest message. + * Verifies a DescriptionEntityList message. * @function verify - * @memberof flyteidl.admin.NamedEntityIdentifierListRequest + * @memberof flyteidl.admin.DescriptionEntityList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NamedEntityIdentifierListRequest.verify = function verify(message) { + DescriptionEntityList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.limit != null && message.hasOwnProperty("limit")) - if (!$util.isInteger(message.limit)) - return "limit: integer expected"; + if (message.descriptionEntities != null && message.hasOwnProperty("descriptionEntities")) { + if (!Array.isArray(message.descriptionEntities)) + return "descriptionEntities: array expected"; + for (var i = 0; i < message.descriptionEntities.length; ++i) { + var error = $root.flyteidl.admin.DescriptionEntity.verify(message.descriptionEntities[i]); + if (error) + return "descriptionEntities." + error; + } + } if (message.token != null && message.hasOwnProperty("token")) if (!$util.isString(message.token)) return "token: string expected"; - if (message.sortBy != null && message.hasOwnProperty("sortBy")) { - var error = $root.flyteidl.admin.Sort.verify(message.sortBy); - if (error) - return "sortBy." + error; - } - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; return null; }; - return NamedEntityIdentifierListRequest; + return DescriptionEntityList; })(); - admin.NamedEntityListRequest = (function() { + admin.DescriptionEntityListRequest = (function() { /** - * Properties of a NamedEntityListRequest. + * Properties of a DescriptionEntityListRequest. * @memberof flyteidl.admin - * @interface INamedEntityListRequest - * @property {flyteidl.core.ResourceType|null} [resourceType] NamedEntityListRequest resourceType - * @property {string|null} [project] NamedEntityListRequest project - * @property {string|null} [domain] NamedEntityListRequest domain - * @property {number|null} [limit] NamedEntityListRequest limit - * @property {string|null} [token] NamedEntityListRequest token - * @property {flyteidl.admin.ISort|null} [sortBy] NamedEntityListRequest sortBy - * @property {string|null} [filters] NamedEntityListRequest filters - * @property {string|null} [org] NamedEntityListRequest org + * @interface IDescriptionEntityListRequest + * @property {flyteidl.core.ResourceType|null} [resourceType] DescriptionEntityListRequest resourceType + * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] DescriptionEntityListRequest id + * @property {number|null} [limit] DescriptionEntityListRequest limit + * @property {string|null} [token] DescriptionEntityListRequest token + * @property {string|null} [filters] DescriptionEntityListRequest filters + * @property {flyteidl.admin.ISort|null} [sortBy] DescriptionEntityListRequest sortBy */ /** - * Constructs a new NamedEntityListRequest. + * Constructs a new DescriptionEntityListRequest. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityListRequest. - * @implements INamedEntityListRequest + * @classdesc Represents a DescriptionEntityListRequest. + * @implements IDescriptionEntityListRequest * @constructor - * @param {flyteidl.admin.INamedEntityListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IDescriptionEntityListRequest=} [properties] Properties to set */ - function NamedEntityListRequest(properties) { + function DescriptionEntityListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -28063,127 +27688,107 @@ } /** - * NamedEntityListRequest resourceType. + * DescriptionEntityListRequest resourceType. * @member {flyteidl.core.ResourceType} resourceType - * @memberof flyteidl.admin.NamedEntityListRequest - * @instance - */ - NamedEntityListRequest.prototype.resourceType = 0; - - /** - * NamedEntityListRequest project. - * @member {string} project - * @memberof flyteidl.admin.NamedEntityListRequest + * @memberof flyteidl.admin.DescriptionEntityListRequest * @instance */ - NamedEntityListRequest.prototype.project = ""; + DescriptionEntityListRequest.prototype.resourceType = 0; /** - * NamedEntityListRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.NamedEntityListRequest + * DescriptionEntityListRequest id. + * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id + * @memberof flyteidl.admin.DescriptionEntityListRequest * @instance */ - NamedEntityListRequest.prototype.domain = ""; + DescriptionEntityListRequest.prototype.id = null; /** - * NamedEntityListRequest limit. + * DescriptionEntityListRequest limit. * @member {number} limit - * @memberof flyteidl.admin.NamedEntityListRequest + * @memberof flyteidl.admin.DescriptionEntityListRequest * @instance */ - NamedEntityListRequest.prototype.limit = 0; + DescriptionEntityListRequest.prototype.limit = 0; /** - * NamedEntityListRequest token. + * DescriptionEntityListRequest token. * @member {string} token - * @memberof flyteidl.admin.NamedEntityListRequest - * @instance - */ - NamedEntityListRequest.prototype.token = ""; - - /** - * NamedEntityListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.NamedEntityListRequest + * @memberof flyteidl.admin.DescriptionEntityListRequest * @instance */ - NamedEntityListRequest.prototype.sortBy = null; + DescriptionEntityListRequest.prototype.token = ""; /** - * NamedEntityListRequest filters. + * DescriptionEntityListRequest filters. * @member {string} filters - * @memberof flyteidl.admin.NamedEntityListRequest + * @memberof flyteidl.admin.DescriptionEntityListRequest * @instance */ - NamedEntityListRequest.prototype.filters = ""; + DescriptionEntityListRequest.prototype.filters = ""; /** - * NamedEntityListRequest org. - * @member {string} org - * @memberof flyteidl.admin.NamedEntityListRequest + * DescriptionEntityListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.DescriptionEntityListRequest * @instance */ - NamedEntityListRequest.prototype.org = ""; + DescriptionEntityListRequest.prototype.sortBy = null; /** - * Creates a new NamedEntityListRequest instance using the specified properties. + * Creates a new DescriptionEntityListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityListRequest + * @memberof flyteidl.admin.DescriptionEntityListRequest * @static - * @param {flyteidl.admin.INamedEntityListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityListRequest} NamedEntityListRequest instance + * @param {flyteidl.admin.IDescriptionEntityListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.DescriptionEntityListRequest} DescriptionEntityListRequest instance */ - NamedEntityListRequest.create = function create(properties) { - return new NamedEntityListRequest(properties); + DescriptionEntityListRequest.create = function create(properties) { + return new DescriptionEntityListRequest(properties); }; /** - * Encodes the specified NamedEntityListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityListRequest.verify|verify} messages. + * Encodes the specified DescriptionEntityListRequest message. Does not implicitly {@link flyteidl.admin.DescriptionEntityListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityListRequest + * @memberof flyteidl.admin.DescriptionEntityListRequest * @static - * @param {flyteidl.admin.INamedEntityListRequest} message NamedEntityListRequest message or plain object to encode + * @param {flyteidl.admin.IDescriptionEntityListRequest} message DescriptionEntityListRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityListRequest.encode = function encode(message, writer) { + DescriptionEntityListRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.resourceType != null && message.hasOwnProperty("resourceType")) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.domain); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.limit); + writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.limit); if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.token); + writer.uint32(/* id 4, wireType 2 =*/34).string(message.token); + if (message.filters != null && message.hasOwnProperty("filters")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.filters); if (message.sortBy != null && message.hasOwnProperty("sortBy")) $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.filters); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.org); return writer; }; /** - * Decodes a NamedEntityListRequest message from the specified reader or buffer. + * Decodes a DescriptionEntityListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityListRequest + * @memberof flyteidl.admin.DescriptionEntityListRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NamedEntityListRequest} NamedEntityListRequest + * @returns {flyteidl.admin.DescriptionEntityListRequest} DescriptionEntityListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NamedEntityListRequest.decode = function decode(reader, length) { + DescriptionEntityListRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityListRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DescriptionEntityListRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { @@ -28191,26 +27796,20 @@ message.resourceType = reader.int32(); break; case 2: - message.project = reader.string(); + message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); break; case 3: - message.domain = reader.string(); + message.limit = reader.uint32(); break; case 4: - message.limit = reader.uint32(); + message.token = reader.string(); break; case 5: - message.token = reader.string(); + message.filters = reader.string(); break; case 6: message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); break; - case 7: - message.filters = reader.string(); - break; - case 8: - message.org = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -28220,14 +27819,14 @@ }; /** - * Verifies a NamedEntityListRequest message. + * Verifies a DescriptionEntityListRequest message. * @function verify - * @memberof flyteidl.admin.NamedEntityListRequest + * @memberof flyteidl.admin.DescriptionEntityListRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NamedEntityListRequest.verify = function verify(message) { + DescriptionEntityListRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; if (message.resourceType != null && message.hasOwnProperty("resourceType")) @@ -28241,55 +27840,49 @@ case 4: break; } - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); + if (error) + return "id." + error; + } if (message.limit != null && message.hasOwnProperty("limit")) if (!$util.isInteger(message.limit)) return "limit: integer expected"; if (message.token != null && message.hasOwnProperty("token")) if (!$util.isString(message.token)) return "token: string expected"; + if (message.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; if (message.sortBy != null && message.hasOwnProperty("sortBy")) { var error = $root.flyteidl.admin.Sort.verify(message.sortBy); if (error) return "sortBy." + error; } - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; return null; }; - return NamedEntityListRequest; + return DescriptionEntityListRequest; })(); - admin.NamedEntityIdentifierList = (function() { + admin.EventErrorAlreadyInTerminalState = (function() { /** - * Properties of a NamedEntityIdentifierList. + * Properties of an EventErrorAlreadyInTerminalState. * @memberof flyteidl.admin - * @interface INamedEntityIdentifierList - * @property {Array.|null} [entities] NamedEntityIdentifierList entities - * @property {string|null} [token] NamedEntityIdentifierList token + * @interface IEventErrorAlreadyInTerminalState + * @property {string|null} [currentPhase] EventErrorAlreadyInTerminalState currentPhase */ /** - * Constructs a new NamedEntityIdentifierList. + * Constructs a new EventErrorAlreadyInTerminalState. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityIdentifierList. - * @implements INamedEntityIdentifierList + * @classdesc Represents an EventErrorAlreadyInTerminalState. + * @implements IEventErrorAlreadyInTerminalState * @constructor - * @param {flyteidl.admin.INamedEntityIdentifierList=} [properties] Properties to set + * @param {flyteidl.admin.IEventErrorAlreadyInTerminalState=} [properties] Properties to set */ - function NamedEntityIdentifierList(properties) { - this.entities = []; + function EventErrorAlreadyInTerminalState(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -28297,78 +27890,172 @@ } /** - * NamedEntityIdentifierList entities. - * @member {Array.} entities - * @memberof flyteidl.admin.NamedEntityIdentifierList + * EventErrorAlreadyInTerminalState currentPhase. + * @member {string} currentPhase + * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState * @instance */ - NamedEntityIdentifierList.prototype.entities = $util.emptyArray; + EventErrorAlreadyInTerminalState.prototype.currentPhase = ""; /** - * NamedEntityIdentifierList token. - * @member {string} token - * @memberof flyteidl.admin.NamedEntityIdentifierList + * Creates a new EventErrorAlreadyInTerminalState instance using the specified properties. + * @function create + * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * @static + * @param {flyteidl.admin.IEventErrorAlreadyInTerminalState=} [properties] Properties to set + * @returns {flyteidl.admin.EventErrorAlreadyInTerminalState} EventErrorAlreadyInTerminalState instance + */ + EventErrorAlreadyInTerminalState.create = function create(properties) { + return new EventErrorAlreadyInTerminalState(properties); + }; + + /** + * Encodes the specified EventErrorAlreadyInTerminalState message. Does not implicitly {@link flyteidl.admin.EventErrorAlreadyInTerminalState.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * @static + * @param {flyteidl.admin.IEventErrorAlreadyInTerminalState} message EventErrorAlreadyInTerminalState message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EventErrorAlreadyInTerminalState.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.currentPhase != null && message.hasOwnProperty("currentPhase")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.currentPhase); + return writer; + }; + + /** + * Decodes an EventErrorAlreadyInTerminalState message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.EventErrorAlreadyInTerminalState} EventErrorAlreadyInTerminalState + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EventErrorAlreadyInTerminalState.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.EventErrorAlreadyInTerminalState(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.currentPhase = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an EventErrorAlreadyInTerminalState message. + * @function verify + * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + EventErrorAlreadyInTerminalState.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.currentPhase != null && message.hasOwnProperty("currentPhase")) + if (!$util.isString(message.currentPhase)) + return "currentPhase: string expected"; + return null; + }; + + return EventErrorAlreadyInTerminalState; + })(); + + admin.EventErrorIncompatibleCluster = (function() { + + /** + * Properties of an EventErrorIncompatibleCluster. + * @memberof flyteidl.admin + * @interface IEventErrorIncompatibleCluster + * @property {string|null} [cluster] EventErrorIncompatibleCluster cluster + */ + + /** + * Constructs a new EventErrorIncompatibleCluster. + * @memberof flyteidl.admin + * @classdesc Represents an EventErrorIncompatibleCluster. + * @implements IEventErrorIncompatibleCluster + * @constructor + * @param {flyteidl.admin.IEventErrorIncompatibleCluster=} [properties] Properties to set + */ + function EventErrorIncompatibleCluster(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * EventErrorIncompatibleCluster cluster. + * @member {string} cluster + * @memberof flyteidl.admin.EventErrorIncompatibleCluster * @instance */ - NamedEntityIdentifierList.prototype.token = ""; + EventErrorIncompatibleCluster.prototype.cluster = ""; /** - * Creates a new NamedEntityIdentifierList instance using the specified properties. + * Creates a new EventErrorIncompatibleCluster instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityIdentifierList + * @memberof flyteidl.admin.EventErrorIncompatibleCluster * @static - * @param {flyteidl.admin.INamedEntityIdentifierList=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityIdentifierList} NamedEntityIdentifierList instance + * @param {flyteidl.admin.IEventErrorIncompatibleCluster=} [properties] Properties to set + * @returns {flyteidl.admin.EventErrorIncompatibleCluster} EventErrorIncompatibleCluster instance */ - NamedEntityIdentifierList.create = function create(properties) { - return new NamedEntityIdentifierList(properties); + EventErrorIncompatibleCluster.create = function create(properties) { + return new EventErrorIncompatibleCluster(properties); }; /** - * Encodes the specified NamedEntityIdentifierList message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierList.verify|verify} messages. + * Encodes the specified EventErrorIncompatibleCluster message. Does not implicitly {@link flyteidl.admin.EventErrorIncompatibleCluster.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityIdentifierList + * @memberof flyteidl.admin.EventErrorIncompatibleCluster * @static - * @param {flyteidl.admin.INamedEntityIdentifierList} message NamedEntityIdentifierList message or plain object to encode + * @param {flyteidl.admin.IEventErrorIncompatibleCluster} message EventErrorIncompatibleCluster message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityIdentifierList.encode = function encode(message, writer) { + EventErrorIncompatibleCluster.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.entities != null && message.entities.length) - for (var i = 0; i < message.entities.length; ++i) - $root.flyteidl.admin.NamedEntityIdentifier.encode(message.entities[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.cluster != null && message.hasOwnProperty("cluster")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.cluster); return writer; }; /** - * Decodes a NamedEntityIdentifierList message from the specified reader or buffer. + * Decodes an EventErrorIncompatibleCluster message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityIdentifierList + * @memberof flyteidl.admin.EventErrorIncompatibleCluster * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NamedEntityIdentifierList} NamedEntityIdentifierList + * @returns {flyteidl.admin.EventErrorIncompatibleCluster} EventErrorIncompatibleCluster * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NamedEntityIdentifierList.decode = function decode(reader, length) { + EventErrorIncompatibleCluster.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityIdentifierList(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.EventErrorIncompatibleCluster(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.entities && message.entities.length)) - message.entities = []; - message.entities.push($root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32())); - break; - case 2: - message.token = reader.string(); + message.cluster = reader.string(); break; default: reader.skipType(tag & 7); @@ -28379,54 +28066,44 @@ }; /** - * Verifies a NamedEntityIdentifierList message. + * Verifies an EventErrorIncompatibleCluster message. * @function verify - * @memberof flyteidl.admin.NamedEntityIdentifierList + * @memberof flyteidl.admin.EventErrorIncompatibleCluster * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NamedEntityIdentifierList.verify = function verify(message) { + EventErrorIncompatibleCluster.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.entities != null && message.hasOwnProperty("entities")) { - if (!Array.isArray(message.entities)) - return "entities: array expected"; - for (var i = 0; i < message.entities.length; ++i) { - var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.entities[i]); - if (error) - return "entities." + error; - } - } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; + if (message.cluster != null && message.hasOwnProperty("cluster")) + if (!$util.isString(message.cluster)) + return "cluster: string expected"; return null; }; - return NamedEntityIdentifierList; + return EventErrorIncompatibleCluster; })(); - admin.NamedEntityList = (function() { + admin.EventFailureReason = (function() { /** - * Properties of a NamedEntityList. + * Properties of an EventFailureReason. * @memberof flyteidl.admin - * @interface INamedEntityList - * @property {Array.|null} [entities] NamedEntityList entities - * @property {string|null} [token] NamedEntityList token + * @interface IEventFailureReason + * @property {flyteidl.admin.IEventErrorAlreadyInTerminalState|null} [alreadyInTerminalState] EventFailureReason alreadyInTerminalState + * @property {flyteidl.admin.IEventErrorIncompatibleCluster|null} [incompatibleCluster] EventFailureReason incompatibleCluster */ /** - * Constructs a new NamedEntityList. + * Constructs a new EventFailureReason. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityList. - * @implements INamedEntityList + * @classdesc Represents an EventFailureReason. + * @implements IEventFailureReason * @constructor - * @param {flyteidl.admin.INamedEntityList=} [properties] Properties to set + * @param {flyteidl.admin.IEventFailureReason=} [properties] Properties to set */ - function NamedEntityList(properties) { - this.entities = []; + function EventFailureReason(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -28434,78 +28111,89 @@ } /** - * NamedEntityList entities. - * @member {Array.} entities - * @memberof flyteidl.admin.NamedEntityList + * EventFailureReason alreadyInTerminalState. + * @member {flyteidl.admin.IEventErrorAlreadyInTerminalState|null|undefined} alreadyInTerminalState + * @memberof flyteidl.admin.EventFailureReason * @instance */ - NamedEntityList.prototype.entities = $util.emptyArray; + EventFailureReason.prototype.alreadyInTerminalState = null; /** - * NamedEntityList token. - * @member {string} token - * @memberof flyteidl.admin.NamedEntityList + * EventFailureReason incompatibleCluster. + * @member {flyteidl.admin.IEventErrorIncompatibleCluster|null|undefined} incompatibleCluster + * @memberof flyteidl.admin.EventFailureReason * @instance */ - NamedEntityList.prototype.token = ""; + EventFailureReason.prototype.incompatibleCluster = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * Creates a new NamedEntityList instance using the specified properties. + * EventFailureReason reason. + * @member {"alreadyInTerminalState"|"incompatibleCluster"|undefined} reason + * @memberof flyteidl.admin.EventFailureReason + * @instance + */ + Object.defineProperty(EventFailureReason.prototype, "reason", { + get: $util.oneOfGetter($oneOfFields = ["alreadyInTerminalState", "incompatibleCluster"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new EventFailureReason instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityList + * @memberof flyteidl.admin.EventFailureReason * @static - * @param {flyteidl.admin.INamedEntityList=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityList} NamedEntityList instance + * @param {flyteidl.admin.IEventFailureReason=} [properties] Properties to set + * @returns {flyteidl.admin.EventFailureReason} EventFailureReason instance */ - NamedEntityList.create = function create(properties) { - return new NamedEntityList(properties); + EventFailureReason.create = function create(properties) { + return new EventFailureReason(properties); }; /** - * Encodes the specified NamedEntityList message. Does not implicitly {@link flyteidl.admin.NamedEntityList.verify|verify} messages. + * Encodes the specified EventFailureReason message. Does not implicitly {@link flyteidl.admin.EventFailureReason.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityList + * @memberof flyteidl.admin.EventFailureReason * @static - * @param {flyteidl.admin.INamedEntityList} message NamedEntityList message or plain object to encode + * @param {flyteidl.admin.IEventFailureReason} message EventFailureReason message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityList.encode = function encode(message, writer) { + EventFailureReason.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.entities != null && message.entities.length) - for (var i = 0; i < message.entities.length; ++i) - $root.flyteidl.admin.NamedEntity.encode(message.entities[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.alreadyInTerminalState != null && message.hasOwnProperty("alreadyInTerminalState")) + $root.flyteidl.admin.EventErrorAlreadyInTerminalState.encode(message.alreadyInTerminalState, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.incompatibleCluster != null && message.hasOwnProperty("incompatibleCluster")) + $root.flyteidl.admin.EventErrorIncompatibleCluster.encode(message.incompatibleCluster, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a NamedEntityList message from the specified reader or buffer. + * Decodes an EventFailureReason message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityList + * @memberof flyteidl.admin.EventFailureReason * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NamedEntityList} NamedEntityList + * @returns {flyteidl.admin.EventFailureReason} EventFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NamedEntityList.decode = function decode(reader, length) { + EventFailureReason.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityList(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.EventFailureReason(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.entities && message.entities.length)) - message.entities = []; - message.entities.push($root.flyteidl.admin.NamedEntity.decode(reader, reader.uint32())); + message.alreadyInTerminalState = $root.flyteidl.admin.EventErrorAlreadyInTerminalState.decode(reader, reader.uint32()); break; case 2: - message.token = reader.string(); + message.incompatibleCluster = $root.flyteidl.admin.EventErrorIncompatibleCluster.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -28516,129 +28204,136 @@ }; /** - * Verifies a NamedEntityList message. + * Verifies an EventFailureReason message. * @function verify - * @memberof flyteidl.admin.NamedEntityList + * @memberof flyteidl.admin.EventFailureReason * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NamedEntityList.verify = function verify(message) { + EventFailureReason.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.entities != null && message.hasOwnProperty("entities")) { - if (!Array.isArray(message.entities)) - return "entities: array expected"; - for (var i = 0; i < message.entities.length; ++i) { - var error = $root.flyteidl.admin.NamedEntity.verify(message.entities[i]); + var properties = {}; + if (message.alreadyInTerminalState != null && message.hasOwnProperty("alreadyInTerminalState")) { + properties.reason = 1; + { + var error = $root.flyteidl.admin.EventErrorAlreadyInTerminalState.verify(message.alreadyInTerminalState); if (error) - return "entities." + error; + return "alreadyInTerminalState." + error; + } + } + if (message.incompatibleCluster != null && message.hasOwnProperty("incompatibleCluster")) { + if (properties.reason === 1) + return "reason: multiple values"; + properties.reason = 1; + { + var error = $root.flyteidl.admin.EventErrorIncompatibleCluster.verify(message.incompatibleCluster); + if (error) + return "incompatibleCluster." + error; } } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return NamedEntityList; + return EventFailureReason; })(); - admin.NamedEntityGetRequest = (function() { + admin.WorkflowExecutionEventRequest = (function() { /** - * Properties of a NamedEntityGetRequest. + * Properties of a WorkflowExecutionEventRequest. * @memberof flyteidl.admin - * @interface INamedEntityGetRequest - * @property {flyteidl.core.ResourceType|null} [resourceType] NamedEntityGetRequest resourceType - * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] NamedEntityGetRequest id + * @interface IWorkflowExecutionEventRequest + * @property {string|null} [requestId] WorkflowExecutionEventRequest requestId + * @property {flyteidl.event.IWorkflowExecutionEvent|null} [event] WorkflowExecutionEventRequest event */ /** - * Constructs a new NamedEntityGetRequest. + * Constructs a new WorkflowExecutionEventRequest. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityGetRequest. - * @implements INamedEntityGetRequest + * @classdesc Represents a WorkflowExecutionEventRequest. + * @implements IWorkflowExecutionEventRequest * @constructor - * @param {flyteidl.admin.INamedEntityGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionEventRequest=} [properties] Properties to set */ - function NamedEntityGetRequest(properties) { + function WorkflowExecutionEventRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) this[keys[i]] = properties[keys[i]]; } - - /** - * NamedEntityGetRequest resourceType. - * @member {flyteidl.core.ResourceType} resourceType - * @memberof flyteidl.admin.NamedEntityGetRequest + + /** + * WorkflowExecutionEventRequest requestId. + * @member {string} requestId + * @memberof flyteidl.admin.WorkflowExecutionEventRequest * @instance */ - NamedEntityGetRequest.prototype.resourceType = 0; + WorkflowExecutionEventRequest.prototype.requestId = ""; /** - * NamedEntityGetRequest id. - * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id - * @memberof flyteidl.admin.NamedEntityGetRequest + * WorkflowExecutionEventRequest event. + * @member {flyteidl.event.IWorkflowExecutionEvent|null|undefined} event + * @memberof flyteidl.admin.WorkflowExecutionEventRequest * @instance */ - NamedEntityGetRequest.prototype.id = null; + WorkflowExecutionEventRequest.prototype.event = null; /** - * Creates a new NamedEntityGetRequest instance using the specified properties. + * Creates a new WorkflowExecutionEventRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityGetRequest + * @memberof flyteidl.admin.WorkflowExecutionEventRequest * @static - * @param {flyteidl.admin.INamedEntityGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityGetRequest} NamedEntityGetRequest instance + * @param {flyteidl.admin.IWorkflowExecutionEventRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionEventRequest} WorkflowExecutionEventRequest instance */ - NamedEntityGetRequest.create = function create(properties) { - return new NamedEntityGetRequest(properties); + WorkflowExecutionEventRequest.create = function create(properties) { + return new WorkflowExecutionEventRequest(properties); }; /** - * Encodes the specified NamedEntityGetRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityGetRequest.verify|verify} messages. + * Encodes the specified WorkflowExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityGetRequest + * @memberof flyteidl.admin.WorkflowExecutionEventRequest * @static - * @param {flyteidl.admin.INamedEntityGetRequest} message NamedEntityGetRequest message or plain object to encode + * @param {flyteidl.admin.IWorkflowExecutionEventRequest} message WorkflowExecutionEventRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityGetRequest.encode = function encode(message, writer) { + WorkflowExecutionEventRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.requestId != null && message.hasOwnProperty("requestId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.requestId); + if (message.event != null && message.hasOwnProperty("event")) + $root.flyteidl.event.WorkflowExecutionEvent.encode(message.event, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a NamedEntityGetRequest message from the specified reader or buffer. + * Decodes a WorkflowExecutionEventRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityGetRequest + * @memberof flyteidl.admin.WorkflowExecutionEventRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NamedEntityGetRequest} NamedEntityGetRequest + * @returns {flyteidl.admin.WorkflowExecutionEventRequest} WorkflowExecutionEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NamedEntityGetRequest.decode = function decode(reader, length) { + WorkflowExecutionEventRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityGetRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionEventRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.resourceType = reader.int32(); + message.requestId = reader.string(); break; case 2: - message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); + message.event = $root.flyteidl.event.WorkflowExecutionEvent.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -28649,58 +28344,47 @@ }; /** - * Verifies a NamedEntityGetRequest message. + * Verifies a WorkflowExecutionEventRequest message. * @function verify - * @memberof flyteidl.admin.NamedEntityGetRequest + * @memberof flyteidl.admin.WorkflowExecutionEventRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NamedEntityGetRequest.verify = function verify(message) { + WorkflowExecutionEventRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { - default: - return "resourceType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); + if (message.requestId != null && message.hasOwnProperty("requestId")) + if (!$util.isString(message.requestId)) + return "requestId: string expected"; + if (message.event != null && message.hasOwnProperty("event")) { + var error = $root.flyteidl.event.WorkflowExecutionEvent.verify(message.event); if (error) - return "id." + error; + return "event." + error; } return null; }; - return NamedEntityGetRequest; + return WorkflowExecutionEventRequest; })(); - admin.NamedEntityUpdateRequest = (function() { + admin.WorkflowExecutionEventResponse = (function() { /** - * Properties of a NamedEntityUpdateRequest. + * Properties of a WorkflowExecutionEventResponse. * @memberof flyteidl.admin - * @interface INamedEntityUpdateRequest - * @property {flyteidl.core.ResourceType|null} [resourceType] NamedEntityUpdateRequest resourceType - * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] NamedEntityUpdateRequest id - * @property {flyteidl.admin.INamedEntityMetadata|null} [metadata] NamedEntityUpdateRequest metadata + * @interface IWorkflowExecutionEventResponse */ /** - * Constructs a new NamedEntityUpdateRequest. + * Constructs a new WorkflowExecutionEventResponse. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityUpdateRequest. - * @implements INamedEntityUpdateRequest + * @classdesc Represents a WorkflowExecutionEventResponse. + * @implements IWorkflowExecutionEventResponse * @constructor - * @param {flyteidl.admin.INamedEntityUpdateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionEventResponse=} [properties] Properties to set */ - function NamedEntityUpdateRequest(properties) { + function WorkflowExecutionEventResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -28708,89 +28392,50 @@ } /** - * NamedEntityUpdateRequest resourceType. - * @member {flyteidl.core.ResourceType} resourceType - * @memberof flyteidl.admin.NamedEntityUpdateRequest - * @instance - */ - NamedEntityUpdateRequest.prototype.resourceType = 0; - - /** - * NamedEntityUpdateRequest id. - * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id - * @memberof flyteidl.admin.NamedEntityUpdateRequest - * @instance - */ - NamedEntityUpdateRequest.prototype.id = null; - - /** - * NamedEntityUpdateRequest metadata. - * @member {flyteidl.admin.INamedEntityMetadata|null|undefined} metadata - * @memberof flyteidl.admin.NamedEntityUpdateRequest - * @instance - */ - NamedEntityUpdateRequest.prototype.metadata = null; - - /** - * Creates a new NamedEntityUpdateRequest instance using the specified properties. + * Creates a new WorkflowExecutionEventResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityUpdateRequest + * @memberof flyteidl.admin.WorkflowExecutionEventResponse * @static - * @param {flyteidl.admin.INamedEntityUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityUpdateRequest} NamedEntityUpdateRequest instance + * @param {flyteidl.admin.IWorkflowExecutionEventResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionEventResponse} WorkflowExecutionEventResponse instance */ - NamedEntityUpdateRequest.create = function create(properties) { - return new NamedEntityUpdateRequest(properties); + WorkflowExecutionEventResponse.create = function create(properties) { + return new WorkflowExecutionEventResponse(properties); }; /** - * Encodes the specified NamedEntityUpdateRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateRequest.verify|verify} messages. + * Encodes the specified WorkflowExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityUpdateRequest + * @memberof flyteidl.admin.WorkflowExecutionEventResponse * @static - * @param {flyteidl.admin.INamedEntityUpdateRequest} message NamedEntityUpdateRequest message or plain object to encode + * @param {flyteidl.admin.IWorkflowExecutionEventResponse} message WorkflowExecutionEventResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityUpdateRequest.encode = function encode(message, writer) { + WorkflowExecutionEventResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.admin.NamedEntityMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a NamedEntityUpdateRequest message from the specified reader or buffer. + * Decodes a WorkflowExecutionEventResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityUpdateRequest + * @memberof flyteidl.admin.WorkflowExecutionEventResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NamedEntityUpdateRequest} NamedEntityUpdateRequest + * @returns {flyteidl.admin.WorkflowExecutionEventResponse} WorkflowExecutionEventResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NamedEntityUpdateRequest.decode = function decode(reader, length) { + WorkflowExecutionEventResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityUpdateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionEventResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.resourceType = reader.int32(); - break; - case 2: - message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); - break; - case 3: - message.metadata = $root.flyteidl.admin.NamedEntityMetadata.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -28800,60 +28445,41 @@ }; /** - * Verifies a NamedEntityUpdateRequest message. + * Verifies a WorkflowExecutionEventResponse message. * @function verify - * @memberof flyteidl.admin.NamedEntityUpdateRequest + * @memberof flyteidl.admin.WorkflowExecutionEventResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NamedEntityUpdateRequest.verify = function verify(message) { + WorkflowExecutionEventResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { - default: - return "resourceType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.admin.NamedEntityMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } return null; }; - return NamedEntityUpdateRequest; + return WorkflowExecutionEventResponse; })(); - admin.NamedEntityUpdateResponse = (function() { + admin.NodeExecutionEventRequest = (function() { /** - * Properties of a NamedEntityUpdateResponse. + * Properties of a NodeExecutionEventRequest. * @memberof flyteidl.admin - * @interface INamedEntityUpdateResponse + * @interface INodeExecutionEventRequest + * @property {string|null} [requestId] NodeExecutionEventRequest requestId + * @property {flyteidl.event.INodeExecutionEvent|null} [event] NodeExecutionEventRequest event */ /** - * Constructs a new NamedEntityUpdateResponse. + * Constructs a new NodeExecutionEventRequest. * @memberof flyteidl.admin - * @classdesc Represents a NamedEntityUpdateResponse. - * @implements INamedEntityUpdateResponse + * @classdesc Represents a NodeExecutionEventRequest. + * @implements INodeExecutionEventRequest * @constructor - * @param {flyteidl.admin.INamedEntityUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionEventRequest=} [properties] Properties to set */ - function NamedEntityUpdateResponse(properties) { + function NodeExecutionEventRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -28861,50 +28487,76 @@ } /** - * Creates a new NamedEntityUpdateResponse instance using the specified properties. + * NodeExecutionEventRequest requestId. + * @member {string} requestId + * @memberof flyteidl.admin.NodeExecutionEventRequest + * @instance + */ + NodeExecutionEventRequest.prototype.requestId = ""; + + /** + * NodeExecutionEventRequest event. + * @member {flyteidl.event.INodeExecutionEvent|null|undefined} event + * @memberof flyteidl.admin.NodeExecutionEventRequest + * @instance + */ + NodeExecutionEventRequest.prototype.event = null; + + /** + * Creates a new NodeExecutionEventRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NamedEntityUpdateResponse + * @memberof flyteidl.admin.NodeExecutionEventRequest * @static - * @param {flyteidl.admin.INamedEntityUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.NamedEntityUpdateResponse} NamedEntityUpdateResponse instance + * @param {flyteidl.admin.INodeExecutionEventRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionEventRequest} NodeExecutionEventRequest instance */ - NamedEntityUpdateResponse.create = function create(properties) { - return new NamedEntityUpdateResponse(properties); + NodeExecutionEventRequest.create = function create(properties) { + return new NodeExecutionEventRequest(properties); }; /** - * Encodes the specified NamedEntityUpdateResponse message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateResponse.verify|verify} messages. + * Encodes the specified NodeExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NamedEntityUpdateResponse + * @memberof flyteidl.admin.NodeExecutionEventRequest * @static - * @param {flyteidl.admin.INamedEntityUpdateResponse} message NamedEntityUpdateResponse message or plain object to encode + * @param {flyteidl.admin.INodeExecutionEventRequest} message NodeExecutionEventRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamedEntityUpdateResponse.encode = function encode(message, writer) { + NodeExecutionEventRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.requestId != null && message.hasOwnProperty("requestId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.requestId); + if (message.event != null && message.hasOwnProperty("event")) + $root.flyteidl.event.NodeExecutionEvent.encode(message.event, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a NamedEntityUpdateResponse message from the specified reader or buffer. + * Decodes a NodeExecutionEventRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NamedEntityUpdateResponse + * @memberof flyteidl.admin.NodeExecutionEventRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NamedEntityUpdateResponse} NamedEntityUpdateResponse + * @returns {flyteidl.admin.NodeExecutionEventRequest} NodeExecutionEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NamedEntityUpdateResponse.decode = function decode(reader, length) { + NodeExecutionEventRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NamedEntityUpdateResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionEventRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.requestId = reader.string(); + break; + case 2: + message.event = $root.flyteidl.event.NodeExecutionEvent.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -28914,40 +28566,47 @@ }; /** - * Verifies a NamedEntityUpdateResponse message. + * Verifies a NodeExecutionEventRequest message. * @function verify - * @memberof flyteidl.admin.NamedEntityUpdateResponse + * @memberof flyteidl.admin.NodeExecutionEventRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NamedEntityUpdateResponse.verify = function verify(message) { + NodeExecutionEventRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.requestId != null && message.hasOwnProperty("requestId")) + if (!$util.isString(message.requestId)) + return "requestId: string expected"; + if (message.event != null && message.hasOwnProperty("event")) { + var error = $root.flyteidl.event.NodeExecutionEvent.verify(message.event); + if (error) + return "event." + error; + } return null; }; - return NamedEntityUpdateResponse; + return NodeExecutionEventRequest; })(); - admin.ObjectGetRequest = (function() { + admin.NodeExecutionEventResponse = (function() { /** - * Properties of an ObjectGetRequest. + * Properties of a NodeExecutionEventResponse. * @memberof flyteidl.admin - * @interface IObjectGetRequest - * @property {flyteidl.core.IIdentifier|null} [id] ObjectGetRequest id + * @interface INodeExecutionEventResponse */ /** - * Constructs a new ObjectGetRequest. + * Constructs a new NodeExecutionEventResponse. * @memberof flyteidl.admin - * @classdesc Represents an ObjectGetRequest. - * @implements IObjectGetRequest + * @classdesc Represents a NodeExecutionEventResponse. + * @implements INodeExecutionEventResponse * @constructor - * @param {flyteidl.admin.IObjectGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionEventResponse=} [properties] Properties to set */ - function ObjectGetRequest(properties) { + function NodeExecutionEventResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -28955,63 +28614,50 @@ } /** - * ObjectGetRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.ObjectGetRequest - * @instance - */ - ObjectGetRequest.prototype.id = null; - - /** - * Creates a new ObjectGetRequest instance using the specified properties. + * Creates a new NodeExecutionEventResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ObjectGetRequest + * @memberof flyteidl.admin.NodeExecutionEventResponse * @static - * @param {flyteidl.admin.IObjectGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ObjectGetRequest} ObjectGetRequest instance + * @param {flyteidl.admin.INodeExecutionEventResponse=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionEventResponse} NodeExecutionEventResponse instance */ - ObjectGetRequest.create = function create(properties) { - return new ObjectGetRequest(properties); + NodeExecutionEventResponse.create = function create(properties) { + return new NodeExecutionEventResponse(properties); }; /** - * Encodes the specified ObjectGetRequest message. Does not implicitly {@link flyteidl.admin.ObjectGetRequest.verify|verify} messages. + * Encodes the specified NodeExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ObjectGetRequest + * @memberof flyteidl.admin.NodeExecutionEventResponse * @static - * @param {flyteidl.admin.IObjectGetRequest} message ObjectGetRequest message or plain object to encode + * @param {flyteidl.admin.INodeExecutionEventResponse} message NodeExecutionEventResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ObjectGetRequest.encode = function encode(message, writer) { + NodeExecutionEventResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes an ObjectGetRequest message from the specified reader or buffer. + * Decodes a NodeExecutionEventResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ObjectGetRequest + * @memberof flyteidl.admin.NodeExecutionEventResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ObjectGetRequest} ObjectGetRequest + * @returns {flyteidl.admin.NodeExecutionEventResponse} NodeExecutionEventResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ObjectGetRequest.decode = function decode(reader, length) { + NodeExecutionEventResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ObjectGetRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionEventResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -29021,49 +28667,41 @@ }; /** - * Verifies an ObjectGetRequest message. + * Verifies a NodeExecutionEventResponse message. * @function verify - * @memberof flyteidl.admin.ObjectGetRequest + * @memberof flyteidl.admin.NodeExecutionEventResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ObjectGetRequest.verify = function verify(message) { + NodeExecutionEventResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.Identifier.verify(message.id); - if (error) - return "id." + error; - } return null; }; - return ObjectGetRequest; + return NodeExecutionEventResponse; })(); - admin.ResourceListRequest = (function() { + admin.TaskExecutionEventRequest = (function() { /** - * Properties of a ResourceListRequest. + * Properties of a TaskExecutionEventRequest. * @memberof flyteidl.admin - * @interface IResourceListRequest - * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] ResourceListRequest id - * @property {number|null} [limit] ResourceListRequest limit - * @property {string|null} [token] ResourceListRequest token - * @property {string|null} [filters] ResourceListRequest filters - * @property {flyteidl.admin.ISort|null} [sortBy] ResourceListRequest sortBy + * @interface ITaskExecutionEventRequest + * @property {string|null} [requestId] TaskExecutionEventRequest requestId + * @property {flyteidl.event.ITaskExecutionEvent|null} [event] TaskExecutionEventRequest event */ /** - * Constructs a new ResourceListRequest. + * Constructs a new TaskExecutionEventRequest. * @memberof flyteidl.admin - * @classdesc Represents a ResourceListRequest. - * @implements IResourceListRequest + * @classdesc Represents a TaskExecutionEventRequest. + * @implements ITaskExecutionEventRequest * @constructor - * @param {flyteidl.admin.IResourceListRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionEventRequest=} [properties] Properties to set */ - function ResourceListRequest(properties) { + function TaskExecutionEventRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29071,114 +28709,75 @@ } /** - * ResourceListRequest id. - * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id - * @memberof flyteidl.admin.ResourceListRequest - * @instance - */ - ResourceListRequest.prototype.id = null; - - /** - * ResourceListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.ResourceListRequest - * @instance - */ - ResourceListRequest.prototype.limit = 0; - - /** - * ResourceListRequest token. - * @member {string} token - * @memberof flyteidl.admin.ResourceListRequest - * @instance - */ - ResourceListRequest.prototype.token = ""; - - /** - * ResourceListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.ResourceListRequest + * TaskExecutionEventRequest requestId. + * @member {string} requestId + * @memberof flyteidl.admin.TaskExecutionEventRequest * @instance */ - ResourceListRequest.prototype.filters = ""; + TaskExecutionEventRequest.prototype.requestId = ""; /** - * ResourceListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.ResourceListRequest + * TaskExecutionEventRequest event. + * @member {flyteidl.event.ITaskExecutionEvent|null|undefined} event + * @memberof flyteidl.admin.TaskExecutionEventRequest * @instance */ - ResourceListRequest.prototype.sortBy = null; + TaskExecutionEventRequest.prototype.event = null; /** - * Creates a new ResourceListRequest instance using the specified properties. + * Creates a new TaskExecutionEventRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ResourceListRequest + * @memberof flyteidl.admin.TaskExecutionEventRequest * @static - * @param {flyteidl.admin.IResourceListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ResourceListRequest} ResourceListRequest instance + * @param {flyteidl.admin.ITaskExecutionEventRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionEventRequest} TaskExecutionEventRequest instance */ - ResourceListRequest.create = function create(properties) { - return new ResourceListRequest(properties); + TaskExecutionEventRequest.create = function create(properties) { + return new TaskExecutionEventRequest(properties); }; /** - * Encodes the specified ResourceListRequest message. Does not implicitly {@link flyteidl.admin.ResourceListRequest.verify|verify} messages. + * Encodes the specified TaskExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ResourceListRequest + * @memberof flyteidl.admin.TaskExecutionEventRequest * @static - * @param {flyteidl.admin.IResourceListRequest} message ResourceListRequest message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionEventRequest} message TaskExecutionEventRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ResourceListRequest.encode = function encode(message, writer) { + TaskExecutionEventRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); - if (message.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); - if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.requestId != null && message.hasOwnProperty("requestId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.requestId); + if (message.event != null && message.hasOwnProperty("event")) + $root.flyteidl.event.TaskExecutionEvent.encode(message.event, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a ResourceListRequest message from the specified reader or buffer. + * Decodes a TaskExecutionEventRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ResourceListRequest + * @memberof flyteidl.admin.TaskExecutionEventRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ResourceListRequest} ResourceListRequest + * @returns {flyteidl.admin.TaskExecutionEventRequest} TaskExecutionEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ResourceListRequest.decode = function decode(reader, length) { + TaskExecutionEventRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ResourceListRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionEventRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); + message.requestId = reader.string(); break; case 2: - message.limit = reader.uint32(); - break; - case 3: - message.token = reader.string(); - break; - case 4: - message.filters = reader.string(); - break; - case 5: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + message.event = $root.flyteidl.event.TaskExecutionEvent.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -29189,60 +28788,47 @@ }; /** - * Verifies a ResourceListRequest message. + * Verifies a TaskExecutionEventRequest message. * @function verify - * @memberof flyteidl.admin.ResourceListRequest - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ResourceListRequest.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.limit != null && message.hasOwnProperty("limit")) - if (!$util.isInteger(message.limit)) - return "limit: integer expected"; - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; - if (message.sortBy != null && message.hasOwnProperty("sortBy")) { - var error = $root.flyteidl.admin.Sort.verify(message.sortBy); + * @memberof flyteidl.admin.TaskExecutionEventRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TaskExecutionEventRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.requestId != null && message.hasOwnProperty("requestId")) + if (!$util.isString(message.requestId)) + return "requestId: string expected"; + if (message.event != null && message.hasOwnProperty("event")) { + var error = $root.flyteidl.event.TaskExecutionEvent.verify(message.event); if (error) - return "sortBy." + error; + return "event." + error; } return null; }; - return ResourceListRequest; + return TaskExecutionEventRequest; })(); - admin.EmailNotification = (function() { + admin.TaskExecutionEventResponse = (function() { /** - * Properties of an EmailNotification. + * Properties of a TaskExecutionEventResponse. * @memberof flyteidl.admin - * @interface IEmailNotification - * @property {Array.|null} [recipientsEmail] EmailNotification recipientsEmail + * @interface ITaskExecutionEventResponse */ /** - * Constructs a new EmailNotification. + * Constructs a new TaskExecutionEventResponse. * @memberof flyteidl.admin - * @classdesc Represents an EmailNotification. - * @implements IEmailNotification + * @classdesc Represents a TaskExecutionEventResponse. + * @implements ITaskExecutionEventResponse * @constructor - * @param {flyteidl.admin.IEmailNotification=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionEventResponse=} [properties] Properties to set */ - function EmailNotification(properties) { - this.recipientsEmail = []; + function TaskExecutionEventResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29250,66 +28836,50 @@ } /** - * EmailNotification recipientsEmail. - * @member {Array.} recipientsEmail - * @memberof flyteidl.admin.EmailNotification - * @instance - */ - EmailNotification.prototype.recipientsEmail = $util.emptyArray; - - /** - * Creates a new EmailNotification instance using the specified properties. + * Creates a new TaskExecutionEventResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.EmailNotification + * @memberof flyteidl.admin.TaskExecutionEventResponse * @static - * @param {flyteidl.admin.IEmailNotification=} [properties] Properties to set - * @returns {flyteidl.admin.EmailNotification} EmailNotification instance + * @param {flyteidl.admin.ITaskExecutionEventResponse=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionEventResponse} TaskExecutionEventResponse instance */ - EmailNotification.create = function create(properties) { - return new EmailNotification(properties); + TaskExecutionEventResponse.create = function create(properties) { + return new TaskExecutionEventResponse(properties); }; /** - * Encodes the specified EmailNotification message. Does not implicitly {@link flyteidl.admin.EmailNotification.verify|verify} messages. + * Encodes the specified TaskExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.EmailNotification + * @memberof flyteidl.admin.TaskExecutionEventResponse * @static - * @param {flyteidl.admin.IEmailNotification} message EmailNotification message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionEventResponse} message TaskExecutionEventResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EmailNotification.encode = function encode(message, writer) { + TaskExecutionEventResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.recipientsEmail != null && message.recipientsEmail.length) - for (var i = 0; i < message.recipientsEmail.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.recipientsEmail[i]); return writer; }; /** - * Decodes an EmailNotification message from the specified reader or buffer. + * Decodes a TaskExecutionEventResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.EmailNotification + * @memberof flyteidl.admin.TaskExecutionEventResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.EmailNotification} EmailNotification + * @returns {flyteidl.admin.TaskExecutionEventResponse} TaskExecutionEventResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EmailNotification.decode = function decode(reader, length) { + TaskExecutionEventResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.EmailNotification(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionEventResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.recipientsEmail && message.recipientsEmail.length)) - message.recipientsEmail = []; - message.recipientsEmail.push(reader.string()); - break; default: reader.skipType(tag & 7); break; @@ -29319,48 +28889,45 @@ }; /** - * Verifies an EmailNotification message. + * Verifies a TaskExecutionEventResponse message. * @function verify - * @memberof flyteidl.admin.EmailNotification + * @memberof flyteidl.admin.TaskExecutionEventResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - EmailNotification.verify = function verify(message) { + TaskExecutionEventResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.recipientsEmail != null && message.hasOwnProperty("recipientsEmail")) { - if (!Array.isArray(message.recipientsEmail)) - return "recipientsEmail: array expected"; - for (var i = 0; i < message.recipientsEmail.length; ++i) - if (!$util.isString(message.recipientsEmail[i])) - return "recipientsEmail: string[] expected"; - } return null; }; - return EmailNotification; + return TaskExecutionEventResponse; })(); - admin.PagerDutyNotification = (function() { + admin.ExecutionCreateRequest = (function() { /** - * Properties of a PagerDutyNotification. + * Properties of an ExecutionCreateRequest. * @memberof flyteidl.admin - * @interface IPagerDutyNotification - * @property {Array.|null} [recipientsEmail] PagerDutyNotification recipientsEmail + * @interface IExecutionCreateRequest + * @property {string|null} [project] ExecutionCreateRequest project + * @property {string|null} [domain] ExecutionCreateRequest domain + * @property {string|null} [name] ExecutionCreateRequest name + * @property {flyteidl.admin.IExecutionSpec|null} [spec] ExecutionCreateRequest spec + * @property {flyteidl.core.ILiteralMap|null} [inputs] ExecutionCreateRequest inputs + * @property {string|null} [org] ExecutionCreateRequest org */ /** - * Constructs a new PagerDutyNotification. + * Constructs a new ExecutionCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents a PagerDutyNotification. - * @implements IPagerDutyNotification + * @classdesc Represents an ExecutionCreateRequest. + * @implements IExecutionCreateRequest * @constructor - * @param {flyteidl.admin.IPagerDutyNotification=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionCreateRequest=} [properties] Properties to set */ - function PagerDutyNotification(properties) { - this.recipientsEmail = []; + function ExecutionCreateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29368,65 +28935,127 @@ } /** - * PagerDutyNotification recipientsEmail. - * @member {Array.} recipientsEmail - * @memberof flyteidl.admin.PagerDutyNotification + * ExecutionCreateRequest project. + * @member {string} project + * @memberof flyteidl.admin.ExecutionCreateRequest * @instance */ - PagerDutyNotification.prototype.recipientsEmail = $util.emptyArray; + ExecutionCreateRequest.prototype.project = ""; /** - * Creates a new PagerDutyNotification instance using the specified properties. + * ExecutionCreateRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.ExecutionCreateRequest + * @instance + */ + ExecutionCreateRequest.prototype.domain = ""; + + /** + * ExecutionCreateRequest name. + * @member {string} name + * @memberof flyteidl.admin.ExecutionCreateRequest + * @instance + */ + ExecutionCreateRequest.prototype.name = ""; + + /** + * ExecutionCreateRequest spec. + * @member {flyteidl.admin.IExecutionSpec|null|undefined} spec + * @memberof flyteidl.admin.ExecutionCreateRequest + * @instance + */ + ExecutionCreateRequest.prototype.spec = null; + + /** + * ExecutionCreateRequest inputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputs + * @memberof flyteidl.admin.ExecutionCreateRequest + * @instance + */ + ExecutionCreateRequest.prototype.inputs = null; + + /** + * ExecutionCreateRequest org. + * @member {string} org + * @memberof flyteidl.admin.ExecutionCreateRequest + * @instance + */ + ExecutionCreateRequest.prototype.org = ""; + + /** + * Creates a new ExecutionCreateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.PagerDutyNotification + * @memberof flyteidl.admin.ExecutionCreateRequest * @static - * @param {flyteidl.admin.IPagerDutyNotification=} [properties] Properties to set - * @returns {flyteidl.admin.PagerDutyNotification} PagerDutyNotification instance + * @param {flyteidl.admin.IExecutionCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionCreateRequest} ExecutionCreateRequest instance */ - PagerDutyNotification.create = function create(properties) { - return new PagerDutyNotification(properties); + ExecutionCreateRequest.create = function create(properties) { + return new ExecutionCreateRequest(properties); }; /** - * Encodes the specified PagerDutyNotification message. Does not implicitly {@link flyteidl.admin.PagerDutyNotification.verify|verify} messages. + * Encodes the specified ExecutionCreateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionCreateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.PagerDutyNotification + * @memberof flyteidl.admin.ExecutionCreateRequest * @static - * @param {flyteidl.admin.IPagerDutyNotification} message PagerDutyNotification message or plain object to encode + * @param {flyteidl.admin.IExecutionCreateRequest} message ExecutionCreateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - PagerDutyNotification.encode = function encode(message, writer) { + ExecutionCreateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.recipientsEmail != null && message.recipientsEmail.length) - for (var i = 0; i < message.recipientsEmail.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.recipientsEmail[i]); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.name); + if (message.spec != null && message.hasOwnProperty("spec")) + $root.flyteidl.admin.ExecutionSpec.encode(message.spec, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.inputs != null && message.hasOwnProperty("inputs")) + $root.flyteidl.core.LiteralMap.encode(message.inputs, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.org); return writer; }; /** - * Decodes a PagerDutyNotification message from the specified reader or buffer. + * Decodes an ExecutionCreateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.PagerDutyNotification + * @memberof flyteidl.admin.ExecutionCreateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.PagerDutyNotification} PagerDutyNotification + * @returns {flyteidl.admin.ExecutionCreateRequest} ExecutionCreateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - PagerDutyNotification.decode = function decode(reader, length) { + ExecutionCreateRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.PagerDutyNotification(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionCreateRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.recipientsEmail && message.recipientsEmail.length)) - message.recipientsEmail = []; - message.recipientsEmail.push(reader.string()); + message.project = reader.string(); + break; + case 2: + message.domain = reader.string(); + break; + case 3: + message.name = reader.string(); + break; + case 4: + message.spec = $root.flyteidl.admin.ExecutionSpec.decode(reader, reader.uint32()); + break; + case 5: + message.inputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 6: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -29437,48 +29066,64 @@ }; /** - * Verifies a PagerDutyNotification message. + * Verifies an ExecutionCreateRequest message. * @function verify - * @memberof flyteidl.admin.PagerDutyNotification + * @memberof flyteidl.admin.ExecutionCreateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - PagerDutyNotification.verify = function verify(message) { + ExecutionCreateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.recipientsEmail != null && message.hasOwnProperty("recipientsEmail")) { - if (!Array.isArray(message.recipientsEmail)) - return "recipientsEmail: array expected"; - for (var i = 0; i < message.recipientsEmail.length; ++i) - if (!$util.isString(message.recipientsEmail[i])) - return "recipientsEmail: string[] expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.spec != null && message.hasOwnProperty("spec")) { + var error = $root.flyteidl.admin.ExecutionSpec.verify(message.spec); + if (error) + return "spec." + error; } + if (message.inputs != null && message.hasOwnProperty("inputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.inputs); + if (error) + return "inputs." + error; + } + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return PagerDutyNotification; + return ExecutionCreateRequest; })(); - admin.SlackNotification = (function() { + admin.ExecutionRelaunchRequest = (function() { /** - * Properties of a SlackNotification. + * Properties of an ExecutionRelaunchRequest. * @memberof flyteidl.admin - * @interface ISlackNotification - * @property {Array.|null} [recipientsEmail] SlackNotification recipientsEmail + * @interface IExecutionRelaunchRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionRelaunchRequest id + * @property {string|null} [name] ExecutionRelaunchRequest name + * @property {boolean|null} [overwriteCache] ExecutionRelaunchRequest overwriteCache */ /** - * Constructs a new SlackNotification. + * Constructs a new ExecutionRelaunchRequest. * @memberof flyteidl.admin - * @classdesc Represents a SlackNotification. - * @implements ISlackNotification + * @classdesc Represents an ExecutionRelaunchRequest. + * @implements IExecutionRelaunchRequest * @constructor - * @param {flyteidl.admin.ISlackNotification=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionRelaunchRequest=} [properties] Properties to set */ - function SlackNotification(properties) { - this.recipientsEmail = []; + function ExecutionRelaunchRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29486,65 +29131,88 @@ } /** - * SlackNotification recipientsEmail. - * @member {Array.} recipientsEmail - * @memberof flyteidl.admin.SlackNotification + * ExecutionRelaunchRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.ExecutionRelaunchRequest * @instance */ - SlackNotification.prototype.recipientsEmail = $util.emptyArray; + ExecutionRelaunchRequest.prototype.id = null; /** - * Creates a new SlackNotification instance using the specified properties. + * ExecutionRelaunchRequest name. + * @member {string} name + * @memberof flyteidl.admin.ExecutionRelaunchRequest + * @instance + */ + ExecutionRelaunchRequest.prototype.name = ""; + + /** + * ExecutionRelaunchRequest overwriteCache. + * @member {boolean} overwriteCache + * @memberof flyteidl.admin.ExecutionRelaunchRequest + * @instance + */ + ExecutionRelaunchRequest.prototype.overwriteCache = false; + + /** + * Creates a new ExecutionRelaunchRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.SlackNotification + * @memberof flyteidl.admin.ExecutionRelaunchRequest * @static - * @param {flyteidl.admin.ISlackNotification=} [properties] Properties to set - * @returns {flyteidl.admin.SlackNotification} SlackNotification instance + * @param {flyteidl.admin.IExecutionRelaunchRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionRelaunchRequest} ExecutionRelaunchRequest instance */ - SlackNotification.create = function create(properties) { - return new SlackNotification(properties); + ExecutionRelaunchRequest.create = function create(properties) { + return new ExecutionRelaunchRequest(properties); }; /** - * Encodes the specified SlackNotification message. Does not implicitly {@link flyteidl.admin.SlackNotification.verify|verify} messages. + * Encodes the specified ExecutionRelaunchRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRelaunchRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SlackNotification + * @memberof flyteidl.admin.ExecutionRelaunchRequest * @static - * @param {flyteidl.admin.ISlackNotification} message SlackNotification message or plain object to encode + * @param {flyteidl.admin.IExecutionRelaunchRequest} message ExecutionRelaunchRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SlackNotification.encode = function encode(message, writer) { + ExecutionRelaunchRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.recipientsEmail != null && message.recipientsEmail.length) - for (var i = 0; i < message.recipientsEmail.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.recipientsEmail[i]); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.name); + if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) + writer.uint32(/* id 4, wireType 0 =*/32).bool(message.overwriteCache); return writer; }; /** - * Decodes a SlackNotification message from the specified reader or buffer. + * Decodes an ExecutionRelaunchRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SlackNotification + * @memberof flyteidl.admin.ExecutionRelaunchRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.SlackNotification} SlackNotification + * @returns {flyteidl.admin.ExecutionRelaunchRequest} ExecutionRelaunchRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SlackNotification.decode = function decode(reader, length) { + ExecutionRelaunchRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SlackNotification(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionRelaunchRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.recipientsEmail && message.recipientsEmail.length)) - message.recipientsEmail = []; - message.recipientsEmail.push(reader.string()); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 3: + message.name = reader.string(); + break; + case 4: + message.overwriteCache = reader.bool(); break; default: reader.skipType(tag & 7); @@ -29555,51 +29223,53 @@ }; /** - * Verifies a SlackNotification message. + * Verifies an ExecutionRelaunchRequest message. * @function verify - * @memberof flyteidl.admin.SlackNotification + * @memberof flyteidl.admin.ExecutionRelaunchRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SlackNotification.verify = function verify(message) { + ExecutionRelaunchRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.recipientsEmail != null && message.hasOwnProperty("recipientsEmail")) { - if (!Array.isArray(message.recipientsEmail)) - return "recipientsEmail: array expected"; - for (var i = 0; i < message.recipientsEmail.length; ++i) - if (!$util.isString(message.recipientsEmail[i])) - return "recipientsEmail: string[] expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; } + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) + if (typeof message.overwriteCache !== "boolean") + return "overwriteCache: boolean expected"; return null; }; - return SlackNotification; + return ExecutionRelaunchRequest; })(); - admin.Notification = (function() { + admin.ExecutionRecoverRequest = (function() { /** - * Properties of a Notification. + * Properties of an ExecutionRecoverRequest. * @memberof flyteidl.admin - * @interface INotification - * @property {Array.|null} [phases] Notification phases - * @property {flyteidl.admin.IEmailNotification|null} [email] Notification email - * @property {flyteidl.admin.IPagerDutyNotification|null} [pagerDuty] Notification pagerDuty - * @property {flyteidl.admin.ISlackNotification|null} [slack] Notification slack + * @interface IExecutionRecoverRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionRecoverRequest id + * @property {string|null} [name] ExecutionRecoverRequest name + * @property {flyteidl.admin.IExecutionMetadata|null} [metadata] ExecutionRecoverRequest metadata */ /** - * Constructs a new Notification. + * Constructs a new ExecutionRecoverRequest. * @memberof flyteidl.admin - * @classdesc Represents a Notification. - * @implements INotification + * @classdesc Represents an ExecutionRecoverRequest. + * @implements IExecutionRecoverRequest * @constructor - * @param {flyteidl.admin.INotification=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionRecoverRequest=} [properties] Properties to set */ - function Notification(properties) { - this.phases = []; + function ExecutionRecoverRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29607,126 +29277,88 @@ } /** - * Notification phases. - * @member {Array.} phases - * @memberof flyteidl.admin.Notification - * @instance - */ - Notification.prototype.phases = $util.emptyArray; - - /** - * Notification email. - * @member {flyteidl.admin.IEmailNotification|null|undefined} email - * @memberof flyteidl.admin.Notification - * @instance - */ - Notification.prototype.email = null; - - /** - * Notification pagerDuty. - * @member {flyteidl.admin.IPagerDutyNotification|null|undefined} pagerDuty - * @memberof flyteidl.admin.Notification + * ExecutionRecoverRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.ExecutionRecoverRequest * @instance */ - Notification.prototype.pagerDuty = null; + ExecutionRecoverRequest.prototype.id = null; /** - * Notification slack. - * @member {flyteidl.admin.ISlackNotification|null|undefined} slack - * @memberof flyteidl.admin.Notification + * ExecutionRecoverRequest name. + * @member {string} name + * @memberof flyteidl.admin.ExecutionRecoverRequest * @instance */ - Notification.prototype.slack = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + ExecutionRecoverRequest.prototype.name = ""; /** - * Notification type. - * @member {"email"|"pagerDuty"|"slack"|undefined} type - * @memberof flyteidl.admin.Notification + * ExecutionRecoverRequest metadata. + * @member {flyteidl.admin.IExecutionMetadata|null|undefined} metadata + * @memberof flyteidl.admin.ExecutionRecoverRequest * @instance */ - Object.defineProperty(Notification.prototype, "type", { - get: $util.oneOfGetter($oneOfFields = ["email", "pagerDuty", "slack"]), - set: $util.oneOfSetter($oneOfFields) - }); + ExecutionRecoverRequest.prototype.metadata = null; /** - * Creates a new Notification instance using the specified properties. + * Creates a new ExecutionRecoverRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.Notification + * @memberof flyteidl.admin.ExecutionRecoverRequest * @static - * @param {flyteidl.admin.INotification=} [properties] Properties to set - * @returns {flyteidl.admin.Notification} Notification instance + * @param {flyteidl.admin.IExecutionRecoverRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionRecoverRequest} ExecutionRecoverRequest instance */ - Notification.create = function create(properties) { - return new Notification(properties); + ExecutionRecoverRequest.create = function create(properties) { + return new ExecutionRecoverRequest(properties); }; /** - * Encodes the specified Notification message. Does not implicitly {@link flyteidl.admin.Notification.verify|verify} messages. + * Encodes the specified ExecutionRecoverRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRecoverRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Notification + * @memberof flyteidl.admin.ExecutionRecoverRequest * @static - * @param {flyteidl.admin.INotification} message Notification message or plain object to encode + * @param {flyteidl.admin.IExecutionRecoverRequest} message ExecutionRecoverRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Notification.encode = function encode(message, writer) { + ExecutionRecoverRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.phases != null && message.phases.length) { - writer.uint32(/* id 1, wireType 2 =*/10).fork(); - for (var i = 0; i < message.phases.length; ++i) - writer.int32(message.phases[i]); - writer.ldelim(); - } - if (message.email != null && message.hasOwnProperty("email")) - $root.flyteidl.admin.EmailNotification.encode(message.email, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.pagerDuty != null && message.hasOwnProperty("pagerDuty")) - $root.flyteidl.admin.PagerDutyNotification.encode(message.pagerDuty, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.slack != null && message.hasOwnProperty("slack")) - $root.flyteidl.admin.SlackNotification.encode(message.slack, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.admin.ExecutionMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a Notification message from the specified reader or buffer. + * Decodes an ExecutionRecoverRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Notification + * @memberof flyteidl.admin.ExecutionRecoverRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Notification} Notification + * @returns {flyteidl.admin.ExecutionRecoverRequest} ExecutionRecoverRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Notification.decode = function decode(reader, length) { + ExecutionRecoverRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Notification(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionRecoverRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.phases && message.phases.length)) - message.phases = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.phases.push(reader.int32()); - } else - message.phases.push(reader.int32()); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.email = $root.flyteidl.admin.EmailNotification.decode(reader, reader.uint32()); + message.name = reader.string(); break; case 3: - message.pagerDuty = $root.flyteidl.admin.PagerDutyNotification.decode(reader, reader.uint32()); - break; - case 4: - message.slack = $root.flyteidl.admin.SlackNotification.decode(reader, reader.uint32()); + message.metadata = $root.flyteidl.admin.ExecutionMetadata.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -29737,90 +29369,53 @@ }; /** - * Verifies a Notification message. + * Verifies an ExecutionRecoverRequest message. * @function verify - * @memberof flyteidl.admin.Notification + * @memberof flyteidl.admin.ExecutionRecoverRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Notification.verify = function verify(message) { + ExecutionRecoverRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.phases != null && message.hasOwnProperty("phases")) { - if (!Array.isArray(message.phases)) - return "phases: array expected"; - for (var i = 0; i < message.phases.length; ++i) - switch (message.phases[i]) { - default: - return "phases: enum value[] expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - break; - } - } - if (message.email != null && message.hasOwnProperty("email")) { - properties.type = 1; - { - var error = $root.flyteidl.admin.EmailNotification.verify(message.email); - if (error) - return "email." + error; - } - } - if (message.pagerDuty != null && message.hasOwnProperty("pagerDuty")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - var error = $root.flyteidl.admin.PagerDutyNotification.verify(message.pagerDuty); - if (error) - return "pagerDuty." + error; - } + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; } - if (message.slack != null && message.hasOwnProperty("slack")) { - if (properties.type === 1) - return "type: multiple values"; - properties.type = 1; - { - var error = $root.flyteidl.admin.SlackNotification.verify(message.slack); - if (error) - return "slack." + error; - } + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.admin.ExecutionMetadata.verify(message.metadata); + if (error) + return "metadata." + error; } return null; }; - return Notification; + return ExecutionRecoverRequest; })(); - admin.UrlBlob = (function() { + admin.ExecutionCreateResponse = (function() { /** - * Properties of an UrlBlob. + * Properties of an ExecutionCreateResponse. * @memberof flyteidl.admin - * @interface IUrlBlob - * @property {string|null} [url] UrlBlob url - * @property {Long|null} [bytes] UrlBlob bytes + * @interface IExecutionCreateResponse + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionCreateResponse id */ /** - * Constructs a new UrlBlob. + * Constructs a new ExecutionCreateResponse. * @memberof flyteidl.admin - * @classdesc Represents an UrlBlob. - * @implements IUrlBlob + * @classdesc Represents an ExecutionCreateResponse. + * @implements IExecutionCreateResponse * @constructor - * @param {flyteidl.admin.IUrlBlob=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionCreateResponse=} [properties] Properties to set */ - function UrlBlob(properties) { + function ExecutionCreateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29828,75 +29423,62 @@ } /** - * UrlBlob url. - * @member {string} url - * @memberof flyteidl.admin.UrlBlob - * @instance - */ - UrlBlob.prototype.url = ""; - - /** - * UrlBlob bytes. - * @member {Long} bytes - * @memberof flyteidl.admin.UrlBlob + * ExecutionCreateResponse id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.ExecutionCreateResponse * @instance */ - UrlBlob.prototype.bytes = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + ExecutionCreateResponse.prototype.id = null; /** - * Creates a new UrlBlob instance using the specified properties. + * Creates a new ExecutionCreateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.UrlBlob + * @memberof flyteidl.admin.ExecutionCreateResponse * @static - * @param {flyteidl.admin.IUrlBlob=} [properties] Properties to set - * @returns {flyteidl.admin.UrlBlob} UrlBlob instance + * @param {flyteidl.admin.IExecutionCreateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionCreateResponse} ExecutionCreateResponse instance */ - UrlBlob.create = function create(properties) { - return new UrlBlob(properties); + ExecutionCreateResponse.create = function create(properties) { + return new ExecutionCreateResponse(properties); }; /** - * Encodes the specified UrlBlob message. Does not implicitly {@link flyteidl.admin.UrlBlob.verify|verify} messages. + * Encodes the specified ExecutionCreateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionCreateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.UrlBlob + * @memberof flyteidl.admin.ExecutionCreateResponse * @static - * @param {flyteidl.admin.IUrlBlob} message UrlBlob message or plain object to encode + * @param {flyteidl.admin.IExecutionCreateResponse} message ExecutionCreateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UrlBlob.encode = function encode(message, writer) { + ExecutionCreateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.url != null && message.hasOwnProperty("url")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.url); - if (message.bytes != null && message.hasOwnProperty("bytes")) - writer.uint32(/* id 2, wireType 0 =*/16).int64(message.bytes); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes an UrlBlob message from the specified reader or buffer. + * Decodes an ExecutionCreateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.UrlBlob + * @memberof flyteidl.admin.ExecutionCreateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.UrlBlob} UrlBlob + * @returns {flyteidl.admin.ExecutionCreateResponse} ExecutionCreateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UrlBlob.decode = function decode(reader, length) { + ExecutionCreateResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.UrlBlob(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionCreateResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.url = reader.string(); - break; - case 2: - message.bytes = reader.int64(); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -29907,47 +29489,45 @@ }; /** - * Verifies an UrlBlob message. + * Verifies an ExecutionCreateResponse message. * @function verify - * @memberof flyteidl.admin.UrlBlob + * @memberof flyteidl.admin.ExecutionCreateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - UrlBlob.verify = function verify(message) { + ExecutionCreateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.url != null && message.hasOwnProperty("url")) - if (!$util.isString(message.url)) - return "url: string expected"; - if (message.bytes != null && message.hasOwnProperty("bytes")) - if (!$util.isInteger(message.bytes) && !(message.bytes && $util.isInteger(message.bytes.low) && $util.isInteger(message.bytes.high))) - return "bytes: integer|Long expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; + } return null; }; - return UrlBlob; + return ExecutionCreateResponse; })(); - admin.Labels = (function() { + admin.WorkflowExecutionGetRequest = (function() { /** - * Properties of a Labels. + * Properties of a WorkflowExecutionGetRequest. * @memberof flyteidl.admin - * @interface ILabels - * @property {Object.|null} [values] Labels values + * @interface IWorkflowExecutionGetRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetRequest id */ /** - * Constructs a new Labels. + * Constructs a new WorkflowExecutionGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a Labels. - * @implements ILabels + * @classdesc Represents a WorkflowExecutionGetRequest. + * @implements IWorkflowExecutionGetRequest * @constructor - * @param {flyteidl.admin.ILabels=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionGetRequest=} [properties] Properties to set */ - function Labels(properties) { - this.values = {}; + function WorkflowExecutionGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -29955,68 +29535,62 @@ } /** - * Labels values. - * @member {Object.} values - * @memberof flyteidl.admin.Labels + * WorkflowExecutionGetRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.WorkflowExecutionGetRequest * @instance */ - Labels.prototype.values = $util.emptyObject; + WorkflowExecutionGetRequest.prototype.id = null; /** - * Creates a new Labels instance using the specified properties. + * Creates a new WorkflowExecutionGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.Labels + * @memberof flyteidl.admin.WorkflowExecutionGetRequest * @static - * @param {flyteidl.admin.ILabels=} [properties] Properties to set - * @returns {flyteidl.admin.Labels} Labels instance + * @param {flyteidl.admin.IWorkflowExecutionGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionGetRequest} WorkflowExecutionGetRequest instance */ - Labels.create = function create(properties) { - return new Labels(properties); + WorkflowExecutionGetRequest.create = function create(properties) { + return new WorkflowExecutionGetRequest(properties); }; /** - * Encodes the specified Labels message. Does not implicitly {@link flyteidl.admin.Labels.verify|verify} messages. + * Encodes the specified WorkflowExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Labels + * @memberof flyteidl.admin.WorkflowExecutionGetRequest * @static - * @param {flyteidl.admin.ILabels} message Labels message or plain object to encode + * @param {flyteidl.admin.IWorkflowExecutionGetRequest} message WorkflowExecutionGetRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Labels.encode = function encode(message, writer) { + WorkflowExecutionGetRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.values != null && message.hasOwnProperty("values")) - for (var keys = Object.keys(message.values), i = 0; i < keys.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.values[keys[i]]).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a Labels message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Labels + * @memberof flyteidl.admin.WorkflowExecutionGetRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Labels} Labels + * @returns {flyteidl.admin.WorkflowExecutionGetRequest} WorkflowExecutionGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Labels.decode = function decode(reader, length) { + WorkflowExecutionGetRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Labels(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - reader.skip().pos++; - if (message.values === $util.emptyObject) - message.values = {}; - key = reader.string(); - reader.pos++; - message.values[key] = reader.string(); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -30027,49 +29601,47 @@ }; /** - * Verifies a Labels message. + * Verifies a WorkflowExecutionGetRequest message. * @function verify - * @memberof flyteidl.admin.Labels + * @memberof flyteidl.admin.WorkflowExecutionGetRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Labels.verify = function verify(message) { + WorkflowExecutionGetRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.values != null && message.hasOwnProperty("values")) { - if (!$util.isObject(message.values)) - return "values: object expected"; - var key = Object.keys(message.values); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.values[key[i]])) - return "values: string{k:string} expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; } return null; }; - return Labels; + return WorkflowExecutionGetRequest; })(); - admin.Annotations = (function() { + admin.Execution = (function() { /** - * Properties of an Annotations. + * Properties of an Execution. * @memberof flyteidl.admin - * @interface IAnnotations - * @property {Object.|null} [values] Annotations values + * @interface IExecution + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] Execution id + * @property {flyteidl.admin.IExecutionSpec|null} [spec] Execution spec + * @property {flyteidl.admin.IExecutionClosure|null} [closure] Execution closure */ /** - * Constructs a new Annotations. + * Constructs a new Execution. * @memberof flyteidl.admin - * @classdesc Represents an Annotations. - * @implements IAnnotations + * @classdesc Represents an Execution. + * @implements IExecution * @constructor - * @param {flyteidl.admin.IAnnotations=} [properties] Properties to set + * @param {flyteidl.admin.IExecution=} [properties] Properties to set */ - function Annotations(properties) { - this.values = {}; + function Execution(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -30077,68 +29649,88 @@ } /** - * Annotations values. - * @member {Object.} values - * @memberof flyteidl.admin.Annotations + * Execution id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.Execution * @instance */ - Annotations.prototype.values = $util.emptyObject; + Execution.prototype.id = null; /** - * Creates a new Annotations instance using the specified properties. + * Execution spec. + * @member {flyteidl.admin.IExecutionSpec|null|undefined} spec + * @memberof flyteidl.admin.Execution + * @instance + */ + Execution.prototype.spec = null; + + /** + * Execution closure. + * @member {flyteidl.admin.IExecutionClosure|null|undefined} closure + * @memberof flyteidl.admin.Execution + * @instance + */ + Execution.prototype.closure = null; + + /** + * Creates a new Execution instance using the specified properties. * @function create - * @memberof flyteidl.admin.Annotations + * @memberof flyteidl.admin.Execution * @static - * @param {flyteidl.admin.IAnnotations=} [properties] Properties to set - * @returns {flyteidl.admin.Annotations} Annotations instance + * @param {flyteidl.admin.IExecution=} [properties] Properties to set + * @returns {flyteidl.admin.Execution} Execution instance */ - Annotations.create = function create(properties) { - return new Annotations(properties); + Execution.create = function create(properties) { + return new Execution(properties); }; /** - * Encodes the specified Annotations message. Does not implicitly {@link flyteidl.admin.Annotations.verify|verify} messages. + * Encodes the specified Execution message. Does not implicitly {@link flyteidl.admin.Execution.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Annotations + * @memberof flyteidl.admin.Execution * @static - * @param {flyteidl.admin.IAnnotations} message Annotations message or plain object to encode + * @param {flyteidl.admin.IExecution} message Execution message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Annotations.encode = function encode(message, writer) { + Execution.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.values != null && message.hasOwnProperty("values")) - for (var keys = Object.keys(message.values), i = 0; i < keys.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.values[keys[i]]).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.spec != null && message.hasOwnProperty("spec")) + $root.flyteidl.admin.ExecutionSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.closure != null && message.hasOwnProperty("closure")) + $root.flyteidl.admin.ExecutionClosure.encode(message.closure, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes an Annotations message from the specified reader or buffer. + * Decodes an Execution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Annotations + * @memberof flyteidl.admin.Execution * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Annotations} Annotations + * @returns {flyteidl.admin.Execution} Execution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Annotations.decode = function decode(reader, length) { + Execution.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Annotations(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Execution(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - reader.skip().pos++; - if (message.values === $util.emptyObject) - message.values = {}; - key = reader.string(); - reader.pos++; - message.values[key] = reader.string(); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.spec = $root.flyteidl.admin.ExecutionSpec.decode(reader, reader.uint32()); + break; + case 3: + message.closure = $root.flyteidl.admin.ExecutionClosure.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -30149,49 +29741,57 @@ }; /** - * Verifies an Annotations message. + * Verifies an Execution message. * @function verify - * @memberof flyteidl.admin.Annotations + * @memberof flyteidl.admin.Execution * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Annotations.verify = function verify(message) { + Execution.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.values != null && message.hasOwnProperty("values")) { - if (!$util.isObject(message.values)) - return "values: object expected"; - var key = Object.keys(message.values); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.values[key[i]])) - return "values: string{k:string} expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.spec != null && message.hasOwnProperty("spec")) { + var error = $root.flyteidl.admin.ExecutionSpec.verify(message.spec); + if (error) + return "spec." + error; + } + if (message.closure != null && message.hasOwnProperty("closure")) { + var error = $root.flyteidl.admin.ExecutionClosure.verify(message.closure); + if (error) + return "closure." + error; } return null; }; - return Annotations; + return Execution; })(); - admin.Envs = (function() { + admin.ExecutionList = (function() { /** - * Properties of an Envs. + * Properties of an ExecutionList. * @memberof flyteidl.admin - * @interface IEnvs - * @property {Array.|null} [values] Envs values + * @interface IExecutionList + * @property {Array.|null} [executions] ExecutionList executions + * @property {string|null} [token] ExecutionList token */ /** - * Constructs a new Envs. + * Constructs a new ExecutionList. * @memberof flyteidl.admin - * @classdesc Represents an Envs. - * @implements IEnvs + * @classdesc Represents an ExecutionList. + * @implements IExecutionList * @constructor - * @param {flyteidl.admin.IEnvs=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionList=} [properties] Properties to set */ - function Envs(properties) { - this.values = []; + function ExecutionList(properties) { + this.executions = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -30199,65 +29799,78 @@ } /** - * Envs values. - * @member {Array.} values - * @memberof flyteidl.admin.Envs + * ExecutionList executions. + * @member {Array.} executions + * @memberof flyteidl.admin.ExecutionList * @instance */ - Envs.prototype.values = $util.emptyArray; + ExecutionList.prototype.executions = $util.emptyArray; /** - * Creates a new Envs instance using the specified properties. + * ExecutionList token. + * @member {string} token + * @memberof flyteidl.admin.ExecutionList + * @instance + */ + ExecutionList.prototype.token = ""; + + /** + * Creates a new ExecutionList instance using the specified properties. * @function create - * @memberof flyteidl.admin.Envs + * @memberof flyteidl.admin.ExecutionList * @static - * @param {flyteidl.admin.IEnvs=} [properties] Properties to set - * @returns {flyteidl.admin.Envs} Envs instance + * @param {flyteidl.admin.IExecutionList=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionList} ExecutionList instance */ - Envs.create = function create(properties) { - return new Envs(properties); + ExecutionList.create = function create(properties) { + return new ExecutionList(properties); }; /** - * Encodes the specified Envs message. Does not implicitly {@link flyteidl.admin.Envs.verify|verify} messages. + * Encodes the specified ExecutionList message. Does not implicitly {@link flyteidl.admin.ExecutionList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Envs + * @memberof flyteidl.admin.ExecutionList * @static - * @param {flyteidl.admin.IEnvs} message Envs message or plain object to encode + * @param {flyteidl.admin.IExecutionList} message ExecutionList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Envs.encode = function encode(message, writer) { + ExecutionList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.values != null && message.values.length) - for (var i = 0; i < message.values.length; ++i) - $root.flyteidl.core.KeyValuePair.encode(message.values[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.executions != null && message.executions.length) + for (var i = 0; i < message.executions.length; ++i) + $root.flyteidl.admin.Execution.encode(message.executions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes an Envs message from the specified reader or buffer. + * Decodes an ExecutionList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Envs + * @memberof flyteidl.admin.ExecutionList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Envs} Envs + * @returns {flyteidl.admin.ExecutionList} ExecutionList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Envs.decode = function decode(reader, length) { + ExecutionList.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Envs(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionList(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.values && message.values.length)) - message.values = []; - message.values.push($root.flyteidl.core.KeyValuePair.decode(reader, reader.uint32())); + if (!(message.executions && message.executions.length)) + message.executions = []; + message.executions.push($root.flyteidl.admin.Execution.decode(reader, reader.uint32())); + break; + case 2: + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -30268,50 +29881,53 @@ }; /** - * Verifies an Envs message. + * Verifies an ExecutionList message. * @function verify - * @memberof flyteidl.admin.Envs + * @memberof flyteidl.admin.ExecutionList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Envs.verify = function verify(message) { + ExecutionList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.values != null && message.hasOwnProperty("values")) { - if (!Array.isArray(message.values)) - return "values: array expected"; - for (var i = 0; i < message.values.length; ++i) { - var error = $root.flyteidl.core.KeyValuePair.verify(message.values[i]); + if (message.executions != null && message.hasOwnProperty("executions")) { + if (!Array.isArray(message.executions)) + return "executions: array expected"; + for (var i = 0; i < message.executions.length; ++i) { + var error = $root.flyteidl.admin.Execution.verify(message.executions[i]); if (error) - return "values." + error; + return "executions." + error; } } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return Envs; + return ExecutionList; })(); - admin.AuthRole = (function() { + admin.LiteralMapBlob = (function() { /** - * Properties of an AuthRole. + * Properties of a LiteralMapBlob. * @memberof flyteidl.admin - * @interface IAuthRole - * @property {string|null} [assumableIamRole] AuthRole assumableIamRole - * @property {string|null} [kubernetesServiceAccount] AuthRole kubernetesServiceAccount + * @interface ILiteralMapBlob + * @property {flyteidl.core.ILiteralMap|null} [values] LiteralMapBlob values + * @property {string|null} [uri] LiteralMapBlob uri */ /** - * Constructs a new AuthRole. + * Constructs a new LiteralMapBlob. * @memberof flyteidl.admin - * @classdesc Represents an AuthRole. - * @implements IAuthRole + * @classdesc Represents a LiteralMapBlob. + * @implements ILiteralMapBlob * @constructor - * @param {flyteidl.admin.IAuthRole=} [properties] Properties to set + * @param {flyteidl.admin.ILiteralMapBlob=} [properties] Properties to set */ - function AuthRole(properties) { + function LiteralMapBlob(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -30319,75 +29935,89 @@ } /** - * AuthRole assumableIamRole. - * @member {string} assumableIamRole - * @memberof flyteidl.admin.AuthRole + * LiteralMapBlob values. + * @member {flyteidl.core.ILiteralMap|null|undefined} values + * @memberof flyteidl.admin.LiteralMapBlob + * @instance + */ + LiteralMapBlob.prototype.values = null; + + /** + * LiteralMapBlob uri. + * @member {string} uri + * @memberof flyteidl.admin.LiteralMapBlob * @instance */ - AuthRole.prototype.assumableIamRole = ""; + LiteralMapBlob.prototype.uri = ""; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * AuthRole kubernetesServiceAccount. - * @member {string} kubernetesServiceAccount - * @memberof flyteidl.admin.AuthRole + * LiteralMapBlob data. + * @member {"values"|"uri"|undefined} data + * @memberof flyteidl.admin.LiteralMapBlob * @instance */ - AuthRole.prototype.kubernetesServiceAccount = ""; + Object.defineProperty(LiteralMapBlob.prototype, "data", { + get: $util.oneOfGetter($oneOfFields = ["values", "uri"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new AuthRole instance using the specified properties. + * Creates a new LiteralMapBlob instance using the specified properties. * @function create - * @memberof flyteidl.admin.AuthRole + * @memberof flyteidl.admin.LiteralMapBlob * @static - * @param {flyteidl.admin.IAuthRole=} [properties] Properties to set - * @returns {flyteidl.admin.AuthRole} AuthRole instance + * @param {flyteidl.admin.ILiteralMapBlob=} [properties] Properties to set + * @returns {flyteidl.admin.LiteralMapBlob} LiteralMapBlob instance */ - AuthRole.create = function create(properties) { - return new AuthRole(properties); + LiteralMapBlob.create = function create(properties) { + return new LiteralMapBlob(properties); }; /** - * Encodes the specified AuthRole message. Does not implicitly {@link flyteidl.admin.AuthRole.verify|verify} messages. + * Encodes the specified LiteralMapBlob message. Does not implicitly {@link flyteidl.admin.LiteralMapBlob.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.AuthRole + * @memberof flyteidl.admin.LiteralMapBlob * @static - * @param {flyteidl.admin.IAuthRole} message AuthRole message or plain object to encode + * @param {flyteidl.admin.ILiteralMapBlob} message LiteralMapBlob message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - AuthRole.encode = function encode(message, writer) { + LiteralMapBlob.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.assumableIamRole); - if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.kubernetesServiceAccount); + if (message.values != null && message.hasOwnProperty("values")) + $root.flyteidl.core.LiteralMap.encode(message.values, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.uri != null && message.hasOwnProperty("uri")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.uri); return writer; }; /** - * Decodes an AuthRole message from the specified reader or buffer. + * Decodes a LiteralMapBlob message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.AuthRole + * @memberof flyteidl.admin.LiteralMapBlob * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.AuthRole} AuthRole + * @returns {flyteidl.admin.LiteralMapBlob} LiteralMapBlob * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - AuthRole.decode = function decode(reader, length) { + LiteralMapBlob.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.AuthRole(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LiteralMapBlob(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.assumableIamRole = reader.string(); + message.values = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; case 2: - message.kubernetesServiceAccount = reader.string(); + message.uri = reader.string(); break; default: reader.skipType(tag & 7); @@ -30398,46 +30028,57 @@ }; /** - * Verifies an AuthRole message. + * Verifies a LiteralMapBlob message. * @function verify - * @memberof flyteidl.admin.AuthRole + * @memberof flyteidl.admin.LiteralMapBlob * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - AuthRole.verify = function verify(message) { + LiteralMapBlob.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) - if (!$util.isString(message.assumableIamRole)) - return "assumableIamRole: string expected"; - if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) - if (!$util.isString(message.kubernetesServiceAccount)) - return "kubernetesServiceAccount: string expected"; + var properties = {}; + if (message.values != null && message.hasOwnProperty("values")) { + properties.data = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.values); + if (error) + return "values." + error; + } + } + if (message.uri != null && message.hasOwnProperty("uri")) { + if (properties.data === 1) + return "data: multiple values"; + properties.data = 1; + if (!$util.isString(message.uri)) + return "uri: string expected"; + } return null; }; - return AuthRole; + return LiteralMapBlob; })(); - admin.RawOutputDataConfig = (function() { + admin.AbortMetadata = (function() { /** - * Properties of a RawOutputDataConfig. + * Properties of an AbortMetadata. * @memberof flyteidl.admin - * @interface IRawOutputDataConfig - * @property {string|null} [outputLocationPrefix] RawOutputDataConfig outputLocationPrefix + * @interface IAbortMetadata + * @property {string|null} [cause] AbortMetadata cause + * @property {string|null} [principal] AbortMetadata principal */ /** - * Constructs a new RawOutputDataConfig. + * Constructs a new AbortMetadata. * @memberof flyteidl.admin - * @classdesc Represents a RawOutputDataConfig. - * @implements IRawOutputDataConfig + * @classdesc Represents an AbortMetadata. + * @implements IAbortMetadata * @constructor - * @param {flyteidl.admin.IRawOutputDataConfig=} [properties] Properties to set + * @param {flyteidl.admin.IAbortMetadata=} [properties] Properties to set */ - function RawOutputDataConfig(properties) { + function AbortMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -30445,62 +30086,75 @@ } /** - * RawOutputDataConfig outputLocationPrefix. - * @member {string} outputLocationPrefix - * @memberof flyteidl.admin.RawOutputDataConfig + * AbortMetadata cause. + * @member {string} cause + * @memberof flyteidl.admin.AbortMetadata * @instance */ - RawOutputDataConfig.prototype.outputLocationPrefix = ""; + AbortMetadata.prototype.cause = ""; /** - * Creates a new RawOutputDataConfig instance using the specified properties. + * AbortMetadata principal. + * @member {string} principal + * @memberof flyteidl.admin.AbortMetadata + * @instance + */ + AbortMetadata.prototype.principal = ""; + + /** + * Creates a new AbortMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.RawOutputDataConfig + * @memberof flyteidl.admin.AbortMetadata * @static - * @param {flyteidl.admin.IRawOutputDataConfig=} [properties] Properties to set - * @returns {flyteidl.admin.RawOutputDataConfig} RawOutputDataConfig instance + * @param {flyteidl.admin.IAbortMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.AbortMetadata} AbortMetadata instance */ - RawOutputDataConfig.create = function create(properties) { - return new RawOutputDataConfig(properties); + AbortMetadata.create = function create(properties) { + return new AbortMetadata(properties); }; /** - * Encodes the specified RawOutputDataConfig message. Does not implicitly {@link flyteidl.admin.RawOutputDataConfig.verify|verify} messages. + * Encodes the specified AbortMetadata message. Does not implicitly {@link flyteidl.admin.AbortMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.RawOutputDataConfig + * @memberof flyteidl.admin.AbortMetadata * @static - * @param {flyteidl.admin.IRawOutputDataConfig} message RawOutputDataConfig message or plain object to encode + * @param {flyteidl.admin.IAbortMetadata} message AbortMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RawOutputDataConfig.encode = function encode(message, writer) { + AbortMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.outputLocationPrefix != null && message.hasOwnProperty("outputLocationPrefix")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.outputLocationPrefix); + if (message.cause != null && message.hasOwnProperty("cause")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.cause); + if (message.principal != null && message.hasOwnProperty("principal")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.principal); return writer; }; /** - * Decodes a RawOutputDataConfig message from the specified reader or buffer. + * Decodes an AbortMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.RawOutputDataConfig + * @memberof flyteidl.admin.AbortMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.RawOutputDataConfig} RawOutputDataConfig + * @returns {flyteidl.admin.AbortMetadata} AbortMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RawOutputDataConfig.decode = function decode(reader, length) { + AbortMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.RawOutputDataConfig(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.AbortMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.outputLocationPrefix = reader.string(); + message.cause = reader.string(); + break; + case 2: + message.principal = reader.string(); break; default: reader.skipType(tag & 7); @@ -30511,45 +30165,60 @@ }; /** - * Verifies a RawOutputDataConfig message. + * Verifies an AbortMetadata message. * @function verify - * @memberof flyteidl.admin.RawOutputDataConfig + * @memberof flyteidl.admin.AbortMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - RawOutputDataConfig.verify = function verify(message) { + AbortMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.outputLocationPrefix != null && message.hasOwnProperty("outputLocationPrefix")) - if (!$util.isString(message.outputLocationPrefix)) - return "outputLocationPrefix: string expected"; + if (message.cause != null && message.hasOwnProperty("cause")) + if (!$util.isString(message.cause)) + return "cause: string expected"; + if (message.principal != null && message.hasOwnProperty("principal")) + if (!$util.isString(message.principal)) + return "principal: string expected"; return null; }; - return RawOutputDataConfig; + return AbortMetadata; })(); - admin.FlyteURLs = (function() { + admin.ExecutionClosure = (function() { /** - * Properties of a FlyteURLs. + * Properties of an ExecutionClosure. * @memberof flyteidl.admin - * @interface IFlyteURLs - * @property {string|null} [inputs] FlyteURLs inputs - * @property {string|null} [outputs] FlyteURLs outputs - * @property {string|null} [deck] FlyteURLs deck + * @interface IExecutionClosure + * @property {flyteidl.admin.ILiteralMapBlob|null} [outputs] ExecutionClosure outputs + * @property {flyteidl.core.IExecutionError|null} [error] ExecutionClosure error + * @property {string|null} [abortCause] ExecutionClosure abortCause + * @property {flyteidl.admin.IAbortMetadata|null} [abortMetadata] ExecutionClosure abortMetadata + * @property {flyteidl.core.ILiteralMap|null} [outputData] ExecutionClosure outputData + * @property {flyteidl.core.ILiteralMap|null} [computedInputs] ExecutionClosure computedInputs + * @property {flyteidl.core.WorkflowExecution.Phase|null} [phase] ExecutionClosure phase + * @property {google.protobuf.ITimestamp|null} [startedAt] ExecutionClosure startedAt + * @property {google.protobuf.IDuration|null} [duration] ExecutionClosure duration + * @property {google.protobuf.ITimestamp|null} [createdAt] ExecutionClosure createdAt + * @property {google.protobuf.ITimestamp|null} [updatedAt] ExecutionClosure updatedAt + * @property {Array.|null} [notifications] ExecutionClosure notifications + * @property {flyteidl.core.IIdentifier|null} [workflowId] ExecutionClosure workflowId + * @property {flyteidl.admin.IExecutionStateChangeDetails|null} [stateChangeDetails] ExecutionClosure stateChangeDetails */ /** - * Constructs a new FlyteURLs. + * Constructs a new ExecutionClosure. * @memberof flyteidl.admin - * @classdesc Represents a FlyteURLs. - * @implements IFlyteURLs + * @classdesc Represents an ExecutionClosure. + * @implements IExecutionClosure * @constructor - * @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionClosure=} [properties] Properties to set */ - function FlyteURLs(properties) { + function ExecutionClosure(properties) { + this.notifications = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -30557,146 +30226,399 @@ } /** - * FlyteURLs inputs. - * @member {string} inputs - * @memberof flyteidl.admin.FlyteURLs + * ExecutionClosure outputs. + * @member {flyteidl.admin.ILiteralMapBlob|null|undefined} outputs + * @memberof flyteidl.admin.ExecutionClosure * @instance */ - FlyteURLs.prototype.inputs = ""; + ExecutionClosure.prototype.outputs = null; /** - * FlyteURLs outputs. - * @member {string} outputs - * @memberof flyteidl.admin.FlyteURLs + * ExecutionClosure error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.admin.ExecutionClosure * @instance */ - FlyteURLs.prototype.outputs = ""; + ExecutionClosure.prototype.error = null; /** - * FlyteURLs deck. - * @member {string} deck - * @memberof flyteidl.admin.FlyteURLs + * ExecutionClosure abortCause. + * @member {string} abortCause + * @memberof flyteidl.admin.ExecutionClosure * @instance */ - FlyteURLs.prototype.deck = ""; + ExecutionClosure.prototype.abortCause = ""; /** - * Creates a new FlyteURLs instance using the specified properties. + * ExecutionClosure abortMetadata. + * @member {flyteidl.admin.IAbortMetadata|null|undefined} abortMetadata + * @memberof flyteidl.admin.ExecutionClosure + * @instance + */ + ExecutionClosure.prototype.abortMetadata = null; + + /** + * ExecutionClosure outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.admin.ExecutionClosure + * @instance + */ + ExecutionClosure.prototype.outputData = null; + + /** + * ExecutionClosure computedInputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} computedInputs + * @memberof flyteidl.admin.ExecutionClosure + * @instance + */ + ExecutionClosure.prototype.computedInputs = null; + + /** + * ExecutionClosure phase. + * @member {flyteidl.core.WorkflowExecution.Phase} phase + * @memberof flyteidl.admin.ExecutionClosure + * @instance + */ + ExecutionClosure.prototype.phase = 0; + + /** + * ExecutionClosure startedAt. + * @member {google.protobuf.ITimestamp|null|undefined} startedAt + * @memberof flyteidl.admin.ExecutionClosure + * @instance + */ + ExecutionClosure.prototype.startedAt = null; + + /** + * ExecutionClosure duration. + * @member {google.protobuf.IDuration|null|undefined} duration + * @memberof flyteidl.admin.ExecutionClosure + * @instance + */ + ExecutionClosure.prototype.duration = null; + + /** + * ExecutionClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.ExecutionClosure + * @instance + */ + ExecutionClosure.prototype.createdAt = null; + + /** + * ExecutionClosure updatedAt. + * @member {google.protobuf.ITimestamp|null|undefined} updatedAt + * @memberof flyteidl.admin.ExecutionClosure + * @instance + */ + ExecutionClosure.prototype.updatedAt = null; + + /** + * ExecutionClosure notifications. + * @member {Array.} notifications + * @memberof flyteidl.admin.ExecutionClosure + * @instance + */ + ExecutionClosure.prototype.notifications = $util.emptyArray; + + /** + * ExecutionClosure workflowId. + * @member {flyteidl.core.IIdentifier|null|undefined} workflowId + * @memberof flyteidl.admin.ExecutionClosure + * @instance + */ + ExecutionClosure.prototype.workflowId = null; + + /** + * ExecutionClosure stateChangeDetails. + * @member {flyteidl.admin.IExecutionStateChangeDetails|null|undefined} stateChangeDetails + * @memberof flyteidl.admin.ExecutionClosure + * @instance + */ + ExecutionClosure.prototype.stateChangeDetails = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * ExecutionClosure outputResult. + * @member {"outputs"|"error"|"abortCause"|"abortMetadata"|"outputData"|undefined} outputResult + * @memberof flyteidl.admin.ExecutionClosure + * @instance + */ + Object.defineProperty(ExecutionClosure.prototype, "outputResult", { + get: $util.oneOfGetter($oneOfFields = ["outputs", "error", "abortCause", "abortMetadata", "outputData"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new ExecutionClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.FlyteURLs + * @memberof flyteidl.admin.ExecutionClosure * @static - * @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set - * @returns {flyteidl.admin.FlyteURLs} FlyteURLs instance + * @param {flyteidl.admin.IExecutionClosure=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionClosure} ExecutionClosure instance */ - FlyteURLs.create = function create(properties) { - return new FlyteURLs(properties); + ExecutionClosure.create = function create(properties) { + return new ExecutionClosure(properties); }; /** - * Encodes the specified FlyteURLs message. Does not implicitly {@link flyteidl.admin.FlyteURLs.verify|verify} messages. + * Encodes the specified ExecutionClosure message. Does not implicitly {@link flyteidl.admin.ExecutionClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.FlyteURLs + * @memberof flyteidl.admin.ExecutionClosure * @static - * @param {flyteidl.admin.IFlyteURLs} message FlyteURLs message or plain object to encode + * @param {flyteidl.admin.IExecutionClosure} message ExecutionClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FlyteURLs.encode = function encode(message, writer) { + ExecutionClosure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.inputs != null && message.hasOwnProperty("inputs")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.inputs); if (message.outputs != null && message.hasOwnProperty("outputs")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.outputs); - if (message.deck != null && message.hasOwnProperty("deck")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.deck); + $root.flyteidl.admin.LiteralMapBlob.encode(message.outputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.computedInputs != null && message.hasOwnProperty("computedInputs")) + $root.flyteidl.core.LiteralMap.encode(message.computedInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.phase != null && message.hasOwnProperty("phase")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.phase); + if (message.startedAt != null && message.hasOwnProperty("startedAt")) + $root.google.protobuf.Timestamp.encode(message.startedAt, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.duration != null && message.hasOwnProperty("duration")) + $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.createdAt != null && message.hasOwnProperty("createdAt")) + $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) + $root.google.protobuf.Timestamp.encode(message.updatedAt, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.notifications != null && message.notifications.length) + for (var i = 0; i < message.notifications.length; ++i) + $root.flyteidl.admin.Notification.encode(message.notifications[i], writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.abortCause != null && message.hasOwnProperty("abortCause")) + writer.uint32(/* id 10, wireType 2 =*/82).string(message.abortCause); + if (message.workflowId != null && message.hasOwnProperty("workflowId")) + $root.flyteidl.core.Identifier.encode(message.workflowId, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); + if (message.abortMetadata != null && message.hasOwnProperty("abortMetadata")) + $root.flyteidl.admin.AbortMetadata.encode(message.abortMetadata, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); + if (message.outputData != null && message.hasOwnProperty("outputData")) + $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim(); + if (message.stateChangeDetails != null && message.hasOwnProperty("stateChangeDetails")) + $root.flyteidl.admin.ExecutionStateChangeDetails.encode(message.stateChangeDetails, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); return writer; }; /** - * Decodes a FlyteURLs message from the specified reader or buffer. + * Decodes an ExecutionClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.FlyteURLs + * @memberof flyteidl.admin.ExecutionClosure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.FlyteURLs} FlyteURLs + * @returns {flyteidl.admin.ExecutionClosure} ExecutionClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FlyteURLs.decode = function decode(reader, length) { + ExecutionClosure.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.FlyteURLs(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionClosure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.inputs = reader.string(); - break; + message.outputs = $root.flyteidl.admin.LiteralMapBlob.decode(reader, reader.uint32()); + break; + case 2: + message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); + break; + case 10: + message.abortCause = reader.string(); + break; + case 12: + message.abortMetadata = $root.flyteidl.admin.AbortMetadata.decode(reader, reader.uint32()); + break; + case 13: + message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 3: + message.computedInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 4: + message.phase = reader.int32(); + break; + case 5: + message.startedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 6: + message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + case 7: + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 8: + message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 9: + if (!(message.notifications && message.notifications.length)) + message.notifications = []; + message.notifications.push($root.flyteidl.admin.Notification.decode(reader, reader.uint32())); + break; + case 11: + message.workflowId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 14: + message.stateChangeDetails = $root.flyteidl.admin.ExecutionStateChangeDetails.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an ExecutionClosure message. + * @function verify + * @memberof flyteidl.admin.ExecutionClosure + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ExecutionClosure.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.outputs != null && message.hasOwnProperty("outputs")) { + properties.outputResult = 1; + { + var error = $root.flyteidl.admin.LiteralMapBlob.verify(message.outputs); + if (error) + return "outputs." + error; + } + } + if (message.error != null && message.hasOwnProperty("error")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.core.ExecutionError.verify(message.error); + if (error) + return "error." + error; + } + } + if (message.abortCause != null && message.hasOwnProperty("abortCause")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + if (!$util.isString(message.abortCause)) + return "abortCause: string expected"; + } + if (message.abortMetadata != null && message.hasOwnProperty("abortMetadata")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.admin.AbortMetadata.verify(message.abortMetadata); + if (error) + return "abortMetadata." + error; + } + } + if (message.outputData != null && message.hasOwnProperty("outputData")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); + if (error) + return "outputData." + error; + } + } + if (message.computedInputs != null && message.hasOwnProperty("computedInputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.computedInputs); + if (error) + return "computedInputs." + error; + } + if (message.phase != null && message.hasOwnProperty("phase")) + switch (message.phase) { + default: + return "phase: enum value expected"; + case 0: + case 1: case 2: - message.outputs = reader.string(); - break; case 3: - message.deck = reader.string(); - break; - default: - reader.skipType(tag & 7); + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: break; } + if (message.startedAt != null && message.hasOwnProperty("startedAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.startedAt); + if (error) + return "startedAt." + error; + } + if (message.duration != null && message.hasOwnProperty("duration")) { + var error = $root.google.protobuf.Duration.verify(message.duration); + if (error) + return "duration." + error; + } + if (message.createdAt != null && message.hasOwnProperty("createdAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.createdAt); + if (error) + return "createdAt." + error; + } + if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.updatedAt); + if (error) + return "updatedAt." + error; + } + if (message.notifications != null && message.hasOwnProperty("notifications")) { + if (!Array.isArray(message.notifications)) + return "notifications: array expected"; + for (var i = 0; i < message.notifications.length; ++i) { + var error = $root.flyteidl.admin.Notification.verify(message.notifications[i]); + if (error) + return "notifications." + error; + } + } + if (message.workflowId != null && message.hasOwnProperty("workflowId")) { + var error = $root.flyteidl.core.Identifier.verify(message.workflowId); + if (error) + return "workflowId." + error; + } + if (message.stateChangeDetails != null && message.hasOwnProperty("stateChangeDetails")) { + var error = $root.flyteidl.admin.ExecutionStateChangeDetails.verify(message.stateChangeDetails); + if (error) + return "stateChangeDetails." + error; } - return message; - }; - - /** - * Verifies a FlyteURLs message. - * @function verify - * @memberof flyteidl.admin.FlyteURLs - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FlyteURLs.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.inputs != null && message.hasOwnProperty("inputs")) - if (!$util.isString(message.inputs)) - return "inputs: string expected"; - if (message.outputs != null && message.hasOwnProperty("outputs")) - if (!$util.isString(message.outputs)) - return "outputs: string expected"; - if (message.deck != null && message.hasOwnProperty("deck")) - if (!$util.isString(message.deck)) - return "deck: string expected"; return null; }; - return FlyteURLs; + return ExecutionClosure; })(); - admin.DescriptionEntity = (function() { + admin.SystemMetadata = (function() { /** - * Properties of a DescriptionEntity. + * Properties of a SystemMetadata. * @memberof flyteidl.admin - * @interface IDescriptionEntity - * @property {flyteidl.core.IIdentifier|null} [id] DescriptionEntity id - * @property {string|null} [shortDescription] DescriptionEntity shortDescription - * @property {flyteidl.admin.IDescription|null} [longDescription] DescriptionEntity longDescription - * @property {flyteidl.admin.ISourceCode|null} [sourceCode] DescriptionEntity sourceCode - * @property {Array.|null} [tags] DescriptionEntity tags + * @interface ISystemMetadata + * @property {string|null} [executionCluster] SystemMetadata executionCluster + * @property {string|null} [namespace] SystemMetadata namespace */ /** - * Constructs a new DescriptionEntity. + * Constructs a new SystemMetadata. * @memberof flyteidl.admin - * @classdesc Represents a DescriptionEntity. - * @implements IDescriptionEntity + * @classdesc Represents a SystemMetadata. + * @implements ISystemMetadata * @constructor - * @param {flyteidl.admin.IDescriptionEntity=} [properties] Properties to set + * @param {flyteidl.admin.ISystemMetadata=} [properties] Properties to set */ - function DescriptionEntity(properties) { - this.tags = []; + function SystemMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -30704,117 +30626,75 @@ } /** - * DescriptionEntity id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.DescriptionEntity - * @instance - */ - DescriptionEntity.prototype.id = null; - - /** - * DescriptionEntity shortDescription. - * @member {string} shortDescription - * @memberof flyteidl.admin.DescriptionEntity - * @instance - */ - DescriptionEntity.prototype.shortDescription = ""; - - /** - * DescriptionEntity longDescription. - * @member {flyteidl.admin.IDescription|null|undefined} longDescription - * @memberof flyteidl.admin.DescriptionEntity - * @instance - */ - DescriptionEntity.prototype.longDescription = null; - - /** - * DescriptionEntity sourceCode. - * @member {flyteidl.admin.ISourceCode|null|undefined} sourceCode - * @memberof flyteidl.admin.DescriptionEntity + * SystemMetadata executionCluster. + * @member {string} executionCluster + * @memberof flyteidl.admin.SystemMetadata * @instance */ - DescriptionEntity.prototype.sourceCode = null; + SystemMetadata.prototype.executionCluster = ""; /** - * DescriptionEntity tags. - * @member {Array.} tags - * @memberof flyteidl.admin.DescriptionEntity + * SystemMetadata namespace. + * @member {string} namespace + * @memberof flyteidl.admin.SystemMetadata * @instance */ - DescriptionEntity.prototype.tags = $util.emptyArray; + SystemMetadata.prototype.namespace = ""; /** - * Creates a new DescriptionEntity instance using the specified properties. + * Creates a new SystemMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.DescriptionEntity + * @memberof flyteidl.admin.SystemMetadata * @static - * @param {flyteidl.admin.IDescriptionEntity=} [properties] Properties to set - * @returns {flyteidl.admin.DescriptionEntity} DescriptionEntity instance + * @param {flyteidl.admin.ISystemMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.SystemMetadata} SystemMetadata instance */ - DescriptionEntity.create = function create(properties) { - return new DescriptionEntity(properties); + SystemMetadata.create = function create(properties) { + return new SystemMetadata(properties); }; /** - * Encodes the specified DescriptionEntity message. Does not implicitly {@link flyteidl.admin.DescriptionEntity.verify|verify} messages. + * Encodes the specified SystemMetadata message. Does not implicitly {@link flyteidl.admin.SystemMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.DescriptionEntity + * @memberof flyteidl.admin.SystemMetadata * @static - * @param {flyteidl.admin.IDescriptionEntity} message DescriptionEntity message or plain object to encode + * @param {flyteidl.admin.ISystemMetadata} message SystemMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DescriptionEntity.encode = function encode(message, writer) { + SystemMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.shortDescription); - if (message.longDescription != null && message.hasOwnProperty("longDescription")) - $root.flyteidl.admin.Description.encode(message.longDescription, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.sourceCode != null && message.hasOwnProperty("sourceCode")) - $root.flyteidl.admin.SourceCode.encode(message.sourceCode, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.tags != null && message.tags.length) - for (var i = 0; i < message.tags.length; ++i) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.tags[i]); + if (message.executionCluster != null && message.hasOwnProperty("executionCluster")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.executionCluster); + if (message.namespace != null && message.hasOwnProperty("namespace")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.namespace); return writer; }; /** - * Decodes a DescriptionEntity message from the specified reader or buffer. + * Decodes a SystemMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.DescriptionEntity + * @memberof flyteidl.admin.SystemMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.DescriptionEntity} DescriptionEntity + * @returns {flyteidl.admin.SystemMetadata} SystemMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DescriptionEntity.decode = function decode(reader, length) { + SystemMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DescriptionEntity(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SystemMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.executionCluster = reader.string(); break; case 2: - message.shortDescription = reader.string(); - break; - case 3: - message.longDescription = $root.flyteidl.admin.Description.decode(reader, reader.uint32()); - break; - case 4: - message.sourceCode = $root.flyteidl.admin.SourceCode.decode(reader, reader.uint32()); - break; - case 5: - if (!(message.tags && message.tags.length)) - message.tags = []; - message.tags.push(reader.string()); + message.namespace = reader.string(); break; default: reader.skipType(tag & 7); @@ -30825,86 +30705,54 @@ }; /** - * Verifies a DescriptionEntity message. + * Verifies a SystemMetadata message. * @function verify - * @memberof flyteidl.admin.DescriptionEntity + * @memberof flyteidl.admin.SystemMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - DescriptionEntity.verify = function verify(message) { + SystemMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.Identifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) - if (!$util.isString(message.shortDescription)) - return "shortDescription: string expected"; - if (message.longDescription != null && message.hasOwnProperty("longDescription")) { - var error = $root.flyteidl.admin.Description.verify(message.longDescription); - if (error) - return "longDescription." + error; - } - if (message.sourceCode != null && message.hasOwnProperty("sourceCode")) { - var error = $root.flyteidl.admin.SourceCode.verify(message.sourceCode); - if (error) - return "sourceCode." + error; - } - if (message.tags != null && message.hasOwnProperty("tags")) { - if (!Array.isArray(message.tags)) - return "tags: array expected"; - for (var i = 0; i < message.tags.length; ++i) - if (!$util.isString(message.tags[i])) - return "tags: string[] expected"; - } + if (message.executionCluster != null && message.hasOwnProperty("executionCluster")) + if (!$util.isString(message.executionCluster)) + return "executionCluster: string expected"; + if (message.namespace != null && message.hasOwnProperty("namespace")) + if (!$util.isString(message.namespace)) + return "namespace: string expected"; return null; }; - return DescriptionEntity; - })(); - - /** - * DescriptionFormat enum. - * @name flyteidl.admin.DescriptionFormat - * @enum {string} - * @property {number} DESCRIPTION_FORMAT_UNKNOWN=0 DESCRIPTION_FORMAT_UNKNOWN value - * @property {number} DESCRIPTION_FORMAT_MARKDOWN=1 DESCRIPTION_FORMAT_MARKDOWN value - * @property {number} DESCRIPTION_FORMAT_HTML=2 DESCRIPTION_FORMAT_HTML value - * @property {number} DESCRIPTION_FORMAT_RST=3 DESCRIPTION_FORMAT_RST value - */ - admin.DescriptionFormat = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DESCRIPTION_FORMAT_UNKNOWN"] = 0; - values[valuesById[1] = "DESCRIPTION_FORMAT_MARKDOWN"] = 1; - values[valuesById[2] = "DESCRIPTION_FORMAT_HTML"] = 2; - values[valuesById[3] = "DESCRIPTION_FORMAT_RST"] = 3; - return values; + return SystemMetadata; })(); - admin.Description = (function() { + admin.ExecutionMetadata = (function() { /** - * Properties of a Description. + * Properties of an ExecutionMetadata. * @memberof flyteidl.admin - * @interface IDescription - * @property {string|null} [value] Description value - * @property {string|null} [uri] Description uri - * @property {flyteidl.admin.DescriptionFormat|null} [format] Description format - * @property {string|null} [iconLink] Description iconLink + * @interface IExecutionMetadata + * @property {flyteidl.admin.ExecutionMetadata.ExecutionMode|null} [mode] ExecutionMetadata mode + * @property {string|null} [principal] ExecutionMetadata principal + * @property {number|null} [nesting] ExecutionMetadata nesting + * @property {google.protobuf.ITimestamp|null} [scheduledAt] ExecutionMetadata scheduledAt + * @property {flyteidl.core.INodeExecutionIdentifier|null} [parentNodeExecution] ExecutionMetadata parentNodeExecution + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [referenceExecution] ExecutionMetadata referenceExecution + * @property {flyteidl.admin.ISystemMetadata|null} [systemMetadata] ExecutionMetadata systemMetadata + * @property {Array.|null} [artifactIds] ExecutionMetadata artifactIds */ /** - * Constructs a new Description. + * Constructs a new ExecutionMetadata. * @memberof flyteidl.admin - * @classdesc Represents a Description. - * @implements IDescription + * @classdesc Represents an ExecutionMetadata. + * @implements IExecutionMetadata * @constructor - * @param {flyteidl.admin.IDescription=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionMetadata=} [properties] Properties to set */ - function Description(properties) { + function ExecutionMetadata(properties) { + this.artifactIds = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -30912,115 +30760,156 @@ } /** - * Description value. - * @member {string} value - * @memberof flyteidl.admin.Description + * ExecutionMetadata mode. + * @member {flyteidl.admin.ExecutionMetadata.ExecutionMode} mode + * @memberof flyteidl.admin.ExecutionMetadata * @instance */ - Description.prototype.value = ""; + ExecutionMetadata.prototype.mode = 0; /** - * Description uri. - * @member {string} uri - * @memberof flyteidl.admin.Description + * ExecutionMetadata principal. + * @member {string} principal + * @memberof flyteidl.admin.ExecutionMetadata * @instance */ - Description.prototype.uri = ""; + ExecutionMetadata.prototype.principal = ""; /** - * Description format. - * @member {flyteidl.admin.DescriptionFormat} format - * @memberof flyteidl.admin.Description + * ExecutionMetadata nesting. + * @member {number} nesting + * @memberof flyteidl.admin.ExecutionMetadata * @instance */ - Description.prototype.format = 0; + ExecutionMetadata.prototype.nesting = 0; /** - * Description iconLink. - * @member {string} iconLink - * @memberof flyteidl.admin.Description + * ExecutionMetadata scheduledAt. + * @member {google.protobuf.ITimestamp|null|undefined} scheduledAt + * @memberof flyteidl.admin.ExecutionMetadata * @instance */ - Description.prototype.iconLink = ""; + ExecutionMetadata.prototype.scheduledAt = null; - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + /** + * ExecutionMetadata parentNodeExecution. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} parentNodeExecution + * @memberof flyteidl.admin.ExecutionMetadata + * @instance + */ + ExecutionMetadata.prototype.parentNodeExecution = null; /** - * Description content. - * @member {"value"|"uri"|undefined} content - * @memberof flyteidl.admin.Description + * ExecutionMetadata referenceExecution. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} referenceExecution + * @memberof flyteidl.admin.ExecutionMetadata * @instance */ - Object.defineProperty(Description.prototype, "content", { - get: $util.oneOfGetter($oneOfFields = ["value", "uri"]), - set: $util.oneOfSetter($oneOfFields) - }); + ExecutionMetadata.prototype.referenceExecution = null; /** - * Creates a new Description instance using the specified properties. + * ExecutionMetadata systemMetadata. + * @member {flyteidl.admin.ISystemMetadata|null|undefined} systemMetadata + * @memberof flyteidl.admin.ExecutionMetadata + * @instance + */ + ExecutionMetadata.prototype.systemMetadata = null; + + /** + * ExecutionMetadata artifactIds. + * @member {Array.} artifactIds + * @memberof flyteidl.admin.ExecutionMetadata + * @instance + */ + ExecutionMetadata.prototype.artifactIds = $util.emptyArray; + + /** + * Creates a new ExecutionMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.Description + * @memberof flyteidl.admin.ExecutionMetadata * @static - * @param {flyteidl.admin.IDescription=} [properties] Properties to set - * @returns {flyteidl.admin.Description} Description instance + * @param {flyteidl.admin.IExecutionMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionMetadata} ExecutionMetadata instance */ - Description.create = function create(properties) { - return new Description(properties); + ExecutionMetadata.create = function create(properties) { + return new ExecutionMetadata(properties); }; /** - * Encodes the specified Description message. Does not implicitly {@link flyteidl.admin.Description.verify|verify} messages. + * Encodes the specified ExecutionMetadata message. Does not implicitly {@link flyteidl.admin.ExecutionMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Description + * @memberof flyteidl.admin.ExecutionMetadata * @static - * @param {flyteidl.admin.IDescription} message Description message or plain object to encode + * @param {flyteidl.admin.IExecutionMetadata} message ExecutionMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Description.encode = function encode(message, writer) { + ExecutionMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.value != null && message.hasOwnProperty("value")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.value); - if (message.uri != null && message.hasOwnProperty("uri")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.uri); - if (message.format != null && message.hasOwnProperty("format")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.format); - if (message.iconLink != null && message.hasOwnProperty("iconLink")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.iconLink); + if (message.mode != null && message.hasOwnProperty("mode")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.mode); + if (message.principal != null && message.hasOwnProperty("principal")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.principal); + if (message.nesting != null && message.hasOwnProperty("nesting")) + writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.nesting); + if (message.scheduledAt != null && message.hasOwnProperty("scheduledAt")) + $root.google.protobuf.Timestamp.encode(message.scheduledAt, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.parentNodeExecution != null && message.hasOwnProperty("parentNodeExecution")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.parentNodeExecution, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.referenceExecution, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); + if (message.systemMetadata != null && message.hasOwnProperty("systemMetadata")) + $root.flyteidl.admin.SystemMetadata.encode(message.systemMetadata, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); + if (message.artifactIds != null && message.artifactIds.length) + for (var i = 0; i < message.artifactIds.length; ++i) + $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim(); return writer; }; /** - * Decodes a Description message from the specified reader or buffer. + * Decodes an ExecutionMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Description + * @memberof flyteidl.admin.ExecutionMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Description} Description + * @returns {flyteidl.admin.ExecutionMetadata} ExecutionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Description.decode = function decode(reader, length) { + ExecutionMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Description(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.value = reader.string(); + message.mode = reader.int32(); break; case 2: - message.uri = reader.string(); + message.principal = reader.string(); break; case 3: - message.format = reader.int32(); + message.nesting = reader.uint32(); break; case 4: - message.iconLink = reader.string(); + message.scheduledAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 5: + message.parentNodeExecution = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 16: + message.referenceExecution = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 17: + message.systemMetadata = $root.flyteidl.admin.SystemMetadata.decode(reader, reader.uint32()); + break; + case 18: + if (!(message.artifactIds && message.artifactIds.length)) + message.artifactIds = []; + message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -31031,66 +30920,113 @@ }; /** - * Verifies a Description message. + * Verifies an ExecutionMetadata message. * @function verify - * @memberof flyteidl.admin.Description + * @memberof flyteidl.admin.ExecutionMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Description.verify = function verify(message) { + ExecutionMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.value != null && message.hasOwnProperty("value")) { - properties.content = 1; - if (!$util.isString(message.value)) - return "value: string expected"; - } - if (message.uri != null && message.hasOwnProperty("uri")) { - if (properties.content === 1) - return "content: multiple values"; - properties.content = 1; - if (!$util.isString(message.uri)) - return "uri: string expected"; - } - if (message.format != null && message.hasOwnProperty("format")) - switch (message.format) { + if (message.mode != null && message.hasOwnProperty("mode")) + switch (message.mode) { default: - return "format: enum value expected"; + return "mode: enum value expected"; case 0: case 1: case 2: case 3: + case 4: + case 5: + case 6: break; } - if (message.iconLink != null && message.hasOwnProperty("iconLink")) - if (!$util.isString(message.iconLink)) - return "iconLink: string expected"; + if (message.principal != null && message.hasOwnProperty("principal")) + if (!$util.isString(message.principal)) + return "principal: string expected"; + if (message.nesting != null && message.hasOwnProperty("nesting")) + if (!$util.isInteger(message.nesting)) + return "nesting: integer expected"; + if (message.scheduledAt != null && message.hasOwnProperty("scheduledAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.scheduledAt); + if (error) + return "scheduledAt." + error; + } + if (message.parentNodeExecution != null && message.hasOwnProperty("parentNodeExecution")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.parentNodeExecution); + if (error) + return "parentNodeExecution." + error; + } + if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.referenceExecution); + if (error) + return "referenceExecution." + error; + } + if (message.systemMetadata != null && message.hasOwnProperty("systemMetadata")) { + var error = $root.flyteidl.admin.SystemMetadata.verify(message.systemMetadata); + if (error) + return "systemMetadata." + error; + } + if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { + if (!Array.isArray(message.artifactIds)) + return "artifactIds: array expected"; + for (var i = 0; i < message.artifactIds.length; ++i) { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactIds[i]); + if (error) + return "artifactIds." + error; + } + } return null; }; - return Description; + /** + * ExecutionMode enum. + * @name flyteidl.admin.ExecutionMetadata.ExecutionMode + * @enum {string} + * @property {number} MANUAL=0 MANUAL value + * @property {number} SCHEDULED=1 SCHEDULED value + * @property {number} SYSTEM=2 SYSTEM value + * @property {number} RELAUNCH=3 RELAUNCH value + * @property {number} CHILD_WORKFLOW=4 CHILD_WORKFLOW value + * @property {number} RECOVERED=5 RECOVERED value + * @property {number} TRIGGER=6 TRIGGER value + */ + ExecutionMetadata.ExecutionMode = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "MANUAL"] = 0; + values[valuesById[1] = "SCHEDULED"] = 1; + values[valuesById[2] = "SYSTEM"] = 2; + values[valuesById[3] = "RELAUNCH"] = 3; + values[valuesById[4] = "CHILD_WORKFLOW"] = 4; + values[valuesById[5] = "RECOVERED"] = 5; + values[valuesById[6] = "TRIGGER"] = 6; + return values; + })(); + + return ExecutionMetadata; })(); - admin.SourceCode = (function() { + admin.NotificationList = (function() { /** - * Properties of a SourceCode. + * Properties of a NotificationList. * @memberof flyteidl.admin - * @interface ISourceCode - * @property {string|null} [link] SourceCode link + * @interface INotificationList + * @property {Array.|null} [notifications] NotificationList notifications */ /** - * Constructs a new SourceCode. + * Constructs a new NotificationList. * @memberof flyteidl.admin - * @classdesc Represents a SourceCode. - * @implements ISourceCode + * @classdesc Represents a NotificationList. + * @implements INotificationList * @constructor - * @param {flyteidl.admin.ISourceCode=} [properties] Properties to set + * @param {flyteidl.admin.INotificationList=} [properties] Properties to set */ - function SourceCode(properties) { + function NotificationList(properties) { + this.notifications = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -31098,62 +31034,65 @@ } /** - * SourceCode link. - * @member {string} link - * @memberof flyteidl.admin.SourceCode + * NotificationList notifications. + * @member {Array.} notifications + * @memberof flyteidl.admin.NotificationList * @instance */ - SourceCode.prototype.link = ""; + NotificationList.prototype.notifications = $util.emptyArray; /** - * Creates a new SourceCode instance using the specified properties. + * Creates a new NotificationList instance using the specified properties. * @function create - * @memberof flyteidl.admin.SourceCode + * @memberof flyteidl.admin.NotificationList * @static - * @param {flyteidl.admin.ISourceCode=} [properties] Properties to set - * @returns {flyteidl.admin.SourceCode} SourceCode instance + * @param {flyteidl.admin.INotificationList=} [properties] Properties to set + * @returns {flyteidl.admin.NotificationList} NotificationList instance */ - SourceCode.create = function create(properties) { - return new SourceCode(properties); + NotificationList.create = function create(properties) { + return new NotificationList(properties); }; /** - * Encodes the specified SourceCode message. Does not implicitly {@link flyteidl.admin.SourceCode.verify|verify} messages. + * Encodes the specified NotificationList message. Does not implicitly {@link flyteidl.admin.NotificationList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SourceCode + * @memberof flyteidl.admin.NotificationList * @static - * @param {flyteidl.admin.ISourceCode} message SourceCode message or plain object to encode + * @param {flyteidl.admin.INotificationList} message NotificationList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SourceCode.encode = function encode(message, writer) { + NotificationList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.link != null && message.hasOwnProperty("link")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.link); + if (message.notifications != null && message.notifications.length) + for (var i = 0; i < message.notifications.length; ++i) + $root.flyteidl.admin.Notification.encode(message.notifications[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a SourceCode message from the specified reader or buffer. + * Decodes a NotificationList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SourceCode + * @memberof flyteidl.admin.NotificationList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.SourceCode} SourceCode + * @returns {flyteidl.admin.NotificationList} NotificationList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SourceCode.decode = function decode(reader, length) { + NotificationList.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SourceCode(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NotificationList(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.link = reader.string(); + if (!(message.notifications && message.notifications.length)) + message.notifications = []; + message.notifications.push($root.flyteidl.admin.Notification.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -31164,45 +31103,69 @@ }; /** - * Verifies a SourceCode message. + * Verifies a NotificationList message. * @function verify - * @memberof flyteidl.admin.SourceCode + * @memberof flyteidl.admin.NotificationList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SourceCode.verify = function verify(message) { + NotificationList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.link != null && message.hasOwnProperty("link")) - if (!$util.isString(message.link)) - return "link: string expected"; + if (message.notifications != null && message.hasOwnProperty("notifications")) { + if (!Array.isArray(message.notifications)) + return "notifications: array expected"; + for (var i = 0; i < message.notifications.length; ++i) { + var error = $root.flyteidl.admin.Notification.verify(message.notifications[i]); + if (error) + return "notifications." + error; + } + } return null; }; - return SourceCode; + return NotificationList; })(); - admin.DescriptionEntityList = (function() { + admin.ExecutionSpec = (function() { /** - * Properties of a DescriptionEntityList. + * Properties of an ExecutionSpec. * @memberof flyteidl.admin - * @interface IDescriptionEntityList - * @property {Array.|null} [descriptionEntities] DescriptionEntityList descriptionEntities - * @property {string|null} [token] DescriptionEntityList token + * @interface IExecutionSpec + * @property {flyteidl.core.IIdentifier|null} [launchPlan] ExecutionSpec launchPlan + * @property {flyteidl.core.ILiteralMap|null} [inputs] ExecutionSpec inputs + * @property {flyteidl.admin.IExecutionMetadata|null} [metadata] ExecutionSpec metadata + * @property {flyteidl.admin.INotificationList|null} [notifications] ExecutionSpec notifications + * @property {boolean|null} [disableAll] ExecutionSpec disableAll + * @property {flyteidl.admin.ILabels|null} [labels] ExecutionSpec labels + * @property {flyteidl.admin.IAnnotations|null} [annotations] ExecutionSpec annotations + * @property {flyteidl.core.ISecurityContext|null} [securityContext] ExecutionSpec securityContext + * @property {flyteidl.admin.IAuthRole|null} [authRole] ExecutionSpec authRole + * @property {flyteidl.core.IQualityOfService|null} [qualityOfService] ExecutionSpec qualityOfService + * @property {number|null} [maxParallelism] ExecutionSpec maxParallelism + * @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] ExecutionSpec rawOutputDataConfig + * @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] ExecutionSpec clusterAssignment + * @property {google.protobuf.IBoolValue|null} [interruptible] ExecutionSpec interruptible + * @property {boolean|null} [overwriteCache] ExecutionSpec overwriteCache + * @property {flyteidl.admin.IEnvs|null} [envs] ExecutionSpec envs + * @property {Array.|null} [tags] ExecutionSpec tags + * @property {flyteidl.admin.IExecutionClusterLabel|null} [executionClusterLabel] ExecutionSpec executionClusterLabel + * @property {Array.|null} [executionEnvAssignments] ExecutionSpec executionEnvAssignments */ /** - * Constructs a new DescriptionEntityList. + * Constructs a new ExecutionSpec. * @memberof flyteidl.admin - * @classdesc Represents a DescriptionEntityList. - * @implements IDescriptionEntityList + * @classdesc Represents an ExecutionSpec. + * @implements IExecutionSpec * @constructor - * @param {flyteidl.admin.IDescriptionEntityList=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionSpec=} [properties] Properties to set */ - function DescriptionEntityList(properties) { - this.descriptionEntities = []; + function ExecutionSpec(properties) { + this.tags = []; + this.executionEnvAssignments = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -31210,404 +31173,316 @@ } /** - * DescriptionEntityList descriptionEntities. - * @member {Array.} descriptionEntities - * @memberof flyteidl.admin.DescriptionEntityList + * ExecutionSpec launchPlan. + * @member {flyteidl.core.IIdentifier|null|undefined} launchPlan + * @memberof flyteidl.admin.ExecutionSpec * @instance */ - DescriptionEntityList.prototype.descriptionEntities = $util.emptyArray; + ExecutionSpec.prototype.launchPlan = null; /** - * DescriptionEntityList token. - * @member {string} token - * @memberof flyteidl.admin.DescriptionEntityList + * ExecutionSpec inputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputs + * @memberof flyteidl.admin.ExecutionSpec * @instance */ - DescriptionEntityList.prototype.token = ""; - - /** - * Creates a new DescriptionEntityList instance using the specified properties. - * @function create - * @memberof flyteidl.admin.DescriptionEntityList - * @static - * @param {flyteidl.admin.IDescriptionEntityList=} [properties] Properties to set - * @returns {flyteidl.admin.DescriptionEntityList} DescriptionEntityList instance - */ - DescriptionEntityList.create = function create(properties) { - return new DescriptionEntityList(properties); - }; + ExecutionSpec.prototype.inputs = null; /** - * Encodes the specified DescriptionEntityList message. Does not implicitly {@link flyteidl.admin.DescriptionEntityList.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.DescriptionEntityList - * @static - * @param {flyteidl.admin.IDescriptionEntityList} message DescriptionEntityList message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * ExecutionSpec metadata. + * @member {flyteidl.admin.IExecutionMetadata|null|undefined} metadata + * @memberof flyteidl.admin.ExecutionSpec + * @instance */ - DescriptionEntityList.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.descriptionEntities != null && message.descriptionEntities.length) - for (var i = 0; i < message.descriptionEntities.length; ++i) - $root.flyteidl.admin.DescriptionEntity.encode(message.descriptionEntities[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); - return writer; - }; + ExecutionSpec.prototype.metadata = null; /** - * Decodes a DescriptionEntityList message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.DescriptionEntityList - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.DescriptionEntityList} DescriptionEntityList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * ExecutionSpec notifications. + * @member {flyteidl.admin.INotificationList|null|undefined} notifications + * @memberof flyteidl.admin.ExecutionSpec + * @instance */ - DescriptionEntityList.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DescriptionEntityList(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if (!(message.descriptionEntities && message.descriptionEntities.length)) - message.descriptionEntities = []; - message.descriptionEntities.push($root.flyteidl.admin.DescriptionEntity.decode(reader, reader.uint32())); - break; - case 2: - message.token = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + ExecutionSpec.prototype.notifications = null; /** - * Verifies a DescriptionEntityList message. - * @function verify - * @memberof flyteidl.admin.DescriptionEntityList - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not + * ExecutionSpec disableAll. + * @member {boolean} disableAll + * @memberof flyteidl.admin.ExecutionSpec + * @instance */ - DescriptionEntityList.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.descriptionEntities != null && message.hasOwnProperty("descriptionEntities")) { - if (!Array.isArray(message.descriptionEntities)) - return "descriptionEntities: array expected"; - for (var i = 0; i < message.descriptionEntities.length; ++i) { - var error = $root.flyteidl.admin.DescriptionEntity.verify(message.descriptionEntities[i]); - if (error) - return "descriptionEntities." + error; - } - } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; - return null; - }; - - return DescriptionEntityList; - })(); - - admin.DescriptionEntityListRequest = (function() { + ExecutionSpec.prototype.disableAll = false; /** - * Properties of a DescriptionEntityListRequest. - * @memberof flyteidl.admin - * @interface IDescriptionEntityListRequest - * @property {flyteidl.core.ResourceType|null} [resourceType] DescriptionEntityListRequest resourceType - * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] DescriptionEntityListRequest id - * @property {number|null} [limit] DescriptionEntityListRequest limit - * @property {string|null} [token] DescriptionEntityListRequest token - * @property {string|null} [filters] DescriptionEntityListRequest filters - * @property {flyteidl.admin.ISort|null} [sortBy] DescriptionEntityListRequest sortBy + * ExecutionSpec labels. + * @member {flyteidl.admin.ILabels|null|undefined} labels + * @memberof flyteidl.admin.ExecutionSpec + * @instance */ + ExecutionSpec.prototype.labels = null; /** - * Constructs a new DescriptionEntityListRequest. - * @memberof flyteidl.admin - * @classdesc Represents a DescriptionEntityListRequest. - * @implements IDescriptionEntityListRequest - * @constructor - * @param {flyteidl.admin.IDescriptionEntityListRequest=} [properties] Properties to set + * ExecutionSpec annotations. + * @member {flyteidl.admin.IAnnotations|null|undefined} annotations + * @memberof flyteidl.admin.ExecutionSpec + * @instance */ - function DescriptionEntityListRequest(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + ExecutionSpec.prototype.annotations = null; /** - * DescriptionEntityListRequest resourceType. - * @member {flyteidl.core.ResourceType} resourceType - * @memberof flyteidl.admin.DescriptionEntityListRequest + * ExecutionSpec securityContext. + * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext + * @memberof flyteidl.admin.ExecutionSpec * @instance */ - DescriptionEntityListRequest.prototype.resourceType = 0; + ExecutionSpec.prototype.securityContext = null; /** - * DescriptionEntityListRequest id. - * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id - * @memberof flyteidl.admin.DescriptionEntityListRequest + * ExecutionSpec authRole. + * @member {flyteidl.admin.IAuthRole|null|undefined} authRole + * @memberof flyteidl.admin.ExecutionSpec * @instance */ - DescriptionEntityListRequest.prototype.id = null; + ExecutionSpec.prototype.authRole = null; /** - * DescriptionEntityListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.DescriptionEntityListRequest + * ExecutionSpec qualityOfService. + * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService + * @memberof flyteidl.admin.ExecutionSpec * @instance */ - DescriptionEntityListRequest.prototype.limit = 0; + ExecutionSpec.prototype.qualityOfService = null; /** - * DescriptionEntityListRequest token. - * @member {string} token - * @memberof flyteidl.admin.DescriptionEntityListRequest + * ExecutionSpec maxParallelism. + * @member {number} maxParallelism + * @memberof flyteidl.admin.ExecutionSpec * @instance */ - DescriptionEntityListRequest.prototype.token = ""; + ExecutionSpec.prototype.maxParallelism = 0; /** - * DescriptionEntityListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.DescriptionEntityListRequest + * ExecutionSpec rawOutputDataConfig. + * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig + * @memberof flyteidl.admin.ExecutionSpec * @instance */ - DescriptionEntityListRequest.prototype.filters = ""; + ExecutionSpec.prototype.rawOutputDataConfig = null; /** - * DescriptionEntityListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.DescriptionEntityListRequest + * ExecutionSpec clusterAssignment. + * @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignment + * @memberof flyteidl.admin.ExecutionSpec * @instance */ - DescriptionEntityListRequest.prototype.sortBy = null; + ExecutionSpec.prototype.clusterAssignment = null; /** - * Creates a new DescriptionEntityListRequest instance using the specified properties. - * @function create - * @memberof flyteidl.admin.DescriptionEntityListRequest - * @static - * @param {flyteidl.admin.IDescriptionEntityListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.DescriptionEntityListRequest} DescriptionEntityListRequest instance + * ExecutionSpec interruptible. + * @member {google.protobuf.IBoolValue|null|undefined} interruptible + * @memberof flyteidl.admin.ExecutionSpec + * @instance */ - DescriptionEntityListRequest.create = function create(properties) { - return new DescriptionEntityListRequest(properties); - }; + ExecutionSpec.prototype.interruptible = null; /** - * Encodes the specified DescriptionEntityListRequest message. Does not implicitly {@link flyteidl.admin.DescriptionEntityListRequest.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.DescriptionEntityListRequest - * @static - * @param {flyteidl.admin.IDescriptionEntityListRequest} message DescriptionEntityListRequest message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * ExecutionSpec overwriteCache. + * @member {boolean} overwriteCache + * @memberof flyteidl.admin.ExecutionSpec + * @instance */ - DescriptionEntityListRequest.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.limit); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.token); - if (message.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.filters); - if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - return writer; - }; + ExecutionSpec.prototype.overwriteCache = false; /** - * Decodes a DescriptionEntityListRequest message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.DescriptionEntityListRequest - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.DescriptionEntityListRequest} DescriptionEntityListRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * ExecutionSpec envs. + * @member {flyteidl.admin.IEnvs|null|undefined} envs + * @memberof flyteidl.admin.ExecutionSpec + * @instance */ - DescriptionEntityListRequest.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DescriptionEntityListRequest(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.resourceType = reader.int32(); - break; - case 2: - message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); - break; - case 3: - message.limit = reader.uint32(); - break; - case 4: - message.token = reader.string(); - break; - case 5: - message.filters = reader.string(); - break; - case 6: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + ExecutionSpec.prototype.envs = null; /** - * Verifies a DescriptionEntityListRequest message. - * @function verify - * @memberof flyteidl.admin.DescriptionEntityListRequest - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not + * ExecutionSpec tags. + * @member {Array.} tags + * @memberof flyteidl.admin.ExecutionSpec + * @instance */ - DescriptionEntityListRequest.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { - default: - return "resourceType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.limit != null && message.hasOwnProperty("limit")) - if (!$util.isInteger(message.limit)) - return "limit: integer expected"; - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; - if (message.sortBy != null && message.hasOwnProperty("sortBy")) { - var error = $root.flyteidl.admin.Sort.verify(message.sortBy); - if (error) - return "sortBy." + error; - } - return null; - }; - - return DescriptionEntityListRequest; - })(); - - admin.EventErrorAlreadyInTerminalState = (function() { + ExecutionSpec.prototype.tags = $util.emptyArray; /** - * Properties of an EventErrorAlreadyInTerminalState. - * @memberof flyteidl.admin - * @interface IEventErrorAlreadyInTerminalState - * @property {string|null} [currentPhase] EventErrorAlreadyInTerminalState currentPhase + * ExecutionSpec executionClusterLabel. + * @member {flyteidl.admin.IExecutionClusterLabel|null|undefined} executionClusterLabel + * @memberof flyteidl.admin.ExecutionSpec + * @instance */ + ExecutionSpec.prototype.executionClusterLabel = null; /** - * Constructs a new EventErrorAlreadyInTerminalState. - * @memberof flyteidl.admin - * @classdesc Represents an EventErrorAlreadyInTerminalState. - * @implements IEventErrorAlreadyInTerminalState - * @constructor - * @param {flyteidl.admin.IEventErrorAlreadyInTerminalState=} [properties] Properties to set + * ExecutionSpec executionEnvAssignments. + * @member {Array.} executionEnvAssignments + * @memberof flyteidl.admin.ExecutionSpec + * @instance */ - function EventErrorAlreadyInTerminalState(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + ExecutionSpec.prototype.executionEnvAssignments = $util.emptyArray; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * EventErrorAlreadyInTerminalState currentPhase. - * @member {string} currentPhase - * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * ExecutionSpec notificationOverrides. + * @member {"notifications"|"disableAll"|undefined} notificationOverrides + * @memberof flyteidl.admin.ExecutionSpec * @instance */ - EventErrorAlreadyInTerminalState.prototype.currentPhase = ""; + Object.defineProperty(ExecutionSpec.prototype, "notificationOverrides", { + get: $util.oneOfGetter($oneOfFields = ["notifications", "disableAll"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new EventErrorAlreadyInTerminalState instance using the specified properties. + * Creates a new ExecutionSpec instance using the specified properties. * @function create - * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * @memberof flyteidl.admin.ExecutionSpec * @static - * @param {flyteidl.admin.IEventErrorAlreadyInTerminalState=} [properties] Properties to set - * @returns {flyteidl.admin.EventErrorAlreadyInTerminalState} EventErrorAlreadyInTerminalState instance + * @param {flyteidl.admin.IExecutionSpec=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionSpec} ExecutionSpec instance */ - EventErrorAlreadyInTerminalState.create = function create(properties) { - return new EventErrorAlreadyInTerminalState(properties); + ExecutionSpec.create = function create(properties) { + return new ExecutionSpec(properties); }; /** - * Encodes the specified EventErrorAlreadyInTerminalState message. Does not implicitly {@link flyteidl.admin.EventErrorAlreadyInTerminalState.verify|verify} messages. + * Encodes the specified ExecutionSpec message. Does not implicitly {@link flyteidl.admin.ExecutionSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * @memberof flyteidl.admin.ExecutionSpec * @static - * @param {flyteidl.admin.IEventErrorAlreadyInTerminalState} message EventErrorAlreadyInTerminalState message or plain object to encode + * @param {flyteidl.admin.IExecutionSpec} message ExecutionSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EventErrorAlreadyInTerminalState.encode = function encode(message, writer) { + ExecutionSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.currentPhase != null && message.hasOwnProperty("currentPhase")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.currentPhase); + if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) + $root.flyteidl.core.Identifier.encode(message.launchPlan, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.inputs != null && message.hasOwnProperty("inputs")) + $root.flyteidl.core.LiteralMap.encode(message.inputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.admin.ExecutionMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.notifications != null && message.hasOwnProperty("notifications")) + $root.flyteidl.admin.NotificationList.encode(message.notifications, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.disableAll != null && message.hasOwnProperty("disableAll")) + writer.uint32(/* id 6, wireType 0 =*/48).bool(message.disableAll); + if (message.labels != null && message.hasOwnProperty("labels")) + $root.flyteidl.admin.Labels.encode(message.labels, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.annotations != null && message.hasOwnProperty("annotations")) + $root.flyteidl.admin.Annotations.encode(message.annotations, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.securityContext != null && message.hasOwnProperty("securityContext")) + $root.flyteidl.core.SecurityContext.encode(message.securityContext, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.authRole != null && message.hasOwnProperty("authRole")) + $root.flyteidl.admin.AuthRole.encode(message.authRole, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); + if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) + $root.flyteidl.core.QualityOfService.encode(message.qualityOfService, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); + if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) + writer.uint32(/* id 18, wireType 0 =*/144).int32(message.maxParallelism); + if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) + $root.flyteidl.admin.RawOutputDataConfig.encode(message.rawOutputDataConfig, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim(); + if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment")) + $root.flyteidl.admin.ClusterAssignment.encode(message.clusterAssignment, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); + if (message.interruptible != null && message.hasOwnProperty("interruptible")) + $root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); + if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) + writer.uint32(/* id 22, wireType 0 =*/176).bool(message.overwriteCache); + if (message.envs != null && message.hasOwnProperty("envs")) + $root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim(); + if (message.tags != null && message.tags.length) + for (var i = 0; i < message.tags.length; ++i) + writer.uint32(/* id 24, wireType 2 =*/194).string(message.tags[i]); + if (message.executionClusterLabel != null && message.hasOwnProperty("executionClusterLabel")) + $root.flyteidl.admin.ExecutionClusterLabel.encode(message.executionClusterLabel, writer.uint32(/* id 25, wireType 2 =*/202).fork()).ldelim(); + if (message.executionEnvAssignments != null && message.executionEnvAssignments.length) + for (var i = 0; i < message.executionEnvAssignments.length; ++i) + $root.flyteidl.core.ExecutionEnvAssignment.encode(message.executionEnvAssignments[i], writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim(); return writer; }; /** - * Decodes an EventErrorAlreadyInTerminalState message from the specified reader or buffer. + * Decodes an ExecutionSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * @memberof flyteidl.admin.ExecutionSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.EventErrorAlreadyInTerminalState} EventErrorAlreadyInTerminalState + * @returns {flyteidl.admin.ExecutionSpec} ExecutionSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EventErrorAlreadyInTerminalState.decode = function decode(reader, length) { + ExecutionSpec.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.EventErrorAlreadyInTerminalState(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionSpec(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.currentPhase = reader.string(); + message.launchPlan = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 2: + message.inputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 3: + message.metadata = $root.flyteidl.admin.ExecutionMetadata.decode(reader, reader.uint32()); + break; + case 5: + message.notifications = $root.flyteidl.admin.NotificationList.decode(reader, reader.uint32()); + break; + case 6: + message.disableAll = reader.bool(); + break; + case 7: + message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32()); + break; + case 8: + message.annotations = $root.flyteidl.admin.Annotations.decode(reader, reader.uint32()); + break; + case 10: + message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32()); + break; + case 16: + message.authRole = $root.flyteidl.admin.AuthRole.decode(reader, reader.uint32()); + break; + case 17: + message.qualityOfService = $root.flyteidl.core.QualityOfService.decode(reader, reader.uint32()); + break; + case 18: + message.maxParallelism = reader.int32(); + break; + case 19: + message.rawOutputDataConfig = $root.flyteidl.admin.RawOutputDataConfig.decode(reader, reader.uint32()); + break; + case 20: + message.clusterAssignment = $root.flyteidl.admin.ClusterAssignment.decode(reader, reader.uint32()); + break; + case 21: + message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + case 22: + message.overwriteCache = reader.bool(); + break; + case 23: + message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32()); + break; + case 24: + if (!(message.tags && message.tags.length)) + message.tags = []; + message.tags.push(reader.string()); + break; + case 25: + message.executionClusterLabel = $root.flyteidl.admin.ExecutionClusterLabel.decode(reader, reader.uint32()); + break; + case 26: + if (!(message.executionEnvAssignments && message.executionEnvAssignments.length)) + message.executionEnvAssignments = []; + message.executionEnvAssignments.push($root.flyteidl.core.ExecutionEnvAssignment.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -31618,43 +31493,144 @@ }; /** - * Verifies an EventErrorAlreadyInTerminalState message. + * Verifies an ExecutionSpec message. * @function verify - * @memberof flyteidl.admin.EventErrorAlreadyInTerminalState + * @memberof flyteidl.admin.ExecutionSpec * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - EventErrorAlreadyInTerminalState.verify = function verify(message) { + ExecutionSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.currentPhase != null && message.hasOwnProperty("currentPhase")) - if (!$util.isString(message.currentPhase)) - return "currentPhase: string expected"; + var properties = {}; + if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) { + var error = $root.flyteidl.core.Identifier.verify(message.launchPlan); + if (error) + return "launchPlan." + error; + } + if (message.inputs != null && message.hasOwnProperty("inputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.inputs); + if (error) + return "inputs." + error; + } + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.admin.ExecutionMetadata.verify(message.metadata); + if (error) + return "metadata." + error; + } + if (message.notifications != null && message.hasOwnProperty("notifications")) { + properties.notificationOverrides = 1; + { + var error = $root.flyteidl.admin.NotificationList.verify(message.notifications); + if (error) + return "notifications." + error; + } + } + if (message.disableAll != null && message.hasOwnProperty("disableAll")) { + if (properties.notificationOverrides === 1) + return "notificationOverrides: multiple values"; + properties.notificationOverrides = 1; + if (typeof message.disableAll !== "boolean") + return "disableAll: boolean expected"; + } + if (message.labels != null && message.hasOwnProperty("labels")) { + var error = $root.flyteidl.admin.Labels.verify(message.labels); + if (error) + return "labels." + error; + } + if (message.annotations != null && message.hasOwnProperty("annotations")) { + var error = $root.flyteidl.admin.Annotations.verify(message.annotations); + if (error) + return "annotations." + error; + } + if (message.securityContext != null && message.hasOwnProperty("securityContext")) { + var error = $root.flyteidl.core.SecurityContext.verify(message.securityContext); + if (error) + return "securityContext." + error; + } + if (message.authRole != null && message.hasOwnProperty("authRole")) { + var error = $root.flyteidl.admin.AuthRole.verify(message.authRole); + if (error) + return "authRole." + error; + } + if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) { + var error = $root.flyteidl.core.QualityOfService.verify(message.qualityOfService); + if (error) + return "qualityOfService." + error; + } + if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) + if (!$util.isInteger(message.maxParallelism)) + return "maxParallelism: integer expected"; + if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) { + var error = $root.flyteidl.admin.RawOutputDataConfig.verify(message.rawOutputDataConfig); + if (error) + return "rawOutputDataConfig." + error; + } + if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment")) { + var error = $root.flyteidl.admin.ClusterAssignment.verify(message.clusterAssignment); + if (error) + return "clusterAssignment." + error; + } + if (message.interruptible != null && message.hasOwnProperty("interruptible")) { + var error = $root.google.protobuf.BoolValue.verify(message.interruptible); + if (error) + return "interruptible." + error; + } + if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) + if (typeof message.overwriteCache !== "boolean") + return "overwriteCache: boolean expected"; + if (message.envs != null && message.hasOwnProperty("envs")) { + var error = $root.flyteidl.admin.Envs.verify(message.envs); + if (error) + return "envs." + error; + } + if (message.tags != null && message.hasOwnProperty("tags")) { + if (!Array.isArray(message.tags)) + return "tags: array expected"; + for (var i = 0; i < message.tags.length; ++i) + if (!$util.isString(message.tags[i])) + return "tags: string[] expected"; + } + if (message.executionClusterLabel != null && message.hasOwnProperty("executionClusterLabel")) { + var error = $root.flyteidl.admin.ExecutionClusterLabel.verify(message.executionClusterLabel); + if (error) + return "executionClusterLabel." + error; + } + if (message.executionEnvAssignments != null && message.hasOwnProperty("executionEnvAssignments")) { + if (!Array.isArray(message.executionEnvAssignments)) + return "executionEnvAssignments: array expected"; + for (var i = 0; i < message.executionEnvAssignments.length; ++i) { + var error = $root.flyteidl.core.ExecutionEnvAssignment.verify(message.executionEnvAssignments[i]); + if (error) + return "executionEnvAssignments." + error; + } + } return null; }; - return EventErrorAlreadyInTerminalState; + return ExecutionSpec; })(); - admin.EventErrorIncompatibleCluster = (function() { + admin.ExecutionTerminateRequest = (function() { /** - * Properties of an EventErrorIncompatibleCluster. + * Properties of an ExecutionTerminateRequest. * @memberof flyteidl.admin - * @interface IEventErrorIncompatibleCluster - * @property {string|null} [cluster] EventErrorIncompatibleCluster cluster + * @interface IExecutionTerminateRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionTerminateRequest id + * @property {string|null} [cause] ExecutionTerminateRequest cause */ /** - * Constructs a new EventErrorIncompatibleCluster. + * Constructs a new ExecutionTerminateRequest. * @memberof flyteidl.admin - * @classdesc Represents an EventErrorIncompatibleCluster. - * @implements IEventErrorIncompatibleCluster + * @classdesc Represents an ExecutionTerminateRequest. + * @implements IExecutionTerminateRequest * @constructor - * @param {flyteidl.admin.IEventErrorIncompatibleCluster=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionTerminateRequest=} [properties] Properties to set */ - function EventErrorIncompatibleCluster(properties) { + function ExecutionTerminateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -31662,62 +31638,75 @@ } /** - * EventErrorIncompatibleCluster cluster. - * @member {string} cluster - * @memberof flyteidl.admin.EventErrorIncompatibleCluster + * ExecutionTerminateRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.ExecutionTerminateRequest * @instance */ - EventErrorIncompatibleCluster.prototype.cluster = ""; + ExecutionTerminateRequest.prototype.id = null; /** - * Creates a new EventErrorIncompatibleCluster instance using the specified properties. + * ExecutionTerminateRequest cause. + * @member {string} cause + * @memberof flyteidl.admin.ExecutionTerminateRequest + * @instance + */ + ExecutionTerminateRequest.prototype.cause = ""; + + /** + * Creates a new ExecutionTerminateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.EventErrorIncompatibleCluster + * @memberof flyteidl.admin.ExecutionTerminateRequest * @static - * @param {flyteidl.admin.IEventErrorIncompatibleCluster=} [properties] Properties to set - * @returns {flyteidl.admin.EventErrorIncompatibleCluster} EventErrorIncompatibleCluster instance + * @param {flyteidl.admin.IExecutionTerminateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionTerminateRequest} ExecutionTerminateRequest instance */ - EventErrorIncompatibleCluster.create = function create(properties) { - return new EventErrorIncompatibleCluster(properties); + ExecutionTerminateRequest.create = function create(properties) { + return new ExecutionTerminateRequest(properties); }; /** - * Encodes the specified EventErrorIncompatibleCluster message. Does not implicitly {@link flyteidl.admin.EventErrorIncompatibleCluster.verify|verify} messages. + * Encodes the specified ExecutionTerminateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.EventErrorIncompatibleCluster + * @memberof flyteidl.admin.ExecutionTerminateRequest * @static - * @param {flyteidl.admin.IEventErrorIncompatibleCluster} message EventErrorIncompatibleCluster message or plain object to encode + * @param {flyteidl.admin.IExecutionTerminateRequest} message ExecutionTerminateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EventErrorIncompatibleCluster.encode = function encode(message, writer) { + ExecutionTerminateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.cluster != null && message.hasOwnProperty("cluster")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.cluster); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.cause != null && message.hasOwnProperty("cause")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.cause); return writer; }; /** - * Decodes an EventErrorIncompatibleCluster message from the specified reader or buffer. + * Decodes an ExecutionTerminateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.EventErrorIncompatibleCluster + * @memberof flyteidl.admin.ExecutionTerminateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.EventErrorIncompatibleCluster} EventErrorIncompatibleCluster + * @returns {flyteidl.admin.ExecutionTerminateRequest} ExecutionTerminateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EventErrorIncompatibleCluster.decode = function decode(reader, length) { + ExecutionTerminateRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.EventErrorIncompatibleCluster(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionTerminateRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.cluster = reader.string(); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.cause = reader.string(); break; default: reader.skipType(tag & 7); @@ -31728,44 +31717,47 @@ }; /** - * Verifies an EventErrorIncompatibleCluster message. + * Verifies an ExecutionTerminateRequest message. * @function verify - * @memberof flyteidl.admin.EventErrorIncompatibleCluster + * @memberof flyteidl.admin.ExecutionTerminateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - EventErrorIncompatibleCluster.verify = function verify(message) { + ExecutionTerminateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.cluster != null && message.hasOwnProperty("cluster")) - if (!$util.isString(message.cluster)) - return "cluster: string expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.cause != null && message.hasOwnProperty("cause")) + if (!$util.isString(message.cause)) + return "cause: string expected"; return null; }; - return EventErrorIncompatibleCluster; + return ExecutionTerminateRequest; })(); - admin.EventFailureReason = (function() { + admin.ExecutionTerminateResponse = (function() { /** - * Properties of an EventFailureReason. + * Properties of an ExecutionTerminateResponse. * @memberof flyteidl.admin - * @interface IEventFailureReason - * @property {flyteidl.admin.IEventErrorAlreadyInTerminalState|null} [alreadyInTerminalState] EventFailureReason alreadyInTerminalState - * @property {flyteidl.admin.IEventErrorIncompatibleCluster|null} [incompatibleCluster] EventFailureReason incompatibleCluster + * @interface IExecutionTerminateResponse */ /** - * Constructs a new EventFailureReason. + * Constructs a new ExecutionTerminateResponse. * @memberof flyteidl.admin - * @classdesc Represents an EventFailureReason. - * @implements IEventFailureReason + * @classdesc Represents an ExecutionTerminateResponse. + * @implements IExecutionTerminateResponse * @constructor - * @param {flyteidl.admin.IEventFailureReason=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionTerminateResponse=} [properties] Properties to set */ - function EventFailureReason(properties) { + function ExecutionTerminateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -31773,90 +31765,50 @@ } /** - * EventFailureReason alreadyInTerminalState. - * @member {flyteidl.admin.IEventErrorAlreadyInTerminalState|null|undefined} alreadyInTerminalState - * @memberof flyteidl.admin.EventFailureReason - * @instance - */ - EventFailureReason.prototype.alreadyInTerminalState = null; - - /** - * EventFailureReason incompatibleCluster. - * @member {flyteidl.admin.IEventErrorIncompatibleCluster|null|undefined} incompatibleCluster - * @memberof flyteidl.admin.EventFailureReason - * @instance - */ - EventFailureReason.prototype.incompatibleCluster = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * EventFailureReason reason. - * @member {"alreadyInTerminalState"|"incompatibleCluster"|undefined} reason - * @memberof flyteidl.admin.EventFailureReason - * @instance - */ - Object.defineProperty(EventFailureReason.prototype, "reason", { - get: $util.oneOfGetter($oneOfFields = ["alreadyInTerminalState", "incompatibleCluster"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new EventFailureReason instance using the specified properties. + * Creates a new ExecutionTerminateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.EventFailureReason + * @memberof flyteidl.admin.ExecutionTerminateResponse * @static - * @param {flyteidl.admin.IEventFailureReason=} [properties] Properties to set - * @returns {flyteidl.admin.EventFailureReason} EventFailureReason instance + * @param {flyteidl.admin.IExecutionTerminateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionTerminateResponse} ExecutionTerminateResponse instance */ - EventFailureReason.create = function create(properties) { - return new EventFailureReason(properties); + ExecutionTerminateResponse.create = function create(properties) { + return new ExecutionTerminateResponse(properties); }; /** - * Encodes the specified EventFailureReason message. Does not implicitly {@link flyteidl.admin.EventFailureReason.verify|verify} messages. + * Encodes the specified ExecutionTerminateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.EventFailureReason + * @memberof flyteidl.admin.ExecutionTerminateResponse * @static - * @param {flyteidl.admin.IEventFailureReason} message EventFailureReason message or plain object to encode + * @param {flyteidl.admin.IExecutionTerminateResponse} message ExecutionTerminateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EventFailureReason.encode = function encode(message, writer) { + ExecutionTerminateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.alreadyInTerminalState != null && message.hasOwnProperty("alreadyInTerminalState")) - $root.flyteidl.admin.EventErrorAlreadyInTerminalState.encode(message.alreadyInTerminalState, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.incompatibleCluster != null && message.hasOwnProperty("incompatibleCluster")) - $root.flyteidl.admin.EventErrorIncompatibleCluster.encode(message.incompatibleCluster, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes an EventFailureReason message from the specified reader or buffer. + * Decodes an ExecutionTerminateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.EventFailureReason + * @memberof flyteidl.admin.ExecutionTerminateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.EventFailureReason} EventFailureReason + * @returns {flyteidl.admin.ExecutionTerminateResponse} ExecutionTerminateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EventFailureReason.decode = function decode(reader, length) { + ExecutionTerminateResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.EventFailureReason(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionTerminateResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.alreadyInTerminalState = $root.flyteidl.admin.EventErrorAlreadyInTerminalState.decode(reader, reader.uint32()); - break; - case 2: - message.incompatibleCluster = $root.flyteidl.admin.EventErrorIncompatibleCluster.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -31866,60 +31818,40 @@ }; /** - * Verifies an EventFailureReason message. + * Verifies an ExecutionTerminateResponse message. * @function verify - * @memberof flyteidl.admin.EventFailureReason + * @memberof flyteidl.admin.ExecutionTerminateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - EventFailureReason.verify = function verify(message) { + ExecutionTerminateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.alreadyInTerminalState != null && message.hasOwnProperty("alreadyInTerminalState")) { - properties.reason = 1; - { - var error = $root.flyteidl.admin.EventErrorAlreadyInTerminalState.verify(message.alreadyInTerminalState); - if (error) - return "alreadyInTerminalState." + error; - } - } - if (message.incompatibleCluster != null && message.hasOwnProperty("incompatibleCluster")) { - if (properties.reason === 1) - return "reason: multiple values"; - properties.reason = 1; - { - var error = $root.flyteidl.admin.EventErrorIncompatibleCluster.verify(message.incompatibleCluster); - if (error) - return "incompatibleCluster." + error; - } - } return null; }; - return EventFailureReason; + return ExecutionTerminateResponse; })(); - admin.WorkflowExecutionEventRequest = (function() { + admin.WorkflowExecutionGetDataRequest = (function() { /** - * Properties of a WorkflowExecutionEventRequest. + * Properties of a WorkflowExecutionGetDataRequest. * @memberof flyteidl.admin - * @interface IWorkflowExecutionEventRequest - * @property {string|null} [requestId] WorkflowExecutionEventRequest requestId - * @property {flyteidl.event.IWorkflowExecutionEvent|null} [event] WorkflowExecutionEventRequest event + * @interface IWorkflowExecutionGetDataRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetDataRequest id */ /** - * Constructs a new WorkflowExecutionEventRequest. + * Constructs a new WorkflowExecutionGetDataRequest. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionEventRequest. - * @implements IWorkflowExecutionEventRequest + * @classdesc Represents a WorkflowExecutionGetDataRequest. + * @implements IWorkflowExecutionGetDataRequest * @constructor - * @param {flyteidl.admin.IWorkflowExecutionEventRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest=} [properties] Properties to set */ - function WorkflowExecutionEventRequest(properties) { + function WorkflowExecutionGetDataRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -31927,75 +31859,62 @@ } /** - * WorkflowExecutionEventRequest requestId. - * @member {string} requestId - * @memberof flyteidl.admin.WorkflowExecutionEventRequest - * @instance - */ - WorkflowExecutionEventRequest.prototype.requestId = ""; - - /** - * WorkflowExecutionEventRequest event. - * @member {flyteidl.event.IWorkflowExecutionEvent|null|undefined} event - * @memberof flyteidl.admin.WorkflowExecutionEventRequest + * WorkflowExecutionGetDataRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest * @instance */ - WorkflowExecutionEventRequest.prototype.event = null; + WorkflowExecutionGetDataRequest.prototype.id = null; /** - * Creates a new WorkflowExecutionEventRequest instance using the specified properties. + * Creates a new WorkflowExecutionGetDataRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowExecutionEventRequest + * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest * @static - * @param {flyteidl.admin.IWorkflowExecutionEventRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionEventRequest} WorkflowExecutionEventRequest instance + * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionGetDataRequest} WorkflowExecutionGetDataRequest instance */ - WorkflowExecutionEventRequest.create = function create(properties) { - return new WorkflowExecutionEventRequest(properties); + WorkflowExecutionGetDataRequest.create = function create(properties) { + return new WorkflowExecutionGetDataRequest(properties); }; /** - * Encodes the specified WorkflowExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventRequest.verify|verify} messages. + * Encodes the specified WorkflowExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionEventRequest + * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest * @static - * @param {flyteidl.admin.IWorkflowExecutionEventRequest} message WorkflowExecutionEventRequest message or plain object to encode + * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest} message WorkflowExecutionGetDataRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowExecutionEventRequest.encode = function encode(message, writer) { + WorkflowExecutionGetDataRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.requestId != null && message.hasOwnProperty("requestId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.requestId); - if (message.event != null && message.hasOwnProperty("event")) - $root.flyteidl.event.WorkflowExecutionEvent.encode(message.event, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowExecutionEventRequest message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetDataRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionEventRequest + * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowExecutionEventRequest} WorkflowExecutionEventRequest + * @returns {flyteidl.admin.WorkflowExecutionGetDataRequest} WorkflowExecutionGetDataRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowExecutionEventRequest.decode = function decode(reader, length) { + WorkflowExecutionGetDataRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionEventRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetDataRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.requestId = reader.string(); - break; - case 2: - message.event = $root.flyteidl.event.WorkflowExecutionEvent.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -32006,47 +31925,48 @@ }; /** - * Verifies a WorkflowExecutionEventRequest message. + * Verifies a WorkflowExecutionGetDataRequest message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionEventRequest + * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowExecutionEventRequest.verify = function verify(message) { + WorkflowExecutionGetDataRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.requestId != null && message.hasOwnProperty("requestId")) - if (!$util.isString(message.requestId)) - return "requestId: string expected"; - if (message.event != null && message.hasOwnProperty("event")) { - var error = $root.flyteidl.event.WorkflowExecutionEvent.verify(message.event); + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); if (error) - return "event." + error; + return "id." + error; } return null; }; - return WorkflowExecutionEventRequest; + return WorkflowExecutionGetDataRequest; })(); - admin.WorkflowExecutionEventResponse = (function() { + admin.WorkflowExecutionGetDataResponse = (function() { /** - * Properties of a WorkflowExecutionEventResponse. + * Properties of a WorkflowExecutionGetDataResponse. * @memberof flyteidl.admin - * @interface IWorkflowExecutionEventResponse + * @interface IWorkflowExecutionGetDataResponse + * @property {flyteidl.admin.IUrlBlob|null} [outputs] WorkflowExecutionGetDataResponse outputs + * @property {flyteidl.admin.IUrlBlob|null} [inputs] WorkflowExecutionGetDataResponse inputs + * @property {flyteidl.core.ILiteralMap|null} [fullInputs] WorkflowExecutionGetDataResponse fullInputs + * @property {flyteidl.core.ILiteralMap|null} [fullOutputs] WorkflowExecutionGetDataResponse fullOutputs */ /** - * Constructs a new WorkflowExecutionEventResponse. + * Constructs a new WorkflowExecutionGetDataResponse. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionEventResponse. - * @implements IWorkflowExecutionEventResponse + * @classdesc Represents a WorkflowExecutionGetDataResponse. + * @implements IWorkflowExecutionGetDataResponse * @constructor - * @param {flyteidl.admin.IWorkflowExecutionEventResponse=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionGetDataResponse=} [properties] Properties to set */ - function WorkflowExecutionEventResponse(properties) { + function WorkflowExecutionGetDataResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32054,50 +31974,102 @@ } /** - * Creates a new WorkflowExecutionEventResponse instance using the specified properties. + * WorkflowExecutionGetDataResponse outputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * @instance + */ + WorkflowExecutionGetDataResponse.prototype.outputs = null; + + /** + * WorkflowExecutionGetDataResponse inputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * @instance + */ + WorkflowExecutionGetDataResponse.prototype.inputs = null; + + /** + * WorkflowExecutionGetDataResponse fullInputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} fullInputs + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * @instance + */ + WorkflowExecutionGetDataResponse.prototype.fullInputs = null; + + /** + * WorkflowExecutionGetDataResponse fullOutputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} fullOutputs + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * @instance + */ + WorkflowExecutionGetDataResponse.prototype.fullOutputs = null; + + /** + * Creates a new WorkflowExecutionGetDataResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowExecutionEventResponse + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse * @static - * @param {flyteidl.admin.IWorkflowExecutionEventResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionEventResponse} WorkflowExecutionEventResponse instance + * @param {flyteidl.admin.IWorkflowExecutionGetDataResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionGetDataResponse} WorkflowExecutionGetDataResponse instance */ - WorkflowExecutionEventResponse.create = function create(properties) { - return new WorkflowExecutionEventResponse(properties); + WorkflowExecutionGetDataResponse.create = function create(properties) { + return new WorkflowExecutionGetDataResponse(properties); }; /** - * Encodes the specified WorkflowExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventResponse.verify|verify} messages. + * Encodes the specified WorkflowExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionEventResponse + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse * @static - * @param {flyteidl.admin.IWorkflowExecutionEventResponse} message WorkflowExecutionEventResponse message or plain object to encode + * @param {flyteidl.admin.IWorkflowExecutionGetDataResponse} message WorkflowExecutionGetDataResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowExecutionEventResponse.encode = function encode(message, writer) { + WorkflowExecutionGetDataResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.outputs != null && message.hasOwnProperty("outputs")) + $root.flyteidl.admin.UrlBlob.encode(message.outputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.inputs != null && message.hasOwnProperty("inputs")) + $root.flyteidl.admin.UrlBlob.encode(message.inputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) + $root.flyteidl.core.LiteralMap.encode(message.fullInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) + $root.flyteidl.core.LiteralMap.encode(message.fullOutputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowExecutionEventResponse message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetDataResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionEventResponse + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowExecutionEventResponse} WorkflowExecutionEventResponse + * @returns {flyteidl.admin.WorkflowExecutionGetDataResponse} WorkflowExecutionGetDataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowExecutionEventResponse.decode = function decode(reader, length) { + WorkflowExecutionGetDataResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionEventResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetDataResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + break; + case 2: + message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + break; + case 3: + message.fullInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 4: + message.fullOutputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -32107,41 +32079,75 @@ }; /** - * Verifies a WorkflowExecutionEventResponse message. + * Verifies a WorkflowExecutionGetDataResponse message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionEventResponse + * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowExecutionEventResponse.verify = function verify(message) { + WorkflowExecutionGetDataResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.outputs != null && message.hasOwnProperty("outputs")) { + var error = $root.flyteidl.admin.UrlBlob.verify(message.outputs); + if (error) + return "outputs." + error; + } + if (message.inputs != null && message.hasOwnProperty("inputs")) { + var error = $root.flyteidl.admin.UrlBlob.verify(message.inputs); + if (error) + return "inputs." + error; + } + if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.fullInputs); + if (error) + return "fullInputs." + error; + } + if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.fullOutputs); + if (error) + return "fullOutputs." + error; + } return null; }; - return WorkflowExecutionEventResponse; + return WorkflowExecutionGetDataResponse; })(); - admin.NodeExecutionEventRequest = (function() { + /** + * ExecutionState enum. + * @name flyteidl.admin.ExecutionState + * @enum {string} + * @property {number} EXECUTION_ACTIVE=0 EXECUTION_ACTIVE value + * @property {number} EXECUTION_ARCHIVED=1 EXECUTION_ARCHIVED value + */ + admin.ExecutionState = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "EXECUTION_ACTIVE"] = 0; + values[valuesById[1] = "EXECUTION_ARCHIVED"] = 1; + return values; + })(); + + admin.ExecutionUpdateRequest = (function() { /** - * Properties of a NodeExecutionEventRequest. + * Properties of an ExecutionUpdateRequest. * @memberof flyteidl.admin - * @interface INodeExecutionEventRequest - * @property {string|null} [requestId] NodeExecutionEventRequest requestId - * @property {flyteidl.event.INodeExecutionEvent|null} [event] NodeExecutionEventRequest event + * @interface IExecutionUpdateRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionUpdateRequest id + * @property {flyteidl.admin.ExecutionState|null} [state] ExecutionUpdateRequest state */ /** - * Constructs a new NodeExecutionEventRequest. + * Constructs a new ExecutionUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionEventRequest. - * @implements INodeExecutionEventRequest + * @classdesc Represents an ExecutionUpdateRequest. + * @implements IExecutionUpdateRequest * @constructor - * @param {flyteidl.admin.INodeExecutionEventRequest=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionUpdateRequest=} [properties] Properties to set */ - function NodeExecutionEventRequest(properties) { + function ExecutionUpdateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32149,75 +32155,75 @@ } /** - * NodeExecutionEventRequest requestId. - * @member {string} requestId - * @memberof flyteidl.admin.NodeExecutionEventRequest + * ExecutionUpdateRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.ExecutionUpdateRequest * @instance */ - NodeExecutionEventRequest.prototype.requestId = ""; + ExecutionUpdateRequest.prototype.id = null; /** - * NodeExecutionEventRequest event. - * @member {flyteidl.event.INodeExecutionEvent|null|undefined} event - * @memberof flyteidl.admin.NodeExecutionEventRequest + * ExecutionUpdateRequest state. + * @member {flyteidl.admin.ExecutionState} state + * @memberof flyteidl.admin.ExecutionUpdateRequest * @instance */ - NodeExecutionEventRequest.prototype.event = null; + ExecutionUpdateRequest.prototype.state = 0; /** - * Creates a new NodeExecutionEventRequest instance using the specified properties. + * Creates a new ExecutionUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionEventRequest + * @memberof flyteidl.admin.ExecutionUpdateRequest * @static - * @param {flyteidl.admin.INodeExecutionEventRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionEventRequest} NodeExecutionEventRequest instance + * @param {flyteidl.admin.IExecutionUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionUpdateRequest} ExecutionUpdateRequest instance */ - NodeExecutionEventRequest.create = function create(properties) { - return new NodeExecutionEventRequest(properties); + ExecutionUpdateRequest.create = function create(properties) { + return new ExecutionUpdateRequest(properties); }; /** - * Encodes the specified NodeExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventRequest.verify|verify} messages. + * Encodes the specified ExecutionUpdateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionEventRequest + * @memberof flyteidl.admin.ExecutionUpdateRequest * @static - * @param {flyteidl.admin.INodeExecutionEventRequest} message NodeExecutionEventRequest message or plain object to encode + * @param {flyteidl.admin.IExecutionUpdateRequest} message ExecutionUpdateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionEventRequest.encode = function encode(message, writer) { + ExecutionUpdateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.requestId != null && message.hasOwnProperty("requestId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.requestId); - if (message.event != null && message.hasOwnProperty("event")) - $root.flyteidl.event.NodeExecutionEvent.encode(message.event, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.state != null && message.hasOwnProperty("state")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.state); return writer; }; /** - * Decodes a NodeExecutionEventRequest message from the specified reader or buffer. + * Decodes an ExecutionUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionEventRequest + * @memberof flyteidl.admin.ExecutionUpdateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionEventRequest} NodeExecutionEventRequest + * @returns {flyteidl.admin.ExecutionUpdateRequest} ExecutionUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionEventRequest.decode = function decode(reader, length) { + ExecutionUpdateRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionEventRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionUpdateRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.requestId = reader.string(); + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.event = $root.flyteidl.event.NodeExecutionEvent.decode(reader, reader.uint32()); + message.state = reader.int32(); break; default: reader.skipType(tag & 7); @@ -32228,47 +32234,55 @@ }; /** - * Verifies a NodeExecutionEventRequest message. + * Verifies an ExecutionUpdateRequest message. * @function verify - * @memberof flyteidl.admin.NodeExecutionEventRequest + * @memberof flyteidl.admin.ExecutionUpdateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionEventRequest.verify = function verify(message) { + ExecutionUpdateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.requestId != null && message.hasOwnProperty("requestId")) - if (!$util.isString(message.requestId)) - return "requestId: string expected"; - if (message.event != null && message.hasOwnProperty("event")) { - var error = $root.flyteidl.event.NodeExecutionEvent.verify(message.event); + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); if (error) - return "event." + error; + return "id." + error; } + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + break; + } return null; }; - return NodeExecutionEventRequest; + return ExecutionUpdateRequest; })(); - admin.NodeExecutionEventResponse = (function() { + admin.ExecutionStateChangeDetails = (function() { /** - * Properties of a NodeExecutionEventResponse. + * Properties of an ExecutionStateChangeDetails. * @memberof flyteidl.admin - * @interface INodeExecutionEventResponse + * @interface IExecutionStateChangeDetails + * @property {flyteidl.admin.ExecutionState|null} [state] ExecutionStateChangeDetails state + * @property {google.protobuf.ITimestamp|null} [occurredAt] ExecutionStateChangeDetails occurredAt + * @property {string|null} [principal] ExecutionStateChangeDetails principal */ /** - * Constructs a new NodeExecutionEventResponse. + * Constructs a new ExecutionStateChangeDetails. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionEventResponse. - * @implements INodeExecutionEventResponse + * @classdesc Represents an ExecutionStateChangeDetails. + * @implements IExecutionStateChangeDetails * @constructor - * @param {flyteidl.admin.INodeExecutionEventResponse=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionStateChangeDetails=} [properties] Properties to set */ - function NodeExecutionEventResponse(properties) { + function ExecutionStateChangeDetails(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32276,50 +32290,89 @@ } /** - * Creates a new NodeExecutionEventResponse instance using the specified properties. + * ExecutionStateChangeDetails state. + * @member {flyteidl.admin.ExecutionState} state + * @memberof flyteidl.admin.ExecutionStateChangeDetails + * @instance + */ + ExecutionStateChangeDetails.prototype.state = 0; + + /** + * ExecutionStateChangeDetails occurredAt. + * @member {google.protobuf.ITimestamp|null|undefined} occurredAt + * @memberof flyteidl.admin.ExecutionStateChangeDetails + * @instance + */ + ExecutionStateChangeDetails.prototype.occurredAt = null; + + /** + * ExecutionStateChangeDetails principal. + * @member {string} principal + * @memberof flyteidl.admin.ExecutionStateChangeDetails + * @instance + */ + ExecutionStateChangeDetails.prototype.principal = ""; + + /** + * Creates a new ExecutionStateChangeDetails instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionEventResponse + * @memberof flyteidl.admin.ExecutionStateChangeDetails * @static - * @param {flyteidl.admin.INodeExecutionEventResponse=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionEventResponse} NodeExecutionEventResponse instance + * @param {flyteidl.admin.IExecutionStateChangeDetails=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionStateChangeDetails} ExecutionStateChangeDetails instance */ - NodeExecutionEventResponse.create = function create(properties) { - return new NodeExecutionEventResponse(properties); + ExecutionStateChangeDetails.create = function create(properties) { + return new ExecutionStateChangeDetails(properties); }; /** - * Encodes the specified NodeExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventResponse.verify|verify} messages. + * Encodes the specified ExecutionStateChangeDetails message. Does not implicitly {@link flyteidl.admin.ExecutionStateChangeDetails.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionEventResponse + * @memberof flyteidl.admin.ExecutionStateChangeDetails * @static - * @param {flyteidl.admin.INodeExecutionEventResponse} message NodeExecutionEventResponse message or plain object to encode + * @param {flyteidl.admin.IExecutionStateChangeDetails} message ExecutionStateChangeDetails message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionEventResponse.encode = function encode(message, writer) { + ExecutionStateChangeDetails.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.state != null && message.hasOwnProperty("state")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.state); + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) + $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.principal != null && message.hasOwnProperty("principal")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.principal); return writer; }; /** - * Decodes a NodeExecutionEventResponse message from the specified reader or buffer. + * Decodes an ExecutionStateChangeDetails message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionEventResponse + * @memberof flyteidl.admin.ExecutionStateChangeDetails * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionEventResponse} NodeExecutionEventResponse + * @returns {flyteidl.admin.ExecutionStateChangeDetails} ExecutionStateChangeDetails * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionEventResponse.decode = function decode(reader, length) { + ExecutionStateChangeDetails.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionEventResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionStateChangeDetails(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.state = reader.int32(); + break; + case 2: + message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 3: + message.principal = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -32329,41 +32382,55 @@ }; /** - * Verifies a NodeExecutionEventResponse message. + * Verifies an ExecutionStateChangeDetails message. * @function verify - * @memberof flyteidl.admin.NodeExecutionEventResponse + * @memberof flyteidl.admin.ExecutionStateChangeDetails * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionEventResponse.verify = function verify(message) { + ExecutionStateChangeDetails.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + break; + } + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); + if (error) + return "occurredAt." + error; + } + if (message.principal != null && message.hasOwnProperty("principal")) + if (!$util.isString(message.principal)) + return "principal: string expected"; return null; }; - return NodeExecutionEventResponse; + return ExecutionStateChangeDetails; })(); - admin.TaskExecutionEventRequest = (function() { + admin.ExecutionUpdateResponse = (function() { /** - * Properties of a TaskExecutionEventRequest. + * Properties of an ExecutionUpdateResponse. * @memberof flyteidl.admin - * @interface ITaskExecutionEventRequest - * @property {string|null} [requestId] TaskExecutionEventRequest requestId - * @property {flyteidl.event.ITaskExecutionEvent|null} [event] TaskExecutionEventRequest event + * @interface IExecutionUpdateResponse */ /** - * Constructs a new TaskExecutionEventRequest. + * Constructs a new ExecutionUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionEventRequest. - * @implements ITaskExecutionEventRequest + * @classdesc Represents an ExecutionUpdateResponse. + * @implements IExecutionUpdateResponse * @constructor - * @param {flyteidl.admin.ITaskExecutionEventRequest=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionUpdateResponse=} [properties] Properties to set */ - function TaskExecutionEventRequest(properties) { + function ExecutionUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32371,76 +32438,50 @@ } /** - * TaskExecutionEventRequest requestId. - * @member {string} requestId - * @memberof flyteidl.admin.TaskExecutionEventRequest - * @instance - */ - TaskExecutionEventRequest.prototype.requestId = ""; - - /** - * TaskExecutionEventRequest event. - * @member {flyteidl.event.ITaskExecutionEvent|null|undefined} event - * @memberof flyteidl.admin.TaskExecutionEventRequest - * @instance - */ - TaskExecutionEventRequest.prototype.event = null; - - /** - * Creates a new TaskExecutionEventRequest instance using the specified properties. + * Creates a new ExecutionUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionEventRequest + * @memberof flyteidl.admin.ExecutionUpdateResponse * @static - * @param {flyteidl.admin.ITaskExecutionEventRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionEventRequest} TaskExecutionEventRequest instance + * @param {flyteidl.admin.IExecutionUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionUpdateResponse} ExecutionUpdateResponse instance */ - TaskExecutionEventRequest.create = function create(properties) { - return new TaskExecutionEventRequest(properties); + ExecutionUpdateResponse.create = function create(properties) { + return new ExecutionUpdateResponse(properties); }; /** - * Encodes the specified TaskExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventRequest.verify|verify} messages. + * Encodes the specified ExecutionUpdateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionEventRequest + * @memberof flyteidl.admin.ExecutionUpdateResponse * @static - * @param {flyteidl.admin.ITaskExecutionEventRequest} message TaskExecutionEventRequest message or plain object to encode + * @param {flyteidl.admin.IExecutionUpdateResponse} message ExecutionUpdateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionEventRequest.encode = function encode(message, writer) { + ExecutionUpdateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.requestId != null && message.hasOwnProperty("requestId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.requestId); - if (message.event != null && message.hasOwnProperty("event")) - $root.flyteidl.event.TaskExecutionEvent.encode(message.event, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecutionEventRequest message from the specified reader or buffer. + * Decodes an ExecutionUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionEventRequest + * @memberof flyteidl.admin.ExecutionUpdateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionEventRequest} TaskExecutionEventRequest + * @returns {flyteidl.admin.ExecutionUpdateResponse} ExecutionUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionEventRequest.decode = function decode(reader, length) { + ExecutionUpdateResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionEventRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionUpdateResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.requestId = reader.string(); - break; - case 2: - message.event = $root.flyteidl.event.TaskExecutionEvent.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -32450,47 +32491,41 @@ }; /** - * Verifies a TaskExecutionEventRequest message. + * Verifies an ExecutionUpdateResponse message. * @function verify - * @memberof flyteidl.admin.TaskExecutionEventRequest + * @memberof flyteidl.admin.ExecutionUpdateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionEventRequest.verify = function verify(message) { + ExecutionUpdateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.requestId != null && message.hasOwnProperty("requestId")) - if (!$util.isString(message.requestId)) - return "requestId: string expected"; - if (message.event != null && message.hasOwnProperty("event")) { - var error = $root.flyteidl.event.TaskExecutionEvent.verify(message.event); - if (error) - return "event." + error; - } return null; }; - return TaskExecutionEventRequest; + return ExecutionUpdateResponse; })(); - admin.TaskExecutionEventResponse = (function() { + admin.WorkflowExecutionGetMetricsRequest = (function() { /** - * Properties of a TaskExecutionEventResponse. + * Properties of a WorkflowExecutionGetMetricsRequest. * @memberof flyteidl.admin - * @interface ITaskExecutionEventResponse + * @interface IWorkflowExecutionGetMetricsRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetMetricsRequest id + * @property {number|null} [depth] WorkflowExecutionGetMetricsRequest depth */ /** - * Constructs a new TaskExecutionEventResponse. + * Constructs a new WorkflowExecutionGetMetricsRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionEventResponse. - * @implements ITaskExecutionEventResponse + * @classdesc Represents a WorkflowExecutionGetMetricsRequest. + * @implements IWorkflowExecutionGetMetricsRequest * @constructor - * @param {flyteidl.admin.ITaskExecutionEventResponse=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest=} [properties] Properties to set */ - function TaskExecutionEventResponse(properties) { + function WorkflowExecutionGetMetricsRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32498,50 +32533,76 @@ } /** - * Creates a new TaskExecutionEventResponse instance using the specified properties. + * WorkflowExecutionGetMetricsRequest id. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @instance + */ + WorkflowExecutionGetMetricsRequest.prototype.id = null; + + /** + * WorkflowExecutionGetMetricsRequest depth. + * @member {number} depth + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @instance + */ + WorkflowExecutionGetMetricsRequest.prototype.depth = 0; + + /** + * Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionEventResponse + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest * @static - * @param {flyteidl.admin.ITaskExecutionEventResponse=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionEventResponse} TaskExecutionEventResponse instance + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionGetMetricsRequest} WorkflowExecutionGetMetricsRequest instance */ - TaskExecutionEventResponse.create = function create(properties) { - return new TaskExecutionEventResponse(properties); + WorkflowExecutionGetMetricsRequest.create = function create(properties) { + return new WorkflowExecutionGetMetricsRequest(properties); }; /** - * Encodes the specified TaskExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventResponse.verify|verify} messages. + * Encodes the specified WorkflowExecutionGetMetricsRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionEventResponse + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest * @static - * @param {flyteidl.admin.ITaskExecutionEventResponse} message TaskExecutionEventResponse message or plain object to encode + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} message WorkflowExecutionGetMetricsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionEventResponse.encode = function encode(message, writer) { + WorkflowExecutionGetMetricsRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.depth != null && message.hasOwnProperty("depth")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.depth); return writer; }; /** - * Decodes a TaskExecutionEventResponse message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetMetricsRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionEventResponse + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionEventResponse} TaskExecutionEventResponse + * @returns {flyteidl.admin.WorkflowExecutionGetMetricsRequest} WorkflowExecutionGetMetricsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionEventResponse.decode = function decode(reader, length) { + WorkflowExecutionGetMetricsRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionEventResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetMetricsRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.depth = reader.int32(); + break; default: reader.skipType(tag & 7); break; @@ -32551,45 +32612,48 @@ }; /** - * Verifies a TaskExecutionEventResponse message. + * Verifies a WorkflowExecutionGetMetricsRequest message. * @function verify - * @memberof flyteidl.admin.TaskExecutionEventResponse + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionEventResponse.verify = function verify(message) { + WorkflowExecutionGetMetricsRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.depth != null && message.hasOwnProperty("depth")) + if (!$util.isInteger(message.depth)) + return "depth: integer expected"; return null; }; - return TaskExecutionEventResponse; + return WorkflowExecutionGetMetricsRequest; })(); - admin.ExecutionCreateRequest = (function() { + admin.WorkflowExecutionGetMetricsResponse = (function() { /** - * Properties of an ExecutionCreateRequest. + * Properties of a WorkflowExecutionGetMetricsResponse. * @memberof flyteidl.admin - * @interface IExecutionCreateRequest - * @property {string|null} [project] ExecutionCreateRequest project - * @property {string|null} [domain] ExecutionCreateRequest domain - * @property {string|null} [name] ExecutionCreateRequest name - * @property {flyteidl.admin.IExecutionSpec|null} [spec] ExecutionCreateRequest spec - * @property {flyteidl.core.ILiteralMap|null} [inputs] ExecutionCreateRequest inputs - * @property {string|null} [org] ExecutionCreateRequest org + * @interface IWorkflowExecutionGetMetricsResponse + * @property {flyteidl.core.ISpan|null} [span] WorkflowExecutionGetMetricsResponse span */ /** - * Constructs a new ExecutionCreateRequest. + * Constructs a new WorkflowExecutionGetMetricsResponse. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionCreateRequest. - * @implements IExecutionCreateRequest + * @classdesc Represents a WorkflowExecutionGetMetricsResponse. + * @implements IWorkflowExecutionGetMetricsResponse * @constructor - * @param {flyteidl.admin.IExecutionCreateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse=} [properties] Properties to set */ - function ExecutionCreateRequest(properties) { + function WorkflowExecutionGetMetricsResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32597,127 +32661,62 @@ } /** - * ExecutionCreateRequest project. - * @member {string} project - * @memberof flyteidl.admin.ExecutionCreateRequest - * @instance - */ - ExecutionCreateRequest.prototype.project = ""; - - /** - * ExecutionCreateRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.ExecutionCreateRequest - * @instance - */ - ExecutionCreateRequest.prototype.domain = ""; - - /** - * ExecutionCreateRequest name. - * @member {string} name - * @memberof flyteidl.admin.ExecutionCreateRequest - * @instance - */ - ExecutionCreateRequest.prototype.name = ""; - - /** - * ExecutionCreateRequest spec. - * @member {flyteidl.admin.IExecutionSpec|null|undefined} spec - * @memberof flyteidl.admin.ExecutionCreateRequest - * @instance - */ - ExecutionCreateRequest.prototype.spec = null; - - /** - * ExecutionCreateRequest inputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} inputs - * @memberof flyteidl.admin.ExecutionCreateRequest - * @instance - */ - ExecutionCreateRequest.prototype.inputs = null; - - /** - * ExecutionCreateRequest org. - * @member {string} org - * @memberof flyteidl.admin.ExecutionCreateRequest + * WorkflowExecutionGetMetricsResponse span. + * @member {flyteidl.core.ISpan|null|undefined} span + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse * @instance */ - ExecutionCreateRequest.prototype.org = ""; + WorkflowExecutionGetMetricsResponse.prototype.span = null; /** - * Creates a new ExecutionCreateRequest instance using the specified properties. + * Creates a new WorkflowExecutionGetMetricsResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionCreateRequest + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse * @static - * @param {flyteidl.admin.IExecutionCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionCreateRequest} ExecutionCreateRequest instance + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionGetMetricsResponse} WorkflowExecutionGetMetricsResponse instance */ - ExecutionCreateRequest.create = function create(properties) { - return new ExecutionCreateRequest(properties); + WorkflowExecutionGetMetricsResponse.create = function create(properties) { + return new WorkflowExecutionGetMetricsResponse(properties); }; /** - * Encodes the specified ExecutionCreateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionCreateRequest.verify|verify} messages. + * Encodes the specified WorkflowExecutionGetMetricsResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionCreateRequest + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse * @static - * @param {flyteidl.admin.IExecutionCreateRequest} message ExecutionCreateRequest message or plain object to encode + * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse} message WorkflowExecutionGetMetricsResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionCreateRequest.encode = function encode(message, writer) { + WorkflowExecutionGetMetricsResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.name); - if (message.spec != null && message.hasOwnProperty("spec")) - $root.flyteidl.admin.ExecutionSpec.encode(message.spec, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.inputs != null && message.hasOwnProperty("inputs")) - $root.flyteidl.core.LiteralMap.encode(message.inputs, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.org); + if (message.span != null && message.hasOwnProperty("span")) + $root.flyteidl.core.Span.encode(message.span, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes an ExecutionCreateRequest message from the specified reader or buffer. + * Decodes a WorkflowExecutionGetMetricsResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionCreateRequest + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionCreateRequest} ExecutionCreateRequest + * @returns {flyteidl.admin.WorkflowExecutionGetMetricsResponse} WorkflowExecutionGetMetricsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionCreateRequest.decode = function decode(reader, length) { + WorkflowExecutionGetMetricsResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionCreateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetMetricsResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); - break; - case 2: - message.domain = reader.string(); - break; - case 3: - message.name = reader.string(); - break; - case 4: - message.spec = $root.flyteidl.admin.ExecutionSpec.decode(reader, reader.uint32()); - break; - case 5: - message.inputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 6: - message.org = reader.string(); + message.span = $root.flyteidl.core.Span.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -32728,64 +32727,75 @@ }; /** - * Verifies an ExecutionCreateRequest message. + * Verifies a WorkflowExecutionGetMetricsResponse message. * @function verify - * @memberof flyteidl.admin.ExecutionCreateRequest + * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionCreateRequest.verify = function verify(message) { + WorkflowExecutionGetMetricsResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.spec != null && message.hasOwnProperty("spec")) { - var error = $root.flyteidl.admin.ExecutionSpec.verify(message.spec); - if (error) - return "spec." + error; - } - if (message.inputs != null && message.hasOwnProperty("inputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.inputs); + if (message.span != null && message.hasOwnProperty("span")) { + var error = $root.flyteidl.core.Span.verify(message.span); if (error) - return "inputs." + error; + return "span." + error; } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; return null; }; - return ExecutionCreateRequest; + return WorkflowExecutionGetMetricsResponse; })(); - admin.ExecutionRelaunchRequest = (function() { + /** + * MatchableResource enum. + * @name flyteidl.admin.MatchableResource + * @enum {string} + * @property {number} TASK_RESOURCE=0 TASK_RESOURCE value + * @property {number} CLUSTER_RESOURCE=1 CLUSTER_RESOURCE value + * @property {number} EXECUTION_QUEUE=2 EXECUTION_QUEUE value + * @property {number} EXECUTION_CLUSTER_LABEL=3 EXECUTION_CLUSTER_LABEL value + * @property {number} QUALITY_OF_SERVICE_SPECIFICATION=4 QUALITY_OF_SERVICE_SPECIFICATION value + * @property {number} PLUGIN_OVERRIDE=5 PLUGIN_OVERRIDE value + * @property {number} WORKFLOW_EXECUTION_CONFIG=6 WORKFLOW_EXECUTION_CONFIG value + * @property {number} CLUSTER_ASSIGNMENT=7 CLUSTER_ASSIGNMENT value + */ + admin.MatchableResource = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "TASK_RESOURCE"] = 0; + values[valuesById[1] = "CLUSTER_RESOURCE"] = 1; + values[valuesById[2] = "EXECUTION_QUEUE"] = 2; + values[valuesById[3] = "EXECUTION_CLUSTER_LABEL"] = 3; + values[valuesById[4] = "QUALITY_OF_SERVICE_SPECIFICATION"] = 4; + values[valuesById[5] = "PLUGIN_OVERRIDE"] = 5; + values[valuesById[6] = "WORKFLOW_EXECUTION_CONFIG"] = 6; + values[valuesById[7] = "CLUSTER_ASSIGNMENT"] = 7; + return values; + })(); + + admin.TaskResourceSpec = (function() { /** - * Properties of an ExecutionRelaunchRequest. + * Properties of a TaskResourceSpec. * @memberof flyteidl.admin - * @interface IExecutionRelaunchRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionRelaunchRequest id - * @property {string|null} [name] ExecutionRelaunchRequest name - * @property {boolean|null} [overwriteCache] ExecutionRelaunchRequest overwriteCache + * @interface ITaskResourceSpec + * @property {string|null} [cpu] TaskResourceSpec cpu + * @property {string|null} [gpu] TaskResourceSpec gpu + * @property {string|null} [memory] TaskResourceSpec memory + * @property {string|null} [storage] TaskResourceSpec storage + * @property {string|null} [ephemeralStorage] TaskResourceSpec ephemeralStorage */ /** - * Constructs a new ExecutionRelaunchRequest. + * Constructs a new TaskResourceSpec. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionRelaunchRequest. - * @implements IExecutionRelaunchRequest + * @classdesc Represents a TaskResourceSpec. + * @implements ITaskResourceSpec * @constructor - * @param {flyteidl.admin.IExecutionRelaunchRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set */ - function ExecutionRelaunchRequest(properties) { + function TaskResourceSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32793,88 +32803,114 @@ } /** - * ExecutionRelaunchRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.ExecutionRelaunchRequest + * TaskResourceSpec cpu. + * @member {string} cpu + * @memberof flyteidl.admin.TaskResourceSpec * @instance */ - ExecutionRelaunchRequest.prototype.id = null; + TaskResourceSpec.prototype.cpu = ""; /** - * ExecutionRelaunchRequest name. - * @member {string} name - * @memberof flyteidl.admin.ExecutionRelaunchRequest + * TaskResourceSpec gpu. + * @member {string} gpu + * @memberof flyteidl.admin.TaskResourceSpec * @instance */ - ExecutionRelaunchRequest.prototype.name = ""; + TaskResourceSpec.prototype.gpu = ""; /** - * ExecutionRelaunchRequest overwriteCache. - * @member {boolean} overwriteCache - * @memberof flyteidl.admin.ExecutionRelaunchRequest + * TaskResourceSpec memory. + * @member {string} memory + * @memberof flyteidl.admin.TaskResourceSpec * @instance */ - ExecutionRelaunchRequest.prototype.overwriteCache = false; + TaskResourceSpec.prototype.memory = ""; /** - * Creates a new ExecutionRelaunchRequest instance using the specified properties. + * TaskResourceSpec storage. + * @member {string} storage + * @memberof flyteidl.admin.TaskResourceSpec + * @instance + */ + TaskResourceSpec.prototype.storage = ""; + + /** + * TaskResourceSpec ephemeralStorage. + * @member {string} ephemeralStorage + * @memberof flyteidl.admin.TaskResourceSpec + * @instance + */ + TaskResourceSpec.prototype.ephemeralStorage = ""; + + /** + * Creates a new TaskResourceSpec instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionRelaunchRequest + * @memberof flyteidl.admin.TaskResourceSpec * @static - * @param {flyteidl.admin.IExecutionRelaunchRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionRelaunchRequest} ExecutionRelaunchRequest instance + * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set + * @returns {flyteidl.admin.TaskResourceSpec} TaskResourceSpec instance */ - ExecutionRelaunchRequest.create = function create(properties) { - return new ExecutionRelaunchRequest(properties); + TaskResourceSpec.create = function create(properties) { + return new TaskResourceSpec(properties); }; /** - * Encodes the specified ExecutionRelaunchRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRelaunchRequest.verify|verify} messages. + * Encodes the specified TaskResourceSpec message. Does not implicitly {@link flyteidl.admin.TaskResourceSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionRelaunchRequest + * @memberof flyteidl.admin.TaskResourceSpec * @static - * @param {flyteidl.admin.IExecutionRelaunchRequest} message ExecutionRelaunchRequest message or plain object to encode + * @param {flyteidl.admin.ITaskResourceSpec} message TaskResourceSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionRelaunchRequest.encode = function encode(message, writer) { + TaskResourceSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.name); - if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.overwriteCache); + if (message.cpu != null && message.hasOwnProperty("cpu")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.cpu); + if (message.gpu != null && message.hasOwnProperty("gpu")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.gpu); + if (message.memory != null && message.hasOwnProperty("memory")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.memory); + if (message.storage != null && message.hasOwnProperty("storage")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.storage); + if (message.ephemeralStorage != null && message.hasOwnProperty("ephemeralStorage")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.ephemeralStorage); return writer; }; /** - * Decodes an ExecutionRelaunchRequest message from the specified reader or buffer. + * Decodes a TaskResourceSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionRelaunchRequest + * @memberof flyteidl.admin.TaskResourceSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionRelaunchRequest} ExecutionRelaunchRequest + * @returns {flyteidl.admin.TaskResourceSpec} TaskResourceSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionRelaunchRequest.decode = function decode(reader, length) { + TaskResourceSpec.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionRelaunchRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskResourceSpec(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.cpu = reader.string(); + break; + case 2: + message.gpu = reader.string(); break; case 3: - message.name = reader.string(); + message.memory = reader.string(); break; case 4: - message.overwriteCache = reader.bool(); + message.storage = reader.string(); + break; + case 5: + message.ephemeralStorage = reader.string(); break; default: reader.skipType(tag & 7); @@ -32885,53 +32921,56 @@ }; /** - * Verifies an ExecutionRelaunchRequest message. + * Verifies a TaskResourceSpec message. * @function verify - * @memberof flyteidl.admin.ExecutionRelaunchRequest + * @memberof flyteidl.admin.TaskResourceSpec * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionRelaunchRequest.verify = function verify(message) { + TaskResourceSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) - if (typeof message.overwriteCache !== "boolean") - return "overwriteCache: boolean expected"; + if (message.cpu != null && message.hasOwnProperty("cpu")) + if (!$util.isString(message.cpu)) + return "cpu: string expected"; + if (message.gpu != null && message.hasOwnProperty("gpu")) + if (!$util.isString(message.gpu)) + return "gpu: string expected"; + if (message.memory != null && message.hasOwnProperty("memory")) + if (!$util.isString(message.memory)) + return "memory: string expected"; + if (message.storage != null && message.hasOwnProperty("storage")) + if (!$util.isString(message.storage)) + return "storage: string expected"; + if (message.ephemeralStorage != null && message.hasOwnProperty("ephemeralStorage")) + if (!$util.isString(message.ephemeralStorage)) + return "ephemeralStorage: string expected"; return null; }; - return ExecutionRelaunchRequest; + return TaskResourceSpec; })(); - admin.ExecutionRecoverRequest = (function() { + admin.TaskResourceAttributes = (function() { /** - * Properties of an ExecutionRecoverRequest. + * Properties of a TaskResourceAttributes. * @memberof flyteidl.admin - * @interface IExecutionRecoverRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionRecoverRequest id - * @property {string|null} [name] ExecutionRecoverRequest name - * @property {flyteidl.admin.IExecutionMetadata|null} [metadata] ExecutionRecoverRequest metadata + * @interface ITaskResourceAttributes + * @property {flyteidl.admin.ITaskResourceSpec|null} [defaults] TaskResourceAttributes defaults + * @property {flyteidl.admin.ITaskResourceSpec|null} [limits] TaskResourceAttributes limits */ /** - * Constructs a new ExecutionRecoverRequest. + * Constructs a new TaskResourceAttributes. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionRecoverRequest. - * @implements IExecutionRecoverRequest + * @classdesc Represents a TaskResourceAttributes. + * @implements ITaskResourceAttributes * @constructor - * @param {flyteidl.admin.IExecutionRecoverRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set */ - function ExecutionRecoverRequest(properties) { + function TaskResourceAttributes(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -32939,88 +32978,75 @@ } /** - * ExecutionRecoverRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.ExecutionRecoverRequest - * @instance - */ - ExecutionRecoverRequest.prototype.id = null; - - /** - * ExecutionRecoverRequest name. - * @member {string} name - * @memberof flyteidl.admin.ExecutionRecoverRequest + * TaskResourceAttributes defaults. + * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} defaults + * @memberof flyteidl.admin.TaskResourceAttributes * @instance */ - ExecutionRecoverRequest.prototype.name = ""; + TaskResourceAttributes.prototype.defaults = null; /** - * ExecutionRecoverRequest metadata. - * @member {flyteidl.admin.IExecutionMetadata|null|undefined} metadata - * @memberof flyteidl.admin.ExecutionRecoverRequest + * TaskResourceAttributes limits. + * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} limits + * @memberof flyteidl.admin.TaskResourceAttributes * @instance */ - ExecutionRecoverRequest.prototype.metadata = null; + TaskResourceAttributes.prototype.limits = null; /** - * Creates a new ExecutionRecoverRequest instance using the specified properties. + * Creates a new TaskResourceAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionRecoverRequest + * @memberof flyteidl.admin.TaskResourceAttributes * @static - * @param {flyteidl.admin.IExecutionRecoverRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionRecoverRequest} ExecutionRecoverRequest instance + * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.TaskResourceAttributes} TaskResourceAttributes instance */ - ExecutionRecoverRequest.create = function create(properties) { - return new ExecutionRecoverRequest(properties); + TaskResourceAttributes.create = function create(properties) { + return new TaskResourceAttributes(properties); }; /** - * Encodes the specified ExecutionRecoverRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRecoverRequest.verify|verify} messages. + * Encodes the specified TaskResourceAttributes message. Does not implicitly {@link flyteidl.admin.TaskResourceAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionRecoverRequest + * @memberof flyteidl.admin.TaskResourceAttributes * @static - * @param {flyteidl.admin.IExecutionRecoverRequest} message ExecutionRecoverRequest message or plain object to encode + * @param {flyteidl.admin.ITaskResourceAttributes} message TaskResourceAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionRecoverRequest.encode = function encode(message, writer) { + TaskResourceAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.admin.ExecutionMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.defaults != null && message.hasOwnProperty("defaults")) + $root.flyteidl.admin.TaskResourceSpec.encode(message.defaults, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.limits != null && message.hasOwnProperty("limits")) + $root.flyteidl.admin.TaskResourceSpec.encode(message.limits, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes an ExecutionRecoverRequest message from the specified reader or buffer. + * Decodes a TaskResourceAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionRecoverRequest + * @memberof flyteidl.admin.TaskResourceAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionRecoverRequest} ExecutionRecoverRequest + * @returns {flyteidl.admin.TaskResourceAttributes} TaskResourceAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionRecoverRequest.decode = function decode(reader, length) { + TaskResourceAttributes.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionRecoverRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskResourceAttributes(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.defaults = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); break; case 2: - message.name = reader.string(); - break; - case 3: - message.metadata = $root.flyteidl.admin.ExecutionMetadata.decode(reader, reader.uint32()); + message.limits = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -33031,53 +33057,51 @@ }; /** - * Verifies an ExecutionRecoverRequest message. + * Verifies a TaskResourceAttributes message. * @function verify - * @memberof flyteidl.admin.ExecutionRecoverRequest + * @memberof flyteidl.admin.TaskResourceAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionRecoverRequest.verify = function verify(message) { + TaskResourceAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + if (message.defaults != null && message.hasOwnProperty("defaults")) { + var error = $root.flyteidl.admin.TaskResourceSpec.verify(message.defaults); if (error) - return "id." + error; + return "defaults." + error; } - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.admin.ExecutionMetadata.verify(message.metadata); + if (message.limits != null && message.hasOwnProperty("limits")) { + var error = $root.flyteidl.admin.TaskResourceSpec.verify(message.limits); if (error) - return "metadata." + error; + return "limits." + error; } return null; }; - return ExecutionRecoverRequest; + return TaskResourceAttributes; })(); - admin.ExecutionCreateResponse = (function() { + admin.ClusterResourceAttributes = (function() { /** - * Properties of an ExecutionCreateResponse. + * Properties of a ClusterResourceAttributes. * @memberof flyteidl.admin - * @interface IExecutionCreateResponse - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionCreateResponse id + * @interface IClusterResourceAttributes + * @property {Object.|null} [attributes] ClusterResourceAttributes attributes */ /** - * Constructs a new ExecutionCreateResponse. + * Constructs a new ClusterResourceAttributes. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionCreateResponse. - * @implements IExecutionCreateResponse + * @classdesc Represents a ClusterResourceAttributes. + * @implements IClusterResourceAttributes * @constructor - * @param {flyteidl.admin.IExecutionCreateResponse=} [properties] Properties to set + * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set */ - function ExecutionCreateResponse(properties) { + function ClusterResourceAttributes(properties) { + this.attributes = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -33085,62 +33109,68 @@ } /** - * ExecutionCreateResponse id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.ExecutionCreateResponse + * ClusterResourceAttributes attributes. + * @member {Object.} attributes + * @memberof flyteidl.admin.ClusterResourceAttributes * @instance */ - ExecutionCreateResponse.prototype.id = null; + ClusterResourceAttributes.prototype.attributes = $util.emptyObject; /** - * Creates a new ExecutionCreateResponse instance using the specified properties. + * Creates a new ClusterResourceAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionCreateResponse + * @memberof flyteidl.admin.ClusterResourceAttributes * @static - * @param {flyteidl.admin.IExecutionCreateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionCreateResponse} ExecutionCreateResponse instance + * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ClusterResourceAttributes} ClusterResourceAttributes instance */ - ExecutionCreateResponse.create = function create(properties) { - return new ExecutionCreateResponse(properties); + ClusterResourceAttributes.create = function create(properties) { + return new ClusterResourceAttributes(properties); }; /** - * Encodes the specified ExecutionCreateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionCreateResponse.verify|verify} messages. + * Encodes the specified ClusterResourceAttributes message. Does not implicitly {@link flyteidl.admin.ClusterResourceAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionCreateResponse + * @memberof flyteidl.admin.ClusterResourceAttributes * @static - * @param {flyteidl.admin.IExecutionCreateResponse} message ExecutionCreateResponse message or plain object to encode + * @param {flyteidl.admin.IClusterResourceAttributes} message ClusterResourceAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionCreateResponse.encode = function encode(message, writer) { + ClusterResourceAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.attributes != null && message.hasOwnProperty("attributes")) + for (var keys = Object.keys(message.attributes), i = 0; i < keys.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.attributes[keys[i]]).ldelim(); return writer; }; /** - * Decodes an ExecutionCreateResponse message from the specified reader or buffer. + * Decodes a ClusterResourceAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionCreateResponse + * @memberof flyteidl.admin.ClusterResourceAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionCreateResponse} ExecutionCreateResponse + * @returns {flyteidl.admin.ClusterResourceAttributes} ClusterResourceAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionCreateResponse.decode = function decode(reader, length) { + ClusterResourceAttributes.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionCreateResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ClusterResourceAttributes(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + reader.skip().pos++; + if (message.attributes === $util.emptyObject) + message.attributes = {}; + key = reader.string(); + reader.pos++; + message.attributes[key] = reader.string(); break; default: reader.skipType(tag & 7); @@ -33151,45 +33181,49 @@ }; /** - * Verifies an ExecutionCreateResponse message. + * Verifies a ClusterResourceAttributes message. * @function verify - * @memberof flyteidl.admin.ExecutionCreateResponse + * @memberof flyteidl.admin.ClusterResourceAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionCreateResponse.verify = function verify(message) { + ClusterResourceAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; + if (message.attributes != null && message.hasOwnProperty("attributes")) { + if (!$util.isObject(message.attributes)) + return "attributes: object expected"; + var key = Object.keys(message.attributes); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.attributes[key[i]])) + return "attributes: string{k:string} expected"; } return null; }; - return ExecutionCreateResponse; + return ClusterResourceAttributes; })(); - admin.WorkflowExecutionGetRequest = (function() { + admin.ExecutionQueueAttributes = (function() { /** - * Properties of a WorkflowExecutionGetRequest. + * Properties of an ExecutionQueueAttributes. * @memberof flyteidl.admin - * @interface IWorkflowExecutionGetRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetRequest id + * @interface IExecutionQueueAttributes + * @property {Array.|null} [tags] ExecutionQueueAttributes tags */ /** - * Constructs a new WorkflowExecutionGetRequest. + * Constructs a new ExecutionQueueAttributes. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionGetRequest. - * @implements IWorkflowExecutionGetRequest + * @classdesc Represents an ExecutionQueueAttributes. + * @implements IExecutionQueueAttributes * @constructor - * @param {flyteidl.admin.IWorkflowExecutionGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set */ - function WorkflowExecutionGetRequest(properties) { + function ExecutionQueueAttributes(properties) { + this.tags = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -33197,62 +33231,65 @@ } /** - * WorkflowExecutionGetRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowExecutionGetRequest + * ExecutionQueueAttributes tags. + * @member {Array.} tags + * @memberof flyteidl.admin.ExecutionQueueAttributes * @instance */ - WorkflowExecutionGetRequest.prototype.id = null; + ExecutionQueueAttributes.prototype.tags = $util.emptyArray; /** - * Creates a new WorkflowExecutionGetRequest instance using the specified properties. + * Creates a new ExecutionQueueAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowExecutionGetRequest + * @memberof flyteidl.admin.ExecutionQueueAttributes * @static - * @param {flyteidl.admin.IWorkflowExecutionGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionGetRequest} WorkflowExecutionGetRequest instance + * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionQueueAttributes} ExecutionQueueAttributes instance */ - WorkflowExecutionGetRequest.create = function create(properties) { - return new WorkflowExecutionGetRequest(properties); + ExecutionQueueAttributes.create = function create(properties) { + return new ExecutionQueueAttributes(properties); }; /** - * Encodes the specified WorkflowExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetRequest.verify|verify} messages. + * Encodes the specified ExecutionQueueAttributes message. Does not implicitly {@link flyteidl.admin.ExecutionQueueAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionGetRequest + * @memberof flyteidl.admin.ExecutionQueueAttributes * @static - * @param {flyteidl.admin.IWorkflowExecutionGetRequest} message WorkflowExecutionGetRequest message or plain object to encode + * @param {flyteidl.admin.IExecutionQueueAttributes} message ExecutionQueueAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowExecutionGetRequest.encode = function encode(message, writer) { + ExecutionQueueAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.tags != null && message.tags.length) + for (var i = 0; i < message.tags.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.tags[i]); return writer; }; /** - * Decodes a WorkflowExecutionGetRequest message from the specified reader or buffer. + * Decodes an ExecutionQueueAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionGetRequest + * @memberof flyteidl.admin.ExecutionQueueAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowExecutionGetRequest} WorkflowExecutionGetRequest + * @returns {flyteidl.admin.ExecutionQueueAttributes} ExecutionQueueAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowExecutionGetRequest.decode = function decode(reader, length) { + ExecutionQueueAttributes.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionQueueAttributes(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + if (!(message.tags && message.tags.length)) + message.tags = []; + message.tags.push(reader.string()); break; default: reader.skipType(tag & 7); @@ -33263,47 +33300,47 @@ }; /** - * Verifies a WorkflowExecutionGetRequest message. + * Verifies an ExecutionQueueAttributes message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionGetRequest + * @memberof flyteidl.admin.ExecutionQueueAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowExecutionGetRequest.verify = function verify(message) { + ExecutionQueueAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; + if (message.tags != null && message.hasOwnProperty("tags")) { + if (!Array.isArray(message.tags)) + return "tags: array expected"; + for (var i = 0; i < message.tags.length; ++i) + if (!$util.isString(message.tags[i])) + return "tags: string[] expected"; } return null; }; - return WorkflowExecutionGetRequest; + return ExecutionQueueAttributes; })(); - admin.Execution = (function() { + admin.ExecutionClusterLabel = (function() { /** - * Properties of an Execution. + * Properties of an ExecutionClusterLabel. * @memberof flyteidl.admin - * @interface IExecution - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] Execution id - * @property {flyteidl.admin.IExecutionSpec|null} [spec] Execution spec - * @property {flyteidl.admin.IExecutionClosure|null} [closure] Execution closure + * @interface IExecutionClusterLabel + * @property {string|null} [value] ExecutionClusterLabel value */ /** - * Constructs a new Execution. + * Constructs a new ExecutionClusterLabel. * @memberof flyteidl.admin - * @classdesc Represents an Execution. - * @implements IExecution + * @classdesc Represents an ExecutionClusterLabel. + * @implements IExecutionClusterLabel * @constructor - * @param {flyteidl.admin.IExecution=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionClusterLabel=} [properties] Properties to set */ - function Execution(properties) { + function ExecutionClusterLabel(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -33311,88 +33348,62 @@ } /** - * Execution id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.Execution - * @instance - */ - Execution.prototype.id = null; - - /** - * Execution spec. - * @member {flyteidl.admin.IExecutionSpec|null|undefined} spec - * @memberof flyteidl.admin.Execution - * @instance - */ - Execution.prototype.spec = null; - - /** - * Execution closure. - * @member {flyteidl.admin.IExecutionClosure|null|undefined} closure - * @memberof flyteidl.admin.Execution + * ExecutionClusterLabel value. + * @member {string} value + * @memberof flyteidl.admin.ExecutionClusterLabel * @instance */ - Execution.prototype.closure = null; + ExecutionClusterLabel.prototype.value = ""; /** - * Creates a new Execution instance using the specified properties. + * Creates a new ExecutionClusterLabel instance using the specified properties. * @function create - * @memberof flyteidl.admin.Execution + * @memberof flyteidl.admin.ExecutionClusterLabel * @static - * @param {flyteidl.admin.IExecution=} [properties] Properties to set - * @returns {flyteidl.admin.Execution} Execution instance + * @param {flyteidl.admin.IExecutionClusterLabel=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionClusterLabel} ExecutionClusterLabel instance */ - Execution.create = function create(properties) { - return new Execution(properties); + ExecutionClusterLabel.create = function create(properties) { + return new ExecutionClusterLabel(properties); }; /** - * Encodes the specified Execution message. Does not implicitly {@link flyteidl.admin.Execution.verify|verify} messages. + * Encodes the specified ExecutionClusterLabel message. Does not implicitly {@link flyteidl.admin.ExecutionClusterLabel.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Execution + * @memberof flyteidl.admin.ExecutionClusterLabel * @static - * @param {flyteidl.admin.IExecution} message Execution message or plain object to encode + * @param {flyteidl.admin.IExecutionClusterLabel} message ExecutionClusterLabel message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Execution.encode = function encode(message, writer) { + ExecutionClusterLabel.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.spec != null && message.hasOwnProperty("spec")) - $root.flyteidl.admin.ExecutionSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.closure != null && message.hasOwnProperty("closure")) - $root.flyteidl.admin.ExecutionClosure.encode(message.closure, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.value != null && message.hasOwnProperty("value")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.value); return writer; }; /** - * Decodes an Execution message from the specified reader or buffer. + * Decodes an ExecutionClusterLabel message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Execution + * @memberof flyteidl.admin.ExecutionClusterLabel * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Execution} Execution + * @returns {flyteidl.admin.ExecutionClusterLabel} ExecutionClusterLabel * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Execution.decode = function decode(reader, length) { + ExecutionClusterLabel.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Execution(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionClusterLabel(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 2: - message.spec = $root.flyteidl.admin.ExecutionSpec.decode(reader, reader.uint32()); - break; - case 3: - message.closure = $root.flyteidl.admin.ExecutionClosure.decode(reader, reader.uint32()); + message.value = reader.string(); break; default: reader.skipType(tag & 7); @@ -33403,57 +33414,46 @@ }; /** - * Verifies an Execution message. + * Verifies an ExecutionClusterLabel message. * @function verify - * @memberof flyteidl.admin.Execution + * @memberof flyteidl.admin.ExecutionClusterLabel * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Execution.verify = function verify(message) { + ExecutionClusterLabel.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.spec != null && message.hasOwnProperty("spec")) { - var error = $root.flyteidl.admin.ExecutionSpec.verify(message.spec); - if (error) - return "spec." + error; - } - if (message.closure != null && message.hasOwnProperty("closure")) { - var error = $root.flyteidl.admin.ExecutionClosure.verify(message.closure); - if (error) - return "closure." + error; - } + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isString(message.value)) + return "value: string expected"; return null; }; - return Execution; + return ExecutionClusterLabel; })(); - admin.ExecutionList = (function() { + admin.PluginOverride = (function() { /** - * Properties of an ExecutionList. + * Properties of a PluginOverride. * @memberof flyteidl.admin - * @interface IExecutionList - * @property {Array.|null} [executions] ExecutionList executions - * @property {string|null} [token] ExecutionList token + * @interface IPluginOverride + * @property {string|null} [taskType] PluginOverride taskType + * @property {Array.|null} [pluginId] PluginOverride pluginId + * @property {flyteidl.admin.PluginOverride.MissingPluginBehavior|null} [missingPluginBehavior] PluginOverride missingPluginBehavior */ /** - * Constructs a new ExecutionList. + * Constructs a new PluginOverride. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionList. - * @implements IExecutionList + * @classdesc Represents a PluginOverride. + * @implements IPluginOverride * @constructor - * @param {flyteidl.admin.IExecutionList=} [properties] Properties to set + * @param {flyteidl.admin.IPluginOverride=} [properties] Properties to set */ - function ExecutionList(properties) { - this.executions = []; + function PluginOverride(properties) { + this.pluginId = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -33461,78 +33461,91 @@ } /** - * ExecutionList executions. - * @member {Array.} executions - * @memberof flyteidl.admin.ExecutionList + * PluginOverride taskType. + * @member {string} taskType + * @memberof flyteidl.admin.PluginOverride * @instance */ - ExecutionList.prototype.executions = $util.emptyArray; + PluginOverride.prototype.taskType = ""; /** - * ExecutionList token. - * @member {string} token - * @memberof flyteidl.admin.ExecutionList + * PluginOverride pluginId. + * @member {Array.} pluginId + * @memberof flyteidl.admin.PluginOverride * @instance */ - ExecutionList.prototype.token = ""; + PluginOverride.prototype.pluginId = $util.emptyArray; /** - * Creates a new ExecutionList instance using the specified properties. + * PluginOverride missingPluginBehavior. + * @member {flyteidl.admin.PluginOverride.MissingPluginBehavior} missingPluginBehavior + * @memberof flyteidl.admin.PluginOverride + * @instance + */ + PluginOverride.prototype.missingPluginBehavior = 0; + + /** + * Creates a new PluginOverride instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionList + * @memberof flyteidl.admin.PluginOverride * @static - * @param {flyteidl.admin.IExecutionList=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionList} ExecutionList instance + * @param {flyteidl.admin.IPluginOverride=} [properties] Properties to set + * @returns {flyteidl.admin.PluginOverride} PluginOverride instance */ - ExecutionList.create = function create(properties) { - return new ExecutionList(properties); + PluginOverride.create = function create(properties) { + return new PluginOverride(properties); }; /** - * Encodes the specified ExecutionList message. Does not implicitly {@link flyteidl.admin.ExecutionList.verify|verify} messages. + * Encodes the specified PluginOverride message. Does not implicitly {@link flyteidl.admin.PluginOverride.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionList + * @memberof flyteidl.admin.PluginOverride * @static - * @param {flyteidl.admin.IExecutionList} message ExecutionList message or plain object to encode + * @param {flyteidl.admin.IPluginOverride} message PluginOverride message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionList.encode = function encode(message, writer) { + PluginOverride.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.executions != null && message.executions.length) - for (var i = 0; i < message.executions.length; ++i) - $root.flyteidl.admin.Execution.encode(message.executions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.taskType != null && message.hasOwnProperty("taskType")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.taskType); + if (message.pluginId != null && message.pluginId.length) + for (var i = 0; i < message.pluginId.length; ++i) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.pluginId[i]); + if (message.missingPluginBehavior != null && message.hasOwnProperty("missingPluginBehavior")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.missingPluginBehavior); return writer; }; /** - * Decodes an ExecutionList message from the specified reader or buffer. + * Decodes a PluginOverride message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionList + * @memberof flyteidl.admin.PluginOverride * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionList} ExecutionList + * @returns {flyteidl.admin.PluginOverride} PluginOverride * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionList.decode = function decode(reader, length) { + PluginOverride.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionList(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.PluginOverride(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.executions && message.executions.length)) - message.executions = []; - message.executions.push($root.flyteidl.admin.Execution.decode(reader, reader.uint32())); + message.taskType = reader.string(); break; case 2: - message.token = reader.string(); + if (!(message.pluginId && message.pluginId.length)) + message.pluginId = []; + message.pluginId.push(reader.string()); + break; + case 4: + message.missingPluginBehavior = reader.int32(); break; default: reader.skipType(tag & 7); @@ -33543,143 +33556,139 @@ }; /** - * Verifies an ExecutionList message. + * Verifies a PluginOverride message. * @function verify - * @memberof flyteidl.admin.ExecutionList + * @memberof flyteidl.admin.PluginOverride * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionList.verify = function verify(message) { + PluginOverride.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.executions != null && message.hasOwnProperty("executions")) { - if (!Array.isArray(message.executions)) - return "executions: array expected"; - for (var i = 0; i < message.executions.length; ++i) { - var error = $root.flyteidl.admin.Execution.verify(message.executions[i]); - if (error) - return "executions." + error; - } + if (message.taskType != null && message.hasOwnProperty("taskType")) + if (!$util.isString(message.taskType)) + return "taskType: string expected"; + if (message.pluginId != null && message.hasOwnProperty("pluginId")) { + if (!Array.isArray(message.pluginId)) + return "pluginId: array expected"; + for (var i = 0; i < message.pluginId.length; ++i) + if (!$util.isString(message.pluginId[i])) + return "pluginId: string[] expected"; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; + if (message.missingPluginBehavior != null && message.hasOwnProperty("missingPluginBehavior")) + switch (message.missingPluginBehavior) { + default: + return "missingPluginBehavior: enum value expected"; + case 0: + case 1: + break; + } return null; }; - return ExecutionList; + /** + * MissingPluginBehavior enum. + * @name flyteidl.admin.PluginOverride.MissingPluginBehavior + * @enum {string} + * @property {number} FAIL=0 FAIL value + * @property {number} USE_DEFAULT=1 USE_DEFAULT value + */ + PluginOverride.MissingPluginBehavior = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "FAIL"] = 0; + values[valuesById[1] = "USE_DEFAULT"] = 1; + return values; + })(); + + return PluginOverride; })(); - admin.LiteralMapBlob = (function() { + admin.PluginOverrides = (function() { /** - * Properties of a LiteralMapBlob. + * Properties of a PluginOverrides. * @memberof flyteidl.admin - * @interface ILiteralMapBlob - * @property {flyteidl.core.ILiteralMap|null} [values] LiteralMapBlob values - * @property {string|null} [uri] LiteralMapBlob uri + * @interface IPluginOverrides + * @property {Array.|null} [overrides] PluginOverrides overrides */ /** - * Constructs a new LiteralMapBlob. + * Constructs a new PluginOverrides. * @memberof flyteidl.admin - * @classdesc Represents a LiteralMapBlob. - * @implements ILiteralMapBlob + * @classdesc Represents a PluginOverrides. + * @implements IPluginOverrides * @constructor - * @param {flyteidl.admin.ILiteralMapBlob=} [properties] Properties to set - */ - function LiteralMapBlob(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * LiteralMapBlob values. - * @member {flyteidl.core.ILiteralMap|null|undefined} values - * @memberof flyteidl.admin.LiteralMapBlob - * @instance - */ - LiteralMapBlob.prototype.values = null; - - /** - * LiteralMapBlob uri. - * @member {string} uri - * @memberof flyteidl.admin.LiteralMapBlob - * @instance + * @param {flyteidl.admin.IPluginOverrides=} [properties] Properties to set */ - LiteralMapBlob.prototype.uri = ""; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + function PluginOverrides(properties) { + this.overrides = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } /** - * LiteralMapBlob data. - * @member {"values"|"uri"|undefined} data - * @memberof flyteidl.admin.LiteralMapBlob + * PluginOverrides overrides. + * @member {Array.} overrides + * @memberof flyteidl.admin.PluginOverrides * @instance */ - Object.defineProperty(LiteralMapBlob.prototype, "data", { - get: $util.oneOfGetter($oneOfFields = ["values", "uri"]), - set: $util.oneOfSetter($oneOfFields) - }); + PluginOverrides.prototype.overrides = $util.emptyArray; /** - * Creates a new LiteralMapBlob instance using the specified properties. + * Creates a new PluginOverrides instance using the specified properties. * @function create - * @memberof flyteidl.admin.LiteralMapBlob + * @memberof flyteidl.admin.PluginOverrides * @static - * @param {flyteidl.admin.ILiteralMapBlob=} [properties] Properties to set - * @returns {flyteidl.admin.LiteralMapBlob} LiteralMapBlob instance + * @param {flyteidl.admin.IPluginOverrides=} [properties] Properties to set + * @returns {flyteidl.admin.PluginOverrides} PluginOverrides instance */ - LiteralMapBlob.create = function create(properties) { - return new LiteralMapBlob(properties); + PluginOverrides.create = function create(properties) { + return new PluginOverrides(properties); }; /** - * Encodes the specified LiteralMapBlob message. Does not implicitly {@link flyteidl.admin.LiteralMapBlob.verify|verify} messages. + * Encodes the specified PluginOverrides message. Does not implicitly {@link flyteidl.admin.PluginOverrides.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LiteralMapBlob + * @memberof flyteidl.admin.PluginOverrides * @static - * @param {flyteidl.admin.ILiteralMapBlob} message LiteralMapBlob message or plain object to encode + * @param {flyteidl.admin.IPluginOverrides} message PluginOverrides message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LiteralMapBlob.encode = function encode(message, writer) { + PluginOverrides.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.values != null && message.hasOwnProperty("values")) - $root.flyteidl.core.LiteralMap.encode(message.values, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.uri != null && message.hasOwnProperty("uri")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.uri); + if (message.overrides != null && message.overrides.length) + for (var i = 0; i < message.overrides.length; ++i) + $root.flyteidl.admin.PluginOverride.encode(message.overrides[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a LiteralMapBlob message from the specified reader or buffer. + * Decodes a PluginOverrides message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LiteralMapBlob + * @memberof flyteidl.admin.PluginOverrides * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.LiteralMapBlob} LiteralMapBlob + * @returns {flyteidl.admin.PluginOverrides} PluginOverrides * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LiteralMapBlob.decode = function decode(reader, length) { + PluginOverrides.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LiteralMapBlob(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.PluginOverrides(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.values = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 2: - message.uri = reader.string(); + if (!(message.overrides && message.overrides.length)) + message.overrides = []; + message.overrides.push($root.flyteidl.admin.PluginOverride.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -33690,57 +33699,58 @@ }; /** - * Verifies a LiteralMapBlob message. + * Verifies a PluginOverrides message. * @function verify - * @memberof flyteidl.admin.LiteralMapBlob + * @memberof flyteidl.admin.PluginOverrides * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LiteralMapBlob.verify = function verify(message) { + PluginOverrides.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.values != null && message.hasOwnProperty("values")) { - properties.data = 1; - { - var error = $root.flyteidl.core.LiteralMap.verify(message.values); + if (message.overrides != null && message.hasOwnProperty("overrides")) { + if (!Array.isArray(message.overrides)) + return "overrides: array expected"; + for (var i = 0; i < message.overrides.length; ++i) { + var error = $root.flyteidl.admin.PluginOverride.verify(message.overrides[i]); if (error) - return "values." + error; + return "overrides." + error; } } - if (message.uri != null && message.hasOwnProperty("uri")) { - if (properties.data === 1) - return "data: multiple values"; - properties.data = 1; - if (!$util.isString(message.uri)) - return "uri: string expected"; - } return null; }; - return LiteralMapBlob; + return PluginOverrides; })(); - admin.AbortMetadata = (function() { + admin.WorkflowExecutionConfig = (function() { /** - * Properties of an AbortMetadata. + * Properties of a WorkflowExecutionConfig. * @memberof flyteidl.admin - * @interface IAbortMetadata - * @property {string|null} [cause] AbortMetadata cause - * @property {string|null} [principal] AbortMetadata principal + * @interface IWorkflowExecutionConfig + * @property {number|null} [maxParallelism] WorkflowExecutionConfig maxParallelism + * @property {flyteidl.core.ISecurityContext|null} [securityContext] WorkflowExecutionConfig securityContext + * @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] WorkflowExecutionConfig rawOutputDataConfig + * @property {flyteidl.admin.ILabels|null} [labels] WorkflowExecutionConfig labels + * @property {flyteidl.admin.IAnnotations|null} [annotations] WorkflowExecutionConfig annotations + * @property {google.protobuf.IBoolValue|null} [interruptible] WorkflowExecutionConfig interruptible + * @property {boolean|null} [overwriteCache] WorkflowExecutionConfig overwriteCache + * @property {flyteidl.admin.IEnvs|null} [envs] WorkflowExecutionConfig envs + * @property {Array.|null} [executionEnvAssignments] WorkflowExecutionConfig executionEnvAssignments */ /** - * Constructs a new AbortMetadata. + * Constructs a new WorkflowExecutionConfig. * @memberof flyteidl.admin - * @classdesc Represents an AbortMetadata. - * @implements IAbortMetadata + * @classdesc Represents a WorkflowExecutionConfig. + * @implements IWorkflowExecutionConfig * @constructor - * @param {flyteidl.admin.IAbortMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowExecutionConfig=} [properties] Properties to set */ - function AbortMetadata(properties) { + function WorkflowExecutionConfig(properties) { + this.executionEnvAssignments = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -33748,75 +33758,169 @@ } /** - * AbortMetadata cause. - * @member {string} cause - * @memberof flyteidl.admin.AbortMetadata + * WorkflowExecutionConfig maxParallelism. + * @member {number} maxParallelism + * @memberof flyteidl.admin.WorkflowExecutionConfig * @instance */ - AbortMetadata.prototype.cause = ""; + WorkflowExecutionConfig.prototype.maxParallelism = 0; /** - * AbortMetadata principal. - * @member {string} principal - * @memberof flyteidl.admin.AbortMetadata + * WorkflowExecutionConfig securityContext. + * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext + * @memberof flyteidl.admin.WorkflowExecutionConfig * @instance */ - AbortMetadata.prototype.principal = ""; + WorkflowExecutionConfig.prototype.securityContext = null; /** - * Creates a new AbortMetadata instance using the specified properties. + * WorkflowExecutionConfig rawOutputDataConfig. + * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig + * @memberof flyteidl.admin.WorkflowExecutionConfig + * @instance + */ + WorkflowExecutionConfig.prototype.rawOutputDataConfig = null; + + /** + * WorkflowExecutionConfig labels. + * @member {flyteidl.admin.ILabels|null|undefined} labels + * @memberof flyteidl.admin.WorkflowExecutionConfig + * @instance + */ + WorkflowExecutionConfig.prototype.labels = null; + + /** + * WorkflowExecutionConfig annotations. + * @member {flyteidl.admin.IAnnotations|null|undefined} annotations + * @memberof flyteidl.admin.WorkflowExecutionConfig + * @instance + */ + WorkflowExecutionConfig.prototype.annotations = null; + + /** + * WorkflowExecutionConfig interruptible. + * @member {google.protobuf.IBoolValue|null|undefined} interruptible + * @memberof flyteidl.admin.WorkflowExecutionConfig + * @instance + */ + WorkflowExecutionConfig.prototype.interruptible = null; + + /** + * WorkflowExecutionConfig overwriteCache. + * @member {boolean} overwriteCache + * @memberof flyteidl.admin.WorkflowExecutionConfig + * @instance + */ + WorkflowExecutionConfig.prototype.overwriteCache = false; + + /** + * WorkflowExecutionConfig envs. + * @member {flyteidl.admin.IEnvs|null|undefined} envs + * @memberof flyteidl.admin.WorkflowExecutionConfig + * @instance + */ + WorkflowExecutionConfig.prototype.envs = null; + + /** + * WorkflowExecutionConfig executionEnvAssignments. + * @member {Array.} executionEnvAssignments + * @memberof flyteidl.admin.WorkflowExecutionConfig + * @instance + */ + WorkflowExecutionConfig.prototype.executionEnvAssignments = $util.emptyArray; + + /** + * Creates a new WorkflowExecutionConfig instance using the specified properties. * @function create - * @memberof flyteidl.admin.AbortMetadata + * @memberof flyteidl.admin.WorkflowExecutionConfig * @static - * @param {flyteidl.admin.IAbortMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.AbortMetadata} AbortMetadata instance + * @param {flyteidl.admin.IWorkflowExecutionConfig=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowExecutionConfig} WorkflowExecutionConfig instance */ - AbortMetadata.create = function create(properties) { - return new AbortMetadata(properties); + WorkflowExecutionConfig.create = function create(properties) { + return new WorkflowExecutionConfig(properties); }; /** - * Encodes the specified AbortMetadata message. Does not implicitly {@link flyteidl.admin.AbortMetadata.verify|verify} messages. + * Encodes the specified WorkflowExecutionConfig message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionConfig.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.AbortMetadata + * @memberof flyteidl.admin.WorkflowExecutionConfig * @static - * @param {flyteidl.admin.IAbortMetadata} message AbortMetadata message or plain object to encode + * @param {flyteidl.admin.IWorkflowExecutionConfig} message WorkflowExecutionConfig message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - AbortMetadata.encode = function encode(message, writer) { + WorkflowExecutionConfig.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.cause != null && message.hasOwnProperty("cause")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.cause); - if (message.principal != null && message.hasOwnProperty("principal")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.principal); + if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.maxParallelism); + if (message.securityContext != null && message.hasOwnProperty("securityContext")) + $root.flyteidl.core.SecurityContext.encode(message.securityContext, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) + $root.flyteidl.admin.RawOutputDataConfig.encode(message.rawOutputDataConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.labels != null && message.hasOwnProperty("labels")) + $root.flyteidl.admin.Labels.encode(message.labels, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.annotations != null && message.hasOwnProperty("annotations")) + $root.flyteidl.admin.Annotations.encode(message.annotations, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.interruptible != null && message.hasOwnProperty("interruptible")) + $root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) + writer.uint32(/* id 7, wireType 0 =*/56).bool(message.overwriteCache); + if (message.envs != null && message.hasOwnProperty("envs")) + $root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.executionEnvAssignments != null && message.executionEnvAssignments.length) + for (var i = 0; i < message.executionEnvAssignments.length; ++i) + $root.flyteidl.core.ExecutionEnvAssignment.encode(message.executionEnvAssignments[i], writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); return writer; }; /** - * Decodes an AbortMetadata message from the specified reader or buffer. + * Decodes a WorkflowExecutionConfig message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.AbortMetadata + * @memberof flyteidl.admin.WorkflowExecutionConfig * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.AbortMetadata} AbortMetadata + * @returns {flyteidl.admin.WorkflowExecutionConfig} WorkflowExecutionConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - AbortMetadata.decode = function decode(reader, length) { + WorkflowExecutionConfig.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.AbortMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionConfig(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.cause = reader.string(); + message.maxParallelism = reader.int32(); break; case 2: - message.principal = reader.string(); + message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32()); + break; + case 3: + message.rawOutputDataConfig = $root.flyteidl.admin.RawOutputDataConfig.decode(reader, reader.uint32()); + break; + case 4: + message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32()); + break; + case 5: + message.annotations = $root.flyteidl.admin.Annotations.decode(reader, reader.uint32()); + break; + case 6: + message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + case 7: + message.overwriteCache = reader.bool(); + break; + case 8: + message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32()); + break; + case 9: + if (!(message.executionEnvAssignments && message.executionEnvAssignments.length)) + message.executionEnvAssignments = []; + message.executionEnvAssignments.push($root.flyteidl.core.ExecutionEnvAssignment.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -33827,60 +33931,92 @@ }; /** - * Verifies an AbortMetadata message. + * Verifies a WorkflowExecutionConfig message. * @function verify - * @memberof flyteidl.admin.AbortMetadata + * @memberof flyteidl.admin.WorkflowExecutionConfig * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - AbortMetadata.verify = function verify(message) { + WorkflowExecutionConfig.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.cause != null && message.hasOwnProperty("cause")) - if (!$util.isString(message.cause)) - return "cause: string expected"; - if (message.principal != null && message.hasOwnProperty("principal")) - if (!$util.isString(message.principal)) - return "principal: string expected"; + if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) + if (!$util.isInteger(message.maxParallelism)) + return "maxParallelism: integer expected"; + if (message.securityContext != null && message.hasOwnProperty("securityContext")) { + var error = $root.flyteidl.core.SecurityContext.verify(message.securityContext); + if (error) + return "securityContext." + error; + } + if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) { + var error = $root.flyteidl.admin.RawOutputDataConfig.verify(message.rawOutputDataConfig); + if (error) + return "rawOutputDataConfig." + error; + } + if (message.labels != null && message.hasOwnProperty("labels")) { + var error = $root.flyteidl.admin.Labels.verify(message.labels); + if (error) + return "labels." + error; + } + if (message.annotations != null && message.hasOwnProperty("annotations")) { + var error = $root.flyteidl.admin.Annotations.verify(message.annotations); + if (error) + return "annotations." + error; + } + if (message.interruptible != null && message.hasOwnProperty("interruptible")) { + var error = $root.google.protobuf.BoolValue.verify(message.interruptible); + if (error) + return "interruptible." + error; + } + if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) + if (typeof message.overwriteCache !== "boolean") + return "overwriteCache: boolean expected"; + if (message.envs != null && message.hasOwnProperty("envs")) { + var error = $root.flyteidl.admin.Envs.verify(message.envs); + if (error) + return "envs." + error; + } + if (message.executionEnvAssignments != null && message.hasOwnProperty("executionEnvAssignments")) { + if (!Array.isArray(message.executionEnvAssignments)) + return "executionEnvAssignments: array expected"; + for (var i = 0; i < message.executionEnvAssignments.length; ++i) { + var error = $root.flyteidl.core.ExecutionEnvAssignment.verify(message.executionEnvAssignments[i]); + if (error) + return "executionEnvAssignments." + error; + } + } return null; }; - return AbortMetadata; + return WorkflowExecutionConfig; })(); - admin.ExecutionClosure = (function() { + admin.MatchingAttributes = (function() { /** - * Properties of an ExecutionClosure. + * Properties of a MatchingAttributes. * @memberof flyteidl.admin - * @interface IExecutionClosure - * @property {flyteidl.admin.ILiteralMapBlob|null} [outputs] ExecutionClosure outputs - * @property {flyteidl.core.IExecutionError|null} [error] ExecutionClosure error - * @property {string|null} [abortCause] ExecutionClosure abortCause - * @property {flyteidl.admin.IAbortMetadata|null} [abortMetadata] ExecutionClosure abortMetadata - * @property {flyteidl.core.ILiteralMap|null} [outputData] ExecutionClosure outputData - * @property {flyteidl.core.ILiteralMap|null} [computedInputs] ExecutionClosure computedInputs - * @property {flyteidl.core.WorkflowExecution.Phase|null} [phase] ExecutionClosure phase - * @property {google.protobuf.ITimestamp|null} [startedAt] ExecutionClosure startedAt - * @property {google.protobuf.IDuration|null} [duration] ExecutionClosure duration - * @property {google.protobuf.ITimestamp|null} [createdAt] ExecutionClosure createdAt - * @property {google.protobuf.ITimestamp|null} [updatedAt] ExecutionClosure updatedAt - * @property {Array.|null} [notifications] ExecutionClosure notifications - * @property {flyteidl.core.IIdentifier|null} [workflowId] ExecutionClosure workflowId - * @property {flyteidl.admin.IExecutionStateChangeDetails|null} [stateChangeDetails] ExecutionClosure stateChangeDetails + * @interface IMatchingAttributes + * @property {flyteidl.admin.ITaskResourceAttributes|null} [taskResourceAttributes] MatchingAttributes taskResourceAttributes + * @property {flyteidl.admin.IClusterResourceAttributes|null} [clusterResourceAttributes] MatchingAttributes clusterResourceAttributes + * @property {flyteidl.admin.IExecutionQueueAttributes|null} [executionQueueAttributes] MatchingAttributes executionQueueAttributes + * @property {flyteidl.admin.IExecutionClusterLabel|null} [executionClusterLabel] MatchingAttributes executionClusterLabel + * @property {flyteidl.core.IQualityOfService|null} [qualityOfService] MatchingAttributes qualityOfService + * @property {flyteidl.admin.IPluginOverrides|null} [pluginOverrides] MatchingAttributes pluginOverrides + * @property {flyteidl.admin.IWorkflowExecutionConfig|null} [workflowExecutionConfig] MatchingAttributes workflowExecutionConfig + * @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] MatchingAttributes clusterAssignment */ /** - * Constructs a new ExecutionClosure. + * Constructs a new MatchingAttributes. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionClosure. - * @implements IExecutionClosure + * @classdesc Represents a MatchingAttributes. + * @implements IMatchingAttributes * @constructor - * @param {flyteidl.admin.IExecutionClosure=} [properties] Properties to set + * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set */ - function ExecutionClosure(properties) { - this.notifications = []; + function MatchingAttributes(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -33888,248 +34024,167 @@ } /** - * ExecutionClosure outputs. - * @member {flyteidl.admin.ILiteralMapBlob|null|undefined} outputs - * @memberof flyteidl.admin.ExecutionClosure - * @instance - */ - ExecutionClosure.prototype.outputs = null; - - /** - * ExecutionClosure error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.admin.ExecutionClosure - * @instance - */ - ExecutionClosure.prototype.error = null; - - /** - * ExecutionClosure abortCause. - * @member {string} abortCause - * @memberof flyteidl.admin.ExecutionClosure - * @instance - */ - ExecutionClosure.prototype.abortCause = ""; - - /** - * ExecutionClosure abortMetadata. - * @member {flyteidl.admin.IAbortMetadata|null|undefined} abortMetadata - * @memberof flyteidl.admin.ExecutionClosure - * @instance - */ - ExecutionClosure.prototype.abortMetadata = null; - - /** - * ExecutionClosure outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.admin.ExecutionClosure - * @instance - */ - ExecutionClosure.prototype.outputData = null; - - /** - * ExecutionClosure computedInputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} computedInputs - * @memberof flyteidl.admin.ExecutionClosure - * @instance - */ - ExecutionClosure.prototype.computedInputs = null; - - /** - * ExecutionClosure phase. - * @member {flyteidl.core.WorkflowExecution.Phase} phase - * @memberof flyteidl.admin.ExecutionClosure + * MatchingAttributes taskResourceAttributes. + * @member {flyteidl.admin.ITaskResourceAttributes|null|undefined} taskResourceAttributes + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - ExecutionClosure.prototype.phase = 0; + MatchingAttributes.prototype.taskResourceAttributes = null; /** - * ExecutionClosure startedAt. - * @member {google.protobuf.ITimestamp|null|undefined} startedAt - * @memberof flyteidl.admin.ExecutionClosure + * MatchingAttributes clusterResourceAttributes. + * @member {flyteidl.admin.IClusterResourceAttributes|null|undefined} clusterResourceAttributes + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - ExecutionClosure.prototype.startedAt = null; + MatchingAttributes.prototype.clusterResourceAttributes = null; /** - * ExecutionClosure duration. - * @member {google.protobuf.IDuration|null|undefined} duration - * @memberof flyteidl.admin.ExecutionClosure + * MatchingAttributes executionQueueAttributes. + * @member {flyteidl.admin.IExecutionQueueAttributes|null|undefined} executionQueueAttributes + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - ExecutionClosure.prototype.duration = null; + MatchingAttributes.prototype.executionQueueAttributes = null; /** - * ExecutionClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.ExecutionClosure + * MatchingAttributes executionClusterLabel. + * @member {flyteidl.admin.IExecutionClusterLabel|null|undefined} executionClusterLabel + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - ExecutionClosure.prototype.createdAt = null; + MatchingAttributes.prototype.executionClusterLabel = null; /** - * ExecutionClosure updatedAt. - * @member {google.protobuf.ITimestamp|null|undefined} updatedAt - * @memberof flyteidl.admin.ExecutionClosure + * MatchingAttributes qualityOfService. + * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - ExecutionClosure.prototype.updatedAt = null; + MatchingAttributes.prototype.qualityOfService = null; /** - * ExecutionClosure notifications. - * @member {Array.} notifications - * @memberof flyteidl.admin.ExecutionClosure + * MatchingAttributes pluginOverrides. + * @member {flyteidl.admin.IPluginOverrides|null|undefined} pluginOverrides + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - ExecutionClosure.prototype.notifications = $util.emptyArray; + MatchingAttributes.prototype.pluginOverrides = null; /** - * ExecutionClosure workflowId. - * @member {flyteidl.core.IIdentifier|null|undefined} workflowId - * @memberof flyteidl.admin.ExecutionClosure + * MatchingAttributes workflowExecutionConfig. + * @member {flyteidl.admin.IWorkflowExecutionConfig|null|undefined} workflowExecutionConfig + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - ExecutionClosure.prototype.workflowId = null; + MatchingAttributes.prototype.workflowExecutionConfig = null; /** - * ExecutionClosure stateChangeDetails. - * @member {flyteidl.admin.IExecutionStateChangeDetails|null|undefined} stateChangeDetails - * @memberof flyteidl.admin.ExecutionClosure + * MatchingAttributes clusterAssignment. + * @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignment + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - ExecutionClosure.prototype.stateChangeDetails = null; + MatchingAttributes.prototype.clusterAssignment = null; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * ExecutionClosure outputResult. - * @member {"outputs"|"error"|"abortCause"|"abortMetadata"|"outputData"|undefined} outputResult - * @memberof flyteidl.admin.ExecutionClosure + * MatchingAttributes target. + * @member {"taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment"|undefined} target + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - Object.defineProperty(ExecutionClosure.prototype, "outputResult", { - get: $util.oneOfGetter($oneOfFields = ["outputs", "error", "abortCause", "abortMetadata", "outputData"]), + Object.defineProperty(MatchingAttributes.prototype, "target", { + get: $util.oneOfGetter($oneOfFields = ["taskResourceAttributes", "clusterResourceAttributes", "executionQueueAttributes", "executionClusterLabel", "qualityOfService", "pluginOverrides", "workflowExecutionConfig", "clusterAssignment"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new ExecutionClosure instance using the specified properties. + * Creates a new MatchingAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionClosure + * @memberof flyteidl.admin.MatchingAttributes * @static - * @param {flyteidl.admin.IExecutionClosure=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionClosure} ExecutionClosure instance + * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.MatchingAttributes} MatchingAttributes instance */ - ExecutionClosure.create = function create(properties) { - return new ExecutionClosure(properties); + MatchingAttributes.create = function create(properties) { + return new MatchingAttributes(properties); }; /** - * Encodes the specified ExecutionClosure message. Does not implicitly {@link flyteidl.admin.ExecutionClosure.verify|verify} messages. + * Encodes the specified MatchingAttributes message. Does not implicitly {@link flyteidl.admin.MatchingAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionClosure + * @memberof flyteidl.admin.MatchingAttributes * @static - * @param {flyteidl.admin.IExecutionClosure} message ExecutionClosure message or plain object to encode + * @param {flyteidl.admin.IMatchingAttributes} message MatchingAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionClosure.encode = function encode(message, writer) { + MatchingAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.outputs != null && message.hasOwnProperty("outputs")) - $root.flyteidl.admin.LiteralMapBlob.encode(message.outputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.computedInputs != null && message.hasOwnProperty("computedInputs")) - $root.flyteidl.core.LiteralMap.encode(message.computedInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.phase != null && message.hasOwnProperty("phase")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.phase); - if (message.startedAt != null && message.hasOwnProperty("startedAt")) - $root.google.protobuf.Timestamp.encode(message.startedAt, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.duration != null && message.hasOwnProperty("duration")) - $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.createdAt != null && message.hasOwnProperty("createdAt")) - $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) - $root.google.protobuf.Timestamp.encode(message.updatedAt, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.notifications != null && message.notifications.length) - for (var i = 0; i < message.notifications.length; ++i) - $root.flyteidl.admin.Notification.encode(message.notifications[i], writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.abortCause != null && message.hasOwnProperty("abortCause")) - writer.uint32(/* id 10, wireType 2 =*/82).string(message.abortCause); - if (message.workflowId != null && message.hasOwnProperty("workflowId")) - $root.flyteidl.core.Identifier.encode(message.workflowId, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.abortMetadata != null && message.hasOwnProperty("abortMetadata")) - $root.flyteidl.admin.AbortMetadata.encode(message.abortMetadata, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); - if (message.outputData != null && message.hasOwnProperty("outputData")) - $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim(); - if (message.stateChangeDetails != null && message.hasOwnProperty("stateChangeDetails")) - $root.flyteidl.admin.ExecutionStateChangeDetails.encode(message.stateChangeDetails, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); + if (message.taskResourceAttributes != null && message.hasOwnProperty("taskResourceAttributes")) + $root.flyteidl.admin.TaskResourceAttributes.encode(message.taskResourceAttributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.clusterResourceAttributes != null && message.hasOwnProperty("clusterResourceAttributes")) + $root.flyteidl.admin.ClusterResourceAttributes.encode(message.clusterResourceAttributes, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.executionQueueAttributes != null && message.hasOwnProperty("executionQueueAttributes")) + $root.flyteidl.admin.ExecutionQueueAttributes.encode(message.executionQueueAttributes, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.executionClusterLabel != null && message.hasOwnProperty("executionClusterLabel")) + $root.flyteidl.admin.ExecutionClusterLabel.encode(message.executionClusterLabel, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) + $root.flyteidl.core.QualityOfService.encode(message.qualityOfService, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.pluginOverrides != null && message.hasOwnProperty("pluginOverrides")) + $root.flyteidl.admin.PluginOverrides.encode(message.pluginOverrides, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.workflowExecutionConfig != null && message.hasOwnProperty("workflowExecutionConfig")) + $root.flyteidl.admin.WorkflowExecutionConfig.encode(message.workflowExecutionConfig, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment")) + $root.flyteidl.admin.ClusterAssignment.encode(message.clusterAssignment, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); return writer; }; /** - * Decodes an ExecutionClosure message from the specified reader or buffer. + * Decodes a MatchingAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionClosure + * @memberof flyteidl.admin.MatchingAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionClosure} ExecutionClosure + * @returns {flyteidl.admin.MatchingAttributes} MatchingAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionClosure.decode = function decode(reader, length) { + MatchingAttributes.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionClosure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.MatchingAttributes(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.outputs = $root.flyteidl.admin.LiteralMapBlob.decode(reader, reader.uint32()); + message.taskResourceAttributes = $root.flyteidl.admin.TaskResourceAttributes.decode(reader, reader.uint32()); break; case 2: - message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); - break; - case 10: - message.abortCause = reader.string(); - break; - case 12: - message.abortMetadata = $root.flyteidl.admin.AbortMetadata.decode(reader, reader.uint32()); - break; - case 13: - message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.clusterResourceAttributes = $root.flyteidl.admin.ClusterResourceAttributes.decode(reader, reader.uint32()); break; case 3: - message.computedInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.executionQueueAttributes = $root.flyteidl.admin.ExecutionQueueAttributes.decode(reader, reader.uint32()); break; case 4: - message.phase = reader.int32(); + message.executionClusterLabel = $root.flyteidl.admin.ExecutionClusterLabel.decode(reader, reader.uint32()); break; case 5: - message.startedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.qualityOfService = $root.flyteidl.core.QualityOfService.decode(reader, reader.uint32()); break; case 6: - message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + message.pluginOverrides = $root.flyteidl.admin.PluginOverrides.decode(reader, reader.uint32()); break; case 7: - message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.workflowExecutionConfig = $root.flyteidl.admin.WorkflowExecutionConfig.decode(reader, reader.uint32()); break; case 8: - message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 9: - if (!(message.notifications && message.notifications.length)) - message.notifications = []; - message.notifications.push($root.flyteidl.admin.Notification.decode(reader, reader.uint32())); - break; - case 11: - message.workflowId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 14: - message.stateChangeDetails = $root.flyteidl.admin.ExecutionStateChangeDetails.decode(reader, reader.uint32()); + message.clusterAssignment = $root.flyteidl.admin.ClusterAssignment.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -34140,147 +34195,124 @@ }; /** - * Verifies an ExecutionClosure message. + * Verifies a MatchingAttributes message. * @function verify - * @memberof flyteidl.admin.ExecutionClosure + * @memberof flyteidl.admin.MatchingAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionClosure.verify = function verify(message) { + MatchingAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.outputs != null && message.hasOwnProperty("outputs")) { - properties.outputResult = 1; + if (message.taskResourceAttributes != null && message.hasOwnProperty("taskResourceAttributes")) { + properties.target = 1; { - var error = $root.flyteidl.admin.LiteralMapBlob.verify(message.outputs); + var error = $root.flyteidl.admin.TaskResourceAttributes.verify(message.taskResourceAttributes); if (error) - return "outputs." + error; + return "taskResourceAttributes." + error; } } - if (message.error != null && message.hasOwnProperty("error")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; + if (message.clusterResourceAttributes != null && message.hasOwnProperty("clusterResourceAttributes")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; { - var error = $root.flyteidl.core.ExecutionError.verify(message.error); + var error = $root.flyteidl.admin.ClusterResourceAttributes.verify(message.clusterResourceAttributes); if (error) - return "error." + error; + return "clusterResourceAttributes." + error; } } - if (message.abortCause != null && message.hasOwnProperty("abortCause")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - if (!$util.isString(message.abortCause)) - return "abortCause: string expected"; - } - if (message.abortMetadata != null && message.hasOwnProperty("abortMetadata")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; + if (message.executionQueueAttributes != null && message.hasOwnProperty("executionQueueAttributes")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; { - var error = $root.flyteidl.admin.AbortMetadata.verify(message.abortMetadata); + var error = $root.flyteidl.admin.ExecutionQueueAttributes.verify(message.executionQueueAttributes); if (error) - return "abortMetadata." + error; + return "executionQueueAttributes." + error; } } - if (message.outputData != null && message.hasOwnProperty("outputData")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; + if (message.executionClusterLabel != null && message.hasOwnProperty("executionClusterLabel")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); + var error = $root.flyteidl.admin.ExecutionClusterLabel.verify(message.executionClusterLabel); if (error) - return "outputData." + error; + return "executionClusterLabel." + error; } } - if (message.computedInputs != null && message.hasOwnProperty("computedInputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.computedInputs); - if (error) - return "computedInputs." + error; - } - if (message.phase != null && message.hasOwnProperty("phase")) - switch (message.phase) { - default: - return "phase: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - break; + if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + var error = $root.flyteidl.core.QualityOfService.verify(message.qualityOfService); + if (error) + return "qualityOfService." + error; } - if (message.startedAt != null && message.hasOwnProperty("startedAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.startedAt); - if (error) - return "startedAt." + error; - } - if (message.duration != null && message.hasOwnProperty("duration")) { - var error = $root.google.protobuf.Duration.verify(message.duration); - if (error) - return "duration." + error; - } - if (message.createdAt != null && message.hasOwnProperty("createdAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.createdAt); - if (error) - return "createdAt." + error; } - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.updatedAt); - if (error) - return "updatedAt." + error; - } - if (message.notifications != null && message.hasOwnProperty("notifications")) { - if (!Array.isArray(message.notifications)) - return "notifications: array expected"; - for (var i = 0; i < message.notifications.length; ++i) { - var error = $root.flyteidl.admin.Notification.verify(message.notifications[i]); + if (message.pluginOverrides != null && message.hasOwnProperty("pluginOverrides")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + var error = $root.flyteidl.admin.PluginOverrides.verify(message.pluginOverrides); if (error) - return "notifications." + error; + return "pluginOverrides." + error; } } - if (message.workflowId != null && message.hasOwnProperty("workflowId")) { - var error = $root.flyteidl.core.Identifier.verify(message.workflowId); - if (error) - return "workflowId." + error; + if (message.workflowExecutionConfig != null && message.hasOwnProperty("workflowExecutionConfig")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + var error = $root.flyteidl.admin.WorkflowExecutionConfig.verify(message.workflowExecutionConfig); + if (error) + return "workflowExecutionConfig." + error; + } } - if (message.stateChangeDetails != null && message.hasOwnProperty("stateChangeDetails")) { - var error = $root.flyteidl.admin.ExecutionStateChangeDetails.verify(message.stateChangeDetails); - if (error) - return "stateChangeDetails." + error; + if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + var error = $root.flyteidl.admin.ClusterAssignment.verify(message.clusterAssignment); + if (error) + return "clusterAssignment." + error; + } } return null; }; - return ExecutionClosure; + return MatchingAttributes; })(); - admin.SystemMetadata = (function() { + admin.MatchableAttributesConfiguration = (function() { /** - * Properties of a SystemMetadata. + * Properties of a MatchableAttributesConfiguration. * @memberof flyteidl.admin - * @interface ISystemMetadata - * @property {string|null} [executionCluster] SystemMetadata executionCluster - * @property {string|null} [namespace] SystemMetadata namespace + * @interface IMatchableAttributesConfiguration + * @property {flyteidl.admin.IMatchingAttributes|null} [attributes] MatchableAttributesConfiguration attributes + * @property {string|null} [domain] MatchableAttributesConfiguration domain + * @property {string|null} [project] MatchableAttributesConfiguration project + * @property {string|null} [workflow] MatchableAttributesConfiguration workflow + * @property {string|null} [launchPlan] MatchableAttributesConfiguration launchPlan + * @property {string|null} [org] MatchableAttributesConfiguration org */ /** - * Constructs a new SystemMetadata. + * Constructs a new MatchableAttributesConfiguration. * @memberof flyteidl.admin - * @classdesc Represents a SystemMetadata. - * @implements ISystemMetadata + * @classdesc Represents a MatchableAttributesConfiguration. + * @implements IMatchableAttributesConfiguration * @constructor - * @param {flyteidl.admin.ISystemMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IMatchableAttributesConfiguration=} [properties] Properties to set */ - function SystemMetadata(properties) { + function MatchableAttributesConfiguration(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -34288,75 +34320,127 @@ } /** - * SystemMetadata executionCluster. - * @member {string} executionCluster - * @memberof flyteidl.admin.SystemMetadata + * MatchableAttributesConfiguration attributes. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} attributes + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @instance */ - SystemMetadata.prototype.executionCluster = ""; + MatchableAttributesConfiguration.prototype.attributes = null; /** - * SystemMetadata namespace. - * @member {string} namespace - * @memberof flyteidl.admin.SystemMetadata + * MatchableAttributesConfiguration domain. + * @member {string} domain + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @instance */ - SystemMetadata.prototype.namespace = ""; + MatchableAttributesConfiguration.prototype.domain = ""; /** - * Creates a new SystemMetadata instance using the specified properties. + * MatchableAttributesConfiguration project. + * @member {string} project + * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @instance + */ + MatchableAttributesConfiguration.prototype.project = ""; + + /** + * MatchableAttributesConfiguration workflow. + * @member {string} workflow + * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @instance + */ + MatchableAttributesConfiguration.prototype.workflow = ""; + + /** + * MatchableAttributesConfiguration launchPlan. + * @member {string} launchPlan + * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @instance + */ + MatchableAttributesConfiguration.prototype.launchPlan = ""; + + /** + * MatchableAttributesConfiguration org. + * @member {string} org + * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @instance + */ + MatchableAttributesConfiguration.prototype.org = ""; + + /** + * Creates a new MatchableAttributesConfiguration instance using the specified properties. * @function create - * @memberof flyteidl.admin.SystemMetadata + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @static - * @param {flyteidl.admin.ISystemMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.SystemMetadata} SystemMetadata instance + * @param {flyteidl.admin.IMatchableAttributesConfiguration=} [properties] Properties to set + * @returns {flyteidl.admin.MatchableAttributesConfiguration} MatchableAttributesConfiguration instance */ - SystemMetadata.create = function create(properties) { - return new SystemMetadata(properties); + MatchableAttributesConfiguration.create = function create(properties) { + return new MatchableAttributesConfiguration(properties); }; /** - * Encodes the specified SystemMetadata message. Does not implicitly {@link flyteidl.admin.SystemMetadata.verify|verify} messages. + * Encodes the specified MatchableAttributesConfiguration message. Does not implicitly {@link flyteidl.admin.MatchableAttributesConfiguration.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SystemMetadata + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @static - * @param {flyteidl.admin.ISystemMetadata} message SystemMetadata message or plain object to encode + * @param {flyteidl.admin.IMatchableAttributesConfiguration} message MatchableAttributesConfiguration message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SystemMetadata.encode = function encode(message, writer) { + MatchableAttributesConfiguration.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.executionCluster != null && message.hasOwnProperty("executionCluster")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.executionCluster); - if (message.namespace != null && message.hasOwnProperty("namespace")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.namespace); + if (message.attributes != null && message.hasOwnProperty("attributes")) + $root.flyteidl.admin.MatchingAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.project); + if (message.workflow != null && message.hasOwnProperty("workflow")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.workflow); + if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.launchPlan); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.org); return writer; }; /** - * Decodes a SystemMetadata message from the specified reader or buffer. + * Decodes a MatchableAttributesConfiguration message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SystemMetadata + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.SystemMetadata} SystemMetadata + * @returns {flyteidl.admin.MatchableAttributesConfiguration} MatchableAttributesConfiguration * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SystemMetadata.decode = function decode(reader, length) { + MatchableAttributesConfiguration.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SystemMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.MatchableAttributesConfiguration(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.executionCluster = reader.string(); + message.attributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); break; case 2: - message.namespace = reader.string(); + message.domain = reader.string(); + break; + case 3: + message.project = reader.string(); + break; + case 4: + message.workflow = reader.string(); + break; + case 5: + message.launchPlan = reader.string(); + break; + case 6: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -34367,54 +34451,61 @@ }; /** - * Verifies a SystemMetadata message. + * Verifies a MatchableAttributesConfiguration message. * @function verify - * @memberof flyteidl.admin.SystemMetadata + * @memberof flyteidl.admin.MatchableAttributesConfiguration * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SystemMetadata.verify = function verify(message) { + MatchableAttributesConfiguration.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.executionCluster != null && message.hasOwnProperty("executionCluster")) - if (!$util.isString(message.executionCluster)) - return "executionCluster: string expected"; - if (message.namespace != null && message.hasOwnProperty("namespace")) - if (!$util.isString(message.namespace)) - return "namespace: string expected"; + if (message.attributes != null && message.hasOwnProperty("attributes")) { + var error = $root.flyteidl.admin.MatchingAttributes.verify(message.attributes); + if (error) + return "attributes." + error; + } + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.workflow != null && message.hasOwnProperty("workflow")) + if (!$util.isString(message.workflow)) + return "workflow: string expected"; + if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) + if (!$util.isString(message.launchPlan)) + return "launchPlan: string expected"; + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return SystemMetadata; + return MatchableAttributesConfiguration; })(); - admin.ExecutionMetadata = (function() { + admin.ListMatchableAttributesRequest = (function() { /** - * Properties of an ExecutionMetadata. + * Properties of a ListMatchableAttributesRequest. * @memberof flyteidl.admin - * @interface IExecutionMetadata - * @property {flyteidl.admin.ExecutionMetadata.ExecutionMode|null} [mode] ExecutionMetadata mode - * @property {string|null} [principal] ExecutionMetadata principal - * @property {number|null} [nesting] ExecutionMetadata nesting - * @property {google.protobuf.ITimestamp|null} [scheduledAt] ExecutionMetadata scheduledAt - * @property {flyteidl.core.INodeExecutionIdentifier|null} [parentNodeExecution] ExecutionMetadata parentNodeExecution - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [referenceExecution] ExecutionMetadata referenceExecution - * @property {flyteidl.admin.ISystemMetadata|null} [systemMetadata] ExecutionMetadata systemMetadata - * @property {Array.|null} [artifactIds] ExecutionMetadata artifactIds + * @interface IListMatchableAttributesRequest + * @property {flyteidl.admin.MatchableResource|null} [resourceType] ListMatchableAttributesRequest resourceType + * @property {string|null} [org] ListMatchableAttributesRequest org */ /** - * Constructs a new ExecutionMetadata. + * Constructs a new ListMatchableAttributesRequest. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionMetadata. - * @implements IExecutionMetadata + * @classdesc Represents a ListMatchableAttributesRequest. + * @implements IListMatchableAttributesRequest * @constructor - * @param {flyteidl.admin.IExecutionMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IListMatchableAttributesRequest=} [properties] Properties to set */ - function ExecutionMetadata(properties) { - this.artifactIds = []; + function ListMatchableAttributesRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -34422,156 +34513,75 @@ } /** - * ExecutionMetadata mode. - * @member {flyteidl.admin.ExecutionMetadata.ExecutionMode} mode - * @memberof flyteidl.admin.ExecutionMetadata - * @instance - */ - ExecutionMetadata.prototype.mode = 0; - - /** - * ExecutionMetadata principal. - * @member {string} principal - * @memberof flyteidl.admin.ExecutionMetadata - * @instance - */ - ExecutionMetadata.prototype.principal = ""; - - /** - * ExecutionMetadata nesting. - * @member {number} nesting - * @memberof flyteidl.admin.ExecutionMetadata - * @instance - */ - ExecutionMetadata.prototype.nesting = 0; - - /** - * ExecutionMetadata scheduledAt. - * @member {google.protobuf.ITimestamp|null|undefined} scheduledAt - * @memberof flyteidl.admin.ExecutionMetadata - * @instance - */ - ExecutionMetadata.prototype.scheduledAt = null; - - /** - * ExecutionMetadata parentNodeExecution. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} parentNodeExecution - * @memberof flyteidl.admin.ExecutionMetadata - * @instance - */ - ExecutionMetadata.prototype.parentNodeExecution = null; - - /** - * ExecutionMetadata referenceExecution. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} referenceExecution - * @memberof flyteidl.admin.ExecutionMetadata - * @instance - */ - ExecutionMetadata.prototype.referenceExecution = null; - - /** - * ExecutionMetadata systemMetadata. - * @member {flyteidl.admin.ISystemMetadata|null|undefined} systemMetadata - * @memberof flyteidl.admin.ExecutionMetadata + * ListMatchableAttributesRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.ListMatchableAttributesRequest * @instance */ - ExecutionMetadata.prototype.systemMetadata = null; + ListMatchableAttributesRequest.prototype.resourceType = 0; /** - * ExecutionMetadata artifactIds. - * @member {Array.} artifactIds - * @memberof flyteidl.admin.ExecutionMetadata + * ListMatchableAttributesRequest org. + * @member {string} org + * @memberof flyteidl.admin.ListMatchableAttributesRequest * @instance */ - ExecutionMetadata.prototype.artifactIds = $util.emptyArray; + ListMatchableAttributesRequest.prototype.org = ""; /** - * Creates a new ExecutionMetadata instance using the specified properties. + * Creates a new ListMatchableAttributesRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionMetadata + * @memberof flyteidl.admin.ListMatchableAttributesRequest * @static - * @param {flyteidl.admin.IExecutionMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionMetadata} ExecutionMetadata instance + * @param {flyteidl.admin.IListMatchableAttributesRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ListMatchableAttributesRequest} ListMatchableAttributesRequest instance */ - ExecutionMetadata.create = function create(properties) { - return new ExecutionMetadata(properties); + ListMatchableAttributesRequest.create = function create(properties) { + return new ListMatchableAttributesRequest(properties); }; /** - * Encodes the specified ExecutionMetadata message. Does not implicitly {@link flyteidl.admin.ExecutionMetadata.verify|verify} messages. + * Encodes the specified ListMatchableAttributesRequest message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionMetadata + * @memberof flyteidl.admin.ListMatchableAttributesRequest * @static - * @param {flyteidl.admin.IExecutionMetadata} message ExecutionMetadata message or plain object to encode + * @param {flyteidl.admin.IListMatchableAttributesRequest} message ListMatchableAttributesRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionMetadata.encode = function encode(message, writer) { + ListMatchableAttributesRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.mode != null && message.hasOwnProperty("mode")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.mode); - if (message.principal != null && message.hasOwnProperty("principal")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.principal); - if (message.nesting != null && message.hasOwnProperty("nesting")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.nesting); - if (message.scheduledAt != null && message.hasOwnProperty("scheduledAt")) - $root.google.protobuf.Timestamp.encode(message.scheduledAt, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.parentNodeExecution != null && message.hasOwnProperty("parentNodeExecution")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.parentNodeExecution, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.referenceExecution, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - if (message.systemMetadata != null && message.hasOwnProperty("systemMetadata")) - $root.flyteidl.admin.SystemMetadata.encode(message.systemMetadata, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); - if (message.artifactIds != null && message.artifactIds.length) - for (var i = 0; i < message.artifactIds.length; ++i) - $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim(); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.org); return writer; }; /** - * Decodes an ExecutionMetadata message from the specified reader or buffer. + * Decodes a ListMatchableAttributesRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionMetadata + * @memberof flyteidl.admin.ListMatchableAttributesRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionMetadata} ExecutionMetadata + * @returns {flyteidl.admin.ListMatchableAttributesRequest} ListMatchableAttributesRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionMetadata.decode = function decode(reader, length) { + ListMatchableAttributesRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ListMatchableAttributesRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.mode = reader.int32(); + message.resourceType = reader.int32(); break; case 2: - message.principal = reader.string(); - break; - case 3: - message.nesting = reader.uint32(); - break; - case 4: - message.scheduledAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 5: - message.parentNodeExecution = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 16: - message.referenceExecution = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 17: - message.systemMetadata = $root.flyteidl.admin.SystemMetadata.decode(reader, reader.uint32()); - break; - case 18: - if (!(message.artifactIds && message.artifactIds.length)) - message.artifactIds = []; - message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -34582,20 +34592,20 @@ }; /** - * Verifies an ExecutionMetadata message. + * Verifies a ListMatchableAttributesRequest message. * @function verify - * @memberof flyteidl.admin.ExecutionMetadata + * @memberof flyteidl.admin.ListMatchableAttributesRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionMetadata.verify = function verify(message) { + ListMatchableAttributesRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.mode != null && message.hasOwnProperty("mode")) - switch (message.mode) { + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { default: - return "mode: enum value expected"; + return "resourceType: enum value expected"; case 0: case 1: case 2: @@ -34603,92 +34613,37 @@ case 4: case 5: case 6: + case 7: break; } - if (message.principal != null && message.hasOwnProperty("principal")) - if (!$util.isString(message.principal)) - return "principal: string expected"; - if (message.nesting != null && message.hasOwnProperty("nesting")) - if (!$util.isInteger(message.nesting)) - return "nesting: integer expected"; - if (message.scheduledAt != null && message.hasOwnProperty("scheduledAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.scheduledAt); - if (error) - return "scheduledAt." + error; - } - if (message.parentNodeExecution != null && message.hasOwnProperty("parentNodeExecution")) { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.parentNodeExecution); - if (error) - return "parentNodeExecution." + error; - } - if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.referenceExecution); - if (error) - return "referenceExecution." + error; - } - if (message.systemMetadata != null && message.hasOwnProperty("systemMetadata")) { - var error = $root.flyteidl.admin.SystemMetadata.verify(message.systemMetadata); - if (error) - return "systemMetadata." + error; - } - if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { - if (!Array.isArray(message.artifactIds)) - return "artifactIds: array expected"; - for (var i = 0; i < message.artifactIds.length; ++i) { - var error = $root.flyteidl.core.ArtifactID.verify(message.artifactIds[i]); - if (error) - return "artifactIds." + error; - } - } + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - /** - * ExecutionMode enum. - * @name flyteidl.admin.ExecutionMetadata.ExecutionMode - * @enum {string} - * @property {number} MANUAL=0 MANUAL value - * @property {number} SCHEDULED=1 SCHEDULED value - * @property {number} SYSTEM=2 SYSTEM value - * @property {number} RELAUNCH=3 RELAUNCH value - * @property {number} CHILD_WORKFLOW=4 CHILD_WORKFLOW value - * @property {number} RECOVERED=5 RECOVERED value - * @property {number} TRIGGER=6 TRIGGER value - */ - ExecutionMetadata.ExecutionMode = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "MANUAL"] = 0; - values[valuesById[1] = "SCHEDULED"] = 1; - values[valuesById[2] = "SYSTEM"] = 2; - values[valuesById[3] = "RELAUNCH"] = 3; - values[valuesById[4] = "CHILD_WORKFLOW"] = 4; - values[valuesById[5] = "RECOVERED"] = 5; - values[valuesById[6] = "TRIGGER"] = 6; - return values; - })(); - - return ExecutionMetadata; + return ListMatchableAttributesRequest; })(); - admin.NotificationList = (function() { + admin.ListMatchableAttributesResponse = (function() { /** - * Properties of a NotificationList. + * Properties of a ListMatchableAttributesResponse. * @memberof flyteidl.admin - * @interface INotificationList - * @property {Array.|null} [notifications] NotificationList notifications + * @interface IListMatchableAttributesResponse + * @property {Array.|null} [configurations] ListMatchableAttributesResponse configurations */ /** - * Constructs a new NotificationList. + * Constructs a new ListMatchableAttributesResponse. * @memberof flyteidl.admin - * @classdesc Represents a NotificationList. - * @implements INotificationList + * @classdesc Represents a ListMatchableAttributesResponse. + * @implements IListMatchableAttributesResponse * @constructor - * @param {flyteidl.admin.INotificationList=} [properties] Properties to set + * @param {flyteidl.admin.IListMatchableAttributesResponse=} [properties] Properties to set */ - function NotificationList(properties) { - this.notifications = []; + function ListMatchableAttributesResponse(properties) { + this.configurations = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -34696,65 +34651,65 @@ } /** - * NotificationList notifications. - * @member {Array.} notifications - * @memberof flyteidl.admin.NotificationList + * ListMatchableAttributesResponse configurations. + * @member {Array.} configurations + * @memberof flyteidl.admin.ListMatchableAttributesResponse * @instance */ - NotificationList.prototype.notifications = $util.emptyArray; + ListMatchableAttributesResponse.prototype.configurations = $util.emptyArray; /** - * Creates a new NotificationList instance using the specified properties. + * Creates a new ListMatchableAttributesResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.NotificationList + * @memberof flyteidl.admin.ListMatchableAttributesResponse * @static - * @param {flyteidl.admin.INotificationList=} [properties] Properties to set - * @returns {flyteidl.admin.NotificationList} NotificationList instance + * @param {flyteidl.admin.IListMatchableAttributesResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ListMatchableAttributesResponse} ListMatchableAttributesResponse instance */ - NotificationList.create = function create(properties) { - return new NotificationList(properties); + ListMatchableAttributesResponse.create = function create(properties) { + return new ListMatchableAttributesResponse(properties); }; /** - * Encodes the specified NotificationList message. Does not implicitly {@link flyteidl.admin.NotificationList.verify|verify} messages. + * Encodes the specified ListMatchableAttributesResponse message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NotificationList + * @memberof flyteidl.admin.ListMatchableAttributesResponse * @static - * @param {flyteidl.admin.INotificationList} message NotificationList message or plain object to encode + * @param {flyteidl.admin.IListMatchableAttributesResponse} message ListMatchableAttributesResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NotificationList.encode = function encode(message, writer) { + ListMatchableAttributesResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.notifications != null && message.notifications.length) - for (var i = 0; i < message.notifications.length; ++i) - $root.flyteidl.admin.Notification.encode(message.notifications[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.configurations != null && message.configurations.length) + for (var i = 0; i < message.configurations.length; ++i) + $root.flyteidl.admin.MatchableAttributesConfiguration.encode(message.configurations[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a NotificationList message from the specified reader or buffer. + * Decodes a ListMatchableAttributesResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NotificationList + * @memberof flyteidl.admin.ListMatchableAttributesResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NotificationList} NotificationList + * @returns {flyteidl.admin.ListMatchableAttributesResponse} ListMatchableAttributesResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NotificationList.decode = function decode(reader, length) { + ListMatchableAttributesResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NotificationList(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ListMatchableAttributesResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.notifications && message.notifications.length)) - message.notifications = []; - message.notifications.push($root.flyteidl.admin.Notification.decode(reader, reader.uint32())); + if (!(message.configurations && message.configurations.length)) + message.configurations = []; + message.configurations.push($root.flyteidl.admin.MatchableAttributesConfiguration.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -34765,69 +34720,50 @@ }; /** - * Verifies a NotificationList message. + * Verifies a ListMatchableAttributesResponse message. * @function verify - * @memberof flyteidl.admin.NotificationList + * @memberof flyteidl.admin.ListMatchableAttributesResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NotificationList.verify = function verify(message) { + ListMatchableAttributesResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.notifications != null && message.hasOwnProperty("notifications")) { - if (!Array.isArray(message.notifications)) - return "notifications: array expected"; - for (var i = 0; i < message.notifications.length; ++i) { - var error = $root.flyteidl.admin.Notification.verify(message.notifications[i]); + if (message.configurations != null && message.hasOwnProperty("configurations")) { + if (!Array.isArray(message.configurations)) + return "configurations: array expected"; + for (var i = 0; i < message.configurations.length; ++i) { + var error = $root.flyteidl.admin.MatchableAttributesConfiguration.verify(message.configurations[i]); if (error) - return "notifications." + error; + return "configurations." + error; } } return null; }; - return NotificationList; + return ListMatchableAttributesResponse; })(); - admin.ExecutionSpec = (function() { + admin.LaunchPlanCreateRequest = (function() { /** - * Properties of an ExecutionSpec. + * Properties of a LaunchPlanCreateRequest. * @memberof flyteidl.admin - * @interface IExecutionSpec - * @property {flyteidl.core.IIdentifier|null} [launchPlan] ExecutionSpec launchPlan - * @property {flyteidl.core.ILiteralMap|null} [inputs] ExecutionSpec inputs - * @property {flyteidl.admin.IExecutionMetadata|null} [metadata] ExecutionSpec metadata - * @property {flyteidl.admin.INotificationList|null} [notifications] ExecutionSpec notifications - * @property {boolean|null} [disableAll] ExecutionSpec disableAll - * @property {flyteidl.admin.ILabels|null} [labels] ExecutionSpec labels - * @property {flyteidl.admin.IAnnotations|null} [annotations] ExecutionSpec annotations - * @property {flyteidl.core.ISecurityContext|null} [securityContext] ExecutionSpec securityContext - * @property {flyteidl.admin.IAuthRole|null} [authRole] ExecutionSpec authRole - * @property {flyteidl.core.IQualityOfService|null} [qualityOfService] ExecutionSpec qualityOfService - * @property {number|null} [maxParallelism] ExecutionSpec maxParallelism - * @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] ExecutionSpec rawOutputDataConfig - * @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] ExecutionSpec clusterAssignment - * @property {google.protobuf.IBoolValue|null} [interruptible] ExecutionSpec interruptible - * @property {boolean|null} [overwriteCache] ExecutionSpec overwriteCache - * @property {flyteidl.admin.IEnvs|null} [envs] ExecutionSpec envs - * @property {Array.|null} [tags] ExecutionSpec tags - * @property {flyteidl.admin.IExecutionClusterLabel|null} [executionClusterLabel] ExecutionSpec executionClusterLabel - * @property {Array.|null} [executionEnvAssignments] ExecutionSpec executionEnvAssignments + * @interface ILaunchPlanCreateRequest + * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanCreateRequest id + * @property {flyteidl.admin.ILaunchPlanSpec|null} [spec] LaunchPlanCreateRequest spec */ /** - * Constructs a new ExecutionSpec. + * Constructs a new LaunchPlanCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionSpec. - * @implements IExecutionSpec + * @classdesc Represents a LaunchPlanCreateRequest. + * @implements ILaunchPlanCreateRequest * @constructor - * @param {flyteidl.admin.IExecutionSpec=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set */ - function ExecutionSpec(properties) { - this.tags = []; - this.executionEnvAssignments = []; + function LaunchPlanCreateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -34835,317 +34771,179 @@ } /** - * ExecutionSpec launchPlan. - * @member {flyteidl.core.IIdentifier|null|undefined} launchPlan - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.launchPlan = null; - - /** - * ExecutionSpec inputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} inputs - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.inputs = null; - - /** - * ExecutionSpec metadata. - * @member {flyteidl.admin.IExecutionMetadata|null|undefined} metadata - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.metadata = null; - - /** - * ExecutionSpec notifications. - * @member {flyteidl.admin.INotificationList|null|undefined} notifications - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.notifications = null; - - /** - * ExecutionSpec disableAll. - * @member {boolean} disableAll - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.disableAll = false; - - /** - * ExecutionSpec labels. - * @member {flyteidl.admin.ILabels|null|undefined} labels - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.labels = null; - - /** - * ExecutionSpec annotations. - * @member {flyteidl.admin.IAnnotations|null|undefined} annotations - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.annotations = null; - - /** - * ExecutionSpec securityContext. - * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.securityContext = null; - - /** - * ExecutionSpec authRole. - * @member {flyteidl.admin.IAuthRole|null|undefined} authRole - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.authRole = null; - - /** - * ExecutionSpec qualityOfService. - * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.qualityOfService = null; - - /** - * ExecutionSpec maxParallelism. - * @member {number} maxParallelism - * @memberof flyteidl.admin.ExecutionSpec + * LaunchPlanCreateRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.LaunchPlanCreateRequest * @instance */ - ExecutionSpec.prototype.maxParallelism = 0; + LaunchPlanCreateRequest.prototype.id = null; /** - * ExecutionSpec rawOutputDataConfig. - * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig - * @memberof flyteidl.admin.ExecutionSpec + * LaunchPlanCreateRequest spec. + * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec + * @memberof flyteidl.admin.LaunchPlanCreateRequest * @instance */ - ExecutionSpec.prototype.rawOutputDataConfig = null; + LaunchPlanCreateRequest.prototype.spec = null; /** - * ExecutionSpec clusterAssignment. - * @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignment - * @memberof flyteidl.admin.ExecutionSpec - * @instance + * Creates a new LaunchPlanCreateRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @static + * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanCreateRequest} LaunchPlanCreateRequest instance */ - ExecutionSpec.prototype.clusterAssignment = null; + LaunchPlanCreateRequest.create = function create(properties) { + return new LaunchPlanCreateRequest(properties); + }; /** - * ExecutionSpec interruptible. - * @member {google.protobuf.IBoolValue|null|undefined} interruptible - * @memberof flyteidl.admin.ExecutionSpec - * @instance + * Encodes the specified LaunchPlanCreateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @static + * @param {flyteidl.admin.ILaunchPlanCreateRequest} message LaunchPlanCreateRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - ExecutionSpec.prototype.interruptible = null; + LaunchPlanCreateRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.spec != null && message.hasOwnProperty("spec")) + $root.flyteidl.admin.LaunchPlanSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; /** - * ExecutionSpec overwriteCache. - * @member {boolean} overwriteCache - * @memberof flyteidl.admin.ExecutionSpec - * @instance + * Decodes a LaunchPlanCreateRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.LaunchPlanCreateRequest} LaunchPlanCreateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionSpec.prototype.overwriteCache = false; + LaunchPlanCreateRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanCreateRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 2: + message.spec = $root.flyteidl.admin.LaunchPlanSpec.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * ExecutionSpec envs. - * @member {flyteidl.admin.IEnvs|null|undefined} envs - * @memberof flyteidl.admin.ExecutionSpec - * @instance + * Verifies a LaunchPlanCreateRequest message. + * @function verify + * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionSpec.prototype.envs = null; + LaunchPlanCreateRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.spec != null && message.hasOwnProperty("spec")) { + var error = $root.flyteidl.admin.LaunchPlanSpec.verify(message.spec); + if (error) + return "spec." + error; + } + return null; + }; - /** - * ExecutionSpec tags. - * @member {Array.} tags - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.tags = $util.emptyArray; + return LaunchPlanCreateRequest; + })(); - /** - * ExecutionSpec executionClusterLabel. - * @member {flyteidl.admin.IExecutionClusterLabel|null|undefined} executionClusterLabel - * @memberof flyteidl.admin.ExecutionSpec - * @instance - */ - ExecutionSpec.prototype.executionClusterLabel = null; + admin.LaunchPlanCreateResponse = (function() { /** - * ExecutionSpec executionEnvAssignments. - * @member {Array.} executionEnvAssignments - * @memberof flyteidl.admin.ExecutionSpec - * @instance + * Properties of a LaunchPlanCreateResponse. + * @memberof flyteidl.admin + * @interface ILaunchPlanCreateResponse */ - ExecutionSpec.prototype.executionEnvAssignments = $util.emptyArray; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; /** - * ExecutionSpec notificationOverrides. - * @member {"notifications"|"disableAll"|undefined} notificationOverrides - * @memberof flyteidl.admin.ExecutionSpec - * @instance + * Constructs a new LaunchPlanCreateResponse. + * @memberof flyteidl.admin + * @classdesc Represents a LaunchPlanCreateResponse. + * @implements ILaunchPlanCreateResponse + * @constructor + * @param {flyteidl.admin.ILaunchPlanCreateResponse=} [properties] Properties to set */ - Object.defineProperty(ExecutionSpec.prototype, "notificationOverrides", { - get: $util.oneOfGetter($oneOfFields = ["notifications", "disableAll"]), - set: $util.oneOfSetter($oneOfFields) - }); + function LaunchPlanCreateResponse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } /** - * Creates a new ExecutionSpec instance using the specified properties. + * Creates a new LaunchPlanCreateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionSpec - * @static - * @param {flyteidl.admin.IExecutionSpec=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionSpec} ExecutionSpec instance + * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @static + * @param {flyteidl.admin.ILaunchPlanCreateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanCreateResponse} LaunchPlanCreateResponse instance */ - ExecutionSpec.create = function create(properties) { - return new ExecutionSpec(properties); + LaunchPlanCreateResponse.create = function create(properties) { + return new LaunchPlanCreateResponse(properties); }; /** - * Encodes the specified ExecutionSpec message. Does not implicitly {@link flyteidl.admin.ExecutionSpec.verify|verify} messages. + * Encodes the specified LaunchPlanCreateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionSpec + * @memberof flyteidl.admin.LaunchPlanCreateResponse * @static - * @param {flyteidl.admin.IExecutionSpec} message ExecutionSpec message or plain object to encode + * @param {flyteidl.admin.ILaunchPlanCreateResponse} message LaunchPlanCreateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionSpec.encode = function encode(message, writer) { + LaunchPlanCreateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) - $root.flyteidl.core.Identifier.encode(message.launchPlan, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.inputs != null && message.hasOwnProperty("inputs")) - $root.flyteidl.core.LiteralMap.encode(message.inputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.admin.ExecutionMetadata.encode(message.metadata, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.notifications != null && message.hasOwnProperty("notifications")) - $root.flyteidl.admin.NotificationList.encode(message.notifications, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.disableAll != null && message.hasOwnProperty("disableAll")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.disableAll); - if (message.labels != null && message.hasOwnProperty("labels")) - $root.flyteidl.admin.Labels.encode(message.labels, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.annotations != null && message.hasOwnProperty("annotations")) - $root.flyteidl.admin.Annotations.encode(message.annotations, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.securityContext != null && message.hasOwnProperty("securityContext")) - $root.flyteidl.core.SecurityContext.encode(message.securityContext, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - if (message.authRole != null && message.hasOwnProperty("authRole")) - $root.flyteidl.admin.AuthRole.encode(message.authRole, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) - $root.flyteidl.core.QualityOfService.encode(message.qualityOfService, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); - if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) - writer.uint32(/* id 18, wireType 0 =*/144).int32(message.maxParallelism); - if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) - $root.flyteidl.admin.RawOutputDataConfig.encode(message.rawOutputDataConfig, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim(); - if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment")) - $root.flyteidl.admin.ClusterAssignment.encode(message.clusterAssignment, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); - if (message.interruptible != null && message.hasOwnProperty("interruptible")) - $root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) - writer.uint32(/* id 22, wireType 0 =*/176).bool(message.overwriteCache); - if (message.envs != null && message.hasOwnProperty("envs")) - $root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim(); - if (message.tags != null && message.tags.length) - for (var i = 0; i < message.tags.length; ++i) - writer.uint32(/* id 24, wireType 2 =*/194).string(message.tags[i]); - if (message.executionClusterLabel != null && message.hasOwnProperty("executionClusterLabel")) - $root.flyteidl.admin.ExecutionClusterLabel.encode(message.executionClusterLabel, writer.uint32(/* id 25, wireType 2 =*/202).fork()).ldelim(); - if (message.executionEnvAssignments != null && message.executionEnvAssignments.length) - for (var i = 0; i < message.executionEnvAssignments.length; ++i) - $root.flyteidl.core.ExecutionEnvAssignment.encode(message.executionEnvAssignments[i], writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim(); return writer; }; /** - * Decodes an ExecutionSpec message from the specified reader or buffer. + * Decodes a LaunchPlanCreateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionSpec + * @memberof flyteidl.admin.LaunchPlanCreateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionSpec} ExecutionSpec + * @returns {flyteidl.admin.LaunchPlanCreateResponse} LaunchPlanCreateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionSpec.decode = function decode(reader, length) { + LaunchPlanCreateResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionSpec(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanCreateResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.launchPlan = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 2: - message.inputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 3: - message.metadata = $root.flyteidl.admin.ExecutionMetadata.decode(reader, reader.uint32()); - break; - case 5: - message.notifications = $root.flyteidl.admin.NotificationList.decode(reader, reader.uint32()); - break; - case 6: - message.disableAll = reader.bool(); - break; - case 7: - message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32()); - break; - case 8: - message.annotations = $root.flyteidl.admin.Annotations.decode(reader, reader.uint32()); - break; - case 10: - message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32()); - break; - case 16: - message.authRole = $root.flyteidl.admin.AuthRole.decode(reader, reader.uint32()); - break; - case 17: - message.qualityOfService = $root.flyteidl.core.QualityOfService.decode(reader, reader.uint32()); - break; - case 18: - message.maxParallelism = reader.int32(); - break; - case 19: - message.rawOutputDataConfig = $root.flyteidl.admin.RawOutputDataConfig.decode(reader, reader.uint32()); - break; - case 20: - message.clusterAssignment = $root.flyteidl.admin.ClusterAssignment.decode(reader, reader.uint32()); - break; - case 21: - message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 22: - message.overwriteCache = reader.bool(); - break; - case 23: - message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32()); - break; - case 24: - if (!(message.tags && message.tags.length)) - message.tags = []; - message.tags.push(reader.string()); - break; - case 25: - message.executionClusterLabel = $root.flyteidl.admin.ExecutionClusterLabel.decode(reader, reader.uint32()); - break; - case 26: - if (!(message.executionEnvAssignments && message.executionEnvAssignments.length)) - message.executionEnvAssignments = []; - message.executionEnvAssignments.push($root.flyteidl.core.ExecutionEnvAssignment.decode(reader, reader.uint32())); - break; default: reader.skipType(tag & 7); break; @@ -35155,144 +34953,56 @@ }; /** - * Verifies an ExecutionSpec message. + * Verifies a LaunchPlanCreateResponse message. * @function verify - * @memberof flyteidl.admin.ExecutionSpec + * @memberof flyteidl.admin.LaunchPlanCreateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionSpec.verify = function verify(message) { + LaunchPlanCreateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) { - var error = $root.flyteidl.core.Identifier.verify(message.launchPlan); - if (error) - return "launchPlan." + error; - } - if (message.inputs != null && message.hasOwnProperty("inputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.inputs); - if (error) - return "inputs." + error; - } - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.admin.ExecutionMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } - if (message.notifications != null && message.hasOwnProperty("notifications")) { - properties.notificationOverrides = 1; - { - var error = $root.flyteidl.admin.NotificationList.verify(message.notifications); - if (error) - return "notifications." + error; - } - } - if (message.disableAll != null && message.hasOwnProperty("disableAll")) { - if (properties.notificationOverrides === 1) - return "notificationOverrides: multiple values"; - properties.notificationOverrides = 1; - if (typeof message.disableAll !== "boolean") - return "disableAll: boolean expected"; - } - if (message.labels != null && message.hasOwnProperty("labels")) { - var error = $root.flyteidl.admin.Labels.verify(message.labels); - if (error) - return "labels." + error; - } - if (message.annotations != null && message.hasOwnProperty("annotations")) { - var error = $root.flyteidl.admin.Annotations.verify(message.annotations); - if (error) - return "annotations." + error; - } - if (message.securityContext != null && message.hasOwnProperty("securityContext")) { - var error = $root.flyteidl.core.SecurityContext.verify(message.securityContext); - if (error) - return "securityContext." + error; - } - if (message.authRole != null && message.hasOwnProperty("authRole")) { - var error = $root.flyteidl.admin.AuthRole.verify(message.authRole); - if (error) - return "authRole." + error; - } - if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) { - var error = $root.flyteidl.core.QualityOfService.verify(message.qualityOfService); - if (error) - return "qualityOfService." + error; - } - if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) - if (!$util.isInteger(message.maxParallelism)) - return "maxParallelism: integer expected"; - if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) { - var error = $root.flyteidl.admin.RawOutputDataConfig.verify(message.rawOutputDataConfig); - if (error) - return "rawOutputDataConfig." + error; - } - if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment")) { - var error = $root.flyteidl.admin.ClusterAssignment.verify(message.clusterAssignment); - if (error) - return "clusterAssignment." + error; - } - if (message.interruptible != null && message.hasOwnProperty("interruptible")) { - var error = $root.google.protobuf.BoolValue.verify(message.interruptible); - if (error) - return "interruptible." + error; - } - if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) - if (typeof message.overwriteCache !== "boolean") - return "overwriteCache: boolean expected"; - if (message.envs != null && message.hasOwnProperty("envs")) { - var error = $root.flyteidl.admin.Envs.verify(message.envs); - if (error) - return "envs." + error; - } - if (message.tags != null && message.hasOwnProperty("tags")) { - if (!Array.isArray(message.tags)) - return "tags: array expected"; - for (var i = 0; i < message.tags.length; ++i) - if (!$util.isString(message.tags[i])) - return "tags: string[] expected"; - } - if (message.executionClusterLabel != null && message.hasOwnProperty("executionClusterLabel")) { - var error = $root.flyteidl.admin.ExecutionClusterLabel.verify(message.executionClusterLabel); - if (error) - return "executionClusterLabel." + error; - } - if (message.executionEnvAssignments != null && message.hasOwnProperty("executionEnvAssignments")) { - if (!Array.isArray(message.executionEnvAssignments)) - return "executionEnvAssignments: array expected"; - for (var i = 0; i < message.executionEnvAssignments.length; ++i) { - var error = $root.flyteidl.core.ExecutionEnvAssignment.verify(message.executionEnvAssignments[i]); - if (error) - return "executionEnvAssignments." + error; - } - } return null; }; - return ExecutionSpec; + return LaunchPlanCreateResponse; })(); - admin.ExecutionTerminateRequest = (function() { + /** + * LaunchPlanState enum. + * @name flyteidl.admin.LaunchPlanState + * @enum {string} + * @property {number} INACTIVE=0 INACTIVE value + * @property {number} ACTIVE=1 ACTIVE value + */ + admin.LaunchPlanState = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "INACTIVE"] = 0; + values[valuesById[1] = "ACTIVE"] = 1; + return values; + })(); + + admin.LaunchPlan = (function() { /** - * Properties of an ExecutionTerminateRequest. + * Properties of a LaunchPlan. * @memberof flyteidl.admin - * @interface IExecutionTerminateRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionTerminateRequest id - * @property {string|null} [cause] ExecutionTerminateRequest cause + * @interface ILaunchPlan + * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlan id + * @property {flyteidl.admin.ILaunchPlanSpec|null} [spec] LaunchPlan spec + * @property {flyteidl.admin.ILaunchPlanClosure|null} [closure] LaunchPlan closure */ /** - * Constructs a new ExecutionTerminateRequest. + * Constructs a new LaunchPlan. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionTerminateRequest. - * @implements IExecutionTerminateRequest + * @classdesc Represents a LaunchPlan. + * @implements ILaunchPlan * @constructor - * @param {flyteidl.admin.IExecutionTerminateRequest=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlan=} [properties] Properties to set */ - function ExecutionTerminateRequest(properties) { + function LaunchPlan(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35300,75 +35010,88 @@ } /** - * ExecutionTerminateRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.ExecutionTerminateRequest + * LaunchPlan id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.LaunchPlan * @instance */ - ExecutionTerminateRequest.prototype.id = null; + LaunchPlan.prototype.id = null; /** - * ExecutionTerminateRequest cause. - * @member {string} cause - * @memberof flyteidl.admin.ExecutionTerminateRequest + * LaunchPlan spec. + * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec + * @memberof flyteidl.admin.LaunchPlan * @instance */ - ExecutionTerminateRequest.prototype.cause = ""; + LaunchPlan.prototype.spec = null; /** - * Creates a new ExecutionTerminateRequest instance using the specified properties. + * LaunchPlan closure. + * @member {flyteidl.admin.ILaunchPlanClosure|null|undefined} closure + * @memberof flyteidl.admin.LaunchPlan + * @instance + */ + LaunchPlan.prototype.closure = null; + + /** + * Creates a new LaunchPlan instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionTerminateRequest + * @memberof flyteidl.admin.LaunchPlan * @static - * @param {flyteidl.admin.IExecutionTerminateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionTerminateRequest} ExecutionTerminateRequest instance + * @param {flyteidl.admin.ILaunchPlan=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlan} LaunchPlan instance */ - ExecutionTerminateRequest.create = function create(properties) { - return new ExecutionTerminateRequest(properties); + LaunchPlan.create = function create(properties) { + return new LaunchPlan(properties); }; /** - * Encodes the specified ExecutionTerminateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateRequest.verify|verify} messages. + * Encodes the specified LaunchPlan message. Does not implicitly {@link flyteidl.admin.LaunchPlan.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionTerminateRequest + * @memberof flyteidl.admin.LaunchPlan * @static - * @param {flyteidl.admin.IExecutionTerminateRequest} message ExecutionTerminateRequest message or plain object to encode + * @param {flyteidl.admin.ILaunchPlan} message LaunchPlan message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionTerminateRequest.encode = function encode(message, writer) { + LaunchPlan.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.cause != null && message.hasOwnProperty("cause")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.cause); + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.spec != null && message.hasOwnProperty("spec")) + $root.flyteidl.admin.LaunchPlanSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.closure != null && message.hasOwnProperty("closure")) + $root.flyteidl.admin.LaunchPlanClosure.encode(message.closure, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes an ExecutionTerminateRequest message from the specified reader or buffer. + * Decodes a LaunchPlan message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionTerminateRequest + * @memberof flyteidl.admin.LaunchPlan * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionTerminateRequest} ExecutionTerminateRequest + * @returns {flyteidl.admin.LaunchPlan} LaunchPlan * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionTerminateRequest.decode = function decode(reader, length) { + LaunchPlan.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionTerminateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlan(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.cause = reader.string(); + message.spec = $root.flyteidl.admin.LaunchPlanSpec.decode(reader, reader.uint32()); + break; + case 3: + message.closure = $root.flyteidl.admin.LaunchPlanClosure.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -35379,47 +35102,57 @@ }; /** - * Verifies an ExecutionTerminateRequest message. + * Verifies a LaunchPlan message. * @function verify - * @memberof flyteidl.admin.ExecutionTerminateRequest + * @memberof flyteidl.admin.LaunchPlan * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionTerminateRequest.verify = function verify(message) { + LaunchPlan.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + var error = $root.flyteidl.core.Identifier.verify(message.id); if (error) return "id." + error; } - if (message.cause != null && message.hasOwnProperty("cause")) - if (!$util.isString(message.cause)) - return "cause: string expected"; + if (message.spec != null && message.hasOwnProperty("spec")) { + var error = $root.flyteidl.admin.LaunchPlanSpec.verify(message.spec); + if (error) + return "spec." + error; + } + if (message.closure != null && message.hasOwnProperty("closure")) { + var error = $root.flyteidl.admin.LaunchPlanClosure.verify(message.closure); + if (error) + return "closure." + error; + } return null; }; - return ExecutionTerminateRequest; + return LaunchPlan; })(); - admin.ExecutionTerminateResponse = (function() { + admin.LaunchPlanList = (function() { /** - * Properties of an ExecutionTerminateResponse. + * Properties of a LaunchPlanList. * @memberof flyteidl.admin - * @interface IExecutionTerminateResponse + * @interface ILaunchPlanList + * @property {Array.|null} [launchPlans] LaunchPlanList launchPlans + * @property {string|null} [token] LaunchPlanList token */ /** - * Constructs a new ExecutionTerminateResponse. + * Constructs a new LaunchPlanList. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionTerminateResponse. - * @implements IExecutionTerminateResponse + * @classdesc Represents a LaunchPlanList. + * @implements ILaunchPlanList * @constructor - * @param {flyteidl.admin.IExecutionTerminateResponse=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanList=} [properties] Properties to set */ - function ExecutionTerminateResponse(properties) { + function LaunchPlanList(properties) { + this.launchPlans = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35427,50 +35160,79 @@ } /** - * Creates a new ExecutionTerminateResponse instance using the specified properties. + * LaunchPlanList launchPlans. + * @member {Array.} launchPlans + * @memberof flyteidl.admin.LaunchPlanList + * @instance + */ + LaunchPlanList.prototype.launchPlans = $util.emptyArray; + + /** + * LaunchPlanList token. + * @member {string} token + * @memberof flyteidl.admin.LaunchPlanList + * @instance + */ + LaunchPlanList.prototype.token = ""; + + /** + * Creates a new LaunchPlanList instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionTerminateResponse + * @memberof flyteidl.admin.LaunchPlanList * @static - * @param {flyteidl.admin.IExecutionTerminateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionTerminateResponse} ExecutionTerminateResponse instance + * @param {flyteidl.admin.ILaunchPlanList=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanList} LaunchPlanList instance */ - ExecutionTerminateResponse.create = function create(properties) { - return new ExecutionTerminateResponse(properties); + LaunchPlanList.create = function create(properties) { + return new LaunchPlanList(properties); }; /** - * Encodes the specified ExecutionTerminateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateResponse.verify|verify} messages. + * Encodes the specified LaunchPlanList message. Does not implicitly {@link flyteidl.admin.LaunchPlanList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionTerminateResponse + * @memberof flyteidl.admin.LaunchPlanList * @static - * @param {flyteidl.admin.IExecutionTerminateResponse} message ExecutionTerminateResponse message or plain object to encode + * @param {flyteidl.admin.ILaunchPlanList} message LaunchPlanList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionTerminateResponse.encode = function encode(message, writer) { + LaunchPlanList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.launchPlans != null && message.launchPlans.length) + for (var i = 0; i < message.launchPlans.length; ++i) + $root.flyteidl.admin.LaunchPlan.encode(message.launchPlans[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes an ExecutionTerminateResponse message from the specified reader or buffer. + * Decodes a LaunchPlanList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionTerminateResponse + * @memberof flyteidl.admin.LaunchPlanList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionTerminateResponse} ExecutionTerminateResponse + * @returns {flyteidl.admin.LaunchPlanList} LaunchPlanList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionTerminateResponse.decode = function decode(reader, length) { + LaunchPlanList.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionTerminateResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanList(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + if (!(message.launchPlans && message.launchPlans.length)) + message.launchPlans = []; + message.launchPlans.push($root.flyteidl.admin.LaunchPlan.decode(reader, reader.uint32())); + break; + case 2: + message.token = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -35480,40 +35242,53 @@ }; /** - * Verifies an ExecutionTerminateResponse message. + * Verifies a LaunchPlanList message. * @function verify - * @memberof flyteidl.admin.ExecutionTerminateResponse + * @memberof flyteidl.admin.LaunchPlanList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionTerminateResponse.verify = function verify(message) { + LaunchPlanList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.launchPlans != null && message.hasOwnProperty("launchPlans")) { + if (!Array.isArray(message.launchPlans)) + return "launchPlans: array expected"; + for (var i = 0; i < message.launchPlans.length; ++i) { + var error = $root.flyteidl.admin.LaunchPlan.verify(message.launchPlans[i]); + if (error) + return "launchPlans." + error; + } + } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return ExecutionTerminateResponse; + return LaunchPlanList; })(); - admin.WorkflowExecutionGetDataRequest = (function() { + admin.Auth = (function() { /** - * Properties of a WorkflowExecutionGetDataRequest. + * Properties of an Auth. * @memberof flyteidl.admin - * @interface IWorkflowExecutionGetDataRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetDataRequest id + * @interface IAuth + * @property {string|null} [assumableIamRole] Auth assumableIamRole + * @property {string|null} [kubernetesServiceAccount] Auth kubernetesServiceAccount */ /** - * Constructs a new WorkflowExecutionGetDataRequest. + * Constructs a new Auth. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionGetDataRequest. - * @implements IWorkflowExecutionGetDataRequest + * @classdesc Represents an Auth. + * @implements IAuth * @constructor - * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest=} [properties] Properties to set + * @param {flyteidl.admin.IAuth=} [properties] Properties to set */ - function WorkflowExecutionGetDataRequest(properties) { + function Auth(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35521,62 +35296,75 @@ } /** - * WorkflowExecutionGetDataRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest + * Auth assumableIamRole. + * @member {string} assumableIamRole + * @memberof flyteidl.admin.Auth * @instance */ - WorkflowExecutionGetDataRequest.prototype.id = null; + Auth.prototype.assumableIamRole = ""; /** - * Creates a new WorkflowExecutionGetDataRequest instance using the specified properties. + * Auth kubernetesServiceAccount. + * @member {string} kubernetesServiceAccount + * @memberof flyteidl.admin.Auth + * @instance + */ + Auth.prototype.kubernetesServiceAccount = ""; + + /** + * Creates a new Auth instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest + * @memberof flyteidl.admin.Auth * @static - * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionGetDataRequest} WorkflowExecutionGetDataRequest instance + * @param {flyteidl.admin.IAuth=} [properties] Properties to set + * @returns {flyteidl.admin.Auth} Auth instance */ - WorkflowExecutionGetDataRequest.create = function create(properties) { - return new WorkflowExecutionGetDataRequest(properties); + Auth.create = function create(properties) { + return new Auth(properties); }; /** - * Encodes the specified WorkflowExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataRequest.verify|verify} messages. + * Encodes the specified Auth message. Does not implicitly {@link flyteidl.admin.Auth.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest + * @memberof flyteidl.admin.Auth * @static - * @param {flyteidl.admin.IWorkflowExecutionGetDataRequest} message WorkflowExecutionGetDataRequest message or plain object to encode + * @param {flyteidl.admin.IAuth} message Auth message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowExecutionGetDataRequest.encode = function encode(message, writer) { + Auth.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.assumableIamRole); + if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.kubernetesServiceAccount); return writer; }; /** - * Decodes a WorkflowExecutionGetDataRequest message from the specified reader or buffer. + * Decodes an Auth message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest + * @memberof flyteidl.admin.Auth * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowExecutionGetDataRequest} WorkflowExecutionGetDataRequest + * @returns {flyteidl.admin.Auth} Auth * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowExecutionGetDataRequest.decode = function decode(reader, length) { + Auth.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetDataRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Auth(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.assumableIamRole = reader.string(); + break; + case 2: + message.kubernetesServiceAccount = reader.string(); break; default: reader.skipType(tag & 7); @@ -35587,48 +35375,63 @@ }; /** - * Verifies a WorkflowExecutionGetDataRequest message. + * Verifies an Auth message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionGetDataRequest + * @memberof flyteidl.admin.Auth * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowExecutionGetDataRequest.verify = function verify(message) { + Auth.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; - } + if (message.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) + if (!$util.isString(message.assumableIamRole)) + return "assumableIamRole: string expected"; + if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) + if (!$util.isString(message.kubernetesServiceAccount)) + return "kubernetesServiceAccount: string expected"; return null; }; - return WorkflowExecutionGetDataRequest; + return Auth; })(); - admin.WorkflowExecutionGetDataResponse = (function() { + admin.LaunchPlanSpec = (function() { /** - * Properties of a WorkflowExecutionGetDataResponse. + * Properties of a LaunchPlanSpec. * @memberof flyteidl.admin - * @interface IWorkflowExecutionGetDataResponse - * @property {flyteidl.admin.IUrlBlob|null} [outputs] WorkflowExecutionGetDataResponse outputs - * @property {flyteidl.admin.IUrlBlob|null} [inputs] WorkflowExecutionGetDataResponse inputs - * @property {flyteidl.core.ILiteralMap|null} [fullInputs] WorkflowExecutionGetDataResponse fullInputs - * @property {flyteidl.core.ILiteralMap|null} [fullOutputs] WorkflowExecutionGetDataResponse fullOutputs + * @interface ILaunchPlanSpec + * @property {flyteidl.core.IIdentifier|null} [workflowId] LaunchPlanSpec workflowId + * @property {flyteidl.admin.ILaunchPlanMetadata|null} [entityMetadata] LaunchPlanSpec entityMetadata + * @property {flyteidl.core.IParameterMap|null} [defaultInputs] LaunchPlanSpec defaultInputs + * @property {flyteidl.core.ILiteralMap|null} [fixedInputs] LaunchPlanSpec fixedInputs + * @property {string|null} [role] LaunchPlanSpec role + * @property {flyteidl.admin.ILabels|null} [labels] LaunchPlanSpec labels + * @property {flyteidl.admin.IAnnotations|null} [annotations] LaunchPlanSpec annotations + * @property {flyteidl.admin.IAuth|null} [auth] LaunchPlanSpec auth + * @property {flyteidl.admin.IAuthRole|null} [authRole] LaunchPlanSpec authRole + * @property {flyteidl.core.ISecurityContext|null} [securityContext] LaunchPlanSpec securityContext + * @property {flyteidl.core.IQualityOfService|null} [qualityOfService] LaunchPlanSpec qualityOfService + * @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] LaunchPlanSpec rawOutputDataConfig + * @property {number|null} [maxParallelism] LaunchPlanSpec maxParallelism + * @property {google.protobuf.IBoolValue|null} [interruptible] LaunchPlanSpec interruptible + * @property {boolean|null} [overwriteCache] LaunchPlanSpec overwriteCache + * @property {flyteidl.admin.IEnvs|null} [envs] LaunchPlanSpec envs + * @property {Array.|null} [executionEnvAssignments] LaunchPlanSpec executionEnvAssignments */ /** - * Constructs a new WorkflowExecutionGetDataResponse. + * Constructs a new LaunchPlanSpec. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionGetDataResponse. - * @implements IWorkflowExecutionGetDataResponse + * @classdesc Represents a LaunchPlanSpec. + * @implements ILaunchPlanSpec * @constructor - * @param {flyteidl.admin.IWorkflowExecutionGetDataResponse=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanSpec=} [properties] Properties to set */ - function WorkflowExecutionGetDataResponse(properties) { + function LaunchPlanSpec(properties) { + this.executionEnvAssignments = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35636,256 +35439,273 @@ } /** - * WorkflowExecutionGetDataResponse outputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * LaunchPlanSpec workflowId. + * @member {flyteidl.core.IIdentifier|null|undefined} workflowId + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - WorkflowExecutionGetDataResponse.prototype.outputs = null; + LaunchPlanSpec.prototype.workflowId = null; /** - * WorkflowExecutionGetDataResponse inputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * LaunchPlanSpec entityMetadata. + * @member {flyteidl.admin.ILaunchPlanMetadata|null|undefined} entityMetadata + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - WorkflowExecutionGetDataResponse.prototype.inputs = null; + LaunchPlanSpec.prototype.entityMetadata = null; /** - * WorkflowExecutionGetDataResponse fullInputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fullInputs - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * LaunchPlanSpec defaultInputs. + * @member {flyteidl.core.IParameterMap|null|undefined} defaultInputs + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - WorkflowExecutionGetDataResponse.prototype.fullInputs = null; + LaunchPlanSpec.prototype.defaultInputs = null; /** - * WorkflowExecutionGetDataResponse fullOutputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fullOutputs - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse + * LaunchPlanSpec fixedInputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} fixedInputs + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - WorkflowExecutionGetDataResponse.prototype.fullOutputs = null; + LaunchPlanSpec.prototype.fixedInputs = null; /** - * Creates a new WorkflowExecutionGetDataResponse instance using the specified properties. - * @function create - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse - * @static - * @param {flyteidl.admin.IWorkflowExecutionGetDataResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionGetDataResponse} WorkflowExecutionGetDataResponse instance + * LaunchPlanSpec role. + * @member {string} role + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - WorkflowExecutionGetDataResponse.create = function create(properties) { - return new WorkflowExecutionGetDataResponse(properties); - }; + LaunchPlanSpec.prototype.role = ""; /** - * Encodes the specified WorkflowExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataResponse.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse - * @static - * @param {flyteidl.admin.IWorkflowExecutionGetDataResponse} message WorkflowExecutionGetDataResponse message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * LaunchPlanSpec labels. + * @member {flyteidl.admin.ILabels|null|undefined} labels + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - WorkflowExecutionGetDataResponse.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.outputs != null && message.hasOwnProperty("outputs")) - $root.flyteidl.admin.UrlBlob.encode(message.outputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.inputs != null && message.hasOwnProperty("inputs")) - $root.flyteidl.admin.UrlBlob.encode(message.inputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) - $root.flyteidl.core.LiteralMap.encode(message.fullInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) - $root.flyteidl.core.LiteralMap.encode(message.fullOutputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - return writer; - }; + LaunchPlanSpec.prototype.labels = null; /** - * Decodes a WorkflowExecutionGetDataResponse message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowExecutionGetDataResponse} WorkflowExecutionGetDataResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * LaunchPlanSpec annotations. + * @member {flyteidl.admin.IAnnotations|null|undefined} annotations + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - WorkflowExecutionGetDataResponse.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetDataResponse(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); - break; - case 2: - message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); - break; - case 3: - message.fullInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 4: - message.fullOutputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + LaunchPlanSpec.prototype.annotations = null; /** - * Verifies a WorkflowExecutionGetDataResponse message. - * @function verify - * @memberof flyteidl.admin.WorkflowExecutionGetDataResponse - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not + * LaunchPlanSpec auth. + * @member {flyteidl.admin.IAuth|null|undefined} auth + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - WorkflowExecutionGetDataResponse.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.outputs != null && message.hasOwnProperty("outputs")) { - var error = $root.flyteidl.admin.UrlBlob.verify(message.outputs); - if (error) - return "outputs." + error; - } - if (message.inputs != null && message.hasOwnProperty("inputs")) { - var error = $root.flyteidl.admin.UrlBlob.verify(message.inputs); - if (error) - return "inputs." + error; - } - if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.fullInputs); - if (error) - return "fullInputs." + error; - } - if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.fullOutputs); - if (error) - return "fullOutputs." + error; - } - return null; - }; + LaunchPlanSpec.prototype.auth = null; - return WorkflowExecutionGetDataResponse; - })(); + /** + * LaunchPlanSpec authRole. + * @member {flyteidl.admin.IAuthRole|null|undefined} authRole + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.authRole = null; - /** - * ExecutionState enum. - * @name flyteidl.admin.ExecutionState - * @enum {string} - * @property {number} EXECUTION_ACTIVE=0 EXECUTION_ACTIVE value - * @property {number} EXECUTION_ARCHIVED=1 EXECUTION_ARCHIVED value - */ - admin.ExecutionState = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "EXECUTION_ACTIVE"] = 0; - values[valuesById[1] = "EXECUTION_ARCHIVED"] = 1; - return values; - })(); + /** + * LaunchPlanSpec securityContext. + * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.securityContext = null; - admin.ExecutionUpdateRequest = (function() { + /** + * LaunchPlanSpec qualityOfService. + * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.qualityOfService = null; /** - * Properties of an ExecutionUpdateRequest. - * @memberof flyteidl.admin - * @interface IExecutionUpdateRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] ExecutionUpdateRequest id - * @property {flyteidl.admin.ExecutionState|null} [state] ExecutionUpdateRequest state + * LaunchPlanSpec rawOutputDataConfig. + * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ + LaunchPlanSpec.prototype.rawOutputDataConfig = null; /** - * Constructs a new ExecutionUpdateRequest. - * @memberof flyteidl.admin - * @classdesc Represents an ExecutionUpdateRequest. - * @implements IExecutionUpdateRequest - * @constructor - * @param {flyteidl.admin.IExecutionUpdateRequest=} [properties] Properties to set + * LaunchPlanSpec maxParallelism. + * @member {number} maxParallelism + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance */ - function ExecutionUpdateRequest(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + LaunchPlanSpec.prototype.maxParallelism = 0; /** - * ExecutionUpdateRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.ExecutionUpdateRequest + * LaunchPlanSpec interruptible. + * @member {google.protobuf.IBoolValue|null|undefined} interruptible + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - ExecutionUpdateRequest.prototype.id = null; + LaunchPlanSpec.prototype.interruptible = null; /** - * ExecutionUpdateRequest state. - * @member {flyteidl.admin.ExecutionState} state - * @memberof flyteidl.admin.ExecutionUpdateRequest + * LaunchPlanSpec overwriteCache. + * @member {boolean} overwriteCache + * @memberof flyteidl.admin.LaunchPlanSpec * @instance */ - ExecutionUpdateRequest.prototype.state = 0; + LaunchPlanSpec.prototype.overwriteCache = false; /** - * Creates a new ExecutionUpdateRequest instance using the specified properties. + * LaunchPlanSpec envs. + * @member {flyteidl.admin.IEnvs|null|undefined} envs + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.envs = null; + + /** + * LaunchPlanSpec executionEnvAssignments. + * @member {Array.} executionEnvAssignments + * @memberof flyteidl.admin.LaunchPlanSpec + * @instance + */ + LaunchPlanSpec.prototype.executionEnvAssignments = $util.emptyArray; + + /** + * Creates a new LaunchPlanSpec instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionUpdateRequest + * @memberof flyteidl.admin.LaunchPlanSpec * @static - * @param {flyteidl.admin.IExecutionUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionUpdateRequest} ExecutionUpdateRequest instance + * @param {flyteidl.admin.ILaunchPlanSpec=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanSpec} LaunchPlanSpec instance */ - ExecutionUpdateRequest.create = function create(properties) { - return new ExecutionUpdateRequest(properties); + LaunchPlanSpec.create = function create(properties) { + return new LaunchPlanSpec(properties); }; /** - * Encodes the specified ExecutionUpdateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateRequest.verify|verify} messages. + * Encodes the specified LaunchPlanSpec message. Does not implicitly {@link flyteidl.admin.LaunchPlanSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionUpdateRequest + * @memberof flyteidl.admin.LaunchPlanSpec * @static - * @param {flyteidl.admin.IExecutionUpdateRequest} message ExecutionUpdateRequest message or plain object to encode + * @param {flyteidl.admin.ILaunchPlanSpec} message LaunchPlanSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionUpdateRequest.encode = function encode(message, writer) { + LaunchPlanSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.state != null && message.hasOwnProperty("state")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.state); + if (message.workflowId != null && message.hasOwnProperty("workflowId")) + $root.flyteidl.core.Identifier.encode(message.workflowId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.entityMetadata != null && message.hasOwnProperty("entityMetadata")) + $root.flyteidl.admin.LaunchPlanMetadata.encode(message.entityMetadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.defaultInputs != null && message.hasOwnProperty("defaultInputs")) + $root.flyteidl.core.ParameterMap.encode(message.defaultInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.fixedInputs != null && message.hasOwnProperty("fixedInputs")) + $root.flyteidl.core.LiteralMap.encode(message.fixedInputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.role != null && message.hasOwnProperty("role")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.role); + if (message.labels != null && message.hasOwnProperty("labels")) + $root.flyteidl.admin.Labels.encode(message.labels, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.annotations != null && message.hasOwnProperty("annotations")) + $root.flyteidl.admin.Annotations.encode(message.annotations, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.auth != null && message.hasOwnProperty("auth")) + $root.flyteidl.admin.Auth.encode(message.auth, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.authRole != null && message.hasOwnProperty("authRole")) + $root.flyteidl.admin.AuthRole.encode(message.authRole, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.securityContext != null && message.hasOwnProperty("securityContext")) + $root.flyteidl.core.SecurityContext.encode(message.securityContext, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) + $root.flyteidl.core.QualityOfService.encode(message.qualityOfService, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); + if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) + $root.flyteidl.admin.RawOutputDataConfig.encode(message.rawOutputDataConfig, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); + if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) + writer.uint32(/* id 18, wireType 0 =*/144).int32(message.maxParallelism); + if (message.interruptible != null && message.hasOwnProperty("interruptible")) + $root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim(); + if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) + writer.uint32(/* id 20, wireType 0 =*/160).bool(message.overwriteCache); + if (message.envs != null && message.hasOwnProperty("envs")) + $root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); + if (message.executionEnvAssignments != null && message.executionEnvAssignments.length) + for (var i = 0; i < message.executionEnvAssignments.length; ++i) + $root.flyteidl.core.ExecutionEnvAssignment.encode(message.executionEnvAssignments[i], writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); return writer; }; /** - * Decodes an ExecutionUpdateRequest message from the specified reader or buffer. + * Decodes a LaunchPlanSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionUpdateRequest + * @memberof flyteidl.admin.LaunchPlanSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionUpdateRequest} ExecutionUpdateRequest + * @returns {flyteidl.admin.LaunchPlanSpec} LaunchPlanSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionUpdateRequest.decode = function decode(reader, length) { + LaunchPlanSpec.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionUpdateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanSpec(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.workflowId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.state = reader.int32(); + message.entityMetadata = $root.flyteidl.admin.LaunchPlanMetadata.decode(reader, reader.uint32()); + break; + case 3: + message.defaultInputs = $root.flyteidl.core.ParameterMap.decode(reader, reader.uint32()); + break; + case 4: + message.fixedInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 5: + message.role = reader.string(); + break; + case 6: + message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32()); + break; + case 7: + message.annotations = $root.flyteidl.admin.Annotations.decode(reader, reader.uint32()); + break; + case 8: + message.auth = $root.flyteidl.admin.Auth.decode(reader, reader.uint32()); + break; + case 9: + message.authRole = $root.flyteidl.admin.AuthRole.decode(reader, reader.uint32()); + break; + case 10: + message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32()); + break; + case 16: + message.qualityOfService = $root.flyteidl.core.QualityOfService.decode(reader, reader.uint32()); + break; + case 17: + message.rawOutputDataConfig = $root.flyteidl.admin.RawOutputDataConfig.decode(reader, reader.uint32()); + break; + case 18: + message.maxParallelism = reader.int32(); + break; + case 19: + message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + case 20: + message.overwriteCache = reader.bool(); + break; + case 21: + message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32()); + break; + case 22: + if (!(message.executionEnvAssignments && message.executionEnvAssignments.length)) + message.executionEnvAssignments = []; + message.executionEnvAssignments.push($root.flyteidl.core.ExecutionEnvAssignment.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -35896,55 +35716,127 @@ }; /** - * Verifies an ExecutionUpdateRequest message. + * Verifies a LaunchPlanSpec message. * @function verify - * @memberof flyteidl.admin.ExecutionUpdateRequest + * @memberof flyteidl.admin.LaunchPlanSpec * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionUpdateRequest.verify = function verify(message) { + LaunchPlanSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + if (message.workflowId != null && message.hasOwnProperty("workflowId")) { + var error = $root.flyteidl.core.Identifier.verify(message.workflowId); + if (error) + return "workflowId." + error; + } + if (message.entityMetadata != null && message.hasOwnProperty("entityMetadata")) { + var error = $root.flyteidl.admin.LaunchPlanMetadata.verify(message.entityMetadata); + if (error) + return "entityMetadata." + error; + } + if (message.defaultInputs != null && message.hasOwnProperty("defaultInputs")) { + var error = $root.flyteidl.core.ParameterMap.verify(message.defaultInputs); + if (error) + return "defaultInputs." + error; + } + if (message.fixedInputs != null && message.hasOwnProperty("fixedInputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.fixedInputs); + if (error) + return "fixedInputs." + error; + } + if (message.role != null && message.hasOwnProperty("role")) + if (!$util.isString(message.role)) + return "role: string expected"; + if (message.labels != null && message.hasOwnProperty("labels")) { + var error = $root.flyteidl.admin.Labels.verify(message.labels); + if (error) + return "labels." + error; + } + if (message.annotations != null && message.hasOwnProperty("annotations")) { + var error = $root.flyteidl.admin.Annotations.verify(message.annotations); + if (error) + return "annotations." + error; + } + if (message.auth != null && message.hasOwnProperty("auth")) { + var error = $root.flyteidl.admin.Auth.verify(message.auth); + if (error) + return "auth." + error; + } + if (message.authRole != null && message.hasOwnProperty("authRole")) { + var error = $root.flyteidl.admin.AuthRole.verify(message.authRole); + if (error) + return "authRole." + error; + } + if (message.securityContext != null && message.hasOwnProperty("securityContext")) { + var error = $root.flyteidl.core.SecurityContext.verify(message.securityContext); + if (error) + return "securityContext." + error; + } + if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) { + var error = $root.flyteidl.core.QualityOfService.verify(message.qualityOfService); + if (error) + return "qualityOfService." + error; + } + if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) { + var error = $root.flyteidl.admin.RawOutputDataConfig.verify(message.rawOutputDataConfig); + if (error) + return "rawOutputDataConfig." + error; + } + if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) + if (!$util.isInteger(message.maxParallelism)) + return "maxParallelism: integer expected"; + if (message.interruptible != null && message.hasOwnProperty("interruptible")) { + var error = $root.google.protobuf.BoolValue.verify(message.interruptible); if (error) - return "id." + error; + return "interruptible." + error; } - if (message.state != null && message.hasOwnProperty("state")) - switch (message.state) { - default: - return "state: enum value expected"; - case 0: - case 1: - break; + if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) + if (typeof message.overwriteCache !== "boolean") + return "overwriteCache: boolean expected"; + if (message.envs != null && message.hasOwnProperty("envs")) { + var error = $root.flyteidl.admin.Envs.verify(message.envs); + if (error) + return "envs." + error; + } + if (message.executionEnvAssignments != null && message.hasOwnProperty("executionEnvAssignments")) { + if (!Array.isArray(message.executionEnvAssignments)) + return "executionEnvAssignments: array expected"; + for (var i = 0; i < message.executionEnvAssignments.length; ++i) { + var error = $root.flyteidl.core.ExecutionEnvAssignment.verify(message.executionEnvAssignments[i]); + if (error) + return "executionEnvAssignments." + error; } + } return null; }; - return ExecutionUpdateRequest; + return LaunchPlanSpec; })(); - admin.ExecutionStateChangeDetails = (function() { + admin.LaunchPlanClosure = (function() { /** - * Properties of an ExecutionStateChangeDetails. + * Properties of a LaunchPlanClosure. * @memberof flyteidl.admin - * @interface IExecutionStateChangeDetails - * @property {flyteidl.admin.ExecutionState|null} [state] ExecutionStateChangeDetails state - * @property {google.protobuf.ITimestamp|null} [occurredAt] ExecutionStateChangeDetails occurredAt - * @property {string|null} [principal] ExecutionStateChangeDetails principal + * @interface ILaunchPlanClosure + * @property {flyteidl.admin.LaunchPlanState|null} [state] LaunchPlanClosure state + * @property {flyteidl.core.IParameterMap|null} [expectedInputs] LaunchPlanClosure expectedInputs + * @property {flyteidl.core.IVariableMap|null} [expectedOutputs] LaunchPlanClosure expectedOutputs + * @property {google.protobuf.ITimestamp|null} [createdAt] LaunchPlanClosure createdAt + * @property {google.protobuf.ITimestamp|null} [updatedAt] LaunchPlanClosure updatedAt */ /** - * Constructs a new ExecutionStateChangeDetails. + * Constructs a new LaunchPlanClosure. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionStateChangeDetails. - * @implements IExecutionStateChangeDetails + * @classdesc Represents a LaunchPlanClosure. + * @implements ILaunchPlanClosure * @constructor - * @param {flyteidl.admin.IExecutionStateChangeDetails=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanClosure=} [properties] Properties to set */ - function ExecutionStateChangeDetails(properties) { + function LaunchPlanClosure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -35952,77 +35844,97 @@ } /** - * ExecutionStateChangeDetails state. - * @member {flyteidl.admin.ExecutionState} state - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * LaunchPlanClosure state. + * @member {flyteidl.admin.LaunchPlanState} state + * @memberof flyteidl.admin.LaunchPlanClosure * @instance */ - ExecutionStateChangeDetails.prototype.state = 0; + LaunchPlanClosure.prototype.state = 0; /** - * ExecutionStateChangeDetails occurredAt. - * @member {google.protobuf.ITimestamp|null|undefined} occurredAt - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * LaunchPlanClosure expectedInputs. + * @member {flyteidl.core.IParameterMap|null|undefined} expectedInputs + * @memberof flyteidl.admin.LaunchPlanClosure * @instance */ - ExecutionStateChangeDetails.prototype.occurredAt = null; + LaunchPlanClosure.prototype.expectedInputs = null; /** - * ExecutionStateChangeDetails principal. - * @member {string} principal - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * LaunchPlanClosure expectedOutputs. + * @member {flyteidl.core.IVariableMap|null|undefined} expectedOutputs + * @memberof flyteidl.admin.LaunchPlanClosure * @instance */ - ExecutionStateChangeDetails.prototype.principal = ""; + LaunchPlanClosure.prototype.expectedOutputs = null; /** - * Creates a new ExecutionStateChangeDetails instance using the specified properties. + * LaunchPlanClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.LaunchPlanClosure + * @instance + */ + LaunchPlanClosure.prototype.createdAt = null; + + /** + * LaunchPlanClosure updatedAt. + * @member {google.protobuf.ITimestamp|null|undefined} updatedAt + * @memberof flyteidl.admin.LaunchPlanClosure + * @instance + */ + LaunchPlanClosure.prototype.updatedAt = null; + + /** + * Creates a new LaunchPlanClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * @memberof flyteidl.admin.LaunchPlanClosure * @static - * @param {flyteidl.admin.IExecutionStateChangeDetails=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionStateChangeDetails} ExecutionStateChangeDetails instance + * @param {flyteidl.admin.ILaunchPlanClosure=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanClosure} LaunchPlanClosure instance */ - ExecutionStateChangeDetails.create = function create(properties) { - return new ExecutionStateChangeDetails(properties); + LaunchPlanClosure.create = function create(properties) { + return new LaunchPlanClosure(properties); }; /** - * Encodes the specified ExecutionStateChangeDetails message. Does not implicitly {@link flyteidl.admin.ExecutionStateChangeDetails.verify|verify} messages. + * Encodes the specified LaunchPlanClosure message. Does not implicitly {@link flyteidl.admin.LaunchPlanClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * @memberof flyteidl.admin.LaunchPlanClosure * @static - * @param {flyteidl.admin.IExecutionStateChangeDetails} message ExecutionStateChangeDetails message or plain object to encode + * @param {flyteidl.admin.ILaunchPlanClosure} message LaunchPlanClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionStateChangeDetails.encode = function encode(message, writer) { + LaunchPlanClosure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.state != null && message.hasOwnProperty("state")) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.state); - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) - $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.principal != null && message.hasOwnProperty("principal")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.principal); + if (message.expectedInputs != null && message.hasOwnProperty("expectedInputs")) + $root.flyteidl.core.ParameterMap.encode(message.expectedInputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.expectedOutputs != null && message.hasOwnProperty("expectedOutputs")) + $root.flyteidl.core.VariableMap.encode(message.expectedOutputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.createdAt != null && message.hasOwnProperty("createdAt")) + $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) + $root.google.protobuf.Timestamp.encode(message.updatedAt, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes an ExecutionStateChangeDetails message from the specified reader or buffer. + * Decodes a LaunchPlanClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * @memberof flyteidl.admin.LaunchPlanClosure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionStateChangeDetails} ExecutionStateChangeDetails + * @returns {flyteidl.admin.LaunchPlanClosure} LaunchPlanClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionStateChangeDetails.decode = function decode(reader, length) { + LaunchPlanClosure.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionStateChangeDetails(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanClosure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { @@ -36030,10 +35942,16 @@ message.state = reader.int32(); break; case 2: - message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.expectedInputs = $root.flyteidl.core.ParameterMap.decode(reader, reader.uint32()); break; case 3: - message.principal = reader.string(); + message.expectedOutputs = $root.flyteidl.core.VariableMap.decode(reader, reader.uint32()); + break; + case 4: + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 5: + message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -36044,14 +35962,14 @@ }; /** - * Verifies an ExecutionStateChangeDetails message. + * Verifies a LaunchPlanClosure message. * @function verify - * @memberof flyteidl.admin.ExecutionStateChangeDetails + * @memberof flyteidl.admin.LaunchPlanClosure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionStateChangeDetails.verify = function verify(message) { + LaunchPlanClosure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; if (message.state != null && message.hasOwnProperty("state")) @@ -36062,37 +35980,53 @@ case 1: break; } - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); + if (message.expectedInputs != null && message.hasOwnProperty("expectedInputs")) { + var error = $root.flyteidl.core.ParameterMap.verify(message.expectedInputs); if (error) - return "occurredAt." + error; + return "expectedInputs." + error; + } + if (message.expectedOutputs != null && message.hasOwnProperty("expectedOutputs")) { + var error = $root.flyteidl.core.VariableMap.verify(message.expectedOutputs); + if (error) + return "expectedOutputs." + error; + } + if (message.createdAt != null && message.hasOwnProperty("createdAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.createdAt); + if (error) + return "createdAt." + error; + } + if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.updatedAt); + if (error) + return "updatedAt." + error; } - if (message.principal != null && message.hasOwnProperty("principal")) - if (!$util.isString(message.principal)) - return "principal: string expected"; return null; }; - return ExecutionStateChangeDetails; + return LaunchPlanClosure; })(); - admin.ExecutionUpdateResponse = (function() { + admin.LaunchPlanMetadata = (function() { /** - * Properties of an ExecutionUpdateResponse. + * Properties of a LaunchPlanMetadata. * @memberof flyteidl.admin - * @interface IExecutionUpdateResponse + * @interface ILaunchPlanMetadata + * @property {flyteidl.admin.ISchedule|null} [schedule] LaunchPlanMetadata schedule + * @property {Array.|null} [notifications] LaunchPlanMetadata notifications + * @property {google.protobuf.IAny|null} [launchConditions] LaunchPlanMetadata launchConditions */ /** - * Constructs a new ExecutionUpdateResponse. + * Constructs a new LaunchPlanMetadata. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionUpdateResponse. - * @implements IExecutionUpdateResponse + * @classdesc Represents a LaunchPlanMetadata. + * @implements ILaunchPlanMetadata * @constructor - * @param {flyteidl.admin.IExecutionUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanMetadata=} [properties] Properties to set */ - function ExecutionUpdateResponse(properties) { + function LaunchPlanMetadata(properties) { + this.notifications = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36100,170 +36034,91 @@ } /** - * Creates a new ExecutionUpdateResponse instance using the specified properties. - * @function create - * @memberof flyteidl.admin.ExecutionUpdateResponse - * @static - * @param {flyteidl.admin.IExecutionUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionUpdateResponse} ExecutionUpdateResponse instance - */ - ExecutionUpdateResponse.create = function create(properties) { - return new ExecutionUpdateResponse(properties); - }; - - /** - * Encodes the specified ExecutionUpdateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateResponse.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.ExecutionUpdateResponse - * @static - * @param {flyteidl.admin.IExecutionUpdateResponse} message ExecutionUpdateResponse message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExecutionUpdateResponse.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Decodes an ExecutionUpdateResponse message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.ExecutionUpdateResponse - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionUpdateResponse} ExecutionUpdateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExecutionUpdateResponse.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionUpdateResponse(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Verifies an ExecutionUpdateResponse message. - * @function verify - * @memberof flyteidl.admin.ExecutionUpdateResponse - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExecutionUpdateResponse.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - return ExecutionUpdateResponse; - })(); - - admin.WorkflowExecutionGetMetricsRequest = (function() { - - /** - * Properties of a WorkflowExecutionGetMetricsRequest. - * @memberof flyteidl.admin - * @interface IWorkflowExecutionGetMetricsRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [id] WorkflowExecutionGetMetricsRequest id - * @property {number|null} [depth] WorkflowExecutionGetMetricsRequest depth - */ - - /** - * Constructs a new WorkflowExecutionGetMetricsRequest. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionGetMetricsRequest. - * @implements IWorkflowExecutionGetMetricsRequest - * @constructor - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest=} [properties] Properties to set + * LaunchPlanMetadata schedule. + * @member {flyteidl.admin.ISchedule|null|undefined} schedule + * @memberof flyteidl.admin.LaunchPlanMetadata + * @instance */ - function WorkflowExecutionGetMetricsRequest(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + LaunchPlanMetadata.prototype.schedule = null; /** - * WorkflowExecutionGetMetricsRequest id. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * LaunchPlanMetadata notifications. + * @member {Array.} notifications + * @memberof flyteidl.admin.LaunchPlanMetadata * @instance */ - WorkflowExecutionGetMetricsRequest.prototype.id = null; + LaunchPlanMetadata.prototype.notifications = $util.emptyArray; /** - * WorkflowExecutionGetMetricsRequest depth. - * @member {number} depth - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * LaunchPlanMetadata launchConditions. + * @member {google.protobuf.IAny|null|undefined} launchConditions + * @memberof flyteidl.admin.LaunchPlanMetadata * @instance */ - WorkflowExecutionGetMetricsRequest.prototype.depth = 0; + LaunchPlanMetadata.prototype.launchConditions = null; /** - * Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties. + * Creates a new LaunchPlanMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @memberof flyteidl.admin.LaunchPlanMetadata * @static - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionGetMetricsRequest} WorkflowExecutionGetMetricsRequest instance + * @param {flyteidl.admin.ILaunchPlanMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanMetadata} LaunchPlanMetadata instance */ - WorkflowExecutionGetMetricsRequest.create = function create(properties) { - return new WorkflowExecutionGetMetricsRequest(properties); + LaunchPlanMetadata.create = function create(properties) { + return new LaunchPlanMetadata(properties); }; /** - * Encodes the specified WorkflowExecutionGetMetricsRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsRequest.verify|verify} messages. + * Encodes the specified LaunchPlanMetadata message. Does not implicitly {@link flyteidl.admin.LaunchPlanMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @memberof flyteidl.admin.LaunchPlanMetadata * @static - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsRequest} message WorkflowExecutionGetMetricsRequest message or plain object to encode + * @param {flyteidl.admin.ILaunchPlanMetadata} message LaunchPlanMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowExecutionGetMetricsRequest.encode = function encode(message, writer) { + LaunchPlanMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.depth != null && message.hasOwnProperty("depth")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.depth); + if (message.schedule != null && message.hasOwnProperty("schedule")) + $root.flyteidl.admin.Schedule.encode(message.schedule, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.notifications != null && message.notifications.length) + for (var i = 0; i < message.notifications.length; ++i) + $root.flyteidl.admin.Notification.encode(message.notifications[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.launchConditions != null && message.hasOwnProperty("launchConditions")) + $root.google.protobuf.Any.encode(message.launchConditions, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowExecutionGetMetricsRequest message from the specified reader or buffer. + * Decodes a LaunchPlanMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @memberof flyteidl.admin.LaunchPlanMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowExecutionGetMetricsRequest} WorkflowExecutionGetMetricsRequest + * @returns {flyteidl.admin.LaunchPlanMetadata} LaunchPlanMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowExecutionGetMetricsRequest.decode = function decode(reader, length) { + LaunchPlanMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetMetricsRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.schedule = $root.flyteidl.admin.Schedule.decode(reader, reader.uint32()); break; case 2: - message.depth = reader.int32(); + if (!(message.notifications && message.notifications.length)) + message.notifications = []; + message.notifications.push($root.flyteidl.admin.Notification.decode(reader, reader.uint32())); + break; + case 3: + message.launchConditions = $root.google.protobuf.Any.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -36274,48 +36129,60 @@ }; /** - * Verifies a WorkflowExecutionGetMetricsRequest message. + * Verifies a LaunchPlanMetadata message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsRequest + * @memberof flyteidl.admin.LaunchPlanMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowExecutionGetMetricsRequest.verify = function verify(message) { + LaunchPlanMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.id); + if (message.schedule != null && message.hasOwnProperty("schedule")) { + var error = $root.flyteidl.admin.Schedule.verify(message.schedule); if (error) - return "id." + error; + return "schedule." + error; + } + if (message.notifications != null && message.hasOwnProperty("notifications")) { + if (!Array.isArray(message.notifications)) + return "notifications: array expected"; + for (var i = 0; i < message.notifications.length; ++i) { + var error = $root.flyteidl.admin.Notification.verify(message.notifications[i]); + if (error) + return "notifications." + error; + } + } + if (message.launchConditions != null && message.hasOwnProperty("launchConditions")) { + var error = $root.google.protobuf.Any.verify(message.launchConditions); + if (error) + return "launchConditions." + error; } - if (message.depth != null && message.hasOwnProperty("depth")) - if (!$util.isInteger(message.depth)) - return "depth: integer expected"; return null; }; - return WorkflowExecutionGetMetricsRequest; + return LaunchPlanMetadata; })(); - admin.WorkflowExecutionGetMetricsResponse = (function() { + admin.LaunchPlanUpdateRequest = (function() { /** - * Properties of a WorkflowExecutionGetMetricsResponse. + * Properties of a LaunchPlanUpdateRequest. * @memberof flyteidl.admin - * @interface IWorkflowExecutionGetMetricsResponse - * @property {flyteidl.core.ISpan|null} [span] WorkflowExecutionGetMetricsResponse span + * @interface ILaunchPlanUpdateRequest + * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanUpdateRequest id + * @property {flyteidl.admin.LaunchPlanState|null} [state] LaunchPlanUpdateRequest state */ /** - * Constructs a new WorkflowExecutionGetMetricsResponse. + * Constructs a new LaunchPlanUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionGetMetricsResponse. - * @implements IWorkflowExecutionGetMetricsResponse + * @classdesc Represents a LaunchPlanUpdateRequest. + * @implements ILaunchPlanUpdateRequest * @constructor - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanUpdateRequest=} [properties] Properties to set */ - function WorkflowExecutionGetMetricsResponse(properties) { + function LaunchPlanUpdateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36323,62 +36190,75 @@ } /** - * WorkflowExecutionGetMetricsResponse span. - * @member {flyteidl.core.ISpan|null|undefined} span - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * LaunchPlanUpdateRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @instance */ - WorkflowExecutionGetMetricsResponse.prototype.span = null; + LaunchPlanUpdateRequest.prototype.id = null; /** - * Creates a new WorkflowExecutionGetMetricsResponse instance using the specified properties. + * LaunchPlanUpdateRequest state. + * @member {flyteidl.admin.LaunchPlanState} state + * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @instance + */ + LaunchPlanUpdateRequest.prototype.state = 0; + + /** + * Creates a new LaunchPlanUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @static - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionGetMetricsResponse} WorkflowExecutionGetMetricsResponse instance + * @param {flyteidl.admin.ILaunchPlanUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanUpdateRequest} LaunchPlanUpdateRequest instance */ - WorkflowExecutionGetMetricsResponse.create = function create(properties) { - return new WorkflowExecutionGetMetricsResponse(properties); + LaunchPlanUpdateRequest.create = function create(properties) { + return new LaunchPlanUpdateRequest(properties); }; /** - * Encodes the specified WorkflowExecutionGetMetricsResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsResponse.verify|verify} messages. + * Encodes the specified LaunchPlanUpdateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @static - * @param {flyteidl.admin.IWorkflowExecutionGetMetricsResponse} message WorkflowExecutionGetMetricsResponse message or plain object to encode + * @param {flyteidl.admin.ILaunchPlanUpdateRequest} message LaunchPlanUpdateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowExecutionGetMetricsResponse.encode = function encode(message, writer) { + LaunchPlanUpdateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.span != null && message.hasOwnProperty("span")) - $root.flyteidl.core.Span.encode(message.span, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.state != null && message.hasOwnProperty("state")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.state); return writer; }; /** - * Decodes a WorkflowExecutionGetMetricsResponse message from the specified reader or buffer. + * Decodes a LaunchPlanUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowExecutionGetMetricsResponse} WorkflowExecutionGetMetricsResponse + * @returns {flyteidl.admin.LaunchPlanUpdateRequest} LaunchPlanUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowExecutionGetMetricsResponse.decode = function decode(reader, length) { + LaunchPlanUpdateRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionGetMetricsResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanUpdateRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.span = $root.flyteidl.core.Span.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 2: + message.state = reader.int32(); break; default: reader.skipType(tag & 7); @@ -36389,75 +36269,52 @@ }; /** - * Verifies a WorkflowExecutionGetMetricsResponse message. + * Verifies a LaunchPlanUpdateRequest message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionGetMetricsResponse + * @memberof flyteidl.admin.LaunchPlanUpdateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowExecutionGetMetricsResponse.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.span != null && message.hasOwnProperty("span")) { - var error = $root.flyteidl.core.Span.verify(message.span); - if (error) - return "span." + error; - } - return null; - }; - - return WorkflowExecutionGetMetricsResponse; - })(); - - /** - * MatchableResource enum. - * @name flyteidl.admin.MatchableResource - * @enum {string} - * @property {number} TASK_RESOURCE=0 TASK_RESOURCE value - * @property {number} CLUSTER_RESOURCE=1 CLUSTER_RESOURCE value - * @property {number} EXECUTION_QUEUE=2 EXECUTION_QUEUE value - * @property {number} EXECUTION_CLUSTER_LABEL=3 EXECUTION_CLUSTER_LABEL value - * @property {number} QUALITY_OF_SERVICE_SPECIFICATION=4 QUALITY_OF_SERVICE_SPECIFICATION value - * @property {number} PLUGIN_OVERRIDE=5 PLUGIN_OVERRIDE value - * @property {number} WORKFLOW_EXECUTION_CONFIG=6 WORKFLOW_EXECUTION_CONFIG value - * @property {number} CLUSTER_ASSIGNMENT=7 CLUSTER_ASSIGNMENT value - */ - admin.MatchableResource = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "TASK_RESOURCE"] = 0; - values[valuesById[1] = "CLUSTER_RESOURCE"] = 1; - values[valuesById[2] = "EXECUTION_QUEUE"] = 2; - values[valuesById[3] = "EXECUTION_CLUSTER_LABEL"] = 3; - values[valuesById[4] = "QUALITY_OF_SERVICE_SPECIFICATION"] = 4; - values[valuesById[5] = "PLUGIN_OVERRIDE"] = 5; - values[valuesById[6] = "WORKFLOW_EXECUTION_CONFIG"] = 6; - values[valuesById[7] = "CLUSTER_ASSIGNMENT"] = 7; - return values; + LaunchPlanUpdateRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + break; + } + return null; + }; + + return LaunchPlanUpdateRequest; })(); - admin.TaskResourceSpec = (function() { + admin.LaunchPlanUpdateResponse = (function() { /** - * Properties of a TaskResourceSpec. + * Properties of a LaunchPlanUpdateResponse. * @memberof flyteidl.admin - * @interface ITaskResourceSpec - * @property {string|null} [cpu] TaskResourceSpec cpu - * @property {string|null} [gpu] TaskResourceSpec gpu - * @property {string|null} [memory] TaskResourceSpec memory - * @property {string|null} [storage] TaskResourceSpec storage - * @property {string|null} [ephemeralStorage] TaskResourceSpec ephemeralStorage + * @interface ILaunchPlanUpdateResponse */ /** - * Constructs a new TaskResourceSpec. + * Constructs a new LaunchPlanUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a TaskResourceSpec. - * @implements ITaskResourceSpec + * @classdesc Represents a LaunchPlanUpdateResponse. + * @implements ILaunchPlanUpdateResponse * @constructor - * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set + * @param {flyteidl.admin.ILaunchPlanUpdateResponse=} [properties] Properties to set */ - function TaskResourceSpec(properties) { + function LaunchPlanUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36465,115 +36322,50 @@ } /** - * TaskResourceSpec cpu. - * @member {string} cpu - * @memberof flyteidl.admin.TaskResourceSpec - * @instance - */ - TaskResourceSpec.prototype.cpu = ""; - - /** - * TaskResourceSpec gpu. - * @member {string} gpu - * @memberof flyteidl.admin.TaskResourceSpec - * @instance - */ - TaskResourceSpec.prototype.gpu = ""; - - /** - * TaskResourceSpec memory. - * @member {string} memory - * @memberof flyteidl.admin.TaskResourceSpec - * @instance - */ - TaskResourceSpec.prototype.memory = ""; - - /** - * TaskResourceSpec storage. - * @member {string} storage - * @memberof flyteidl.admin.TaskResourceSpec - * @instance - */ - TaskResourceSpec.prototype.storage = ""; - - /** - * TaskResourceSpec ephemeralStorage. - * @member {string} ephemeralStorage - * @memberof flyteidl.admin.TaskResourceSpec - * @instance - */ - TaskResourceSpec.prototype.ephemeralStorage = ""; - - /** - * Creates a new TaskResourceSpec instance using the specified properties. + * Creates a new LaunchPlanUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskResourceSpec + * @memberof flyteidl.admin.LaunchPlanUpdateResponse * @static - * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set - * @returns {flyteidl.admin.TaskResourceSpec} TaskResourceSpec instance + * @param {flyteidl.admin.ILaunchPlanUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchPlanUpdateResponse} LaunchPlanUpdateResponse instance */ - TaskResourceSpec.create = function create(properties) { - return new TaskResourceSpec(properties); + LaunchPlanUpdateResponse.create = function create(properties) { + return new LaunchPlanUpdateResponse(properties); }; /** - * Encodes the specified TaskResourceSpec message. Does not implicitly {@link flyteidl.admin.TaskResourceSpec.verify|verify} messages. + * Encodes the specified LaunchPlanUpdateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskResourceSpec + * @memberof flyteidl.admin.LaunchPlanUpdateResponse * @static - * @param {flyteidl.admin.ITaskResourceSpec} message TaskResourceSpec message or plain object to encode + * @param {flyteidl.admin.ILaunchPlanUpdateResponse} message LaunchPlanUpdateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskResourceSpec.encode = function encode(message, writer) { + LaunchPlanUpdateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.cpu != null && message.hasOwnProperty("cpu")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.cpu); - if (message.gpu != null && message.hasOwnProperty("gpu")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.gpu); - if (message.memory != null && message.hasOwnProperty("memory")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.memory); - if (message.storage != null && message.hasOwnProperty("storage")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.storage); - if (message.ephemeralStorage != null && message.hasOwnProperty("ephemeralStorage")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.ephemeralStorage); return writer; }; /** - * Decodes a TaskResourceSpec message from the specified reader or buffer. + * Decodes a LaunchPlanUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskResourceSpec + * @memberof flyteidl.admin.LaunchPlanUpdateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskResourceSpec} TaskResourceSpec + * @returns {flyteidl.admin.LaunchPlanUpdateResponse} LaunchPlanUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskResourceSpec.decode = function decode(reader, length) { + LaunchPlanUpdateResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskResourceSpec(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanUpdateResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.cpu = reader.string(); - break; - case 2: - message.gpu = reader.string(); - break; - case 3: - message.memory = reader.string(); - break; - case 4: - message.storage = reader.string(); - break; - case 5: - message.ephemeralStorage = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -36583,56 +36375,40 @@ }; /** - * Verifies a TaskResourceSpec message. + * Verifies a LaunchPlanUpdateResponse message. * @function verify - * @memberof flyteidl.admin.TaskResourceSpec + * @memberof flyteidl.admin.LaunchPlanUpdateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskResourceSpec.verify = function verify(message) { + LaunchPlanUpdateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.cpu != null && message.hasOwnProperty("cpu")) - if (!$util.isString(message.cpu)) - return "cpu: string expected"; - if (message.gpu != null && message.hasOwnProperty("gpu")) - if (!$util.isString(message.gpu)) - return "gpu: string expected"; - if (message.memory != null && message.hasOwnProperty("memory")) - if (!$util.isString(message.memory)) - return "memory: string expected"; - if (message.storage != null && message.hasOwnProperty("storage")) - if (!$util.isString(message.storage)) - return "storage: string expected"; - if (message.ephemeralStorage != null && message.hasOwnProperty("ephemeralStorage")) - if (!$util.isString(message.ephemeralStorage)) - return "ephemeralStorage: string expected"; return null; }; - return TaskResourceSpec; + return LaunchPlanUpdateResponse; })(); - admin.TaskResourceAttributes = (function() { + admin.ActiveLaunchPlanRequest = (function() { /** - * Properties of a TaskResourceAttributes. + * Properties of an ActiveLaunchPlanRequest. * @memberof flyteidl.admin - * @interface ITaskResourceAttributes - * @property {flyteidl.admin.ITaskResourceSpec|null} [defaults] TaskResourceAttributes defaults - * @property {flyteidl.admin.ITaskResourceSpec|null} [limits] TaskResourceAttributes limits + * @interface IActiveLaunchPlanRequest + * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] ActiveLaunchPlanRequest id */ /** - * Constructs a new TaskResourceAttributes. + * Constructs a new ActiveLaunchPlanRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskResourceAttributes. - * @implements ITaskResourceAttributes + * @classdesc Represents an ActiveLaunchPlanRequest. + * @implements IActiveLaunchPlanRequest * @constructor - * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set + * @param {flyteidl.admin.IActiveLaunchPlanRequest=} [properties] Properties to set */ - function TaskResourceAttributes(properties) { + function ActiveLaunchPlanRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36640,75 +36416,62 @@ } /** - * TaskResourceAttributes defaults. - * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} defaults - * @memberof flyteidl.admin.TaskResourceAttributes - * @instance - */ - TaskResourceAttributes.prototype.defaults = null; - - /** - * TaskResourceAttributes limits. - * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} limits - * @memberof flyteidl.admin.TaskResourceAttributes + * ActiveLaunchPlanRequest id. + * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id + * @memberof flyteidl.admin.ActiveLaunchPlanRequest * @instance */ - TaskResourceAttributes.prototype.limits = null; + ActiveLaunchPlanRequest.prototype.id = null; /** - * Creates a new TaskResourceAttributes instance using the specified properties. + * Creates a new ActiveLaunchPlanRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskResourceAttributes + * @memberof flyteidl.admin.ActiveLaunchPlanRequest * @static - * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.TaskResourceAttributes} TaskResourceAttributes instance + * @param {flyteidl.admin.IActiveLaunchPlanRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ActiveLaunchPlanRequest} ActiveLaunchPlanRequest instance */ - TaskResourceAttributes.create = function create(properties) { - return new TaskResourceAttributes(properties); + ActiveLaunchPlanRequest.create = function create(properties) { + return new ActiveLaunchPlanRequest(properties); }; /** - * Encodes the specified TaskResourceAttributes message. Does not implicitly {@link flyteidl.admin.TaskResourceAttributes.verify|verify} messages. + * Encodes the specified ActiveLaunchPlanRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskResourceAttributes + * @memberof flyteidl.admin.ActiveLaunchPlanRequest * @static - * @param {flyteidl.admin.ITaskResourceAttributes} message TaskResourceAttributes message or plain object to encode + * @param {flyteidl.admin.IActiveLaunchPlanRequest} message ActiveLaunchPlanRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskResourceAttributes.encode = function encode(message, writer) { + ActiveLaunchPlanRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.defaults != null && message.hasOwnProperty("defaults")) - $root.flyteidl.admin.TaskResourceSpec.encode(message.defaults, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.limits != null && message.hasOwnProperty("limits")) - $root.flyteidl.admin.TaskResourceSpec.encode(message.limits, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a TaskResourceAttributes message from the specified reader or buffer. + * Decodes an ActiveLaunchPlanRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskResourceAttributes + * @memberof flyteidl.admin.ActiveLaunchPlanRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskResourceAttributes} TaskResourceAttributes + * @returns {flyteidl.admin.ActiveLaunchPlanRequest} ActiveLaunchPlanRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskResourceAttributes.decode = function decode(reader, length) { + ActiveLaunchPlanRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskResourceAttributes(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ActiveLaunchPlanRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.defaults = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); - break; - case 2: - message.limits = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); + message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -36719,51 +36482,50 @@ }; /** - * Verifies a TaskResourceAttributes message. + * Verifies an ActiveLaunchPlanRequest message. * @function verify - * @memberof flyteidl.admin.TaskResourceAttributes + * @memberof flyteidl.admin.ActiveLaunchPlanRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskResourceAttributes.verify = function verify(message) { + ActiveLaunchPlanRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.defaults != null && message.hasOwnProperty("defaults")) { - var error = $root.flyteidl.admin.TaskResourceSpec.verify(message.defaults); - if (error) - return "defaults." + error; - } - if (message.limits != null && message.hasOwnProperty("limits")) { - var error = $root.flyteidl.admin.TaskResourceSpec.verify(message.limits); + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); if (error) - return "limits." + error; + return "id." + error; } return null; }; - return TaskResourceAttributes; + return ActiveLaunchPlanRequest; })(); - admin.ClusterResourceAttributes = (function() { + admin.ActiveLaunchPlanListRequest = (function() { /** - * Properties of a ClusterResourceAttributes. + * Properties of an ActiveLaunchPlanListRequest. * @memberof flyteidl.admin - * @interface IClusterResourceAttributes - * @property {Object.|null} [attributes] ClusterResourceAttributes attributes + * @interface IActiveLaunchPlanListRequest + * @property {string|null} [project] ActiveLaunchPlanListRequest project + * @property {string|null} [domain] ActiveLaunchPlanListRequest domain + * @property {number|null} [limit] ActiveLaunchPlanListRequest limit + * @property {string|null} [token] ActiveLaunchPlanListRequest token + * @property {flyteidl.admin.ISort|null} [sortBy] ActiveLaunchPlanListRequest sortBy + * @property {string|null} [org] ActiveLaunchPlanListRequest org */ /** - * Constructs a new ClusterResourceAttributes. + * Constructs a new ActiveLaunchPlanListRequest. * @memberof flyteidl.admin - * @classdesc Represents a ClusterResourceAttributes. - * @implements IClusterResourceAttributes + * @classdesc Represents an ActiveLaunchPlanListRequest. + * @implements IActiveLaunchPlanListRequest * @constructor - * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set + * @param {flyteidl.admin.IActiveLaunchPlanListRequest=} [properties] Properties to set */ - function ClusterResourceAttributes(properties) { - this.attributes = {}; + function ActiveLaunchPlanListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36771,68 +36533,127 @@ } /** - * ClusterResourceAttributes attributes. - * @member {Object.} attributes - * @memberof flyteidl.admin.ClusterResourceAttributes + * ActiveLaunchPlanListRequest project. + * @member {string} project + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @instance */ - ClusterResourceAttributes.prototype.attributes = $util.emptyObject; + ActiveLaunchPlanListRequest.prototype.project = ""; /** - * Creates a new ClusterResourceAttributes instance using the specified properties. + * ActiveLaunchPlanListRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @instance + */ + ActiveLaunchPlanListRequest.prototype.domain = ""; + + /** + * ActiveLaunchPlanListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @instance + */ + ActiveLaunchPlanListRequest.prototype.limit = 0; + + /** + * ActiveLaunchPlanListRequest token. + * @member {string} token + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @instance + */ + ActiveLaunchPlanListRequest.prototype.token = ""; + + /** + * ActiveLaunchPlanListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @instance + */ + ActiveLaunchPlanListRequest.prototype.sortBy = null; + + /** + * ActiveLaunchPlanListRequest org. + * @member {string} org + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @instance + */ + ActiveLaunchPlanListRequest.prototype.org = ""; + + /** + * Creates a new ActiveLaunchPlanListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ClusterResourceAttributes + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @static - * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.ClusterResourceAttributes} ClusterResourceAttributes instance + * @param {flyteidl.admin.IActiveLaunchPlanListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ActiveLaunchPlanListRequest} ActiveLaunchPlanListRequest instance */ - ClusterResourceAttributes.create = function create(properties) { - return new ClusterResourceAttributes(properties); + ActiveLaunchPlanListRequest.create = function create(properties) { + return new ActiveLaunchPlanListRequest(properties); }; /** - * Encodes the specified ClusterResourceAttributes message. Does not implicitly {@link flyteidl.admin.ClusterResourceAttributes.verify|verify} messages. + * Encodes the specified ActiveLaunchPlanListRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ClusterResourceAttributes + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @static - * @param {flyteidl.admin.IClusterResourceAttributes} message ClusterResourceAttributes message or plain object to encode + * @param {flyteidl.admin.IActiveLaunchPlanListRequest} message ActiveLaunchPlanListRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ClusterResourceAttributes.encode = function encode(message, writer) { + ActiveLaunchPlanListRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.attributes != null && message.hasOwnProperty("attributes")) - for (var keys = Object.keys(message.attributes), i = 0; i < keys.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.attributes[keys[i]]).ldelim(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.limit != null && message.hasOwnProperty("limit")) + writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.limit); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.token); + if (message.sortBy != null && message.hasOwnProperty("sortBy")) + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.org); return writer; }; /** - * Decodes a ClusterResourceAttributes message from the specified reader or buffer. + * Decodes an ActiveLaunchPlanListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ClusterResourceAttributes + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ClusterResourceAttributes} ClusterResourceAttributes + * @returns {flyteidl.admin.ActiveLaunchPlanListRequest} ActiveLaunchPlanListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ClusterResourceAttributes.decode = function decode(reader, length) { + ActiveLaunchPlanListRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ClusterResourceAttributes(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ActiveLaunchPlanListRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - reader.skip().pos++; - if (message.attributes === $util.emptyObject) - message.attributes = {}; - key = reader.string(); - reader.pos++; - message.attributes[key] = reader.string(); + message.project = reader.string(); + break; + case 2: + message.domain = reader.string(); + break; + case 3: + message.limit = reader.uint32(); + break; + case 4: + message.token = reader.string(); + break; + case 5: + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + break; + case 6: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -36843,49 +36664,77 @@ }; /** - * Verifies a ClusterResourceAttributes message. + * Verifies an ActiveLaunchPlanListRequest message. * @function verify - * @memberof flyteidl.admin.ClusterResourceAttributes + * @memberof flyteidl.admin.ActiveLaunchPlanListRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ClusterResourceAttributes.verify = function verify(message) { + ActiveLaunchPlanListRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.attributes != null && message.hasOwnProperty("attributes")) { - if (!$util.isObject(message.attributes)) - return "attributes: object expected"; - var key = Object.keys(message.attributes); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.attributes[key[i]])) - return "attributes: string{k:string} expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.limit != null && message.hasOwnProperty("limit")) + if (!$util.isInteger(message.limit)) + return "limit: integer expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + if (message.sortBy != null && message.hasOwnProperty("sortBy")) { + var error = $root.flyteidl.admin.Sort.verify(message.sortBy); + if (error) + return "sortBy." + error; } + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return ClusterResourceAttributes; + return ActiveLaunchPlanListRequest; })(); - admin.ExecutionQueueAttributes = (function() { + /** + * FixedRateUnit enum. + * @name flyteidl.admin.FixedRateUnit + * @enum {string} + * @property {number} MINUTE=0 MINUTE value + * @property {number} HOUR=1 HOUR value + * @property {number} DAY=2 DAY value + */ + admin.FixedRateUnit = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "MINUTE"] = 0; + values[valuesById[1] = "HOUR"] = 1; + values[valuesById[2] = "DAY"] = 2; + return values; + })(); + + admin.FixedRate = (function() { /** - * Properties of an ExecutionQueueAttributes. + * Properties of a FixedRate. * @memberof flyteidl.admin - * @interface IExecutionQueueAttributes - * @property {Array.|null} [tags] ExecutionQueueAttributes tags + * @interface IFixedRate + * @property {number|null} [value] FixedRate value + * @property {flyteidl.admin.FixedRateUnit|null} [unit] FixedRate unit */ /** - * Constructs a new ExecutionQueueAttributes. + * Constructs a new FixedRate. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionQueueAttributes. - * @implements IExecutionQueueAttributes + * @classdesc Represents a FixedRate. + * @implements IFixedRate * @constructor - * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set + * @param {flyteidl.admin.IFixedRate=} [properties] Properties to set */ - function ExecutionQueueAttributes(properties) { - this.tags = []; + function FixedRate(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -36893,65 +36742,75 @@ } /** - * ExecutionQueueAttributes tags. - * @member {Array.} tags - * @memberof flyteidl.admin.ExecutionQueueAttributes + * FixedRate value. + * @member {number} value + * @memberof flyteidl.admin.FixedRate * @instance */ - ExecutionQueueAttributes.prototype.tags = $util.emptyArray; + FixedRate.prototype.value = 0; /** - * Creates a new ExecutionQueueAttributes instance using the specified properties. + * FixedRate unit. + * @member {flyteidl.admin.FixedRateUnit} unit + * @memberof flyteidl.admin.FixedRate + * @instance + */ + FixedRate.prototype.unit = 0; + + /** + * Creates a new FixedRate instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionQueueAttributes + * @memberof flyteidl.admin.FixedRate * @static - * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionQueueAttributes} ExecutionQueueAttributes instance + * @param {flyteidl.admin.IFixedRate=} [properties] Properties to set + * @returns {flyteidl.admin.FixedRate} FixedRate instance */ - ExecutionQueueAttributes.create = function create(properties) { - return new ExecutionQueueAttributes(properties); + FixedRate.create = function create(properties) { + return new FixedRate(properties); }; /** - * Encodes the specified ExecutionQueueAttributes message. Does not implicitly {@link flyteidl.admin.ExecutionQueueAttributes.verify|verify} messages. + * Encodes the specified FixedRate message. Does not implicitly {@link flyteidl.admin.FixedRate.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionQueueAttributes + * @memberof flyteidl.admin.FixedRate * @static - * @param {flyteidl.admin.IExecutionQueueAttributes} message ExecutionQueueAttributes message or plain object to encode + * @param {flyteidl.admin.IFixedRate} message FixedRate message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionQueueAttributes.encode = function encode(message, writer) { + FixedRate.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.tags != null && message.tags.length) - for (var i = 0; i < message.tags.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.tags[i]); + if (message.value != null && message.hasOwnProperty("value")) + writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.value); + if (message.unit != null && message.hasOwnProperty("unit")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.unit); return writer; }; /** - * Decodes an ExecutionQueueAttributes message from the specified reader or buffer. + * Decodes a FixedRate message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionQueueAttributes + * @memberof flyteidl.admin.FixedRate * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionQueueAttributes} ExecutionQueueAttributes + * @returns {flyteidl.admin.FixedRate} FixedRate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionQueueAttributes.decode = function decode(reader, length) { + FixedRate.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionQueueAttributes(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.FixedRate(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.tags && message.tags.length)) - message.tags = []; - message.tags.push(reader.string()); + message.value = reader.uint32(); + break; + case 2: + message.unit = reader.int32(); break; default: reader.skipType(tag & 7); @@ -36962,47 +36821,53 @@ }; /** - * Verifies an ExecutionQueueAttributes message. + * Verifies a FixedRate message. * @function verify - * @memberof flyteidl.admin.ExecutionQueueAttributes + * @memberof flyteidl.admin.FixedRate * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionQueueAttributes.verify = function verify(message) { + FixedRate.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.tags != null && message.hasOwnProperty("tags")) { - if (!Array.isArray(message.tags)) - return "tags: array expected"; - for (var i = 0; i < message.tags.length; ++i) - if (!$util.isString(message.tags[i])) - return "tags: string[] expected"; - } + if (message.value != null && message.hasOwnProperty("value")) + if (!$util.isInteger(message.value)) + return "value: integer expected"; + if (message.unit != null && message.hasOwnProperty("unit")) + switch (message.unit) { + default: + return "unit: enum value expected"; + case 0: + case 1: + case 2: + break; + } return null; }; - return ExecutionQueueAttributes; + return FixedRate; })(); - admin.ExecutionClusterLabel = (function() { + admin.CronSchedule = (function() { /** - * Properties of an ExecutionClusterLabel. + * Properties of a CronSchedule. * @memberof flyteidl.admin - * @interface IExecutionClusterLabel - * @property {string|null} [value] ExecutionClusterLabel value + * @interface ICronSchedule + * @property {string|null} [schedule] CronSchedule schedule + * @property {string|null} [offset] CronSchedule offset */ /** - * Constructs a new ExecutionClusterLabel. + * Constructs a new CronSchedule. * @memberof flyteidl.admin - * @classdesc Represents an ExecutionClusterLabel. - * @implements IExecutionClusterLabel + * @classdesc Represents a CronSchedule. + * @implements ICronSchedule * @constructor - * @param {flyteidl.admin.IExecutionClusterLabel=} [properties] Properties to set + * @param {flyteidl.admin.ICronSchedule=} [properties] Properties to set */ - function ExecutionClusterLabel(properties) { + function CronSchedule(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37010,62 +36875,75 @@ } /** - * ExecutionClusterLabel value. - * @member {string} value - * @memberof flyteidl.admin.ExecutionClusterLabel + * CronSchedule schedule. + * @member {string} schedule + * @memberof flyteidl.admin.CronSchedule * @instance */ - ExecutionClusterLabel.prototype.value = ""; + CronSchedule.prototype.schedule = ""; /** - * Creates a new ExecutionClusterLabel instance using the specified properties. + * CronSchedule offset. + * @member {string} offset + * @memberof flyteidl.admin.CronSchedule + * @instance + */ + CronSchedule.prototype.offset = ""; + + /** + * Creates a new CronSchedule instance using the specified properties. * @function create - * @memberof flyteidl.admin.ExecutionClusterLabel + * @memberof flyteidl.admin.CronSchedule * @static - * @param {flyteidl.admin.IExecutionClusterLabel=} [properties] Properties to set - * @returns {flyteidl.admin.ExecutionClusterLabel} ExecutionClusterLabel instance + * @param {flyteidl.admin.ICronSchedule=} [properties] Properties to set + * @returns {flyteidl.admin.CronSchedule} CronSchedule instance */ - ExecutionClusterLabel.create = function create(properties) { - return new ExecutionClusterLabel(properties); + CronSchedule.create = function create(properties) { + return new CronSchedule(properties); }; /** - * Encodes the specified ExecutionClusterLabel message. Does not implicitly {@link flyteidl.admin.ExecutionClusterLabel.verify|verify} messages. + * Encodes the specified CronSchedule message. Does not implicitly {@link flyteidl.admin.CronSchedule.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ExecutionClusterLabel + * @memberof flyteidl.admin.CronSchedule * @static - * @param {flyteidl.admin.IExecutionClusterLabel} message ExecutionClusterLabel message or plain object to encode + * @param {flyteidl.admin.ICronSchedule} message CronSchedule message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExecutionClusterLabel.encode = function encode(message, writer) { + CronSchedule.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.value != null && message.hasOwnProperty("value")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.value); + if (message.schedule != null && message.hasOwnProperty("schedule")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.schedule); + if (message.offset != null && message.hasOwnProperty("offset")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.offset); return writer; }; /** - * Decodes an ExecutionClusterLabel message from the specified reader or buffer. + * Decodes a CronSchedule message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ExecutionClusterLabel + * @memberof flyteidl.admin.CronSchedule * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ExecutionClusterLabel} ExecutionClusterLabel + * @returns {flyteidl.admin.CronSchedule} CronSchedule * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExecutionClusterLabel.decode = function decode(reader, length) { + CronSchedule.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionClusterLabel(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.CronSchedule(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.value = reader.string(); + message.schedule = reader.string(); + break; + case 2: + message.offset = reader.string(); break; default: reader.skipType(tag & 7); @@ -37076,46 +36954,49 @@ }; /** - * Verifies an ExecutionClusterLabel message. + * Verifies a CronSchedule message. * @function verify - * @memberof flyteidl.admin.ExecutionClusterLabel + * @memberof flyteidl.admin.CronSchedule * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExecutionClusterLabel.verify = function verify(message) { + CronSchedule.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isString(message.value)) - return "value: string expected"; + if (message.schedule != null && message.hasOwnProperty("schedule")) + if (!$util.isString(message.schedule)) + return "schedule: string expected"; + if (message.offset != null && message.hasOwnProperty("offset")) + if (!$util.isString(message.offset)) + return "offset: string expected"; return null; }; - return ExecutionClusterLabel; + return CronSchedule; })(); - admin.PluginOverride = (function() { + admin.Schedule = (function() { /** - * Properties of a PluginOverride. + * Properties of a Schedule. * @memberof flyteidl.admin - * @interface IPluginOverride - * @property {string|null} [taskType] PluginOverride taskType - * @property {Array.|null} [pluginId] PluginOverride pluginId - * @property {flyteidl.admin.PluginOverride.MissingPluginBehavior|null} [missingPluginBehavior] PluginOverride missingPluginBehavior + * @interface ISchedule + * @property {string|null} [cronExpression] Schedule cronExpression + * @property {flyteidl.admin.IFixedRate|null} [rate] Schedule rate + * @property {flyteidl.admin.ICronSchedule|null} [cronSchedule] Schedule cronSchedule + * @property {string|null} [kickoffTimeInputArg] Schedule kickoffTimeInputArg */ /** - * Constructs a new PluginOverride. + * Constructs a new Schedule. * @memberof flyteidl.admin - * @classdesc Represents a PluginOverride. - * @implements IPluginOverride + * @classdesc Represents a Schedule. + * @implements ISchedule * @constructor - * @param {flyteidl.admin.IPluginOverride=} [properties] Properties to set + * @param {flyteidl.admin.ISchedule=} [properties] Properties to set */ - function PluginOverride(properties) { - this.pluginId = []; + function Schedule(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37123,91 +37004,115 @@ } /** - * PluginOverride taskType. - * @member {string} taskType - * @memberof flyteidl.admin.PluginOverride + * Schedule cronExpression. + * @member {string} cronExpression + * @memberof flyteidl.admin.Schedule * @instance */ - PluginOverride.prototype.taskType = ""; + Schedule.prototype.cronExpression = ""; /** - * PluginOverride pluginId. - * @member {Array.} pluginId - * @memberof flyteidl.admin.PluginOverride + * Schedule rate. + * @member {flyteidl.admin.IFixedRate|null|undefined} rate + * @memberof flyteidl.admin.Schedule * @instance */ - PluginOverride.prototype.pluginId = $util.emptyArray; + Schedule.prototype.rate = null; /** - * PluginOverride missingPluginBehavior. - * @member {flyteidl.admin.PluginOverride.MissingPluginBehavior} missingPluginBehavior - * @memberof flyteidl.admin.PluginOverride + * Schedule cronSchedule. + * @member {flyteidl.admin.ICronSchedule|null|undefined} cronSchedule + * @memberof flyteidl.admin.Schedule * @instance */ - PluginOverride.prototype.missingPluginBehavior = 0; + Schedule.prototype.cronSchedule = null; /** - * Creates a new PluginOverride instance using the specified properties. + * Schedule kickoffTimeInputArg. + * @member {string} kickoffTimeInputArg + * @memberof flyteidl.admin.Schedule + * @instance + */ + Schedule.prototype.kickoffTimeInputArg = ""; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Schedule ScheduleExpression. + * @member {"cronExpression"|"rate"|"cronSchedule"|undefined} ScheduleExpression + * @memberof flyteidl.admin.Schedule + * @instance + */ + Object.defineProperty(Schedule.prototype, "ScheduleExpression", { + get: $util.oneOfGetter($oneOfFields = ["cronExpression", "rate", "cronSchedule"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Schedule instance using the specified properties. * @function create - * @memberof flyteidl.admin.PluginOverride + * @memberof flyteidl.admin.Schedule * @static - * @param {flyteidl.admin.IPluginOverride=} [properties] Properties to set - * @returns {flyteidl.admin.PluginOverride} PluginOverride instance + * @param {flyteidl.admin.ISchedule=} [properties] Properties to set + * @returns {flyteidl.admin.Schedule} Schedule instance */ - PluginOverride.create = function create(properties) { - return new PluginOverride(properties); + Schedule.create = function create(properties) { + return new Schedule(properties); }; /** - * Encodes the specified PluginOverride message. Does not implicitly {@link flyteidl.admin.PluginOverride.verify|verify} messages. + * Encodes the specified Schedule message. Does not implicitly {@link flyteidl.admin.Schedule.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.PluginOverride + * @memberof flyteidl.admin.Schedule * @static - * @param {flyteidl.admin.IPluginOverride} message PluginOverride message or plain object to encode + * @param {flyteidl.admin.ISchedule} message Schedule message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - PluginOverride.encode = function encode(message, writer) { + Schedule.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.taskType != null && message.hasOwnProperty("taskType")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.taskType); - if (message.pluginId != null && message.pluginId.length) - for (var i = 0; i < message.pluginId.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.pluginId[i]); - if (message.missingPluginBehavior != null && message.hasOwnProperty("missingPluginBehavior")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.missingPluginBehavior); + if (message.cronExpression != null && message.hasOwnProperty("cronExpression")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.cronExpression); + if (message.rate != null && message.hasOwnProperty("rate")) + $root.flyteidl.admin.FixedRate.encode(message.rate, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.kickoffTimeInputArg != null && message.hasOwnProperty("kickoffTimeInputArg")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.kickoffTimeInputArg); + if (message.cronSchedule != null && message.hasOwnProperty("cronSchedule")) + $root.flyteidl.admin.CronSchedule.encode(message.cronSchedule, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Decodes a PluginOverride message from the specified reader or buffer. + * Decodes a Schedule message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.PluginOverride + * @memberof flyteidl.admin.Schedule * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.PluginOverride} PluginOverride + * @returns {flyteidl.admin.Schedule} Schedule * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - PluginOverride.decode = function decode(reader, length) { + Schedule.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.PluginOverride(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Schedule(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.taskType = reader.string(); + message.cronExpression = reader.string(); break; case 2: - if (!(message.pluginId && message.pluginId.length)) - message.pluginId = []; - message.pluginId.push(reader.string()); + message.rate = $root.flyteidl.admin.FixedRate.decode(reader, reader.uint32()); break; case 4: - message.missingPluginBehavior = reader.int32(); + message.cronSchedule = $root.flyteidl.admin.CronSchedule.decode(reader, reader.uint32()); + break; + case 3: + message.kickoffTimeInputArg = reader.string(); break; default: reader.skipType(tag & 7); @@ -37218,73 +37123,69 @@ }; /** - * Verifies a PluginOverride message. + * Verifies a Schedule message. * @function verify - * @memberof flyteidl.admin.PluginOverride + * @memberof flyteidl.admin.Schedule * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - PluginOverride.verify = function verify(message) { + Schedule.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.taskType != null && message.hasOwnProperty("taskType")) - if (!$util.isString(message.taskType)) - return "taskType: string expected"; - if (message.pluginId != null && message.hasOwnProperty("pluginId")) { - if (!Array.isArray(message.pluginId)) - return "pluginId: array expected"; - for (var i = 0; i < message.pluginId.length; ++i) - if (!$util.isString(message.pluginId[i])) - return "pluginId: string[] expected"; + var properties = {}; + if (message.cronExpression != null && message.hasOwnProperty("cronExpression")) { + properties.ScheduleExpression = 1; + if (!$util.isString(message.cronExpression)) + return "cronExpression: string expected"; } - if (message.missingPluginBehavior != null && message.hasOwnProperty("missingPluginBehavior")) - switch (message.missingPluginBehavior) { - default: - return "missingPluginBehavior: enum value expected"; - case 0: - case 1: - break; + if (message.rate != null && message.hasOwnProperty("rate")) { + if (properties.ScheduleExpression === 1) + return "ScheduleExpression: multiple values"; + properties.ScheduleExpression = 1; + { + var error = $root.flyteidl.admin.FixedRate.verify(message.rate); + if (error) + return "rate." + error; + } + } + if (message.cronSchedule != null && message.hasOwnProperty("cronSchedule")) { + if (properties.ScheduleExpression === 1) + return "ScheduleExpression: multiple values"; + properties.ScheduleExpression = 1; + { + var error = $root.flyteidl.admin.CronSchedule.verify(message.cronSchedule); + if (error) + return "cronSchedule." + error; } + } + if (message.kickoffTimeInputArg != null && message.hasOwnProperty("kickoffTimeInputArg")) + if (!$util.isString(message.kickoffTimeInputArg)) + return "kickoffTimeInputArg: string expected"; return null; }; - /** - * MissingPluginBehavior enum. - * @name flyteidl.admin.PluginOverride.MissingPluginBehavior - * @enum {string} - * @property {number} FAIL=0 FAIL value - * @property {number} USE_DEFAULT=1 USE_DEFAULT value - */ - PluginOverride.MissingPluginBehavior = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "FAIL"] = 0; - values[valuesById[1] = "USE_DEFAULT"] = 1; - return values; - })(); - - return PluginOverride; + return Schedule; })(); - admin.PluginOverrides = (function() { + admin.NodeExecutionGetRequest = (function() { /** - * Properties of a PluginOverrides. + * Properties of a NodeExecutionGetRequest. * @memberof flyteidl.admin - * @interface IPluginOverrides - * @property {Array.|null} [overrides] PluginOverrides overrides + * @interface INodeExecutionGetRequest + * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionGetRequest id */ /** - * Constructs a new PluginOverrides. + * Constructs a new NodeExecutionGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a PluginOverrides. - * @implements IPluginOverrides + * @classdesc Represents a NodeExecutionGetRequest. + * @implements INodeExecutionGetRequest * @constructor - * @param {flyteidl.admin.IPluginOverrides=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionGetRequest=} [properties] Properties to set */ - function PluginOverrides(properties) { - this.overrides = []; + function NodeExecutionGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37292,65 +37193,62 @@ } /** - * PluginOverrides overrides. - * @member {Array.} overrides - * @memberof flyteidl.admin.PluginOverrides + * NodeExecutionGetRequest id. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.NodeExecutionGetRequest * @instance */ - PluginOverrides.prototype.overrides = $util.emptyArray; + NodeExecutionGetRequest.prototype.id = null; /** - * Creates a new PluginOverrides instance using the specified properties. + * Creates a new NodeExecutionGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.PluginOverrides + * @memberof flyteidl.admin.NodeExecutionGetRequest * @static - * @param {flyteidl.admin.IPluginOverrides=} [properties] Properties to set - * @returns {flyteidl.admin.PluginOverrides} PluginOverrides instance + * @param {flyteidl.admin.INodeExecutionGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionGetRequest} NodeExecutionGetRequest instance */ - PluginOverrides.create = function create(properties) { - return new PluginOverrides(properties); + NodeExecutionGetRequest.create = function create(properties) { + return new NodeExecutionGetRequest(properties); }; /** - * Encodes the specified PluginOverrides message. Does not implicitly {@link flyteidl.admin.PluginOverrides.verify|verify} messages. + * Encodes the specified NodeExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.PluginOverrides + * @memberof flyteidl.admin.NodeExecutionGetRequest * @static - * @param {flyteidl.admin.IPluginOverrides} message PluginOverrides message or plain object to encode + * @param {flyteidl.admin.INodeExecutionGetRequest} message NodeExecutionGetRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - PluginOverrides.encode = function encode(message, writer) { + NodeExecutionGetRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.overrides != null && message.overrides.length) - for (var i = 0; i < message.overrides.length; ++i) - $root.flyteidl.admin.PluginOverride.encode(message.overrides[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a PluginOverrides message from the specified reader or buffer. + * Decodes a NodeExecutionGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.PluginOverrides + * @memberof flyteidl.admin.NodeExecutionGetRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.PluginOverrides} PluginOverrides + * @returns {flyteidl.admin.NodeExecutionGetRequest} NodeExecutionGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - PluginOverrides.decode = function decode(reader, length) { + NodeExecutionGetRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.PluginOverrides(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionGetRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.overrides && message.overrides.length)) - message.overrides = []; - message.overrides.push($root.flyteidl.admin.PluginOverride.decode(reader, reader.uint32())); + message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -37361,58 +37259,50 @@ }; /** - * Verifies a PluginOverrides message. + * Verifies a NodeExecutionGetRequest message. * @function verify - * @memberof flyteidl.admin.PluginOverrides + * @memberof flyteidl.admin.NodeExecutionGetRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - PluginOverrides.verify = function verify(message) { + NodeExecutionGetRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.overrides != null && message.hasOwnProperty("overrides")) { - if (!Array.isArray(message.overrides)) - return "overrides: array expected"; - for (var i = 0; i < message.overrides.length; ++i) { - var error = $root.flyteidl.admin.PluginOverride.verify(message.overrides[i]); - if (error) - return "overrides." + error; - } + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; } return null; }; - return PluginOverrides; + return NodeExecutionGetRequest; })(); - admin.WorkflowExecutionConfig = (function() { + admin.NodeExecutionListRequest = (function() { /** - * Properties of a WorkflowExecutionConfig. + * Properties of a NodeExecutionListRequest. * @memberof flyteidl.admin - * @interface IWorkflowExecutionConfig - * @property {number|null} [maxParallelism] WorkflowExecutionConfig maxParallelism - * @property {flyteidl.core.ISecurityContext|null} [securityContext] WorkflowExecutionConfig securityContext - * @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] WorkflowExecutionConfig rawOutputDataConfig - * @property {flyteidl.admin.ILabels|null} [labels] WorkflowExecutionConfig labels - * @property {flyteidl.admin.IAnnotations|null} [annotations] WorkflowExecutionConfig annotations - * @property {google.protobuf.IBoolValue|null} [interruptible] WorkflowExecutionConfig interruptible - * @property {boolean|null} [overwriteCache] WorkflowExecutionConfig overwriteCache - * @property {flyteidl.admin.IEnvs|null} [envs] WorkflowExecutionConfig envs - * @property {Array.|null} [executionEnvAssignments] WorkflowExecutionConfig executionEnvAssignments + * @interface INodeExecutionListRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowExecutionId] NodeExecutionListRequest workflowExecutionId + * @property {number|null} [limit] NodeExecutionListRequest limit + * @property {string|null} [token] NodeExecutionListRequest token + * @property {string|null} [filters] NodeExecutionListRequest filters + * @property {flyteidl.admin.ISort|null} [sortBy] NodeExecutionListRequest sortBy + * @property {string|null} [uniqueParentId] NodeExecutionListRequest uniqueParentId */ /** - * Constructs a new WorkflowExecutionConfig. + * Constructs a new NodeExecutionListRequest. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowExecutionConfig. - * @implements IWorkflowExecutionConfig + * @classdesc Represents a NodeExecutionListRequest. + * @implements INodeExecutionListRequest * @constructor - * @param {flyteidl.admin.IWorkflowExecutionConfig=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionListRequest=} [properties] Properties to set */ - function WorkflowExecutionConfig(properties) { - this.executionEnvAssignments = []; + function NodeExecutionListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37420,169 +37310,127 @@ } /** - * WorkflowExecutionConfig maxParallelism. - * @member {number} maxParallelism - * @memberof flyteidl.admin.WorkflowExecutionConfig - * @instance - */ - WorkflowExecutionConfig.prototype.maxParallelism = 0; - - /** - * WorkflowExecutionConfig securityContext. - * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext - * @memberof flyteidl.admin.WorkflowExecutionConfig - * @instance - */ - WorkflowExecutionConfig.prototype.securityContext = null; - - /** - * WorkflowExecutionConfig rawOutputDataConfig. - * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig - * @memberof flyteidl.admin.WorkflowExecutionConfig - * @instance - */ - WorkflowExecutionConfig.prototype.rawOutputDataConfig = null; - - /** - * WorkflowExecutionConfig labels. - * @member {flyteidl.admin.ILabels|null|undefined} labels - * @memberof flyteidl.admin.WorkflowExecutionConfig + * NodeExecutionListRequest workflowExecutionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowExecutionId + * @memberof flyteidl.admin.NodeExecutionListRequest * @instance */ - WorkflowExecutionConfig.prototype.labels = null; + NodeExecutionListRequest.prototype.workflowExecutionId = null; /** - * WorkflowExecutionConfig annotations. - * @member {flyteidl.admin.IAnnotations|null|undefined} annotations - * @memberof flyteidl.admin.WorkflowExecutionConfig + * NodeExecutionListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.NodeExecutionListRequest * @instance */ - WorkflowExecutionConfig.prototype.annotations = null; + NodeExecutionListRequest.prototype.limit = 0; /** - * WorkflowExecutionConfig interruptible. - * @member {google.protobuf.IBoolValue|null|undefined} interruptible - * @memberof flyteidl.admin.WorkflowExecutionConfig + * NodeExecutionListRequest token. + * @member {string} token + * @memberof flyteidl.admin.NodeExecutionListRequest * @instance */ - WorkflowExecutionConfig.prototype.interruptible = null; + NodeExecutionListRequest.prototype.token = ""; /** - * WorkflowExecutionConfig overwriteCache. - * @member {boolean} overwriteCache - * @memberof flyteidl.admin.WorkflowExecutionConfig + * NodeExecutionListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.NodeExecutionListRequest * @instance */ - WorkflowExecutionConfig.prototype.overwriteCache = false; + NodeExecutionListRequest.prototype.filters = ""; /** - * WorkflowExecutionConfig envs. - * @member {flyteidl.admin.IEnvs|null|undefined} envs - * @memberof flyteidl.admin.WorkflowExecutionConfig + * NodeExecutionListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.NodeExecutionListRequest * @instance */ - WorkflowExecutionConfig.prototype.envs = null; + NodeExecutionListRequest.prototype.sortBy = null; /** - * WorkflowExecutionConfig executionEnvAssignments. - * @member {Array.} executionEnvAssignments - * @memberof flyteidl.admin.WorkflowExecutionConfig + * NodeExecutionListRequest uniqueParentId. + * @member {string} uniqueParentId + * @memberof flyteidl.admin.NodeExecutionListRequest * @instance */ - WorkflowExecutionConfig.prototype.executionEnvAssignments = $util.emptyArray; + NodeExecutionListRequest.prototype.uniqueParentId = ""; /** - * Creates a new WorkflowExecutionConfig instance using the specified properties. + * Creates a new NodeExecutionListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowExecutionConfig + * @memberof flyteidl.admin.NodeExecutionListRequest * @static - * @param {flyteidl.admin.IWorkflowExecutionConfig=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowExecutionConfig} WorkflowExecutionConfig instance + * @param {flyteidl.admin.INodeExecutionListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionListRequest} NodeExecutionListRequest instance */ - WorkflowExecutionConfig.create = function create(properties) { - return new WorkflowExecutionConfig(properties); + NodeExecutionListRequest.create = function create(properties) { + return new NodeExecutionListRequest(properties); }; /** - * Encodes the specified WorkflowExecutionConfig message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionConfig.verify|verify} messages. + * Encodes the specified NodeExecutionListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowExecutionConfig + * @memberof flyteidl.admin.NodeExecutionListRequest * @static - * @param {flyteidl.admin.IWorkflowExecutionConfig} message WorkflowExecutionConfig message or plain object to encode + * @param {flyteidl.admin.INodeExecutionListRequest} message NodeExecutionListRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowExecutionConfig.encode = function encode(message, writer) { + NodeExecutionListRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.maxParallelism); - if (message.securityContext != null && message.hasOwnProperty("securityContext")) - $root.flyteidl.core.SecurityContext.encode(message.securityContext, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) - $root.flyteidl.admin.RawOutputDataConfig.encode(message.rawOutputDataConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.labels != null && message.hasOwnProperty("labels")) - $root.flyteidl.admin.Labels.encode(message.labels, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.annotations != null && message.hasOwnProperty("annotations")) - $root.flyteidl.admin.Annotations.encode(message.annotations, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.interruptible != null && message.hasOwnProperty("interruptible")) - $root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) - writer.uint32(/* id 7, wireType 0 =*/56).bool(message.overwriteCache); - if (message.envs != null && message.hasOwnProperty("envs")) - $root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.executionEnvAssignments != null && message.executionEnvAssignments.length) - for (var i = 0; i < message.executionEnvAssignments.length; ++i) - $root.flyteidl.core.ExecutionEnvAssignment.encode(message.executionEnvAssignments[i], writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.limit != null && message.hasOwnProperty("limit")) + writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); + if (message.filters != null && message.hasOwnProperty("filters")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); + if (message.sortBy != null && message.hasOwnProperty("sortBy")) + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.uniqueParentId != null && message.hasOwnProperty("uniqueParentId")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.uniqueParentId); return writer; }; /** - * Decodes a WorkflowExecutionConfig message from the specified reader or buffer. + * Decodes a NodeExecutionListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowExecutionConfig + * @memberof flyteidl.admin.NodeExecutionListRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowExecutionConfig} WorkflowExecutionConfig + * @returns {flyteidl.admin.NodeExecutionListRequest} NodeExecutionListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowExecutionConfig.decode = function decode(reader, length) { + NodeExecutionListRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowExecutionConfig(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionListRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.maxParallelism = reader.int32(); + message.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32()); + message.limit = reader.uint32(); break; case 3: - message.rawOutputDataConfig = $root.flyteidl.admin.RawOutputDataConfig.decode(reader, reader.uint32()); + message.token = reader.string(); break; case 4: - message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32()); + message.filters = reader.string(); break; case 5: - message.annotations = $root.flyteidl.admin.Annotations.decode(reader, reader.uint32()); + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); break; case 6: - message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 7: - message.overwriteCache = reader.bool(); - break; - case 8: - message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32()); - break; - case 9: - if (!(message.executionEnvAssignments && message.executionEnvAssignments.length)) - message.executionEnvAssignments = []; - message.executionEnvAssignments.push($root.flyteidl.core.ExecutionEnvAssignment.decode(reader, reader.uint32())); + message.uniqueParentId = reader.string(); break; default: reader.skipType(tag & 7); @@ -37593,92 +37441,66 @@ }; /** - * Verifies a WorkflowExecutionConfig message. + * Verifies a NodeExecutionListRequest message. * @function verify - * @memberof flyteidl.admin.WorkflowExecutionConfig + * @memberof flyteidl.admin.NodeExecutionListRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowExecutionConfig.verify = function verify(message) { + NodeExecutionListRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) - if (!$util.isInteger(message.maxParallelism)) - return "maxParallelism: integer expected"; - if (message.securityContext != null && message.hasOwnProperty("securityContext")) { - var error = $root.flyteidl.core.SecurityContext.verify(message.securityContext); - if (error) - return "securityContext." + error; - } - if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) { - var error = $root.flyteidl.admin.RawOutputDataConfig.verify(message.rawOutputDataConfig); - if (error) - return "rawOutputDataConfig." + error; - } - if (message.labels != null && message.hasOwnProperty("labels")) { - var error = $root.flyteidl.admin.Labels.verify(message.labels); - if (error) - return "labels." + error; - } - if (message.annotations != null && message.hasOwnProperty("annotations")) { - var error = $root.flyteidl.admin.Annotations.verify(message.annotations); - if (error) - return "annotations." + error; - } - if (message.interruptible != null && message.hasOwnProperty("interruptible")) { - var error = $root.google.protobuf.BoolValue.verify(message.interruptible); + if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowExecutionId); if (error) - return "interruptible." + error; + return "workflowExecutionId." + error; } - if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) - if (typeof message.overwriteCache !== "boolean") - return "overwriteCache: boolean expected"; - if (message.envs != null && message.hasOwnProperty("envs")) { - var error = $root.flyteidl.admin.Envs.verify(message.envs); + if (message.limit != null && message.hasOwnProperty("limit")) + if (!$util.isInteger(message.limit)) + return "limit: integer expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + if (message.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; + if (message.sortBy != null && message.hasOwnProperty("sortBy")) { + var error = $root.flyteidl.admin.Sort.verify(message.sortBy); if (error) - return "envs." + error; - } - if (message.executionEnvAssignments != null && message.hasOwnProperty("executionEnvAssignments")) { - if (!Array.isArray(message.executionEnvAssignments)) - return "executionEnvAssignments: array expected"; - for (var i = 0; i < message.executionEnvAssignments.length; ++i) { - var error = $root.flyteidl.core.ExecutionEnvAssignment.verify(message.executionEnvAssignments[i]); - if (error) - return "executionEnvAssignments." + error; - } + return "sortBy." + error; } + if (message.uniqueParentId != null && message.hasOwnProperty("uniqueParentId")) + if (!$util.isString(message.uniqueParentId)) + return "uniqueParentId: string expected"; return null; }; - return WorkflowExecutionConfig; + return NodeExecutionListRequest; })(); - admin.MatchingAttributes = (function() { + admin.NodeExecutionForTaskListRequest = (function() { /** - * Properties of a MatchingAttributes. + * Properties of a NodeExecutionForTaskListRequest. * @memberof flyteidl.admin - * @interface IMatchingAttributes - * @property {flyteidl.admin.ITaskResourceAttributes|null} [taskResourceAttributes] MatchingAttributes taskResourceAttributes - * @property {flyteidl.admin.IClusterResourceAttributes|null} [clusterResourceAttributes] MatchingAttributes clusterResourceAttributes - * @property {flyteidl.admin.IExecutionQueueAttributes|null} [executionQueueAttributes] MatchingAttributes executionQueueAttributes - * @property {flyteidl.admin.IExecutionClusterLabel|null} [executionClusterLabel] MatchingAttributes executionClusterLabel - * @property {flyteidl.core.IQualityOfService|null} [qualityOfService] MatchingAttributes qualityOfService - * @property {flyteidl.admin.IPluginOverrides|null} [pluginOverrides] MatchingAttributes pluginOverrides - * @property {flyteidl.admin.IWorkflowExecutionConfig|null} [workflowExecutionConfig] MatchingAttributes workflowExecutionConfig - * @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] MatchingAttributes clusterAssignment + * @interface INodeExecutionForTaskListRequest + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecutionId] NodeExecutionForTaskListRequest taskExecutionId + * @property {number|null} [limit] NodeExecutionForTaskListRequest limit + * @property {string|null} [token] NodeExecutionForTaskListRequest token + * @property {string|null} [filters] NodeExecutionForTaskListRequest filters + * @property {flyteidl.admin.ISort|null} [sortBy] NodeExecutionForTaskListRequest sortBy */ /** - * Constructs a new MatchingAttributes. + * Constructs a new NodeExecutionForTaskListRequest. * @memberof flyteidl.admin - * @classdesc Represents a MatchingAttributes. - * @implements IMatchingAttributes + * @classdesc Represents a NodeExecutionForTaskListRequest. + * @implements INodeExecutionForTaskListRequest * @constructor - * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionForTaskListRequest=} [properties] Properties to set */ - function MatchingAttributes(properties) { + function NodeExecutionForTaskListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37686,167 +37508,114 @@ } /** - * MatchingAttributes taskResourceAttributes. - * @member {flyteidl.admin.ITaskResourceAttributes|null|undefined} taskResourceAttributes - * @memberof flyteidl.admin.MatchingAttributes - * @instance - */ - MatchingAttributes.prototype.taskResourceAttributes = null; - - /** - * MatchingAttributes clusterResourceAttributes. - * @member {flyteidl.admin.IClusterResourceAttributes|null|undefined} clusterResourceAttributes - * @memberof flyteidl.admin.MatchingAttributes - * @instance - */ - MatchingAttributes.prototype.clusterResourceAttributes = null; - - /** - * MatchingAttributes executionQueueAttributes. - * @member {flyteidl.admin.IExecutionQueueAttributes|null|undefined} executionQueueAttributes - * @memberof flyteidl.admin.MatchingAttributes - * @instance - */ - MatchingAttributes.prototype.executionQueueAttributes = null; - - /** - * MatchingAttributes executionClusterLabel. - * @member {flyteidl.admin.IExecutionClusterLabel|null|undefined} executionClusterLabel - * @memberof flyteidl.admin.MatchingAttributes - * @instance - */ - MatchingAttributes.prototype.executionClusterLabel = null; - - /** - * MatchingAttributes qualityOfService. - * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService - * @memberof flyteidl.admin.MatchingAttributes + * NodeExecutionForTaskListRequest taskExecutionId. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecutionId + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest * @instance */ - MatchingAttributes.prototype.qualityOfService = null; + NodeExecutionForTaskListRequest.prototype.taskExecutionId = null; /** - * MatchingAttributes pluginOverrides. - * @member {flyteidl.admin.IPluginOverrides|null|undefined} pluginOverrides - * @memberof flyteidl.admin.MatchingAttributes + * NodeExecutionForTaskListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest * @instance */ - MatchingAttributes.prototype.pluginOverrides = null; + NodeExecutionForTaskListRequest.prototype.limit = 0; /** - * MatchingAttributes workflowExecutionConfig. - * @member {flyteidl.admin.IWorkflowExecutionConfig|null|undefined} workflowExecutionConfig - * @memberof flyteidl.admin.MatchingAttributes + * NodeExecutionForTaskListRequest token. + * @member {string} token + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest * @instance */ - MatchingAttributes.prototype.workflowExecutionConfig = null; + NodeExecutionForTaskListRequest.prototype.token = ""; /** - * MatchingAttributes clusterAssignment. - * @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignment - * @memberof flyteidl.admin.MatchingAttributes + * NodeExecutionForTaskListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest * @instance */ - MatchingAttributes.prototype.clusterAssignment = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + NodeExecutionForTaskListRequest.prototype.filters = ""; /** - * MatchingAttributes target. - * @member {"taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment"|undefined} target - * @memberof flyteidl.admin.MatchingAttributes + * NodeExecutionForTaskListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest * @instance */ - Object.defineProperty(MatchingAttributes.prototype, "target", { - get: $util.oneOfGetter($oneOfFields = ["taskResourceAttributes", "clusterResourceAttributes", "executionQueueAttributes", "executionClusterLabel", "qualityOfService", "pluginOverrides", "workflowExecutionConfig", "clusterAssignment"]), - set: $util.oneOfSetter($oneOfFields) - }); + NodeExecutionForTaskListRequest.prototype.sortBy = null; /** - * Creates a new MatchingAttributes instance using the specified properties. + * Creates a new NodeExecutionForTaskListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.MatchingAttributes + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest * @static - * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.MatchingAttributes} MatchingAttributes instance + * @param {flyteidl.admin.INodeExecutionForTaskListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionForTaskListRequest} NodeExecutionForTaskListRequest instance */ - MatchingAttributes.create = function create(properties) { - return new MatchingAttributes(properties); + NodeExecutionForTaskListRequest.create = function create(properties) { + return new NodeExecutionForTaskListRequest(properties); }; /** - * Encodes the specified MatchingAttributes message. Does not implicitly {@link flyteidl.admin.MatchingAttributes.verify|verify} messages. + * Encodes the specified NodeExecutionForTaskListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionForTaskListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.MatchingAttributes + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest * @static - * @param {flyteidl.admin.IMatchingAttributes} message MatchingAttributes message or plain object to encode + * @param {flyteidl.admin.INodeExecutionForTaskListRequest} message NodeExecutionForTaskListRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - MatchingAttributes.encode = function encode(message, writer) { + NodeExecutionForTaskListRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.taskResourceAttributes != null && message.hasOwnProperty("taskResourceAttributes")) - $root.flyteidl.admin.TaskResourceAttributes.encode(message.taskResourceAttributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.clusterResourceAttributes != null && message.hasOwnProperty("clusterResourceAttributes")) - $root.flyteidl.admin.ClusterResourceAttributes.encode(message.clusterResourceAttributes, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.executionQueueAttributes != null && message.hasOwnProperty("executionQueueAttributes")) - $root.flyteidl.admin.ExecutionQueueAttributes.encode(message.executionQueueAttributes, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.executionClusterLabel != null && message.hasOwnProperty("executionClusterLabel")) - $root.flyteidl.admin.ExecutionClusterLabel.encode(message.executionClusterLabel, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) - $root.flyteidl.core.QualityOfService.encode(message.qualityOfService, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.pluginOverrides != null && message.hasOwnProperty("pluginOverrides")) - $root.flyteidl.admin.PluginOverrides.encode(message.pluginOverrides, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.workflowExecutionConfig != null && message.hasOwnProperty("workflowExecutionConfig")) - $root.flyteidl.admin.WorkflowExecutionConfig.encode(message.workflowExecutionConfig, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment")) - $root.flyteidl.admin.ClusterAssignment.encode(message.clusterAssignment, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.limit != null && message.hasOwnProperty("limit")) + writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); + if (message.filters != null && message.hasOwnProperty("filters")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); + if (message.sortBy != null && message.hasOwnProperty("sortBy")) + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes a MatchingAttributes message from the specified reader or buffer. + * Decodes a NodeExecutionForTaskListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.MatchingAttributes + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.MatchingAttributes} MatchingAttributes + * @returns {flyteidl.admin.NodeExecutionForTaskListRequest} NodeExecutionForTaskListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - MatchingAttributes.decode = function decode(reader, length) { + NodeExecutionForTaskListRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.MatchingAttributes(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionForTaskListRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.taskResourceAttributes = $root.flyteidl.admin.TaskResourceAttributes.decode(reader, reader.uint32()); + message.taskExecutionId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.clusterResourceAttributes = $root.flyteidl.admin.ClusterResourceAttributes.decode(reader, reader.uint32()); + message.limit = reader.uint32(); break; case 3: - message.executionQueueAttributes = $root.flyteidl.admin.ExecutionQueueAttributes.decode(reader, reader.uint32()); + message.token = reader.string(); break; case 4: - message.executionClusterLabel = $root.flyteidl.admin.ExecutionClusterLabel.decode(reader, reader.uint32()); + message.filters = reader.string(); break; case 5: - message.qualityOfService = $root.flyteidl.core.QualityOfService.decode(reader, reader.uint32()); - break; - case 6: - message.pluginOverrides = $root.flyteidl.admin.PluginOverrides.decode(reader, reader.uint32()); - break; - case 7: - message.workflowExecutionConfig = $root.flyteidl.admin.WorkflowExecutionConfig.decode(reader, reader.uint32()); - break; - case 8: - message.clusterAssignment = $root.flyteidl.admin.ClusterAssignment.decode(reader, reader.uint32()); + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -37857,124 +37626,62 @@ }; /** - * Verifies a MatchingAttributes message. + * Verifies a NodeExecutionForTaskListRequest message. * @function verify - * @memberof flyteidl.admin.MatchingAttributes + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - MatchingAttributes.verify = function verify(message) { + NodeExecutionForTaskListRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.taskResourceAttributes != null && message.hasOwnProperty("taskResourceAttributes")) { - properties.target = 1; - { - var error = $root.flyteidl.admin.TaskResourceAttributes.verify(message.taskResourceAttributes); - if (error) - return "taskResourceAttributes." + error; - } - } - if (message.clusterResourceAttributes != null && message.hasOwnProperty("clusterResourceAttributes")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.admin.ClusterResourceAttributes.verify(message.clusterResourceAttributes); - if (error) - return "clusterResourceAttributes." + error; - } - } - if (message.executionQueueAttributes != null && message.hasOwnProperty("executionQueueAttributes")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.admin.ExecutionQueueAttributes.verify(message.executionQueueAttributes); - if (error) - return "executionQueueAttributes." + error; - } - } - if (message.executionClusterLabel != null && message.hasOwnProperty("executionClusterLabel")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.admin.ExecutionClusterLabel.verify(message.executionClusterLabel); - if (error) - return "executionClusterLabel." + error; - } - } - if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.core.QualityOfService.verify(message.qualityOfService); - if (error) - return "qualityOfService." + error; - } - } - if (message.pluginOverrides != null && message.hasOwnProperty("pluginOverrides")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.admin.PluginOverrides.verify(message.pluginOverrides); - if (error) - return "pluginOverrides." + error; - } - } - if (message.workflowExecutionConfig != null && message.hasOwnProperty("workflowExecutionConfig")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.admin.WorkflowExecutionConfig.verify(message.workflowExecutionConfig); - if (error) - return "workflowExecutionConfig." + error; - } + if (message.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskExecutionId); + if (error) + return "taskExecutionId." + error; } - if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.admin.ClusterAssignment.verify(message.clusterAssignment); - if (error) - return "clusterAssignment." + error; - } + if (message.limit != null && message.hasOwnProperty("limit")) + if (!$util.isInteger(message.limit)) + return "limit: integer expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + if (message.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; + if (message.sortBy != null && message.hasOwnProperty("sortBy")) { + var error = $root.flyteidl.admin.Sort.verify(message.sortBy); + if (error) + return "sortBy." + error; } return null; }; - return MatchingAttributes; + return NodeExecutionForTaskListRequest; })(); - admin.MatchableAttributesConfiguration = (function() { + admin.NodeExecution = (function() { /** - * Properties of a MatchableAttributesConfiguration. + * Properties of a NodeExecution. * @memberof flyteidl.admin - * @interface IMatchableAttributesConfiguration - * @property {flyteidl.admin.IMatchingAttributes|null} [attributes] MatchableAttributesConfiguration attributes - * @property {string|null} [domain] MatchableAttributesConfiguration domain - * @property {string|null} [project] MatchableAttributesConfiguration project - * @property {string|null} [workflow] MatchableAttributesConfiguration workflow - * @property {string|null} [launchPlan] MatchableAttributesConfiguration launchPlan - * @property {string|null} [org] MatchableAttributesConfiguration org + * @interface INodeExecution + * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecution id + * @property {string|null} [inputUri] NodeExecution inputUri + * @property {flyteidl.admin.INodeExecutionClosure|null} [closure] NodeExecution closure + * @property {flyteidl.admin.INodeExecutionMetaData|null} [metadata] NodeExecution metadata */ /** - * Constructs a new MatchableAttributesConfiguration. + * Constructs a new NodeExecution. * @memberof flyteidl.admin - * @classdesc Represents a MatchableAttributesConfiguration. - * @implements IMatchableAttributesConfiguration + * @classdesc Represents a NodeExecution. + * @implements INodeExecution * @constructor - * @param {flyteidl.admin.IMatchableAttributesConfiguration=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecution=} [properties] Properties to set */ - function MatchableAttributesConfiguration(properties) { + function NodeExecution(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -37982,127 +37689,101 @@ } /** - * MatchableAttributesConfiguration attributes. - * @member {flyteidl.admin.IMatchingAttributes|null|undefined} attributes - * @memberof flyteidl.admin.MatchableAttributesConfiguration - * @instance - */ - MatchableAttributesConfiguration.prototype.attributes = null; - - /** - * MatchableAttributesConfiguration domain. - * @member {string} domain - * @memberof flyteidl.admin.MatchableAttributesConfiguration - * @instance - */ - MatchableAttributesConfiguration.prototype.domain = ""; - - /** - * MatchableAttributesConfiguration project. - * @member {string} project - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * NodeExecution id. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.NodeExecution * @instance */ - MatchableAttributesConfiguration.prototype.project = ""; + NodeExecution.prototype.id = null; /** - * MatchableAttributesConfiguration workflow. - * @member {string} workflow - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * NodeExecution inputUri. + * @member {string} inputUri + * @memberof flyteidl.admin.NodeExecution * @instance */ - MatchableAttributesConfiguration.prototype.workflow = ""; + NodeExecution.prototype.inputUri = ""; /** - * MatchableAttributesConfiguration launchPlan. - * @member {string} launchPlan - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * NodeExecution closure. + * @member {flyteidl.admin.INodeExecutionClosure|null|undefined} closure + * @memberof flyteidl.admin.NodeExecution * @instance */ - MatchableAttributesConfiguration.prototype.launchPlan = ""; + NodeExecution.prototype.closure = null; /** - * MatchableAttributesConfiguration org. - * @member {string} org - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * NodeExecution metadata. + * @member {flyteidl.admin.INodeExecutionMetaData|null|undefined} metadata + * @memberof flyteidl.admin.NodeExecution * @instance */ - MatchableAttributesConfiguration.prototype.org = ""; + NodeExecution.prototype.metadata = null; /** - * Creates a new MatchableAttributesConfiguration instance using the specified properties. + * Creates a new NodeExecution instance using the specified properties. * @function create - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @memberof flyteidl.admin.NodeExecution * @static - * @param {flyteidl.admin.IMatchableAttributesConfiguration=} [properties] Properties to set - * @returns {flyteidl.admin.MatchableAttributesConfiguration} MatchableAttributesConfiguration instance + * @param {flyteidl.admin.INodeExecution=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecution} NodeExecution instance */ - MatchableAttributesConfiguration.create = function create(properties) { - return new MatchableAttributesConfiguration(properties); + NodeExecution.create = function create(properties) { + return new NodeExecution(properties); }; /** - * Encodes the specified MatchableAttributesConfiguration message. Does not implicitly {@link flyteidl.admin.MatchableAttributesConfiguration.verify|verify} messages. + * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.admin.NodeExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @memberof flyteidl.admin.NodeExecution * @static - * @param {flyteidl.admin.IMatchableAttributesConfiguration} message MatchableAttributesConfiguration message or plain object to encode + * @param {flyteidl.admin.INodeExecution} message NodeExecution message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - MatchableAttributesConfiguration.encode = function encode(message, writer) { + NodeExecution.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.attributes != null && message.hasOwnProperty("attributes")) - $root.flyteidl.admin.MatchingAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.project); - if (message.workflow != null && message.hasOwnProperty("workflow")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.workflow); - if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.launchPlan); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.org); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.inputUri != null && message.hasOwnProperty("inputUri")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputUri); + if (message.closure != null && message.hasOwnProperty("closure")) + $root.flyteidl.admin.NodeExecutionClosure.encode(message.closure, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.admin.NodeExecutionMetaData.encode(message.metadata, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Decodes a MatchableAttributesConfiguration message from the specified reader or buffer. + * Decodes a NodeExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @memberof flyteidl.admin.NodeExecution * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.MatchableAttributesConfiguration} MatchableAttributesConfiguration + * @returns {flyteidl.admin.NodeExecution} NodeExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - MatchableAttributesConfiguration.decode = function decode(reader, length) { + NodeExecution.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.MatchableAttributesConfiguration(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecution(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.attributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.domain = reader.string(); + message.inputUri = reader.string(); break; case 3: - message.project = reader.string(); + message.closure = $root.flyteidl.admin.NodeExecutionClosure.decode(reader, reader.uint32()); break; case 4: - message.workflow = reader.string(); - break; - case 5: - message.launchPlan = reader.string(); - break; - case 6: - message.org = reader.string(); + message.metadata = $root.flyteidl.admin.NodeExecutionMetaData.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -38113,61 +37794,63 @@ }; /** - * Verifies a MatchableAttributesConfiguration message. + * Verifies a NodeExecution message. * @function verify - * @memberof flyteidl.admin.MatchableAttributesConfiguration + * @memberof flyteidl.admin.NodeExecution * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - MatchableAttributesConfiguration.verify = function verify(message) { + NodeExecution.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.attributes != null && message.hasOwnProperty("attributes")) { - var error = $root.flyteidl.admin.MatchingAttributes.verify(message.attributes); + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); if (error) - return "attributes." + error; + return "id." + error; + } + if (message.inputUri != null && message.hasOwnProperty("inputUri")) + if (!$util.isString(message.inputUri)) + return "inputUri: string expected"; + if (message.closure != null && message.hasOwnProperty("closure")) { + var error = $root.flyteidl.admin.NodeExecutionClosure.verify(message.closure); + if (error) + return "closure." + error; + } + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.admin.NodeExecutionMetaData.verify(message.metadata); + if (error) + return "metadata." + error; } - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.workflow != null && message.hasOwnProperty("workflow")) - if (!$util.isString(message.workflow)) - return "workflow: string expected"; - if (message.launchPlan != null && message.hasOwnProperty("launchPlan")) - if (!$util.isString(message.launchPlan)) - return "launchPlan: string expected"; - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; return null; }; - return MatchableAttributesConfiguration; + return NodeExecution; })(); - admin.ListMatchableAttributesRequest = (function() { + admin.NodeExecutionMetaData = (function() { /** - * Properties of a ListMatchableAttributesRequest. + * Properties of a NodeExecutionMetaData. * @memberof flyteidl.admin - * @interface IListMatchableAttributesRequest - * @property {flyteidl.admin.MatchableResource|null} [resourceType] ListMatchableAttributesRequest resourceType - * @property {string|null} [org] ListMatchableAttributesRequest org + * @interface INodeExecutionMetaData + * @property {string|null} [retryGroup] NodeExecutionMetaData retryGroup + * @property {boolean|null} [isParentNode] NodeExecutionMetaData isParentNode + * @property {string|null} [specNodeId] NodeExecutionMetaData specNodeId + * @property {boolean|null} [isDynamic] NodeExecutionMetaData isDynamic + * @property {boolean|null} [isArray] NodeExecutionMetaData isArray + * @property {boolean|null} [isEager] NodeExecutionMetaData isEager */ /** - * Constructs a new ListMatchableAttributesRequest. + * Constructs a new NodeExecutionMetaData. * @memberof flyteidl.admin - * @classdesc Represents a ListMatchableAttributesRequest. - * @implements IListMatchableAttributesRequest + * @classdesc Represents a NodeExecutionMetaData. + * @implements INodeExecutionMetaData * @constructor - * @param {flyteidl.admin.IListMatchableAttributesRequest=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionMetaData=} [properties] Properties to set */ - function ListMatchableAttributesRequest(properties) { + function NodeExecutionMetaData(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38175,75 +37858,127 @@ } /** - * ListMatchableAttributesRequest resourceType. - * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * NodeExecutionMetaData retryGroup. + * @member {string} retryGroup + * @memberof flyteidl.admin.NodeExecutionMetaData * @instance */ - ListMatchableAttributesRequest.prototype.resourceType = 0; + NodeExecutionMetaData.prototype.retryGroup = ""; /** - * ListMatchableAttributesRequest org. - * @member {string} org - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * NodeExecutionMetaData isParentNode. + * @member {boolean} isParentNode + * @memberof flyteidl.admin.NodeExecutionMetaData * @instance */ - ListMatchableAttributesRequest.prototype.org = ""; + NodeExecutionMetaData.prototype.isParentNode = false; /** - * Creates a new ListMatchableAttributesRequest instance using the specified properties. + * NodeExecutionMetaData specNodeId. + * @member {string} specNodeId + * @memberof flyteidl.admin.NodeExecutionMetaData + * @instance + */ + NodeExecutionMetaData.prototype.specNodeId = ""; + + /** + * NodeExecutionMetaData isDynamic. + * @member {boolean} isDynamic + * @memberof flyteidl.admin.NodeExecutionMetaData + * @instance + */ + NodeExecutionMetaData.prototype.isDynamic = false; + + /** + * NodeExecutionMetaData isArray. + * @member {boolean} isArray + * @memberof flyteidl.admin.NodeExecutionMetaData + * @instance + */ + NodeExecutionMetaData.prototype.isArray = false; + + /** + * NodeExecutionMetaData isEager. + * @member {boolean} isEager + * @memberof flyteidl.admin.NodeExecutionMetaData + * @instance + */ + NodeExecutionMetaData.prototype.isEager = false; + + /** + * Creates a new NodeExecutionMetaData instance using the specified properties. * @function create - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @memberof flyteidl.admin.NodeExecutionMetaData * @static - * @param {flyteidl.admin.IListMatchableAttributesRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ListMatchableAttributesRequest} ListMatchableAttributesRequest instance + * @param {flyteidl.admin.INodeExecutionMetaData=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionMetaData} NodeExecutionMetaData instance */ - ListMatchableAttributesRequest.create = function create(properties) { - return new ListMatchableAttributesRequest(properties); + NodeExecutionMetaData.create = function create(properties) { + return new NodeExecutionMetaData(properties); }; /** - * Encodes the specified ListMatchableAttributesRequest message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesRequest.verify|verify} messages. + * Encodes the specified NodeExecutionMetaData message. Does not implicitly {@link flyteidl.admin.NodeExecutionMetaData.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @memberof flyteidl.admin.NodeExecutionMetaData * @static - * @param {flyteidl.admin.IListMatchableAttributesRequest} message ListMatchableAttributesRequest message or plain object to encode + * @param {flyteidl.admin.INodeExecutionMetaData} message NodeExecutionMetaData message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ListMatchableAttributesRequest.encode = function encode(message, writer) { + NodeExecutionMetaData.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.org); + if (message.retryGroup != null && message.hasOwnProperty("retryGroup")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.retryGroup); + if (message.isParentNode != null && message.hasOwnProperty("isParentNode")) + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isParentNode); + if (message.specNodeId != null && message.hasOwnProperty("specNodeId")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.specNodeId); + if (message.isDynamic != null && message.hasOwnProperty("isDynamic")) + writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isDynamic); + if (message.isArray != null && message.hasOwnProperty("isArray")) + writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isArray); + if (message.isEager != null && message.hasOwnProperty("isEager")) + writer.uint32(/* id 6, wireType 0 =*/48).bool(message.isEager); return writer; }; /** - * Decodes a ListMatchableAttributesRequest message from the specified reader or buffer. + * Decodes a NodeExecutionMetaData message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @memberof flyteidl.admin.NodeExecutionMetaData * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ListMatchableAttributesRequest} ListMatchableAttributesRequest + * @returns {flyteidl.admin.NodeExecutionMetaData} NodeExecutionMetaData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ListMatchableAttributesRequest.decode = function decode(reader, length) { + NodeExecutionMetaData.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ListMatchableAttributesRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionMetaData(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.resourceType = reader.int32(); + message.retryGroup = reader.string(); break; case 2: - message.org = reader.string(); + message.isParentNode = reader.bool(); + break; + case 3: + message.specNodeId = reader.string(); + break; + case 4: + message.isDynamic = reader.bool(); + break; + case 5: + message.isArray = reader.bool(); + break; + case 6: + message.isEager = reader.bool(); break; default: reader.skipType(tag & 7); @@ -38254,58 +37989,60 @@ }; /** - * Verifies a ListMatchableAttributesRequest message. + * Verifies a NodeExecutionMetaData message. * @function verify - * @memberof flyteidl.admin.ListMatchableAttributesRequest + * @memberof flyteidl.admin.NodeExecutionMetaData * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ListMatchableAttributesRequest.verify = function verify(message) { + NodeExecutionMetaData.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { - default: - return "resourceType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - break; - } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; + if (message.retryGroup != null && message.hasOwnProperty("retryGroup")) + if (!$util.isString(message.retryGroup)) + return "retryGroup: string expected"; + if (message.isParentNode != null && message.hasOwnProperty("isParentNode")) + if (typeof message.isParentNode !== "boolean") + return "isParentNode: boolean expected"; + if (message.specNodeId != null && message.hasOwnProperty("specNodeId")) + if (!$util.isString(message.specNodeId)) + return "specNodeId: string expected"; + if (message.isDynamic != null && message.hasOwnProperty("isDynamic")) + if (typeof message.isDynamic !== "boolean") + return "isDynamic: boolean expected"; + if (message.isArray != null && message.hasOwnProperty("isArray")) + if (typeof message.isArray !== "boolean") + return "isArray: boolean expected"; + if (message.isEager != null && message.hasOwnProperty("isEager")) + if (typeof message.isEager !== "boolean") + return "isEager: boolean expected"; return null; }; - return ListMatchableAttributesRequest; + return NodeExecutionMetaData; })(); - admin.ListMatchableAttributesResponse = (function() { + admin.NodeExecutionList = (function() { /** - * Properties of a ListMatchableAttributesResponse. + * Properties of a NodeExecutionList. * @memberof flyteidl.admin - * @interface IListMatchableAttributesResponse - * @property {Array.|null} [configurations] ListMatchableAttributesResponse configurations + * @interface INodeExecutionList + * @property {Array.|null} [nodeExecutions] NodeExecutionList nodeExecutions + * @property {string|null} [token] NodeExecutionList token */ /** - * Constructs a new ListMatchableAttributesResponse. + * Constructs a new NodeExecutionList. * @memberof flyteidl.admin - * @classdesc Represents a ListMatchableAttributesResponse. - * @implements IListMatchableAttributesResponse + * @classdesc Represents a NodeExecutionList. + * @implements INodeExecutionList * @constructor - * @param {flyteidl.admin.IListMatchableAttributesResponse=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionList=} [properties] Properties to set */ - function ListMatchableAttributesResponse(properties) { - this.configurations = []; + function NodeExecutionList(properties) { + this.nodeExecutions = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38313,65 +38050,78 @@ } /** - * ListMatchableAttributesResponse configurations. - * @member {Array.} configurations - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * NodeExecutionList nodeExecutions. + * @member {Array.} nodeExecutions + * @memberof flyteidl.admin.NodeExecutionList * @instance */ - ListMatchableAttributesResponse.prototype.configurations = $util.emptyArray; + NodeExecutionList.prototype.nodeExecutions = $util.emptyArray; /** - * Creates a new ListMatchableAttributesResponse instance using the specified properties. + * NodeExecutionList token. + * @member {string} token + * @memberof flyteidl.admin.NodeExecutionList + * @instance + */ + NodeExecutionList.prototype.token = ""; + + /** + * Creates a new NodeExecutionList instance using the specified properties. * @function create - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * @memberof flyteidl.admin.NodeExecutionList * @static - * @param {flyteidl.admin.IListMatchableAttributesResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ListMatchableAttributesResponse} ListMatchableAttributesResponse instance + * @param {flyteidl.admin.INodeExecutionList=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionList} NodeExecutionList instance */ - ListMatchableAttributesResponse.create = function create(properties) { - return new ListMatchableAttributesResponse(properties); + NodeExecutionList.create = function create(properties) { + return new NodeExecutionList(properties); }; /** - * Encodes the specified ListMatchableAttributesResponse message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesResponse.verify|verify} messages. + * Encodes the specified NodeExecutionList message. Does not implicitly {@link flyteidl.admin.NodeExecutionList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * @memberof flyteidl.admin.NodeExecutionList * @static - * @param {flyteidl.admin.IListMatchableAttributesResponse} message ListMatchableAttributesResponse message or plain object to encode + * @param {flyteidl.admin.INodeExecutionList} message NodeExecutionList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ListMatchableAttributesResponse.encode = function encode(message, writer) { + NodeExecutionList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.configurations != null && message.configurations.length) - for (var i = 0; i < message.configurations.length; ++i) - $root.flyteidl.admin.MatchableAttributesConfiguration.encode(message.configurations[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.nodeExecutions != null && message.nodeExecutions.length) + for (var i = 0; i < message.nodeExecutions.length; ++i) + $root.flyteidl.admin.NodeExecution.encode(message.nodeExecutions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes a ListMatchableAttributesResponse message from the specified reader or buffer. + * Decodes a NodeExecutionList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * @memberof flyteidl.admin.NodeExecutionList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ListMatchableAttributesResponse} ListMatchableAttributesResponse + * @returns {flyteidl.admin.NodeExecutionList} NodeExecutionList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ListMatchableAttributesResponse.decode = function decode(reader, length) { + NodeExecutionList.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ListMatchableAttributesResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionList(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.configurations && message.configurations.length)) - message.configurations = []; - message.configurations.push($root.flyteidl.admin.MatchableAttributesConfiguration.decode(reader, reader.uint32())); + if (!(message.nodeExecutions && message.nodeExecutions.length)) + message.nodeExecutions = []; + message.nodeExecutions.push($root.flyteidl.admin.NodeExecution.decode(reader, reader.uint32())); + break; + case 2: + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -38382,50 +38132,63 @@ }; /** - * Verifies a ListMatchableAttributesResponse message. + * Verifies a NodeExecutionList message. * @function verify - * @memberof flyteidl.admin.ListMatchableAttributesResponse + * @memberof flyteidl.admin.NodeExecutionList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ListMatchableAttributesResponse.verify = function verify(message) { + NodeExecutionList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.configurations != null && message.hasOwnProperty("configurations")) { - if (!Array.isArray(message.configurations)) - return "configurations: array expected"; - for (var i = 0; i < message.configurations.length; ++i) { - var error = $root.flyteidl.admin.MatchableAttributesConfiguration.verify(message.configurations[i]); + if (message.nodeExecutions != null && message.hasOwnProperty("nodeExecutions")) { + if (!Array.isArray(message.nodeExecutions)) + return "nodeExecutions: array expected"; + for (var i = 0; i < message.nodeExecutions.length; ++i) { + var error = $root.flyteidl.admin.NodeExecution.verify(message.nodeExecutions[i]); if (error) - return "configurations." + error; + return "nodeExecutions." + error; } } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return ListMatchableAttributesResponse; + return NodeExecutionList; })(); - admin.LaunchPlanCreateRequest = (function() { + admin.NodeExecutionClosure = (function() { /** - * Properties of a LaunchPlanCreateRequest. + * Properties of a NodeExecutionClosure. * @memberof flyteidl.admin - * @interface ILaunchPlanCreateRequest - * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanCreateRequest id - * @property {flyteidl.admin.ILaunchPlanSpec|null} [spec] LaunchPlanCreateRequest spec + * @interface INodeExecutionClosure + * @property {string|null} [outputUri] NodeExecutionClosure outputUri + * @property {flyteidl.core.IExecutionError|null} [error] NodeExecutionClosure error + * @property {flyteidl.core.ILiteralMap|null} [outputData] NodeExecutionClosure outputData + * @property {flyteidl.core.NodeExecution.Phase|null} [phase] NodeExecutionClosure phase + * @property {google.protobuf.ITimestamp|null} [startedAt] NodeExecutionClosure startedAt + * @property {google.protobuf.IDuration|null} [duration] NodeExecutionClosure duration + * @property {google.protobuf.ITimestamp|null} [createdAt] NodeExecutionClosure createdAt + * @property {google.protobuf.ITimestamp|null} [updatedAt] NodeExecutionClosure updatedAt + * @property {flyteidl.admin.IWorkflowNodeMetadata|null} [workflowNodeMetadata] NodeExecutionClosure workflowNodeMetadata + * @property {flyteidl.admin.ITaskNodeMetadata|null} [taskNodeMetadata] NodeExecutionClosure taskNodeMetadata + * @property {string|null} [deckUri] NodeExecutionClosure deckUri + * @property {string|null} [dynamicJobSpecUri] NodeExecutionClosure dynamicJobSpecUri */ /** - * Constructs a new LaunchPlanCreateRequest. + * Constructs a new NodeExecutionClosure. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanCreateRequest. - * @implements ILaunchPlanCreateRequest + * @classdesc Represents a NodeExecutionClosure. + * @implements INodeExecutionClosure * @constructor - * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionClosure=} [properties] Properties to set */ - function LaunchPlanCreateRequest(properties) { + function NodeExecutionClosure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38433,75 +38196,230 @@ } /** - * LaunchPlanCreateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * NodeExecutionClosure outputUri. + * @member {string} outputUri + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.outputUri = ""; + + /** + * NodeExecutionClosure error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.error = null; + + /** + * NodeExecutionClosure outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.outputData = null; + + /** + * NodeExecutionClosure phase. + * @member {flyteidl.core.NodeExecution.Phase} phase + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.phase = 0; + + /** + * NodeExecutionClosure startedAt. + * @member {google.protobuf.ITimestamp|null|undefined} startedAt + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.startedAt = null; + + /** + * NodeExecutionClosure duration. + * @member {google.protobuf.IDuration|null|undefined} duration + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.duration = null; + + /** + * NodeExecutionClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.createdAt = null; + + /** + * NodeExecutionClosure updatedAt. + * @member {google.protobuf.ITimestamp|null|undefined} updatedAt + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.updatedAt = null; + + /** + * NodeExecutionClosure workflowNodeMetadata. + * @member {flyteidl.admin.IWorkflowNodeMetadata|null|undefined} workflowNodeMetadata + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.workflowNodeMetadata = null; + + /** + * NodeExecutionClosure taskNodeMetadata. + * @member {flyteidl.admin.ITaskNodeMetadata|null|undefined} taskNodeMetadata + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.taskNodeMetadata = null; + + /** + * NodeExecutionClosure deckUri. + * @member {string} deckUri + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.deckUri = ""; + + /** + * NodeExecutionClosure dynamicJobSpecUri. + * @member {string} dynamicJobSpecUri + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.dynamicJobSpecUri = ""; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * NodeExecutionClosure outputResult. + * @member {"outputUri"|"error"|"outputData"|undefined} outputResult + * @memberof flyteidl.admin.NodeExecutionClosure * @instance */ - LaunchPlanCreateRequest.prototype.id = null; + Object.defineProperty(NodeExecutionClosure.prototype, "outputResult", { + get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * LaunchPlanCreateRequest spec. - * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * NodeExecutionClosure targetMetadata. + * @member {"workflowNodeMetadata"|"taskNodeMetadata"|undefined} targetMetadata + * @memberof flyteidl.admin.NodeExecutionClosure * @instance */ - LaunchPlanCreateRequest.prototype.spec = null; + Object.defineProperty(NodeExecutionClosure.prototype, "targetMetadata", { + get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata", "taskNodeMetadata"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new LaunchPlanCreateRequest instance using the specified properties. + * Creates a new NodeExecutionClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @memberof flyteidl.admin.NodeExecutionClosure * @static - * @param {flyteidl.admin.ILaunchPlanCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanCreateRequest} LaunchPlanCreateRequest instance + * @param {flyteidl.admin.INodeExecutionClosure=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionClosure} NodeExecutionClosure instance */ - LaunchPlanCreateRequest.create = function create(properties) { - return new LaunchPlanCreateRequest(properties); + NodeExecutionClosure.create = function create(properties) { + return new NodeExecutionClosure(properties); }; /** - * Encodes the specified LaunchPlanCreateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateRequest.verify|verify} messages. + * Encodes the specified NodeExecutionClosure message. Does not implicitly {@link flyteidl.admin.NodeExecutionClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @memberof flyteidl.admin.NodeExecutionClosure * @static - * @param {flyteidl.admin.ILaunchPlanCreateRequest} message LaunchPlanCreateRequest message or plain object to encode + * @param {flyteidl.admin.INodeExecutionClosure} message NodeExecutionClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LaunchPlanCreateRequest.encode = function encode(message, writer) { + NodeExecutionClosure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.spec != null && message.hasOwnProperty("spec")) - $root.flyteidl.admin.LaunchPlanSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.outputUri != null && message.hasOwnProperty("outputUri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.outputUri); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.phase != null && message.hasOwnProperty("phase")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.phase); + if (message.startedAt != null && message.hasOwnProperty("startedAt")) + $root.google.protobuf.Timestamp.encode(message.startedAt, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.duration != null && message.hasOwnProperty("duration")) + $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.createdAt != null && message.hasOwnProperty("createdAt")) + $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) + $root.google.protobuf.Timestamp.encode(message.updatedAt, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) + $root.flyteidl.admin.WorkflowNodeMetadata.encode(message.workflowNodeMetadata, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.taskNodeMetadata != null && message.hasOwnProperty("taskNodeMetadata")) + $root.flyteidl.admin.TaskNodeMetadata.encode(message.taskNodeMetadata, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.outputData != null && message.hasOwnProperty("outputData")) + $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.deckUri != null && message.hasOwnProperty("deckUri")) + writer.uint32(/* id 11, wireType 2 =*/90).string(message.deckUri); + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + writer.uint32(/* id 12, wireType 2 =*/98).string(message.dynamicJobSpecUri); return writer; }; /** - * Decodes a LaunchPlanCreateRequest message from the specified reader or buffer. + * Decodes a NodeExecutionClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @memberof flyteidl.admin.NodeExecutionClosure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.LaunchPlanCreateRequest} LaunchPlanCreateRequest + * @returns {flyteidl.admin.NodeExecutionClosure} NodeExecutionClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LaunchPlanCreateRequest.decode = function decode(reader, length) { + NodeExecutionClosure.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanCreateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionClosure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.outputUri = reader.string(); break; case 2: - message.spec = $root.flyteidl.admin.LaunchPlanSpec.decode(reader, reader.uint32()); + message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); + break; + case 10: + message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 3: + message.phase = reader.int32(); + break; + case 4: + message.startedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 5: + message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + case 6: + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 7: + message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 8: + message.workflowNodeMetadata = $root.flyteidl.admin.WorkflowNodeMetadata.decode(reader, reader.uint32()); + break; + case 9: + message.taskNodeMetadata = $root.flyteidl.admin.TaskNodeMetadata.decode(reader, reader.uint32()); + break; + case 11: + message.deckUri = reader.string(); + break; + case 12: + message.dynamicJobSpecUri = reader.string(); break; default: reader.skipType(tag & 7); @@ -38512,49 +38430,127 @@ }; /** - * Verifies a LaunchPlanCreateRequest message. + * Verifies a NodeExecutionClosure message. * @function verify - * @memberof flyteidl.admin.LaunchPlanCreateRequest + * @memberof flyteidl.admin.NodeExecutionClosure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LaunchPlanCreateRequest.verify = function verify(message) { + NodeExecutionClosure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.Identifier.verify(message.id); + var properties = {}; + if (message.outputUri != null && message.hasOwnProperty("outputUri")) { + properties.outputResult = 1; + if (!$util.isString(message.outputUri)) + return "outputUri: string expected"; + } + if (message.error != null && message.hasOwnProperty("error")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.core.ExecutionError.verify(message.error); + if (error) + return "error." + error; + } + } + if (message.outputData != null && message.hasOwnProperty("outputData")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); + if (error) + return "outputData." + error; + } + } + if (message.phase != null && message.hasOwnProperty("phase")) + switch (message.phase) { + default: + return "phase: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + break; + } + if (message.startedAt != null && message.hasOwnProperty("startedAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.startedAt); if (error) - return "id." + error; + return "startedAt." + error; } - if (message.spec != null && message.hasOwnProperty("spec")) { - var error = $root.flyteidl.admin.LaunchPlanSpec.verify(message.spec); + if (message.duration != null && message.hasOwnProperty("duration")) { + var error = $root.google.protobuf.Duration.verify(message.duration); if (error) - return "spec." + error; + return "duration." + error; + } + if (message.createdAt != null && message.hasOwnProperty("createdAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.createdAt); + if (error) + return "createdAt." + error; + } + if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.updatedAt); + if (error) + return "updatedAt." + error; + } + if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) { + properties.targetMetadata = 1; + { + var error = $root.flyteidl.admin.WorkflowNodeMetadata.verify(message.workflowNodeMetadata); + if (error) + return "workflowNodeMetadata." + error; + } + } + if (message.taskNodeMetadata != null && message.hasOwnProperty("taskNodeMetadata")) { + if (properties.targetMetadata === 1) + return "targetMetadata: multiple values"; + properties.targetMetadata = 1; + { + var error = $root.flyteidl.admin.TaskNodeMetadata.verify(message.taskNodeMetadata); + if (error) + return "taskNodeMetadata." + error; + } } + if (message.deckUri != null && message.hasOwnProperty("deckUri")) + if (!$util.isString(message.deckUri)) + return "deckUri: string expected"; + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + if (!$util.isString(message.dynamicJobSpecUri)) + return "dynamicJobSpecUri: string expected"; return null; }; - return LaunchPlanCreateRequest; + return NodeExecutionClosure; })(); - admin.LaunchPlanCreateResponse = (function() { + admin.WorkflowNodeMetadata = (function() { /** - * Properties of a LaunchPlanCreateResponse. + * Properties of a WorkflowNodeMetadata. * @memberof flyteidl.admin - * @interface ILaunchPlanCreateResponse + * @interface IWorkflowNodeMetadata + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] WorkflowNodeMetadata executionId */ /** - * Constructs a new LaunchPlanCreateResponse. + * Constructs a new WorkflowNodeMetadata. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanCreateResponse. - * @implements ILaunchPlanCreateResponse + * @classdesc Represents a WorkflowNodeMetadata. + * @implements IWorkflowNodeMetadata * @constructor - * @param {flyteidl.admin.ILaunchPlanCreateResponse=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowNodeMetadata=} [properties] Properties to set */ - function LaunchPlanCreateResponse(properties) { + function WorkflowNodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38562,50 +38558,63 @@ } /** - * Creates a new LaunchPlanCreateResponse instance using the specified properties. + * WorkflowNodeMetadata executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.admin.WorkflowNodeMetadata + * @instance + */ + WorkflowNodeMetadata.prototype.executionId = null; + + /** + * Creates a new WorkflowNodeMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @memberof flyteidl.admin.WorkflowNodeMetadata * @static - * @param {flyteidl.admin.ILaunchPlanCreateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanCreateResponse} LaunchPlanCreateResponse instance + * @param {flyteidl.admin.IWorkflowNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowNodeMetadata} WorkflowNodeMetadata instance */ - LaunchPlanCreateResponse.create = function create(properties) { - return new LaunchPlanCreateResponse(properties); + WorkflowNodeMetadata.create = function create(properties) { + return new WorkflowNodeMetadata(properties); }; /** - * Encodes the specified LaunchPlanCreateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateResponse.verify|verify} messages. + * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.WorkflowNodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @memberof flyteidl.admin.WorkflowNodeMetadata * @static - * @param {flyteidl.admin.ILaunchPlanCreateResponse} message LaunchPlanCreateResponse message or plain object to encode + * @param {flyteidl.admin.IWorkflowNodeMetadata} message WorkflowNodeMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LaunchPlanCreateResponse.encode = function encode(message, writer) { + WorkflowNodeMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.executionId != null && message.hasOwnProperty("executionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a LaunchPlanCreateResponse message from the specified reader or buffer. + * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @memberof flyteidl.admin.WorkflowNodeMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.LaunchPlanCreateResponse} LaunchPlanCreateResponse + * @returns {flyteidl.admin.WorkflowNodeMetadata} WorkflowNodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LaunchPlanCreateResponse.decode = function decode(reader, length) { + WorkflowNodeMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanCreateResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowNodeMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -38615,56 +38624,47 @@ }; /** - * Verifies a LaunchPlanCreateResponse message. + * Verifies a WorkflowNodeMetadata message. * @function verify - * @memberof flyteidl.admin.LaunchPlanCreateResponse + * @memberof flyteidl.admin.WorkflowNodeMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LaunchPlanCreateResponse.verify = function verify(message) { + WorkflowNodeMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.executionId != null && message.hasOwnProperty("executionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); + if (error) + return "executionId." + error; + } return null; }; - return LaunchPlanCreateResponse; - })(); - - /** - * LaunchPlanState enum. - * @name flyteidl.admin.LaunchPlanState - * @enum {string} - * @property {number} INACTIVE=0 INACTIVE value - * @property {number} ACTIVE=1 ACTIVE value - */ - admin.LaunchPlanState = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "INACTIVE"] = 0; - values[valuesById[1] = "ACTIVE"] = 1; - return values; + return WorkflowNodeMetadata; })(); - admin.LaunchPlan = (function() { + admin.TaskNodeMetadata = (function() { /** - * Properties of a LaunchPlan. + * Properties of a TaskNodeMetadata. * @memberof flyteidl.admin - * @interface ILaunchPlan - * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlan id - * @property {flyteidl.admin.ILaunchPlanSpec|null} [spec] LaunchPlan spec - * @property {flyteidl.admin.ILaunchPlanClosure|null} [closure] LaunchPlan closure + * @interface ITaskNodeMetadata + * @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] TaskNodeMetadata cacheStatus + * @property {flyteidl.core.ICatalogMetadata|null} [catalogKey] TaskNodeMetadata catalogKey + * @property {string|null} [checkpointUri] TaskNodeMetadata checkpointUri */ /** - * Constructs a new LaunchPlan. + * Constructs a new TaskNodeMetadata. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlan. - * @implements ILaunchPlan + * @classdesc Represents a TaskNodeMetadata. + * @implements ITaskNodeMetadata * @constructor - * @param {flyteidl.admin.ILaunchPlan=} [properties] Properties to set + * @param {flyteidl.admin.ITaskNodeMetadata=} [properties] Properties to set */ - function LaunchPlan(properties) { + function TaskNodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38672,88 +38672,88 @@ } /** - * LaunchPlan id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.LaunchPlan + * TaskNodeMetadata cacheStatus. + * @member {flyteidl.core.CatalogCacheStatus} cacheStatus + * @memberof flyteidl.admin.TaskNodeMetadata * @instance */ - LaunchPlan.prototype.id = null; + TaskNodeMetadata.prototype.cacheStatus = 0; /** - * LaunchPlan spec. - * @member {flyteidl.admin.ILaunchPlanSpec|null|undefined} spec - * @memberof flyteidl.admin.LaunchPlan + * TaskNodeMetadata catalogKey. + * @member {flyteidl.core.ICatalogMetadata|null|undefined} catalogKey + * @memberof flyteidl.admin.TaskNodeMetadata * @instance */ - LaunchPlan.prototype.spec = null; + TaskNodeMetadata.prototype.catalogKey = null; /** - * LaunchPlan closure. - * @member {flyteidl.admin.ILaunchPlanClosure|null|undefined} closure - * @memberof flyteidl.admin.LaunchPlan + * TaskNodeMetadata checkpointUri. + * @member {string} checkpointUri + * @memberof flyteidl.admin.TaskNodeMetadata * @instance */ - LaunchPlan.prototype.closure = null; + TaskNodeMetadata.prototype.checkpointUri = ""; /** - * Creates a new LaunchPlan instance using the specified properties. + * Creates a new TaskNodeMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlan + * @memberof flyteidl.admin.TaskNodeMetadata * @static - * @param {flyteidl.admin.ILaunchPlan=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlan} LaunchPlan instance + * @param {flyteidl.admin.ITaskNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.TaskNodeMetadata} TaskNodeMetadata instance */ - LaunchPlan.create = function create(properties) { - return new LaunchPlan(properties); + TaskNodeMetadata.create = function create(properties) { + return new TaskNodeMetadata(properties); }; /** - * Encodes the specified LaunchPlan message. Does not implicitly {@link flyteidl.admin.LaunchPlan.verify|verify} messages. + * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.admin.TaskNodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlan + * @memberof flyteidl.admin.TaskNodeMetadata * @static - * @param {flyteidl.admin.ILaunchPlan} message LaunchPlan message or plain object to encode + * @param {flyteidl.admin.ITaskNodeMetadata} message TaskNodeMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LaunchPlan.encode = function encode(message, writer) { + TaskNodeMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.spec != null && message.hasOwnProperty("spec")) - $root.flyteidl.admin.LaunchPlanSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.closure != null && message.hasOwnProperty("closure")) - $root.flyteidl.admin.LaunchPlanClosure.encode(message.closure, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.cacheStatus); + if (message.catalogKey != null && message.hasOwnProperty("catalogKey")) + $root.flyteidl.core.CatalogMetadata.encode(message.catalogKey, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.checkpointUri); return writer; }; /** - * Decodes a LaunchPlan message from the specified reader or buffer. + * Decodes a TaskNodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlan + * @memberof flyteidl.admin.TaskNodeMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.LaunchPlan} LaunchPlan + * @returns {flyteidl.admin.TaskNodeMetadata} TaskNodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LaunchPlan.decode = function decode(reader, length) { + TaskNodeMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlan(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskNodeMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.cacheStatus = reader.int32(); break; case 2: - message.spec = $root.flyteidl.admin.LaunchPlanSpec.decode(reader, reader.uint32()); + message.catalogKey = $root.flyteidl.core.CatalogMetadata.decode(reader, reader.uint32()); break; - case 3: - message.closure = $root.flyteidl.admin.LaunchPlanClosure.decode(reader, reader.uint32()); + case 4: + message.checkpointUri = reader.string(); break; default: reader.skipType(tag & 7); @@ -38764,57 +38764,64 @@ }; /** - * Verifies a LaunchPlan message. + * Verifies a TaskNodeMetadata message. * @function verify - * @memberof flyteidl.admin.LaunchPlan + * @memberof flyteidl.admin.TaskNodeMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LaunchPlan.verify = function verify(message) { + TaskNodeMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.Identifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.spec != null && message.hasOwnProperty("spec")) { - var error = $root.flyteidl.admin.LaunchPlanSpec.verify(message.spec); - if (error) - return "spec." + error; - } - if (message.closure != null && message.hasOwnProperty("closure")) { - var error = $root.flyteidl.admin.LaunchPlanClosure.verify(message.closure); + if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) + switch (message.cacheStatus) { + default: + return "cacheStatus: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break; + } + if (message.catalogKey != null && message.hasOwnProperty("catalogKey")) { + var error = $root.flyteidl.core.CatalogMetadata.verify(message.catalogKey); if (error) - return "closure." + error; + return "catalogKey." + error; } + if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri")) + if (!$util.isString(message.checkpointUri)) + return "checkpointUri: string expected"; return null; }; - return LaunchPlan; + return TaskNodeMetadata; })(); - admin.LaunchPlanList = (function() { + admin.DynamicWorkflowNodeMetadata = (function() { /** - * Properties of a LaunchPlanList. + * Properties of a DynamicWorkflowNodeMetadata. * @memberof flyteidl.admin - * @interface ILaunchPlanList - * @property {Array.|null} [launchPlans] LaunchPlanList launchPlans - * @property {string|null} [token] LaunchPlanList token + * @interface IDynamicWorkflowNodeMetadata + * @property {flyteidl.core.IIdentifier|null} [id] DynamicWorkflowNodeMetadata id + * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] DynamicWorkflowNodeMetadata compiledWorkflow + * @property {string|null} [dynamicJobSpecUri] DynamicWorkflowNodeMetadata dynamicJobSpecUri */ /** - * Constructs a new LaunchPlanList. + * Constructs a new DynamicWorkflowNodeMetadata. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanList. - * @implements ILaunchPlanList + * @classdesc Represents a DynamicWorkflowNodeMetadata. + * @implements IDynamicWorkflowNodeMetadata * @constructor - * @param {flyteidl.admin.ILaunchPlanList=} [properties] Properties to set + * @param {flyteidl.admin.IDynamicWorkflowNodeMetadata=} [properties] Properties to set */ - function LaunchPlanList(properties) { - this.launchPlans = []; + function DynamicWorkflowNodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38822,78 +38829,88 @@ } /** - * LaunchPlanList launchPlans. - * @member {Array.} launchPlans - * @memberof flyteidl.admin.LaunchPlanList + * DynamicWorkflowNodeMetadata id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata * @instance */ - LaunchPlanList.prototype.launchPlans = $util.emptyArray; + DynamicWorkflowNodeMetadata.prototype.id = null; /** - * LaunchPlanList token. - * @member {string} token - * @memberof flyteidl.admin.LaunchPlanList + * DynamicWorkflowNodeMetadata compiledWorkflow. + * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow + * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata * @instance */ - LaunchPlanList.prototype.token = ""; + DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null; /** - * Creates a new LaunchPlanList instance using the specified properties. + * DynamicWorkflowNodeMetadata dynamicJobSpecUri. + * @member {string} dynamicJobSpecUri + * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * @instance + */ + DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = ""; + + /** + * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanList + * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata * @static - * @param {flyteidl.admin.ILaunchPlanList=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanList} LaunchPlanList instance + * @param {flyteidl.admin.IDynamicWorkflowNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata instance */ - LaunchPlanList.create = function create(properties) { - return new LaunchPlanList(properties); + DynamicWorkflowNodeMetadata.create = function create(properties) { + return new DynamicWorkflowNodeMetadata(properties); }; /** - * Encodes the specified LaunchPlanList message. Does not implicitly {@link flyteidl.admin.LaunchPlanList.verify|verify} messages. + * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.DynamicWorkflowNodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanList + * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata * @static - * @param {flyteidl.admin.ILaunchPlanList} message LaunchPlanList message or plain object to encode + * @param {flyteidl.admin.IDynamicWorkflowNodeMetadata} message DynamicWorkflowNodeMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer - */ - LaunchPlanList.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.launchPlans != null && message.launchPlans.length) - for (var i = 0; i < message.launchPlans.length; ++i) - $root.flyteidl.admin.LaunchPlan.encode(message.launchPlans[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + */ + DynamicWorkflowNodeMetadata.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) + $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.dynamicJobSpecUri); return writer; }; /** - * Decodes a LaunchPlanList message from the specified reader or buffer. + * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanList + * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.LaunchPlanList} LaunchPlanList + * @returns {flyteidl.admin.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LaunchPlanList.decode = function decode(reader, length) { + DynamicWorkflowNodeMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanList(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DynamicWorkflowNodeMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.launchPlans && message.launchPlans.length)) - message.launchPlans = []; - message.launchPlans.push($root.flyteidl.admin.LaunchPlan.decode(reader, reader.uint32())); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.token = reader.string(); + message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); + break; + case 3: + message.dynamicJobSpecUri = reader.string(); break; default: reader.skipType(tag & 7); @@ -38904,53 +38921,53 @@ }; /** - * Verifies a LaunchPlanList message. + * Verifies a DynamicWorkflowNodeMetadata message. * @function verify - * @memberof flyteidl.admin.LaunchPlanList + * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LaunchPlanList.verify = function verify(message) { + DynamicWorkflowNodeMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.launchPlans != null && message.hasOwnProperty("launchPlans")) { - if (!Array.isArray(message.launchPlans)) - return "launchPlans: array expected"; - for (var i = 0; i < message.launchPlans.length; ++i) { - var error = $root.flyteidl.admin.LaunchPlan.verify(message.launchPlans[i]); - if (error) - return "launchPlans." + error; - } + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; + if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) { + var error = $root.flyteidl.core.CompiledWorkflowClosure.verify(message.compiledWorkflow); + if (error) + return "compiledWorkflow." + error; + } + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + if (!$util.isString(message.dynamicJobSpecUri)) + return "dynamicJobSpecUri: string expected"; return null; }; - return LaunchPlanList; + return DynamicWorkflowNodeMetadata; })(); - admin.Auth = (function() { + admin.NodeExecutionGetDataRequest = (function() { /** - * Properties of an Auth. + * Properties of a NodeExecutionGetDataRequest. * @memberof flyteidl.admin - * @interface IAuth - * @property {string|null} [assumableIamRole] Auth assumableIamRole - * @property {string|null} [kubernetesServiceAccount] Auth kubernetesServiceAccount + * @interface INodeExecutionGetDataRequest + * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionGetDataRequest id */ /** - * Constructs a new Auth. + * Constructs a new NodeExecutionGetDataRequest. * @memberof flyteidl.admin - * @classdesc Represents an Auth. - * @implements IAuth + * @classdesc Represents a NodeExecutionGetDataRequest. + * @implements INodeExecutionGetDataRequest * @constructor - * @param {flyteidl.admin.IAuth=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionGetDataRequest=} [properties] Properties to set */ - function Auth(properties) { + function NodeExecutionGetDataRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -38958,75 +38975,62 @@ } /** - * Auth assumableIamRole. - * @member {string} assumableIamRole - * @memberof flyteidl.admin.Auth - * @instance - */ - Auth.prototype.assumableIamRole = ""; - - /** - * Auth kubernetesServiceAccount. - * @member {string} kubernetesServiceAccount - * @memberof flyteidl.admin.Auth + * NodeExecutionGetDataRequest id. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.NodeExecutionGetDataRequest * @instance */ - Auth.prototype.kubernetesServiceAccount = ""; + NodeExecutionGetDataRequest.prototype.id = null; /** - * Creates a new Auth instance using the specified properties. + * Creates a new NodeExecutionGetDataRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.Auth + * @memberof flyteidl.admin.NodeExecutionGetDataRequest * @static - * @param {flyteidl.admin.IAuth=} [properties] Properties to set - * @returns {flyteidl.admin.Auth} Auth instance + * @param {flyteidl.admin.INodeExecutionGetDataRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionGetDataRequest} NodeExecutionGetDataRequest instance */ - Auth.create = function create(properties) { - return new Auth(properties); + NodeExecutionGetDataRequest.create = function create(properties) { + return new NodeExecutionGetDataRequest(properties); }; /** - * Encodes the specified Auth message. Does not implicitly {@link flyteidl.admin.Auth.verify|verify} messages. + * Encodes the specified NodeExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Auth + * @memberof flyteidl.admin.NodeExecutionGetDataRequest * @static - * @param {flyteidl.admin.IAuth} message Auth message or plain object to encode + * @param {flyteidl.admin.INodeExecutionGetDataRequest} message NodeExecutionGetDataRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Auth.encode = function encode(message, writer) { + NodeExecutionGetDataRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.assumableIamRole); - if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.kubernetesServiceAccount); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes an Auth message from the specified reader or buffer. + * Decodes a NodeExecutionGetDataRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Auth + * @memberof flyteidl.admin.NodeExecutionGetDataRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Auth} Auth + * @returns {flyteidl.admin.NodeExecutionGetDataRequest} NodeExecutionGetDataRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Auth.decode = function decode(reader, length) { + NodeExecutionGetDataRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Auth(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionGetDataRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.assumableIamRole = reader.string(); - break; - case 2: - message.kubernetesServiceAccount = reader.string(); + message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -39037,63 +39041,50 @@ }; /** - * Verifies an Auth message. + * Verifies a NodeExecutionGetDataRequest message. * @function verify - * @memberof flyteidl.admin.Auth + * @memberof flyteidl.admin.NodeExecutionGetDataRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Auth.verify = function verify(message) { + NodeExecutionGetDataRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.assumableIamRole != null && message.hasOwnProperty("assumableIamRole")) - if (!$util.isString(message.assumableIamRole)) - return "assumableIamRole: string expected"; - if (message.kubernetesServiceAccount != null && message.hasOwnProperty("kubernetesServiceAccount")) - if (!$util.isString(message.kubernetesServiceAccount)) - return "kubernetesServiceAccount: string expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; + } return null; }; - return Auth; + return NodeExecutionGetDataRequest; })(); - admin.LaunchPlanSpec = (function() { + admin.NodeExecutionGetDataResponse = (function() { /** - * Properties of a LaunchPlanSpec. + * Properties of a NodeExecutionGetDataResponse. * @memberof flyteidl.admin - * @interface ILaunchPlanSpec - * @property {flyteidl.core.IIdentifier|null} [workflowId] LaunchPlanSpec workflowId - * @property {flyteidl.admin.ILaunchPlanMetadata|null} [entityMetadata] LaunchPlanSpec entityMetadata - * @property {flyteidl.core.IParameterMap|null} [defaultInputs] LaunchPlanSpec defaultInputs - * @property {flyteidl.core.ILiteralMap|null} [fixedInputs] LaunchPlanSpec fixedInputs - * @property {string|null} [role] LaunchPlanSpec role - * @property {flyteidl.admin.ILabels|null} [labels] LaunchPlanSpec labels - * @property {flyteidl.admin.IAnnotations|null} [annotations] LaunchPlanSpec annotations - * @property {flyteidl.admin.IAuth|null} [auth] LaunchPlanSpec auth - * @property {flyteidl.admin.IAuthRole|null} [authRole] LaunchPlanSpec authRole - * @property {flyteidl.core.ISecurityContext|null} [securityContext] LaunchPlanSpec securityContext - * @property {flyteidl.core.IQualityOfService|null} [qualityOfService] LaunchPlanSpec qualityOfService - * @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] LaunchPlanSpec rawOutputDataConfig - * @property {number|null} [maxParallelism] LaunchPlanSpec maxParallelism - * @property {google.protobuf.IBoolValue|null} [interruptible] LaunchPlanSpec interruptible - * @property {boolean|null} [overwriteCache] LaunchPlanSpec overwriteCache - * @property {flyteidl.admin.IEnvs|null} [envs] LaunchPlanSpec envs - * @property {Array.|null} [executionEnvAssignments] LaunchPlanSpec executionEnvAssignments + * @interface INodeExecutionGetDataResponse + * @property {flyteidl.admin.IUrlBlob|null} [inputs] NodeExecutionGetDataResponse inputs + * @property {flyteidl.admin.IUrlBlob|null} [outputs] NodeExecutionGetDataResponse outputs + * @property {flyteidl.core.ILiteralMap|null} [fullInputs] NodeExecutionGetDataResponse fullInputs + * @property {flyteidl.core.ILiteralMap|null} [fullOutputs] NodeExecutionGetDataResponse fullOutputs + * @property {flyteidl.admin.IDynamicWorkflowNodeMetadata|null} [dynamicWorkflow] NodeExecutionGetDataResponse dynamicWorkflow + * @property {flyteidl.admin.IFlyteURLs|null} [flyteUrls] NodeExecutionGetDataResponse flyteUrls */ /** - * Constructs a new LaunchPlanSpec. + * Constructs a new NodeExecutionGetDataResponse. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanSpec. - * @implements ILaunchPlanSpec + * @classdesc Represents a NodeExecutionGetDataResponse. + * @implements INodeExecutionGetDataResponse * @constructor - * @param {flyteidl.admin.ILaunchPlanSpec=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionGetDataResponse=} [properties] Properties to set */ - function LaunchPlanSpec(properties) { - this.executionEnvAssignments = []; + function NodeExecutionGetDataResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39101,404 +39092,201 @@ } /** - * LaunchPlanSpec workflowId. - * @member {flyteidl.core.IIdentifier|null|undefined} workflowId - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.workflowId = null; - - /** - * LaunchPlanSpec entityMetadata. - * @member {flyteidl.admin.ILaunchPlanMetadata|null|undefined} entityMetadata - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.entityMetadata = null; - - /** - * LaunchPlanSpec defaultInputs. - * @member {flyteidl.core.IParameterMap|null|undefined} defaultInputs - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.defaultInputs = null; - - /** - * LaunchPlanSpec fixedInputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fixedInputs - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.fixedInputs = null; - - /** - * LaunchPlanSpec role. - * @member {string} role - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.role = ""; - - /** - * LaunchPlanSpec labels. - * @member {flyteidl.admin.ILabels|null|undefined} labels - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.labels = null; - - /** - * LaunchPlanSpec annotations. - * @member {flyteidl.admin.IAnnotations|null|undefined} annotations - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.annotations = null; - - /** - * LaunchPlanSpec auth. - * @member {flyteidl.admin.IAuth|null|undefined} auth - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.auth = null; - - /** - * LaunchPlanSpec authRole. - * @member {flyteidl.admin.IAuthRole|null|undefined} authRole - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.authRole = null; - - /** - * LaunchPlanSpec securityContext. - * @member {flyteidl.core.ISecurityContext|null|undefined} securityContext - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.securityContext = null; - - /** - * LaunchPlanSpec qualityOfService. - * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService - * @memberof flyteidl.admin.LaunchPlanSpec - * @instance - */ - LaunchPlanSpec.prototype.qualityOfService = null; - - /** - * LaunchPlanSpec rawOutputDataConfig. - * @member {flyteidl.admin.IRawOutputDataConfig|null|undefined} rawOutputDataConfig - * @memberof flyteidl.admin.LaunchPlanSpec + * NodeExecutionGetDataResponse inputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs + * @memberof flyteidl.admin.NodeExecutionGetDataResponse * @instance */ - LaunchPlanSpec.prototype.rawOutputDataConfig = null; + NodeExecutionGetDataResponse.prototype.inputs = null; /** - * LaunchPlanSpec maxParallelism. - * @member {number} maxParallelism - * @memberof flyteidl.admin.LaunchPlanSpec + * NodeExecutionGetDataResponse outputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs + * @memberof flyteidl.admin.NodeExecutionGetDataResponse * @instance */ - LaunchPlanSpec.prototype.maxParallelism = 0; + NodeExecutionGetDataResponse.prototype.outputs = null; /** - * LaunchPlanSpec interruptible. - * @member {google.protobuf.IBoolValue|null|undefined} interruptible - * @memberof flyteidl.admin.LaunchPlanSpec + * NodeExecutionGetDataResponse fullInputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} fullInputs + * @memberof flyteidl.admin.NodeExecutionGetDataResponse * @instance */ - LaunchPlanSpec.prototype.interruptible = null; + NodeExecutionGetDataResponse.prototype.fullInputs = null; /** - * LaunchPlanSpec overwriteCache. - * @member {boolean} overwriteCache - * @memberof flyteidl.admin.LaunchPlanSpec + * NodeExecutionGetDataResponse fullOutputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} fullOutputs + * @memberof flyteidl.admin.NodeExecutionGetDataResponse * @instance */ - LaunchPlanSpec.prototype.overwriteCache = false; + NodeExecutionGetDataResponse.prototype.fullOutputs = null; /** - * LaunchPlanSpec envs. - * @member {flyteidl.admin.IEnvs|null|undefined} envs - * @memberof flyteidl.admin.LaunchPlanSpec + * NodeExecutionGetDataResponse dynamicWorkflow. + * @member {flyteidl.admin.IDynamicWorkflowNodeMetadata|null|undefined} dynamicWorkflow + * @memberof flyteidl.admin.NodeExecutionGetDataResponse * @instance */ - LaunchPlanSpec.prototype.envs = null; + NodeExecutionGetDataResponse.prototype.dynamicWorkflow = null; /** - * LaunchPlanSpec executionEnvAssignments. - * @member {Array.} executionEnvAssignments - * @memberof flyteidl.admin.LaunchPlanSpec + * NodeExecutionGetDataResponse flyteUrls. + * @member {flyteidl.admin.IFlyteURLs|null|undefined} flyteUrls + * @memberof flyteidl.admin.NodeExecutionGetDataResponse * @instance */ - LaunchPlanSpec.prototype.executionEnvAssignments = $util.emptyArray; + NodeExecutionGetDataResponse.prototype.flyteUrls = null; /** - * Creates a new LaunchPlanSpec instance using the specified properties. + * Creates a new NodeExecutionGetDataResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanSpec + * @memberof flyteidl.admin.NodeExecutionGetDataResponse * @static - * @param {flyteidl.admin.ILaunchPlanSpec=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanSpec} LaunchPlanSpec instance + * @param {flyteidl.admin.INodeExecutionGetDataResponse=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionGetDataResponse} NodeExecutionGetDataResponse instance */ - LaunchPlanSpec.create = function create(properties) { - return new LaunchPlanSpec(properties); + NodeExecutionGetDataResponse.create = function create(properties) { + return new NodeExecutionGetDataResponse(properties); }; /** - * Encodes the specified LaunchPlanSpec message. Does not implicitly {@link flyteidl.admin.LaunchPlanSpec.verify|verify} messages. + * Encodes the specified NodeExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanSpec + * @memberof flyteidl.admin.NodeExecutionGetDataResponse * @static - * @param {flyteidl.admin.ILaunchPlanSpec} message LaunchPlanSpec message or plain object to encode + * @param {flyteidl.admin.INodeExecutionGetDataResponse} message NodeExecutionGetDataResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LaunchPlanSpec.encode = function encode(message, writer) { + NodeExecutionGetDataResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.workflowId != null && message.hasOwnProperty("workflowId")) - $root.flyteidl.core.Identifier.encode(message.workflowId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.entityMetadata != null && message.hasOwnProperty("entityMetadata")) - $root.flyteidl.admin.LaunchPlanMetadata.encode(message.entityMetadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.defaultInputs != null && message.hasOwnProperty("defaultInputs")) - $root.flyteidl.core.ParameterMap.encode(message.defaultInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.fixedInputs != null && message.hasOwnProperty("fixedInputs")) - $root.flyteidl.core.LiteralMap.encode(message.fixedInputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.role != null && message.hasOwnProperty("role")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.role); - if (message.labels != null && message.hasOwnProperty("labels")) - $root.flyteidl.admin.Labels.encode(message.labels, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.annotations != null && message.hasOwnProperty("annotations")) - $root.flyteidl.admin.Annotations.encode(message.annotations, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.auth != null && message.hasOwnProperty("auth")) - $root.flyteidl.admin.Auth.encode(message.auth, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.authRole != null && message.hasOwnProperty("authRole")) - $root.flyteidl.admin.AuthRole.encode(message.authRole, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.securityContext != null && message.hasOwnProperty("securityContext")) - $root.flyteidl.core.SecurityContext.encode(message.securityContext, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) - $root.flyteidl.core.QualityOfService.encode(message.qualityOfService, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) - $root.flyteidl.admin.RawOutputDataConfig.encode(message.rawOutputDataConfig, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); - if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) - writer.uint32(/* id 18, wireType 0 =*/144).int32(message.maxParallelism); - if (message.interruptible != null && message.hasOwnProperty("interruptible")) - $root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim(); - if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) - writer.uint32(/* id 20, wireType 0 =*/160).bool(message.overwriteCache); - if (message.envs != null && message.hasOwnProperty("envs")) - $root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.executionEnvAssignments != null && message.executionEnvAssignments.length) - for (var i = 0; i < message.executionEnvAssignments.length; ++i) - $root.flyteidl.core.ExecutionEnvAssignment.encode(message.executionEnvAssignments[i], writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); + if (message.inputs != null && message.hasOwnProperty("inputs")) + $root.flyteidl.admin.UrlBlob.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.outputs != null && message.hasOwnProperty("outputs")) + $root.flyteidl.admin.UrlBlob.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) + $root.flyteidl.core.LiteralMap.encode(message.fullInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) + $root.flyteidl.core.LiteralMap.encode(message.fullOutputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow")) + $root.flyteidl.admin.DynamicWorkflowNodeMetadata.encode(message.dynamicWorkflow, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); + if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) + $root.flyteidl.admin.FlyteURLs.encode(message.flyteUrls, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); return writer; }; /** - * Decodes a LaunchPlanSpec message from the specified reader or buffer. + * Decodes a NodeExecutionGetDataResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanSpec + * @memberof flyteidl.admin.NodeExecutionGetDataResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.LaunchPlanSpec} LaunchPlanSpec + * @returns {flyteidl.admin.NodeExecutionGetDataResponse} NodeExecutionGetDataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LaunchPlanSpec.decode = function decode(reader, length) { + NodeExecutionGetDataResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanSpec(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionGetDataResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.workflowId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); break; case 2: - message.entityMetadata = $root.flyteidl.admin.LaunchPlanMetadata.decode(reader, reader.uint32()); + message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); break; case 3: - message.defaultInputs = $root.flyteidl.core.ParameterMap.decode(reader, reader.uint32()); + message.fullInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; case 4: - message.fixedInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 5: - message.role = reader.string(); - break; - case 6: - message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32()); - break; - case 7: - message.annotations = $root.flyteidl.admin.Annotations.decode(reader, reader.uint32()); - break; - case 8: - message.auth = $root.flyteidl.admin.Auth.decode(reader, reader.uint32()); - break; - case 9: - message.authRole = $root.flyteidl.admin.AuthRole.decode(reader, reader.uint32()); - break; - case 10: - message.securityContext = $root.flyteidl.core.SecurityContext.decode(reader, reader.uint32()); + message.fullOutputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; case 16: - message.qualityOfService = $root.flyteidl.core.QualityOfService.decode(reader, reader.uint32()); + message.dynamicWorkflow = $root.flyteidl.admin.DynamicWorkflowNodeMetadata.decode(reader, reader.uint32()); break; case 17: - message.rawOutputDataConfig = $root.flyteidl.admin.RawOutputDataConfig.decode(reader, reader.uint32()); - break; - case 18: - message.maxParallelism = reader.int32(); - break; - case 19: - message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 20: - message.overwriteCache = reader.bool(); - break; - case 21: - message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32()); - break; - case 22: - if (!(message.executionEnvAssignments && message.executionEnvAssignments.length)) - message.executionEnvAssignments = []; - message.executionEnvAssignments.push($root.flyteidl.core.ExecutionEnvAssignment.decode(reader, reader.uint32())); + message.flyteUrls = $root.flyteidl.admin.FlyteURLs.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); break; } } - return message; - }; - - /** - * Verifies a LaunchPlanSpec message. - * @function verify - * @memberof flyteidl.admin.LaunchPlanSpec - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - LaunchPlanSpec.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.workflowId != null && message.hasOwnProperty("workflowId")) { - var error = $root.flyteidl.core.Identifier.verify(message.workflowId); - if (error) - return "workflowId." + error; - } - if (message.entityMetadata != null && message.hasOwnProperty("entityMetadata")) { - var error = $root.flyteidl.admin.LaunchPlanMetadata.verify(message.entityMetadata); - if (error) - return "entityMetadata." + error; - } - if (message.defaultInputs != null && message.hasOwnProperty("defaultInputs")) { - var error = $root.flyteidl.core.ParameterMap.verify(message.defaultInputs); - if (error) - return "defaultInputs." + error; - } - if (message.fixedInputs != null && message.hasOwnProperty("fixedInputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.fixedInputs); - if (error) - return "fixedInputs." + error; - } - if (message.role != null && message.hasOwnProperty("role")) - if (!$util.isString(message.role)) - return "role: string expected"; - if (message.labels != null && message.hasOwnProperty("labels")) { - var error = $root.flyteidl.admin.Labels.verify(message.labels); - if (error) - return "labels." + error; - } - if (message.annotations != null && message.hasOwnProperty("annotations")) { - var error = $root.flyteidl.admin.Annotations.verify(message.annotations); - if (error) - return "annotations." + error; - } - if (message.auth != null && message.hasOwnProperty("auth")) { - var error = $root.flyteidl.admin.Auth.verify(message.auth); - if (error) - return "auth." + error; - } - if (message.authRole != null && message.hasOwnProperty("authRole")) { - var error = $root.flyteidl.admin.AuthRole.verify(message.authRole); - if (error) - return "authRole." + error; - } - if (message.securityContext != null && message.hasOwnProperty("securityContext")) { - var error = $root.flyteidl.core.SecurityContext.verify(message.securityContext); + return message; + }; + + /** + * Verifies a NodeExecutionGetDataResponse message. + * @function verify + * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + NodeExecutionGetDataResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.inputs != null && message.hasOwnProperty("inputs")) { + var error = $root.flyteidl.admin.UrlBlob.verify(message.inputs); if (error) - return "securityContext." + error; + return "inputs." + error; } - if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) { - var error = $root.flyteidl.core.QualityOfService.verify(message.qualityOfService); + if (message.outputs != null && message.hasOwnProperty("outputs")) { + var error = $root.flyteidl.admin.UrlBlob.verify(message.outputs); if (error) - return "qualityOfService." + error; + return "outputs." + error; } - if (message.rawOutputDataConfig != null && message.hasOwnProperty("rawOutputDataConfig")) { - var error = $root.flyteidl.admin.RawOutputDataConfig.verify(message.rawOutputDataConfig); + if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.fullInputs); if (error) - return "rawOutputDataConfig." + error; + return "fullInputs." + error; } - if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism")) - if (!$util.isInteger(message.maxParallelism)) - return "maxParallelism: integer expected"; - if (message.interruptible != null && message.hasOwnProperty("interruptible")) { - var error = $root.google.protobuf.BoolValue.verify(message.interruptible); + if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.fullOutputs); if (error) - return "interruptible." + error; + return "fullOutputs." + error; } - if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache")) - if (typeof message.overwriteCache !== "boolean") - return "overwriteCache: boolean expected"; - if (message.envs != null && message.hasOwnProperty("envs")) { - var error = $root.flyteidl.admin.Envs.verify(message.envs); + if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow")) { + var error = $root.flyteidl.admin.DynamicWorkflowNodeMetadata.verify(message.dynamicWorkflow); if (error) - return "envs." + error; + return "dynamicWorkflow." + error; } - if (message.executionEnvAssignments != null && message.hasOwnProperty("executionEnvAssignments")) { - if (!Array.isArray(message.executionEnvAssignments)) - return "executionEnvAssignments: array expected"; - for (var i = 0; i < message.executionEnvAssignments.length; ++i) { - var error = $root.flyteidl.core.ExecutionEnvAssignment.verify(message.executionEnvAssignments[i]); - if (error) - return "executionEnvAssignments." + error; - } + if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) { + var error = $root.flyteidl.admin.FlyteURLs.verify(message.flyteUrls); + if (error) + return "flyteUrls." + error; } return null; }; - return LaunchPlanSpec; + return NodeExecutionGetDataResponse; })(); - admin.LaunchPlanClosure = (function() { + admin.GetDynamicNodeWorkflowRequest = (function() { /** - * Properties of a LaunchPlanClosure. + * Properties of a GetDynamicNodeWorkflowRequest. * @memberof flyteidl.admin - * @interface ILaunchPlanClosure - * @property {flyteidl.admin.LaunchPlanState|null} [state] LaunchPlanClosure state - * @property {flyteidl.core.IParameterMap|null} [expectedInputs] LaunchPlanClosure expectedInputs - * @property {flyteidl.core.IVariableMap|null} [expectedOutputs] LaunchPlanClosure expectedOutputs - * @property {google.protobuf.ITimestamp|null} [createdAt] LaunchPlanClosure createdAt - * @property {google.protobuf.ITimestamp|null} [updatedAt] LaunchPlanClosure updatedAt + * @interface IGetDynamicNodeWorkflowRequest + * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] GetDynamicNodeWorkflowRequest id */ /** - * Constructs a new LaunchPlanClosure. + * Constructs a new GetDynamicNodeWorkflowRequest. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanClosure. - * @implements ILaunchPlanClosure + * @classdesc Represents a GetDynamicNodeWorkflowRequest. + * @implements IGetDynamicNodeWorkflowRequest * @constructor - * @param {flyteidl.admin.ILaunchPlanClosure=} [properties] Properties to set + * @param {flyteidl.admin.IGetDynamicNodeWorkflowRequest=} [properties] Properties to set */ - function LaunchPlanClosure(properties) { + function GetDynamicNodeWorkflowRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39506,114 +39294,62 @@ } /** - * LaunchPlanClosure state. - * @member {flyteidl.admin.LaunchPlanState} state - * @memberof flyteidl.admin.LaunchPlanClosure - * @instance - */ - LaunchPlanClosure.prototype.state = 0; - - /** - * LaunchPlanClosure expectedInputs. - * @member {flyteidl.core.IParameterMap|null|undefined} expectedInputs - * @memberof flyteidl.admin.LaunchPlanClosure - * @instance - */ - LaunchPlanClosure.prototype.expectedInputs = null; - - /** - * LaunchPlanClosure expectedOutputs. - * @member {flyteidl.core.IVariableMap|null|undefined} expectedOutputs - * @memberof flyteidl.admin.LaunchPlanClosure - * @instance - */ - LaunchPlanClosure.prototype.expectedOutputs = null; - - /** - * LaunchPlanClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.LaunchPlanClosure - * @instance - */ - LaunchPlanClosure.prototype.createdAt = null; - - /** - * LaunchPlanClosure updatedAt. - * @member {google.protobuf.ITimestamp|null|undefined} updatedAt - * @memberof flyteidl.admin.LaunchPlanClosure + * GetDynamicNodeWorkflowRequest id. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.GetDynamicNodeWorkflowRequest * @instance */ - LaunchPlanClosure.prototype.updatedAt = null; + GetDynamicNodeWorkflowRequest.prototype.id = null; /** - * Creates a new LaunchPlanClosure instance using the specified properties. + * Creates a new GetDynamicNodeWorkflowRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanClosure + * @memberof flyteidl.admin.GetDynamicNodeWorkflowRequest * @static - * @param {flyteidl.admin.ILaunchPlanClosure=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanClosure} LaunchPlanClosure instance + * @param {flyteidl.admin.IGetDynamicNodeWorkflowRequest=} [properties] Properties to set + * @returns {flyteidl.admin.GetDynamicNodeWorkflowRequest} GetDynamicNodeWorkflowRequest instance */ - LaunchPlanClosure.create = function create(properties) { - return new LaunchPlanClosure(properties); + GetDynamicNodeWorkflowRequest.create = function create(properties) { + return new GetDynamicNodeWorkflowRequest(properties); }; /** - * Encodes the specified LaunchPlanClosure message. Does not implicitly {@link flyteidl.admin.LaunchPlanClosure.verify|verify} messages. + * Encodes the specified GetDynamicNodeWorkflowRequest message. Does not implicitly {@link flyteidl.admin.GetDynamicNodeWorkflowRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanClosure + * @memberof flyteidl.admin.GetDynamicNodeWorkflowRequest * @static - * @param {flyteidl.admin.ILaunchPlanClosure} message LaunchPlanClosure message or plain object to encode + * @param {flyteidl.admin.IGetDynamicNodeWorkflowRequest} message GetDynamicNodeWorkflowRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LaunchPlanClosure.encode = function encode(message, writer) { + GetDynamicNodeWorkflowRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.state != null && message.hasOwnProperty("state")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.state); - if (message.expectedInputs != null && message.hasOwnProperty("expectedInputs")) - $root.flyteidl.core.ParameterMap.encode(message.expectedInputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.expectedOutputs != null && message.hasOwnProperty("expectedOutputs")) - $root.flyteidl.core.VariableMap.encode(message.expectedOutputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.createdAt != null && message.hasOwnProperty("createdAt")) - $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) - $root.google.protobuf.Timestamp.encode(message.updatedAt, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a LaunchPlanClosure message from the specified reader or buffer. + * Decodes a GetDynamicNodeWorkflowRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanClosure + * @memberof flyteidl.admin.GetDynamicNodeWorkflowRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.LaunchPlanClosure} LaunchPlanClosure + * @returns {flyteidl.admin.GetDynamicNodeWorkflowRequest} GetDynamicNodeWorkflowRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LaunchPlanClosure.decode = function decode(reader, length) { + GetDynamicNodeWorkflowRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanClosure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.GetDynamicNodeWorkflowRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.state = reader.int32(); - break; - case 2: - message.expectedInputs = $root.flyteidl.core.ParameterMap.decode(reader, reader.uint32()); - break; - case 3: - message.expectedOutputs = $root.flyteidl.core.VariableMap.decode(reader, reader.uint32()); - break; - case 4: - message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 5: - message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -39624,71 +39360,45 @@ }; /** - * Verifies a LaunchPlanClosure message. + * Verifies a GetDynamicNodeWorkflowRequest message. * @function verify - * @memberof flyteidl.admin.LaunchPlanClosure + * @memberof flyteidl.admin.GetDynamicNodeWorkflowRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LaunchPlanClosure.verify = function verify(message) { + GetDynamicNodeWorkflowRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.state != null && message.hasOwnProperty("state")) - switch (message.state) { - default: - return "state: enum value expected"; - case 0: - case 1: - break; - } - if (message.expectedInputs != null && message.hasOwnProperty("expectedInputs")) { - var error = $root.flyteidl.core.ParameterMap.verify(message.expectedInputs); - if (error) - return "expectedInputs." + error; - } - if (message.expectedOutputs != null && message.hasOwnProperty("expectedOutputs")) { - var error = $root.flyteidl.core.VariableMap.verify(message.expectedOutputs); - if (error) - return "expectedOutputs." + error; - } - if (message.createdAt != null && message.hasOwnProperty("createdAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.createdAt); - if (error) - return "createdAt." + error; - } - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.updatedAt); + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); if (error) - return "updatedAt." + error; + return "id." + error; } return null; }; - return LaunchPlanClosure; + return GetDynamicNodeWorkflowRequest; })(); - admin.LaunchPlanMetadata = (function() { + admin.DynamicNodeWorkflowResponse = (function() { /** - * Properties of a LaunchPlanMetadata. + * Properties of a DynamicNodeWorkflowResponse. * @memberof flyteidl.admin - * @interface ILaunchPlanMetadata - * @property {flyteidl.admin.ISchedule|null} [schedule] LaunchPlanMetadata schedule - * @property {Array.|null} [notifications] LaunchPlanMetadata notifications - * @property {google.protobuf.IAny|null} [launchConditions] LaunchPlanMetadata launchConditions + * @interface IDynamicNodeWorkflowResponse + * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] DynamicNodeWorkflowResponse compiledWorkflow */ /** - * Constructs a new LaunchPlanMetadata. + * Constructs a new DynamicNodeWorkflowResponse. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanMetadata. - * @implements ILaunchPlanMetadata + * @classdesc Represents a DynamicNodeWorkflowResponse. + * @implements IDynamicNodeWorkflowResponse * @constructor - * @param {flyteidl.admin.ILaunchPlanMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IDynamicNodeWorkflowResponse=} [properties] Properties to set */ - function LaunchPlanMetadata(properties) { - this.notifications = []; + function DynamicNodeWorkflowResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39696,91 +39406,62 @@ } /** - * LaunchPlanMetadata schedule. - * @member {flyteidl.admin.ISchedule|null|undefined} schedule - * @memberof flyteidl.admin.LaunchPlanMetadata - * @instance - */ - LaunchPlanMetadata.prototype.schedule = null; - - /** - * LaunchPlanMetadata notifications. - * @member {Array.} notifications - * @memberof flyteidl.admin.LaunchPlanMetadata - * @instance - */ - LaunchPlanMetadata.prototype.notifications = $util.emptyArray; - - /** - * LaunchPlanMetadata launchConditions. - * @member {google.protobuf.IAny|null|undefined} launchConditions - * @memberof flyteidl.admin.LaunchPlanMetadata + * DynamicNodeWorkflowResponse compiledWorkflow. + * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow + * @memberof flyteidl.admin.DynamicNodeWorkflowResponse * @instance */ - LaunchPlanMetadata.prototype.launchConditions = null; + DynamicNodeWorkflowResponse.prototype.compiledWorkflow = null; /** - * Creates a new LaunchPlanMetadata instance using the specified properties. + * Creates a new DynamicNodeWorkflowResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanMetadata + * @memberof flyteidl.admin.DynamicNodeWorkflowResponse * @static - * @param {flyteidl.admin.ILaunchPlanMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanMetadata} LaunchPlanMetadata instance + * @param {flyteidl.admin.IDynamicNodeWorkflowResponse=} [properties] Properties to set + * @returns {flyteidl.admin.DynamicNodeWorkflowResponse} DynamicNodeWorkflowResponse instance */ - LaunchPlanMetadata.create = function create(properties) { - return new LaunchPlanMetadata(properties); + DynamicNodeWorkflowResponse.create = function create(properties) { + return new DynamicNodeWorkflowResponse(properties); }; /** - * Encodes the specified LaunchPlanMetadata message. Does not implicitly {@link flyteidl.admin.LaunchPlanMetadata.verify|verify} messages. + * Encodes the specified DynamicNodeWorkflowResponse message. Does not implicitly {@link flyteidl.admin.DynamicNodeWorkflowResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanMetadata + * @memberof flyteidl.admin.DynamicNodeWorkflowResponse * @static - * @param {flyteidl.admin.ILaunchPlanMetadata} message LaunchPlanMetadata message or plain object to encode + * @param {flyteidl.admin.IDynamicNodeWorkflowResponse} message DynamicNodeWorkflowResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LaunchPlanMetadata.encode = function encode(message, writer) { + DynamicNodeWorkflowResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.schedule != null && message.hasOwnProperty("schedule")) - $root.flyteidl.admin.Schedule.encode(message.schedule, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.notifications != null && message.notifications.length) - for (var i = 0; i < message.notifications.length; ++i) - $root.flyteidl.admin.Notification.encode(message.notifications[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.launchConditions != null && message.hasOwnProperty("launchConditions")) - $root.google.protobuf.Any.encode(message.launchConditions, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) + $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a LaunchPlanMetadata message from the specified reader or buffer. + * Decodes a DynamicNodeWorkflowResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanMetadata + * @memberof flyteidl.admin.DynamicNodeWorkflowResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.LaunchPlanMetadata} LaunchPlanMetadata + * @returns {flyteidl.admin.DynamicNodeWorkflowResponse} DynamicNodeWorkflowResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LaunchPlanMetadata.decode = function decode(reader, length) { + DynamicNodeWorkflowResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DynamicNodeWorkflowResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.schedule = $root.flyteidl.admin.Schedule.decode(reader, reader.uint32()); - break; - case 2: - if (!(message.notifications && message.notifications.length)) - message.notifications = []; - message.notifications.push($root.flyteidl.admin.Notification.decode(reader, reader.uint32())); - break; - case 3: - message.launchConditions = $root.google.protobuf.Any.decode(reader, reader.uint32()); + message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -39791,60 +39472,49 @@ }; /** - * Verifies a LaunchPlanMetadata message. + * Verifies a DynamicNodeWorkflowResponse message. * @function verify - * @memberof flyteidl.admin.LaunchPlanMetadata + * @memberof flyteidl.admin.DynamicNodeWorkflowResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LaunchPlanMetadata.verify = function verify(message) { + DynamicNodeWorkflowResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.schedule != null && message.hasOwnProperty("schedule")) { - var error = $root.flyteidl.admin.Schedule.verify(message.schedule); - if (error) - return "schedule." + error; - } - if (message.notifications != null && message.hasOwnProperty("notifications")) { - if (!Array.isArray(message.notifications)) - return "notifications: array expected"; - for (var i = 0; i < message.notifications.length; ++i) { - var error = $root.flyteidl.admin.Notification.verify(message.notifications[i]); - if (error) - return "notifications." + error; - } - } - if (message.launchConditions != null && message.hasOwnProperty("launchConditions")) { - var error = $root.google.protobuf.Any.verify(message.launchConditions); + if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) { + var error = $root.flyteidl.core.CompiledWorkflowClosure.verify(message.compiledWorkflow); if (error) - return "launchConditions." + error; + return "compiledWorkflow." + error; } return null; }; - return LaunchPlanMetadata; + return DynamicNodeWorkflowResponse; })(); - admin.LaunchPlanUpdateRequest = (function() { + admin.EmailMessage = (function() { /** - * Properties of a LaunchPlanUpdateRequest. + * Properties of an EmailMessage. * @memberof flyteidl.admin - * @interface ILaunchPlanUpdateRequest - * @property {flyteidl.core.IIdentifier|null} [id] LaunchPlanUpdateRequest id - * @property {flyteidl.admin.LaunchPlanState|null} [state] LaunchPlanUpdateRequest state + * @interface IEmailMessage + * @property {Array.|null} [recipientsEmail] EmailMessage recipientsEmail + * @property {string|null} [senderEmail] EmailMessage senderEmail + * @property {string|null} [subjectLine] EmailMessage subjectLine + * @property {string|null} [body] EmailMessage body */ /** - * Constructs a new LaunchPlanUpdateRequest. + * Constructs a new EmailMessage. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanUpdateRequest. - * @implements ILaunchPlanUpdateRequest + * @classdesc Represents an EmailMessage. + * @implements IEmailMessage * @constructor - * @param {flyteidl.admin.ILaunchPlanUpdateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IEmailMessage=} [properties] Properties to set */ - function LaunchPlanUpdateRequest(properties) { + function EmailMessage(properties) { + this.recipientsEmail = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39852,75 +39522,104 @@ } /** - * LaunchPlanUpdateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * EmailMessage recipientsEmail. + * @member {Array.} recipientsEmail + * @memberof flyteidl.admin.EmailMessage * @instance */ - LaunchPlanUpdateRequest.prototype.id = null; + EmailMessage.prototype.recipientsEmail = $util.emptyArray; /** - * LaunchPlanUpdateRequest state. - * @member {flyteidl.admin.LaunchPlanState} state - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * EmailMessage senderEmail. + * @member {string} senderEmail + * @memberof flyteidl.admin.EmailMessage * @instance */ - LaunchPlanUpdateRequest.prototype.state = 0; + EmailMessage.prototype.senderEmail = ""; /** - * Creates a new LaunchPlanUpdateRequest instance using the specified properties. + * EmailMessage subjectLine. + * @member {string} subjectLine + * @memberof flyteidl.admin.EmailMessage + * @instance + */ + EmailMessage.prototype.subjectLine = ""; + + /** + * EmailMessage body. + * @member {string} body + * @memberof flyteidl.admin.EmailMessage + * @instance + */ + EmailMessage.prototype.body = ""; + + /** + * Creates a new EmailMessage instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @memberof flyteidl.admin.EmailMessage * @static - * @param {flyteidl.admin.ILaunchPlanUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanUpdateRequest} LaunchPlanUpdateRequest instance + * @param {flyteidl.admin.IEmailMessage=} [properties] Properties to set + * @returns {flyteidl.admin.EmailMessage} EmailMessage instance */ - LaunchPlanUpdateRequest.create = function create(properties) { - return new LaunchPlanUpdateRequest(properties); + EmailMessage.create = function create(properties) { + return new EmailMessage(properties); }; /** - * Encodes the specified LaunchPlanUpdateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateRequest.verify|verify} messages. + * Encodes the specified EmailMessage message. Does not implicitly {@link flyteidl.admin.EmailMessage.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @memberof flyteidl.admin.EmailMessage * @static - * @param {flyteidl.admin.ILaunchPlanUpdateRequest} message LaunchPlanUpdateRequest message or plain object to encode + * @param {flyteidl.admin.IEmailMessage} message EmailMessage message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LaunchPlanUpdateRequest.encode = function encode(message, writer) { + EmailMessage.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.state != null && message.hasOwnProperty("state")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.state); + if (message.recipientsEmail != null && message.recipientsEmail.length) + for (var i = 0; i < message.recipientsEmail.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.recipientsEmail[i]); + if (message.senderEmail != null && message.hasOwnProperty("senderEmail")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.senderEmail); + if (message.subjectLine != null && message.hasOwnProperty("subjectLine")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.subjectLine); + if (message.body != null && message.hasOwnProperty("body")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.body); return writer; }; /** - * Decodes a LaunchPlanUpdateRequest message from the specified reader or buffer. + * Decodes an EmailMessage message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @memberof flyteidl.admin.EmailMessage * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.LaunchPlanUpdateRequest} LaunchPlanUpdateRequest + * @returns {flyteidl.admin.EmailMessage} EmailMessage * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LaunchPlanUpdateRequest.decode = function decode(reader, length) { + EmailMessage.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanUpdateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.EmailMessage(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + if (!(message.recipientsEmail && message.recipientsEmail.length)) + message.recipientsEmail = []; + message.recipientsEmail.push(reader.string()); break; case 2: - message.state = reader.int32(); + message.senderEmail = reader.string(); + break; + case 3: + message.subjectLine = reader.string(); + break; + case 4: + message.body = reader.string(); break; default: reader.skipType(tag & 7); @@ -39931,52 +39630,55 @@ }; /** - * Verifies a LaunchPlanUpdateRequest message. + * Verifies an EmailMessage message. * @function verify - * @memberof flyteidl.admin.LaunchPlanUpdateRequest + * @memberof flyteidl.admin.EmailMessage * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LaunchPlanUpdateRequest.verify = function verify(message) { + EmailMessage.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.Identifier.verify(message.id); - if (error) - return "id." + error; + if (message.recipientsEmail != null && message.hasOwnProperty("recipientsEmail")) { + if (!Array.isArray(message.recipientsEmail)) + return "recipientsEmail: array expected"; + for (var i = 0; i < message.recipientsEmail.length; ++i) + if (!$util.isString(message.recipientsEmail[i])) + return "recipientsEmail: string[] expected"; } - if (message.state != null && message.hasOwnProperty("state")) - switch (message.state) { - default: - return "state: enum value expected"; - case 0: - case 1: - break; - } + if (message.senderEmail != null && message.hasOwnProperty("senderEmail")) + if (!$util.isString(message.senderEmail)) + return "senderEmail: string expected"; + if (message.subjectLine != null && message.hasOwnProperty("subjectLine")) + if (!$util.isString(message.subjectLine)) + return "subjectLine: string expected"; + if (message.body != null && message.hasOwnProperty("body")) + if (!$util.isString(message.body)) + return "body: string expected"; return null; }; - return LaunchPlanUpdateRequest; + return EmailMessage; })(); - admin.LaunchPlanUpdateResponse = (function() { + admin.GetDomainRequest = (function() { /** - * Properties of a LaunchPlanUpdateResponse. + * Properties of a GetDomainRequest. * @memberof flyteidl.admin - * @interface ILaunchPlanUpdateResponse + * @interface IGetDomainRequest */ /** - * Constructs a new LaunchPlanUpdateResponse. + * Constructs a new GetDomainRequest. * @memberof flyteidl.admin - * @classdesc Represents a LaunchPlanUpdateResponse. - * @implements ILaunchPlanUpdateResponse + * @classdesc Represents a GetDomainRequest. + * @implements IGetDomainRequest * @constructor - * @param {flyteidl.admin.ILaunchPlanUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.IGetDomainRequest=} [properties] Properties to set */ - function LaunchPlanUpdateResponse(properties) { + function GetDomainRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -39984,47 +39686,47 @@ } /** - * Creates a new LaunchPlanUpdateResponse instance using the specified properties. + * Creates a new GetDomainRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.LaunchPlanUpdateResponse + * @memberof flyteidl.admin.GetDomainRequest * @static - * @param {flyteidl.admin.ILaunchPlanUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.LaunchPlanUpdateResponse} LaunchPlanUpdateResponse instance + * @param {flyteidl.admin.IGetDomainRequest=} [properties] Properties to set + * @returns {flyteidl.admin.GetDomainRequest} GetDomainRequest instance */ - LaunchPlanUpdateResponse.create = function create(properties) { - return new LaunchPlanUpdateResponse(properties); + GetDomainRequest.create = function create(properties) { + return new GetDomainRequest(properties); }; /** - * Encodes the specified LaunchPlanUpdateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateResponse.verify|verify} messages. + * Encodes the specified GetDomainRequest message. Does not implicitly {@link flyteidl.admin.GetDomainRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.LaunchPlanUpdateResponse + * @memberof flyteidl.admin.GetDomainRequest * @static - * @param {flyteidl.admin.ILaunchPlanUpdateResponse} message LaunchPlanUpdateResponse message or plain object to encode + * @param {flyteidl.admin.IGetDomainRequest} message GetDomainRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LaunchPlanUpdateResponse.encode = function encode(message, writer) { + GetDomainRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); return writer; }; /** - * Decodes a LaunchPlanUpdateResponse message from the specified reader or buffer. + * Decodes a GetDomainRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.LaunchPlanUpdateResponse + * @memberof flyteidl.admin.GetDomainRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.LaunchPlanUpdateResponse} LaunchPlanUpdateResponse + * @returns {flyteidl.admin.GetDomainRequest} GetDomainRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LaunchPlanUpdateResponse.decode = function decode(reader, length) { + GetDomainRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchPlanUpdateResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.GetDomainRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { @@ -40037,40 +39739,41 @@ }; /** - * Verifies a LaunchPlanUpdateResponse message. + * Verifies a GetDomainRequest message. * @function verify - * @memberof flyteidl.admin.LaunchPlanUpdateResponse + * @memberof flyteidl.admin.GetDomainRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LaunchPlanUpdateResponse.verify = function verify(message) { + GetDomainRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; return null; }; - return LaunchPlanUpdateResponse; + return GetDomainRequest; })(); - admin.ActiveLaunchPlanRequest = (function() { + admin.Domain = (function() { /** - * Properties of an ActiveLaunchPlanRequest. + * Properties of a Domain. * @memberof flyteidl.admin - * @interface IActiveLaunchPlanRequest - * @property {flyteidl.admin.INamedEntityIdentifier|null} [id] ActiveLaunchPlanRequest id + * @interface IDomain + * @property {string|null} [id] Domain id + * @property {string|null} [name] Domain name */ /** - * Constructs a new ActiveLaunchPlanRequest. + * Constructs a new Domain. * @memberof flyteidl.admin - * @classdesc Represents an ActiveLaunchPlanRequest. - * @implements IActiveLaunchPlanRequest + * @classdesc Represents a Domain. + * @implements IDomain * @constructor - * @param {flyteidl.admin.IActiveLaunchPlanRequest=} [properties] Properties to set + * @param {flyteidl.admin.IDomain=} [properties] Properties to set */ - function ActiveLaunchPlanRequest(properties) { + function Domain(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -40078,62 +39781,75 @@ } /** - * ActiveLaunchPlanRequest id. - * @member {flyteidl.admin.INamedEntityIdentifier|null|undefined} id - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * Domain id. + * @member {string} id + * @memberof flyteidl.admin.Domain * @instance */ - ActiveLaunchPlanRequest.prototype.id = null; + Domain.prototype.id = ""; /** - * Creates a new ActiveLaunchPlanRequest instance using the specified properties. + * Domain name. + * @member {string} name + * @memberof flyteidl.admin.Domain + * @instance + */ + Domain.prototype.name = ""; + + /** + * Creates a new Domain instance using the specified properties. * @function create - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * @memberof flyteidl.admin.Domain * @static - * @param {flyteidl.admin.IActiveLaunchPlanRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ActiveLaunchPlanRequest} ActiveLaunchPlanRequest instance + * @param {flyteidl.admin.IDomain=} [properties] Properties to set + * @returns {flyteidl.admin.Domain} Domain instance */ - ActiveLaunchPlanRequest.create = function create(properties) { - return new ActiveLaunchPlanRequest(properties); + Domain.create = function create(properties) { + return new Domain(properties); }; /** - * Encodes the specified ActiveLaunchPlanRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanRequest.verify|verify} messages. + * Encodes the specified Domain message. Does not implicitly {@link flyteidl.admin.Domain.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * @memberof flyteidl.admin.Domain * @static - * @param {flyteidl.admin.IActiveLaunchPlanRequest} message ActiveLaunchPlanRequest message or plain object to encode + * @param {flyteidl.admin.IDomain} message Domain message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActiveLaunchPlanRequest.encode = function encode(message, writer) { + Domain.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.admin.NamedEntityIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); return writer; }; /** - * Decodes an ActiveLaunchPlanRequest message from the specified reader or buffer. + * Decodes a Domain message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * @memberof flyteidl.admin.Domain * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ActiveLaunchPlanRequest} ActiveLaunchPlanRequest + * @returns {flyteidl.admin.Domain} Domain * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActiveLaunchPlanRequest.decode = function decode(reader, length) { + Domain.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ActiveLaunchPlanRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Domain(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.admin.NamedEntityIdentifier.decode(reader, reader.uint32()); + message.id = reader.string(); + break; + case 2: + message.name = reader.string(); break; default: reader.skipType(tag & 7); @@ -40144,50 +39860,47 @@ }; /** - * Verifies an ActiveLaunchPlanRequest message. + * Verifies a Domain message. * @function verify - * @memberof flyteidl.admin.ActiveLaunchPlanRequest + * @memberof flyteidl.admin.Domain * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActiveLaunchPlanRequest.verify = function verify(message) { + Domain.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.admin.NamedEntityIdentifier.verify(message.id); - if (error) - return "id." + error; - } + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; return null; }; - return ActiveLaunchPlanRequest; + return Domain; })(); - admin.ActiveLaunchPlanListRequest = (function() { + admin.GetDomainsResponse = (function() { /** - * Properties of an ActiveLaunchPlanListRequest. + * Properties of a GetDomainsResponse. * @memberof flyteidl.admin - * @interface IActiveLaunchPlanListRequest - * @property {string|null} [project] ActiveLaunchPlanListRequest project - * @property {string|null} [domain] ActiveLaunchPlanListRequest domain - * @property {number|null} [limit] ActiveLaunchPlanListRequest limit - * @property {string|null} [token] ActiveLaunchPlanListRequest token - * @property {flyteidl.admin.ISort|null} [sortBy] ActiveLaunchPlanListRequest sortBy - * @property {string|null} [org] ActiveLaunchPlanListRequest org + * @interface IGetDomainsResponse + * @property {Array.|null} [domains] GetDomainsResponse domains */ /** - * Constructs a new ActiveLaunchPlanListRequest. + * Constructs a new GetDomainsResponse. * @memberof flyteidl.admin - * @classdesc Represents an ActiveLaunchPlanListRequest. - * @implements IActiveLaunchPlanListRequest + * @classdesc Represents a GetDomainsResponse. + * @implements IGetDomainsResponse * @constructor - * @param {flyteidl.admin.IActiveLaunchPlanListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IGetDomainsResponse=} [properties] Properties to set */ - function ActiveLaunchPlanListRequest(properties) { + function GetDomainsResponse(properties) { + this.domains = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -40195,127 +39908,65 @@ } /** - * ActiveLaunchPlanListRequest project. - * @member {string} project - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest - * @instance - */ - ActiveLaunchPlanListRequest.prototype.project = ""; - - /** - * ActiveLaunchPlanListRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest - * @instance - */ - ActiveLaunchPlanListRequest.prototype.domain = ""; - - /** - * ActiveLaunchPlanListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest - * @instance - */ - ActiveLaunchPlanListRequest.prototype.limit = 0; - - /** - * ActiveLaunchPlanListRequest token. - * @member {string} token - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest - * @instance - */ - ActiveLaunchPlanListRequest.prototype.token = ""; - - /** - * ActiveLaunchPlanListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest - * @instance - */ - ActiveLaunchPlanListRequest.prototype.sortBy = null; - - /** - * ActiveLaunchPlanListRequest org. - * @member {string} org - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * GetDomainsResponse domains. + * @member {Array.} domains + * @memberof flyteidl.admin.GetDomainsResponse * @instance */ - ActiveLaunchPlanListRequest.prototype.org = ""; + GetDomainsResponse.prototype.domains = $util.emptyArray; /** - * Creates a new ActiveLaunchPlanListRequest instance using the specified properties. + * Creates a new GetDomainsResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @memberof flyteidl.admin.GetDomainsResponse * @static - * @param {flyteidl.admin.IActiveLaunchPlanListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ActiveLaunchPlanListRequest} ActiveLaunchPlanListRequest instance + * @param {flyteidl.admin.IGetDomainsResponse=} [properties] Properties to set + * @returns {flyteidl.admin.GetDomainsResponse} GetDomainsResponse instance */ - ActiveLaunchPlanListRequest.create = function create(properties) { - return new ActiveLaunchPlanListRequest(properties); + GetDomainsResponse.create = function create(properties) { + return new GetDomainsResponse(properties); }; /** - * Encodes the specified ActiveLaunchPlanListRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanListRequest.verify|verify} messages. + * Encodes the specified GetDomainsResponse message. Does not implicitly {@link flyteidl.admin.GetDomainsResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @memberof flyteidl.admin.GetDomainsResponse * @static - * @param {flyteidl.admin.IActiveLaunchPlanListRequest} message ActiveLaunchPlanListRequest message or plain object to encode + * @param {flyteidl.admin.IGetDomainsResponse} message GetDomainsResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActiveLaunchPlanListRequest.encode = function encode(message, writer) { + GetDomainsResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.limit); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.token); - if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.org); + if (message.domains != null && message.domains.length) + for (var i = 0; i < message.domains.length; ++i) + $root.flyteidl.admin.Domain.encode(message.domains[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes an ActiveLaunchPlanListRequest message from the specified reader or buffer. + * Decodes a GetDomainsResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @memberof flyteidl.admin.GetDomainsResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ActiveLaunchPlanListRequest} ActiveLaunchPlanListRequest + * @returns {flyteidl.admin.GetDomainsResponse} GetDomainsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActiveLaunchPlanListRequest.decode = function decode(reader, length) { + GetDomainsResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ActiveLaunchPlanListRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.GetDomainsResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); - break; - case 2: - message.domain = reader.string(); - break; - case 3: - message.limit = reader.uint32(); - break; - case 4: - message.token = reader.string(); - break; - case 5: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); - break; - case 6: - message.org = reader.string(); + if (!(message.domains && message.domains.length)) + message.domains = []; + message.domains.push($root.flyteidl.admin.Domain.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -40326,77 +39977,56 @@ }; /** - * Verifies an ActiveLaunchPlanListRequest message. + * Verifies a GetDomainsResponse message. * @function verify - * @memberof flyteidl.admin.ActiveLaunchPlanListRequest + * @memberof flyteidl.admin.GetDomainsResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActiveLaunchPlanListRequest.verify = function verify(message) { + GetDomainsResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.limit != null && message.hasOwnProperty("limit")) - if (!$util.isInteger(message.limit)) - return "limit: integer expected"; - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; - if (message.sortBy != null && message.hasOwnProperty("sortBy")) { - var error = $root.flyteidl.admin.Sort.verify(message.sortBy); - if (error) - return "sortBy." + error; + if (message.domains != null && message.hasOwnProperty("domains")) { + if (!Array.isArray(message.domains)) + return "domains: array expected"; + for (var i = 0; i < message.domains.length; ++i) { + var error = $root.flyteidl.admin.Domain.verify(message.domains[i]); + if (error) + return "domains." + error; + } } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; return null; }; - return ActiveLaunchPlanListRequest; - })(); - - /** - * FixedRateUnit enum. - * @name flyteidl.admin.FixedRateUnit - * @enum {string} - * @property {number} MINUTE=0 MINUTE value - * @property {number} HOUR=1 HOUR value - * @property {number} DAY=2 DAY value - */ - admin.FixedRateUnit = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "MINUTE"] = 0; - values[valuesById[1] = "HOUR"] = 1; - values[valuesById[2] = "DAY"] = 2; - return values; + return GetDomainsResponse; })(); - admin.FixedRate = (function() { + admin.Project = (function() { /** - * Properties of a FixedRate. + * Properties of a Project. * @memberof flyteidl.admin - * @interface IFixedRate - * @property {number|null} [value] FixedRate value - * @property {flyteidl.admin.FixedRateUnit|null} [unit] FixedRate unit + * @interface IProject + * @property {string|null} [id] Project id + * @property {string|null} [name] Project name + * @property {Array.|null} [domains] Project domains + * @property {string|null} [description] Project description + * @property {flyteidl.admin.ILabels|null} [labels] Project labels + * @property {flyteidl.admin.Project.ProjectState|null} [state] Project state + * @property {string|null} [org] Project org */ /** - * Constructs a new FixedRate. + * Constructs a new Project. * @memberof flyteidl.admin - * @classdesc Represents a FixedRate. - * @implements IFixedRate + * @classdesc Represents a Project. + * @implements IProject * @constructor - * @param {flyteidl.admin.IFixedRate=} [properties] Properties to set + * @param {flyteidl.admin.IProject=} [properties] Properties to set */ - function FixedRate(properties) { + function Project(properties) { + this.domains = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -40404,75 +40034,143 @@ } /** - * FixedRate value. - * @member {number} value - * @memberof flyteidl.admin.FixedRate + * Project id. + * @member {string} id + * @memberof flyteidl.admin.Project * @instance */ - FixedRate.prototype.value = 0; + Project.prototype.id = ""; /** - * FixedRate unit. - * @member {flyteidl.admin.FixedRateUnit} unit - * @memberof flyteidl.admin.FixedRate + * Project name. + * @member {string} name + * @memberof flyteidl.admin.Project * @instance */ - FixedRate.prototype.unit = 0; + Project.prototype.name = ""; /** - * Creates a new FixedRate instance using the specified properties. + * Project domains. + * @member {Array.} domains + * @memberof flyteidl.admin.Project + * @instance + */ + Project.prototype.domains = $util.emptyArray; + + /** + * Project description. + * @member {string} description + * @memberof flyteidl.admin.Project + * @instance + */ + Project.prototype.description = ""; + + /** + * Project labels. + * @member {flyteidl.admin.ILabels|null|undefined} labels + * @memberof flyteidl.admin.Project + * @instance + */ + Project.prototype.labels = null; + + /** + * Project state. + * @member {flyteidl.admin.Project.ProjectState} state + * @memberof flyteidl.admin.Project + * @instance + */ + Project.prototype.state = 0; + + /** + * Project org. + * @member {string} org + * @memberof flyteidl.admin.Project + * @instance + */ + Project.prototype.org = ""; + + /** + * Creates a new Project instance using the specified properties. * @function create - * @memberof flyteidl.admin.FixedRate + * @memberof flyteidl.admin.Project * @static - * @param {flyteidl.admin.IFixedRate=} [properties] Properties to set - * @returns {flyteidl.admin.FixedRate} FixedRate instance + * @param {flyteidl.admin.IProject=} [properties] Properties to set + * @returns {flyteidl.admin.Project} Project instance */ - FixedRate.create = function create(properties) { - return new FixedRate(properties); + Project.create = function create(properties) { + return new Project(properties); }; /** - * Encodes the specified FixedRate message. Does not implicitly {@link flyteidl.admin.FixedRate.verify|verify} messages. + * Encodes the specified Project message. Does not implicitly {@link flyteidl.admin.Project.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.FixedRate + * @memberof flyteidl.admin.Project * @static - * @param {flyteidl.admin.IFixedRate} message FixedRate message or plain object to encode + * @param {flyteidl.admin.IProject} message Project message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FixedRate.encode = function encode(message, writer) { + Project.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.value != null && message.hasOwnProperty("value")) - writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.value); - if (message.unit != null && message.hasOwnProperty("unit")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.unit); + if (message.id != null && message.hasOwnProperty("id")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); + if (message.domains != null && message.domains.length) + for (var i = 0; i < message.domains.length; ++i) + $root.flyteidl.admin.Domain.encode(message.domains[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.description != null && message.hasOwnProperty("description")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.description); + if (message.labels != null && message.hasOwnProperty("labels")) + $root.flyteidl.admin.Labels.encode(message.labels, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.state != null && message.hasOwnProperty("state")) + writer.uint32(/* id 6, wireType 0 =*/48).int32(message.state); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.org); return writer; }; /** - * Decodes a FixedRate message from the specified reader or buffer. + * Decodes a Project message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.FixedRate + * @memberof flyteidl.admin.Project * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.FixedRate} FixedRate + * @returns {flyteidl.admin.Project} Project * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FixedRate.decode = function decode(reader, length) { + Project.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.FixedRate(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Project(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.value = reader.uint32(); + message.id = reader.string(); break; case 2: - message.unit = reader.int32(); + message.name = reader.string(); + break; + case 3: + if (!(message.domains && message.domains.length)) + message.domains = []; + message.domains.push($root.flyteidl.admin.Domain.decode(reader, reader.uint32())); + break; + case 4: + message.description = reader.string(); + break; + case 5: + message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32()); + break; + case 6: + message.state = reader.int32(); + break; + case 7: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -40483,53 +40181,96 @@ }; /** - * Verifies a FixedRate message. + * Verifies a Project message. * @function verify - * @memberof flyteidl.admin.FixedRate + * @memberof flyteidl.admin.Project * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - FixedRate.verify = function verify(message) { + Project.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!$util.isInteger(message.value)) - return "value: integer expected"; - if (message.unit != null && message.hasOwnProperty("unit")) - switch (message.unit) { + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.domains != null && message.hasOwnProperty("domains")) { + if (!Array.isArray(message.domains)) + return "domains: array expected"; + for (var i = 0; i < message.domains.length; ++i) { + var error = $root.flyteidl.admin.Domain.verify(message.domains[i]); + if (error) + return "domains." + error; + } + } + if (message.description != null && message.hasOwnProperty("description")) + if (!$util.isString(message.description)) + return "description: string expected"; + if (message.labels != null && message.hasOwnProperty("labels")) { + var error = $root.flyteidl.admin.Labels.verify(message.labels); + if (error) + return "labels." + error; + } + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { default: - return "unit: enum value expected"; + return "state: enum value expected"; case 0: case 1: case 2: + case 3: break; } + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return FixedRate; + /** + * ProjectState enum. + * @name flyteidl.admin.Project.ProjectState + * @enum {string} + * @property {number} ACTIVE=0 ACTIVE value + * @property {number} ARCHIVED=1 ARCHIVED value + * @property {number} SYSTEM_GENERATED=2 SYSTEM_GENERATED value + * @property {number} SYSTEM_ARCHIVED=3 SYSTEM_ARCHIVED value + */ + Project.ProjectState = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "ACTIVE"] = 0; + values[valuesById[1] = "ARCHIVED"] = 1; + values[valuesById[2] = "SYSTEM_GENERATED"] = 2; + values[valuesById[3] = "SYSTEM_ARCHIVED"] = 3; + return values; + })(); + + return Project; })(); - admin.CronSchedule = (function() { + admin.Projects = (function() { /** - * Properties of a CronSchedule. + * Properties of a Projects. * @memberof flyteidl.admin - * @interface ICronSchedule - * @property {string|null} [schedule] CronSchedule schedule - * @property {string|null} [offset] CronSchedule offset + * @interface IProjects + * @property {Array.|null} [projects] Projects projects + * @property {string|null} [token] Projects token */ /** - * Constructs a new CronSchedule. + * Constructs a new Projects. * @memberof flyteidl.admin - * @classdesc Represents a CronSchedule. - * @implements ICronSchedule + * @classdesc Represents a Projects. + * @implements IProjects * @constructor - * @param {flyteidl.admin.ICronSchedule=} [properties] Properties to set + * @param {flyteidl.admin.IProjects=} [properties] Properties to set */ - function CronSchedule(properties) { + function Projects(properties) { + this.projects = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -40537,75 +40278,78 @@ } /** - * CronSchedule schedule. - * @member {string} schedule - * @memberof flyteidl.admin.CronSchedule + * Projects projects. + * @member {Array.} projects + * @memberof flyteidl.admin.Projects * @instance */ - CronSchedule.prototype.schedule = ""; + Projects.prototype.projects = $util.emptyArray; /** - * CronSchedule offset. - * @member {string} offset - * @memberof flyteidl.admin.CronSchedule + * Projects token. + * @member {string} token + * @memberof flyteidl.admin.Projects * @instance */ - CronSchedule.prototype.offset = ""; + Projects.prototype.token = ""; /** - * Creates a new CronSchedule instance using the specified properties. + * Creates a new Projects instance using the specified properties. * @function create - * @memberof flyteidl.admin.CronSchedule + * @memberof flyteidl.admin.Projects * @static - * @param {flyteidl.admin.ICronSchedule=} [properties] Properties to set - * @returns {flyteidl.admin.CronSchedule} CronSchedule instance + * @param {flyteidl.admin.IProjects=} [properties] Properties to set + * @returns {flyteidl.admin.Projects} Projects instance */ - CronSchedule.create = function create(properties) { - return new CronSchedule(properties); + Projects.create = function create(properties) { + return new Projects(properties); }; /** - * Encodes the specified CronSchedule message. Does not implicitly {@link flyteidl.admin.CronSchedule.verify|verify} messages. + * Encodes the specified Projects message. Does not implicitly {@link flyteidl.admin.Projects.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.CronSchedule + * @memberof flyteidl.admin.Projects * @static - * @param {flyteidl.admin.ICronSchedule} message CronSchedule message or plain object to encode + * @param {flyteidl.admin.IProjects} message Projects message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CronSchedule.encode = function encode(message, writer) { + Projects.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.schedule != null && message.hasOwnProperty("schedule")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.schedule); - if (message.offset != null && message.hasOwnProperty("offset")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.offset); + if (message.projects != null && message.projects.length) + for (var i = 0; i < message.projects.length; ++i) + $root.flyteidl.admin.Project.encode(message.projects[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes a CronSchedule message from the specified reader or buffer. + * Decodes a Projects message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.CronSchedule + * @memberof flyteidl.admin.Projects * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.CronSchedule} CronSchedule + * @returns {flyteidl.admin.Projects} Projects * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CronSchedule.decode = function decode(reader, length) { + Projects.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.CronSchedule(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Projects(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.schedule = reader.string(); + if (!(message.projects && message.projects.length)) + message.projects = []; + message.projects.push($root.flyteidl.admin.Project.decode(reader, reader.uint32())); break; case 2: - message.offset = reader.string(); + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -40616,49 +40360,56 @@ }; /** - * Verifies a CronSchedule message. + * Verifies a Projects message. * @function verify - * @memberof flyteidl.admin.CronSchedule + * @memberof flyteidl.admin.Projects * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CronSchedule.verify = function verify(message) { + Projects.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.schedule != null && message.hasOwnProperty("schedule")) - if (!$util.isString(message.schedule)) - return "schedule: string expected"; - if (message.offset != null && message.hasOwnProperty("offset")) - if (!$util.isString(message.offset)) - return "offset: string expected"; + if (message.projects != null && message.hasOwnProperty("projects")) { + if (!Array.isArray(message.projects)) + return "projects: array expected"; + for (var i = 0; i < message.projects.length; ++i) { + var error = $root.flyteidl.admin.Project.verify(message.projects[i]); + if (error) + return "projects." + error; + } + } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return CronSchedule; + return Projects; })(); - admin.Schedule = (function() { + admin.ProjectListRequest = (function() { /** - * Properties of a Schedule. + * Properties of a ProjectListRequest. * @memberof flyteidl.admin - * @interface ISchedule - * @property {string|null} [cronExpression] Schedule cronExpression - * @property {flyteidl.admin.IFixedRate|null} [rate] Schedule rate - * @property {flyteidl.admin.ICronSchedule|null} [cronSchedule] Schedule cronSchedule - * @property {string|null} [kickoffTimeInputArg] Schedule kickoffTimeInputArg + * @interface IProjectListRequest + * @property {number|null} [limit] ProjectListRequest limit + * @property {string|null} [token] ProjectListRequest token + * @property {string|null} [filters] ProjectListRequest filters + * @property {flyteidl.admin.ISort|null} [sortBy] ProjectListRequest sortBy + * @property {string|null} [org] ProjectListRequest org */ /** - * Constructs a new Schedule. + * Constructs a new ProjectListRequest. * @memberof flyteidl.admin - * @classdesc Represents a Schedule. - * @implements ISchedule + * @classdesc Represents a ProjectListRequest. + * @implements IProjectListRequest * @constructor - * @param {flyteidl.admin.ISchedule=} [properties] Properties to set + * @param {flyteidl.admin.IProjectListRequest=} [properties] Properties to set */ - function Schedule(properties) { + function ProjectListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -40666,115 +40417,114 @@ } /** - * Schedule cronExpression. - * @member {string} cronExpression - * @memberof flyteidl.admin.Schedule + * ProjectListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.ProjectListRequest * @instance */ - Schedule.prototype.cronExpression = ""; + ProjectListRequest.prototype.limit = 0; /** - * Schedule rate. - * @member {flyteidl.admin.IFixedRate|null|undefined} rate - * @memberof flyteidl.admin.Schedule + * ProjectListRequest token. + * @member {string} token + * @memberof flyteidl.admin.ProjectListRequest * @instance */ - Schedule.prototype.rate = null; + ProjectListRequest.prototype.token = ""; /** - * Schedule cronSchedule. - * @member {flyteidl.admin.ICronSchedule|null|undefined} cronSchedule - * @memberof flyteidl.admin.Schedule + * ProjectListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.ProjectListRequest * @instance */ - Schedule.prototype.cronSchedule = null; + ProjectListRequest.prototype.filters = ""; /** - * Schedule kickoffTimeInputArg. - * @member {string} kickoffTimeInputArg - * @memberof flyteidl.admin.Schedule + * ProjectListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.ProjectListRequest * @instance */ - Schedule.prototype.kickoffTimeInputArg = ""; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + ProjectListRequest.prototype.sortBy = null; /** - * Schedule ScheduleExpression. - * @member {"cronExpression"|"rate"|"cronSchedule"|undefined} ScheduleExpression - * @memberof flyteidl.admin.Schedule + * ProjectListRequest org. + * @member {string} org + * @memberof flyteidl.admin.ProjectListRequest * @instance */ - Object.defineProperty(Schedule.prototype, "ScheduleExpression", { - get: $util.oneOfGetter($oneOfFields = ["cronExpression", "rate", "cronSchedule"]), - set: $util.oneOfSetter($oneOfFields) - }); + ProjectListRequest.prototype.org = ""; /** - * Creates a new Schedule instance using the specified properties. + * Creates a new ProjectListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.Schedule + * @memberof flyteidl.admin.ProjectListRequest * @static - * @param {flyteidl.admin.ISchedule=} [properties] Properties to set - * @returns {flyteidl.admin.Schedule} Schedule instance + * @param {flyteidl.admin.IProjectListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectListRequest} ProjectListRequest instance */ - Schedule.create = function create(properties) { - return new Schedule(properties); + ProjectListRequest.create = function create(properties) { + return new ProjectListRequest(properties); }; /** - * Encodes the specified Schedule message. Does not implicitly {@link flyteidl.admin.Schedule.verify|verify} messages. + * Encodes the specified ProjectListRequest message. Does not implicitly {@link flyteidl.admin.ProjectListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Schedule + * @memberof flyteidl.admin.ProjectListRequest * @static - * @param {flyteidl.admin.ISchedule} message Schedule message or plain object to encode + * @param {flyteidl.admin.IProjectListRequest} message ProjectListRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Schedule.encode = function encode(message, writer) { + ProjectListRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.cronExpression != null && message.hasOwnProperty("cronExpression")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.cronExpression); - if (message.rate != null && message.hasOwnProperty("rate")) - $root.flyteidl.admin.FixedRate.encode(message.rate, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.kickoffTimeInputArg != null && message.hasOwnProperty("kickoffTimeInputArg")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.kickoffTimeInputArg); - if (message.cronSchedule != null && message.hasOwnProperty("cronSchedule")) - $root.flyteidl.admin.CronSchedule.encode(message.cronSchedule, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.limit != null && message.hasOwnProperty("limit")) + writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.limit); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.filters != null && message.hasOwnProperty("filters")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.filters); + if (message.sortBy != null && message.hasOwnProperty("sortBy")) + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.org); return writer; }; /** - * Decodes a Schedule message from the specified reader or buffer. + * Decodes a ProjectListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Schedule + * @memberof flyteidl.admin.ProjectListRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Schedule} Schedule + * @returns {flyteidl.admin.ProjectListRequest} ProjectListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Schedule.decode = function decode(reader, length) { + ProjectListRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Schedule(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectListRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.cronExpression = reader.string(); + message.limit = reader.uint32(); break; case 2: - message.rate = $root.flyteidl.admin.FixedRate.decode(reader, reader.uint32()); + message.token = reader.string(); + break; + case 3: + message.filters = reader.string(); break; case 4: - message.cronSchedule = $root.flyteidl.admin.CronSchedule.decode(reader, reader.uint32()); + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); break; - case 3: - message.kickoffTimeInputArg = reader.string(); + case 5: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -40785,69 +40535,57 @@ }; /** - * Verifies a Schedule message. + * Verifies a ProjectListRequest message. * @function verify - * @memberof flyteidl.admin.Schedule + * @memberof flyteidl.admin.ProjectListRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Schedule.verify = function verify(message) { + ProjectListRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.cronExpression != null && message.hasOwnProperty("cronExpression")) { - properties.ScheduleExpression = 1; - if (!$util.isString(message.cronExpression)) - return "cronExpression: string expected"; - } - if (message.rate != null && message.hasOwnProperty("rate")) { - if (properties.ScheduleExpression === 1) - return "ScheduleExpression: multiple values"; - properties.ScheduleExpression = 1; - { - var error = $root.flyteidl.admin.FixedRate.verify(message.rate); - if (error) - return "rate." + error; - } - } - if (message.cronSchedule != null && message.hasOwnProperty("cronSchedule")) { - if (properties.ScheduleExpression === 1) - return "ScheduleExpression: multiple values"; - properties.ScheduleExpression = 1; - { - var error = $root.flyteidl.admin.CronSchedule.verify(message.cronSchedule); - if (error) - return "cronSchedule." + error; - } + if (message.limit != null && message.hasOwnProperty("limit")) + if (!$util.isInteger(message.limit)) + return "limit: integer expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + if (message.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; + if (message.sortBy != null && message.hasOwnProperty("sortBy")) { + var error = $root.flyteidl.admin.Sort.verify(message.sortBy); + if (error) + return "sortBy." + error; } - if (message.kickoffTimeInputArg != null && message.hasOwnProperty("kickoffTimeInputArg")) - if (!$util.isString(message.kickoffTimeInputArg)) - return "kickoffTimeInputArg: string expected"; + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return Schedule; + return ProjectListRequest; })(); - admin.NodeExecutionGetRequest = (function() { + admin.ProjectRegisterRequest = (function() { /** - * Properties of a NodeExecutionGetRequest. + * Properties of a ProjectRegisterRequest. * @memberof flyteidl.admin - * @interface INodeExecutionGetRequest - * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionGetRequest id + * @interface IProjectRegisterRequest + * @property {flyteidl.admin.IProject|null} [project] ProjectRegisterRequest project */ /** - * Constructs a new NodeExecutionGetRequest. + * Constructs a new ProjectRegisterRequest. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionGetRequest. - * @implements INodeExecutionGetRequest + * @classdesc Represents a ProjectRegisterRequest. + * @implements IProjectRegisterRequest * @constructor - * @param {flyteidl.admin.INodeExecutionGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectRegisterRequest=} [properties] Properties to set */ - function NodeExecutionGetRequest(properties) { + function ProjectRegisterRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -40855,62 +40593,62 @@ } /** - * NodeExecutionGetRequest id. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.NodeExecutionGetRequest + * ProjectRegisterRequest project. + * @member {flyteidl.admin.IProject|null|undefined} project + * @memberof flyteidl.admin.ProjectRegisterRequest * @instance */ - NodeExecutionGetRequest.prototype.id = null; + ProjectRegisterRequest.prototype.project = null; /** - * Creates a new NodeExecutionGetRequest instance using the specified properties. + * Creates a new ProjectRegisterRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionGetRequest + * @memberof flyteidl.admin.ProjectRegisterRequest * @static - * @param {flyteidl.admin.INodeExecutionGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionGetRequest} NodeExecutionGetRequest instance + * @param {flyteidl.admin.IProjectRegisterRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectRegisterRequest} ProjectRegisterRequest instance */ - NodeExecutionGetRequest.create = function create(properties) { - return new NodeExecutionGetRequest(properties); + ProjectRegisterRequest.create = function create(properties) { + return new ProjectRegisterRequest(properties); }; /** - * Encodes the specified NodeExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetRequest.verify|verify} messages. + * Encodes the specified ProjectRegisterRequest message. Does not implicitly {@link flyteidl.admin.ProjectRegisterRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionGetRequest + * @memberof flyteidl.admin.ProjectRegisterRequest * @static - * @param {flyteidl.admin.INodeExecutionGetRequest} message NodeExecutionGetRequest message or plain object to encode + * @param {flyteidl.admin.IProjectRegisterRequest} message ProjectRegisterRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionGetRequest.encode = function encode(message, writer) { + ProjectRegisterRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.project != null && message.hasOwnProperty("project")) + $root.flyteidl.admin.Project.encode(message.project, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a NodeExecutionGetRequest message from the specified reader or buffer. + * Decodes a ProjectRegisterRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionGetRequest + * @memberof flyteidl.admin.ProjectRegisterRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionGetRequest} NodeExecutionGetRequest + * @returns {flyteidl.admin.ProjectRegisterRequest} ProjectRegisterRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionGetRequest.decode = function decode(reader, length) { + ProjectRegisterRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionGetRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectRegisterRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.project = $root.flyteidl.admin.Project.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -40921,50 +40659,44 @@ }; /** - * Verifies a NodeExecutionGetRequest message. + * Verifies a ProjectRegisterRequest message. * @function verify - * @memberof flyteidl.admin.NodeExecutionGetRequest + * @memberof flyteidl.admin.ProjectRegisterRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionGetRequest.verify = function verify(message) { + ProjectRegisterRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); + if (message.project != null && message.hasOwnProperty("project")) { + var error = $root.flyteidl.admin.Project.verify(message.project); if (error) - return "id." + error; + return "project." + error; } return null; }; - return NodeExecutionGetRequest; + return ProjectRegisterRequest; })(); - admin.NodeExecutionListRequest = (function() { + admin.ProjectRegisterResponse = (function() { /** - * Properties of a NodeExecutionListRequest. + * Properties of a ProjectRegisterResponse. * @memberof flyteidl.admin - * @interface INodeExecutionListRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowExecutionId] NodeExecutionListRequest workflowExecutionId - * @property {number|null} [limit] NodeExecutionListRequest limit - * @property {string|null} [token] NodeExecutionListRequest token - * @property {string|null} [filters] NodeExecutionListRequest filters - * @property {flyteidl.admin.ISort|null} [sortBy] NodeExecutionListRequest sortBy - * @property {string|null} [uniqueParentId] NodeExecutionListRequest uniqueParentId + * @interface IProjectRegisterResponse */ /** - * Constructs a new NodeExecutionListRequest. + * Constructs a new ProjectRegisterResponse. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionListRequest. - * @implements INodeExecutionListRequest + * @classdesc Represents a ProjectRegisterResponse. + * @implements IProjectRegisterResponse * @constructor - * @param {flyteidl.admin.INodeExecutionListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectRegisterResponse=} [properties] Properties to set */ - function NodeExecutionListRequest(properties) { + function ProjectRegisterResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -40972,128 +40704,50 @@ } /** - * NodeExecutionListRequest workflowExecutionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowExecutionId - * @memberof flyteidl.admin.NodeExecutionListRequest - * @instance - */ - NodeExecutionListRequest.prototype.workflowExecutionId = null; - - /** - * NodeExecutionListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.NodeExecutionListRequest - * @instance - */ - NodeExecutionListRequest.prototype.limit = 0; - - /** - * NodeExecutionListRequest token. - * @member {string} token - * @memberof flyteidl.admin.NodeExecutionListRequest - * @instance - */ - NodeExecutionListRequest.prototype.token = ""; - - /** - * NodeExecutionListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.NodeExecutionListRequest - * @instance - */ - NodeExecutionListRequest.prototype.filters = ""; - - /** - * NodeExecutionListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.NodeExecutionListRequest - * @instance - */ - NodeExecutionListRequest.prototype.sortBy = null; - - /** - * NodeExecutionListRequest uniqueParentId. - * @member {string} uniqueParentId - * @memberof flyteidl.admin.NodeExecutionListRequest - * @instance - */ - NodeExecutionListRequest.prototype.uniqueParentId = ""; - - /** - * Creates a new NodeExecutionListRequest instance using the specified properties. + * Creates a new ProjectRegisterResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionListRequest + * @memberof flyteidl.admin.ProjectRegisterResponse * @static - * @param {flyteidl.admin.INodeExecutionListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionListRequest} NodeExecutionListRequest instance + * @param {flyteidl.admin.IProjectRegisterResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectRegisterResponse} ProjectRegisterResponse instance */ - NodeExecutionListRequest.create = function create(properties) { - return new NodeExecutionListRequest(properties); + ProjectRegisterResponse.create = function create(properties) { + return new ProjectRegisterResponse(properties); }; /** - * Encodes the specified NodeExecutionListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionListRequest.verify|verify} messages. + * Encodes the specified ProjectRegisterResponse message. Does not implicitly {@link flyteidl.admin.ProjectRegisterResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionListRequest + * @memberof flyteidl.admin.ProjectRegisterResponse * @static - * @param {flyteidl.admin.INodeExecutionListRequest} message NodeExecutionListRequest message or plain object to encode + * @param {flyteidl.admin.IProjectRegisterResponse} message ProjectRegisterResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionListRequest.encode = function encode(message, writer) { + ProjectRegisterResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); - if (message.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); - if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.uniqueParentId != null && message.hasOwnProperty("uniqueParentId")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.uniqueParentId); return writer; }; /** - * Decodes a NodeExecutionListRequest message from the specified reader or buffer. + * Decodes a ProjectRegisterResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionListRequest + * @memberof flyteidl.admin.ProjectRegisterResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionListRequest} NodeExecutionListRequest + * @returns {flyteidl.admin.ProjectRegisterResponse} ProjectRegisterResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionListRequest.decode = function decode(reader, length) { + ProjectRegisterResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionListRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectRegisterResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 2: - message.limit = reader.uint32(); - break; - case 3: - message.token = reader.string(); - break; - case 4: - message.filters = reader.string(); - break; - case 5: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); - break; - case 6: - message.uniqueParentId = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -41103,66 +40757,39 @@ }; /** - * Verifies a NodeExecutionListRequest message. + * Verifies a ProjectRegisterResponse message. * @function verify - * @memberof flyteidl.admin.NodeExecutionListRequest + * @memberof flyteidl.admin.ProjectRegisterResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionListRequest.verify = function verify(message) { + ProjectRegisterResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowExecutionId); - if (error) - return "workflowExecutionId." + error; - } - if (message.limit != null && message.hasOwnProperty("limit")) - if (!$util.isInteger(message.limit)) - return "limit: integer expected"; - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; - if (message.sortBy != null && message.hasOwnProperty("sortBy")) { - var error = $root.flyteidl.admin.Sort.verify(message.sortBy); - if (error) - return "sortBy." + error; - } - if (message.uniqueParentId != null && message.hasOwnProperty("uniqueParentId")) - if (!$util.isString(message.uniqueParentId)) - return "uniqueParentId: string expected"; return null; }; - return NodeExecutionListRequest; + return ProjectRegisterResponse; })(); - admin.NodeExecutionForTaskListRequest = (function() { + admin.ProjectUpdateResponse = (function() { /** - * Properties of a NodeExecutionForTaskListRequest. + * Properties of a ProjectUpdateResponse. * @memberof flyteidl.admin - * @interface INodeExecutionForTaskListRequest - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecutionId] NodeExecutionForTaskListRequest taskExecutionId - * @property {number|null} [limit] NodeExecutionForTaskListRequest limit - * @property {string|null} [token] NodeExecutionForTaskListRequest token - * @property {string|null} [filters] NodeExecutionForTaskListRequest filters - * @property {flyteidl.admin.ISort|null} [sortBy] NodeExecutionForTaskListRequest sortBy + * @interface IProjectUpdateResponse */ /** - * Constructs a new NodeExecutionForTaskListRequest. + * Constructs a new ProjectUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionForTaskListRequest. - * @implements INodeExecutionForTaskListRequest + * @classdesc Represents a ProjectUpdateResponse. + * @implements IProjectUpdateResponse * @constructor - * @param {flyteidl.admin.INodeExecutionForTaskListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectUpdateResponse=} [properties] Properties to set */ - function NodeExecutionForTaskListRequest(properties) { + function ProjectUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -41170,115 +40797,50 @@ } /** - * NodeExecutionForTaskListRequest taskExecutionId. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecutionId - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest - * @instance - */ - NodeExecutionForTaskListRequest.prototype.taskExecutionId = null; - - /** - * NodeExecutionForTaskListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest - * @instance - */ - NodeExecutionForTaskListRequest.prototype.limit = 0; - - /** - * NodeExecutionForTaskListRequest token. - * @member {string} token - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest - * @instance - */ - NodeExecutionForTaskListRequest.prototype.token = ""; - - /** - * NodeExecutionForTaskListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest - * @instance - */ - NodeExecutionForTaskListRequest.prototype.filters = ""; - - /** - * NodeExecutionForTaskListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest - * @instance - */ - NodeExecutionForTaskListRequest.prototype.sortBy = null; - - /** - * Creates a new NodeExecutionForTaskListRequest instance using the specified properties. + * Creates a new ProjectUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @memberof flyteidl.admin.ProjectUpdateResponse * @static - * @param {flyteidl.admin.INodeExecutionForTaskListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionForTaskListRequest} NodeExecutionForTaskListRequest instance + * @param {flyteidl.admin.IProjectUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectUpdateResponse} ProjectUpdateResponse instance */ - NodeExecutionForTaskListRequest.create = function create(properties) { - return new NodeExecutionForTaskListRequest(properties); + ProjectUpdateResponse.create = function create(properties) { + return new ProjectUpdateResponse(properties); }; /** - * Encodes the specified NodeExecutionForTaskListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionForTaskListRequest.verify|verify} messages. + * Encodes the specified ProjectUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @memberof flyteidl.admin.ProjectUpdateResponse * @static - * @param {flyteidl.admin.INodeExecutionForTaskListRequest} message NodeExecutionForTaskListRequest message or plain object to encode + * @param {flyteidl.admin.IProjectUpdateResponse} message ProjectUpdateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionForTaskListRequest.encode = function encode(message, writer) { + ProjectUpdateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); - if (message.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); - if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes a NodeExecutionForTaskListRequest message from the specified reader or buffer. + * Decodes a ProjectUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @memberof flyteidl.admin.ProjectUpdateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionForTaskListRequest} NodeExecutionForTaskListRequest + * @returns {flyteidl.admin.ProjectUpdateResponse} ProjectUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionForTaskListRequest.decode = function decode(reader, length) { + ProjectUpdateResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionForTaskListRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectUpdateResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.taskExecutionId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 2: - message.limit = reader.uint32(); - break; - case 3: - message.token = reader.string(); - break; - case 4: - message.filters = reader.string(); - break; - case 5: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -41288,62 +40850,41 @@ }; /** - * Verifies a NodeExecutionForTaskListRequest message. + * Verifies a ProjectUpdateResponse message. * @function verify - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @memberof flyteidl.admin.ProjectUpdateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionForTaskListRequest.verify = function verify(message) { + ProjectUpdateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) { - var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskExecutionId); - if (error) - return "taskExecutionId." + error; - } - if (message.limit != null && message.hasOwnProperty("limit")) - if (!$util.isInteger(message.limit)) - return "limit: integer expected"; - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; - if (message.sortBy != null && message.hasOwnProperty("sortBy")) { - var error = $root.flyteidl.admin.Sort.verify(message.sortBy); - if (error) - return "sortBy." + error; - } return null; }; - return NodeExecutionForTaskListRequest; + return ProjectUpdateResponse; })(); - admin.NodeExecution = (function() { + admin.ProjectGetRequest = (function() { /** - * Properties of a NodeExecution. + * Properties of a ProjectGetRequest. * @memberof flyteidl.admin - * @interface INodeExecution - * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecution id - * @property {string|null} [inputUri] NodeExecution inputUri - * @property {flyteidl.admin.INodeExecutionClosure|null} [closure] NodeExecution closure - * @property {flyteidl.admin.INodeExecutionMetaData|null} [metadata] NodeExecution metadata + * @interface IProjectGetRequest + * @property {string|null} [id] ProjectGetRequest id + * @property {string|null} [org] ProjectGetRequest org */ /** - * Constructs a new NodeExecution. + * Constructs a new ProjectGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecution. - * @implements INodeExecution + * @classdesc Represents a ProjectGetRequest. + * @implements IProjectGetRequest * @constructor - * @param {flyteidl.admin.INodeExecution=} [properties] Properties to set + * @param {flyteidl.admin.IProjectGetRequest=} [properties] Properties to set */ - function NodeExecution(properties) { + function ProjectGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -41351,101 +40892,75 @@ } /** - * NodeExecution id. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.NodeExecution - * @instance - */ - NodeExecution.prototype.id = null; - - /** - * NodeExecution inputUri. - * @member {string} inputUri - * @memberof flyteidl.admin.NodeExecution - * @instance - */ - NodeExecution.prototype.inputUri = ""; - - /** - * NodeExecution closure. - * @member {flyteidl.admin.INodeExecutionClosure|null|undefined} closure - * @memberof flyteidl.admin.NodeExecution + * ProjectGetRequest id. + * @member {string} id + * @memberof flyteidl.admin.ProjectGetRequest * @instance */ - NodeExecution.prototype.closure = null; + ProjectGetRequest.prototype.id = ""; /** - * NodeExecution metadata. - * @member {flyteidl.admin.INodeExecutionMetaData|null|undefined} metadata - * @memberof flyteidl.admin.NodeExecution + * ProjectGetRequest org. + * @member {string} org + * @memberof flyteidl.admin.ProjectGetRequest * @instance */ - NodeExecution.prototype.metadata = null; + ProjectGetRequest.prototype.org = ""; /** - * Creates a new NodeExecution instance using the specified properties. + * Creates a new ProjectGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecution + * @memberof flyteidl.admin.ProjectGetRequest * @static - * @param {flyteidl.admin.INodeExecution=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecution} NodeExecution instance + * @param {flyteidl.admin.IProjectGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectGetRequest} ProjectGetRequest instance */ - NodeExecution.create = function create(properties) { - return new NodeExecution(properties); + ProjectGetRequest.create = function create(properties) { + return new ProjectGetRequest(properties); }; /** - * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.admin.NodeExecution.verify|verify} messages. + * Encodes the specified ProjectGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecution + * @memberof flyteidl.admin.ProjectGetRequest * @static - * @param {flyteidl.admin.INodeExecution} message NodeExecution message or plain object to encode + * @param {flyteidl.admin.IProjectGetRequest} message ProjectGetRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecution.encode = function encode(message, writer) { + ProjectGetRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.inputUri != null && message.hasOwnProperty("inputUri")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputUri); - if (message.closure != null && message.hasOwnProperty("closure")) - $root.flyteidl.admin.NodeExecutionClosure.encode(message.closure, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.admin.NodeExecutionMetaData.encode(message.metadata, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.org); return writer; }; /** - * Decodes a NodeExecution message from the specified reader or buffer. + * Decodes a ProjectGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecution + * @memberof flyteidl.admin.ProjectGetRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecution} NodeExecution + * @returns {flyteidl.admin.ProjectGetRequest} ProjectGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecution.decode = function decode(reader, length) { + ProjectGetRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecution(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectGetRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.id = reader.string(); break; case 2: - message.inputUri = reader.string(); - break; - case 3: - message.closure = $root.flyteidl.admin.NodeExecutionClosure.decode(reader, reader.uint32()); - break; - case 4: - message.metadata = $root.flyteidl.admin.NodeExecutionMetaData.decode(reader, reader.uint32()); + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -41456,63 +40971,47 @@ }; /** - * Verifies a NodeExecution message. + * Verifies a ProjectGetRequest message. * @function verify - * @memberof flyteidl.admin.NodeExecution + * @memberof flyteidl.admin.ProjectGetRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecution.verify = function verify(message) { + ProjectGetRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.inputUri != null && message.hasOwnProperty("inputUri")) - if (!$util.isString(message.inputUri)) - return "inputUri: string expected"; - if (message.closure != null && message.hasOwnProperty("closure")) { - var error = $root.flyteidl.admin.NodeExecutionClosure.verify(message.closure); - if (error) - return "closure." + error; - } - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.admin.NodeExecutionMetaData.verify(message.metadata); - if (error) - return "metadata." + error; - } + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return NodeExecution; + return ProjectGetRequest; })(); - admin.NodeExecutionMetaData = (function() { + admin.InactiveProject = (function() { /** - * Properties of a NodeExecutionMetaData. + * Properties of an InactiveProject. * @memberof flyteidl.admin - * @interface INodeExecutionMetaData - * @property {string|null} [retryGroup] NodeExecutionMetaData retryGroup - * @property {boolean|null} [isParentNode] NodeExecutionMetaData isParentNode - * @property {string|null} [specNodeId] NodeExecutionMetaData specNodeId - * @property {boolean|null} [isDynamic] NodeExecutionMetaData isDynamic - * @property {boolean|null} [isArray] NodeExecutionMetaData isArray - * @property {boolean|null} [isEager] NodeExecutionMetaData isEager + * @interface IInactiveProject + * @property {string|null} [id] InactiveProject id + * @property {string|null} [org] InactiveProject org */ /** - * Constructs a new NodeExecutionMetaData. + * Constructs a new InactiveProject. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionMetaData. - * @implements INodeExecutionMetaData + * @classdesc Represents an InactiveProject. + * @implements IInactiveProject * @constructor - * @param {flyteidl.admin.INodeExecutionMetaData=} [properties] Properties to set + * @param {flyteidl.admin.IInactiveProject=} [properties] Properties to set */ - function NodeExecutionMetaData(properties) { + function InactiveProject(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -41520,127 +41019,75 @@ } /** - * NodeExecutionMetaData retryGroup. - * @member {string} retryGroup - * @memberof flyteidl.admin.NodeExecutionMetaData - * @instance - */ - NodeExecutionMetaData.prototype.retryGroup = ""; - - /** - * NodeExecutionMetaData isParentNode. - * @member {boolean} isParentNode - * @memberof flyteidl.admin.NodeExecutionMetaData - * @instance - */ - NodeExecutionMetaData.prototype.isParentNode = false; - - /** - * NodeExecutionMetaData specNodeId. - * @member {string} specNodeId - * @memberof flyteidl.admin.NodeExecutionMetaData - * @instance - */ - NodeExecutionMetaData.prototype.specNodeId = ""; - - /** - * NodeExecutionMetaData isDynamic. - * @member {boolean} isDynamic - * @memberof flyteidl.admin.NodeExecutionMetaData - * @instance - */ - NodeExecutionMetaData.prototype.isDynamic = false; - - /** - * NodeExecutionMetaData isArray. - * @member {boolean} isArray - * @memberof flyteidl.admin.NodeExecutionMetaData + * InactiveProject id. + * @member {string} id + * @memberof flyteidl.admin.InactiveProject * @instance */ - NodeExecutionMetaData.prototype.isArray = false; + InactiveProject.prototype.id = ""; /** - * NodeExecutionMetaData isEager. - * @member {boolean} isEager - * @memberof flyteidl.admin.NodeExecutionMetaData + * InactiveProject org. + * @member {string} org + * @memberof flyteidl.admin.InactiveProject * @instance */ - NodeExecutionMetaData.prototype.isEager = false; + InactiveProject.prototype.org = ""; /** - * Creates a new NodeExecutionMetaData instance using the specified properties. + * Creates a new InactiveProject instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionMetaData + * @memberof flyteidl.admin.InactiveProject * @static - * @param {flyteidl.admin.INodeExecutionMetaData=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionMetaData} NodeExecutionMetaData instance + * @param {flyteidl.admin.IInactiveProject=} [properties] Properties to set + * @returns {flyteidl.admin.InactiveProject} InactiveProject instance */ - NodeExecutionMetaData.create = function create(properties) { - return new NodeExecutionMetaData(properties); + InactiveProject.create = function create(properties) { + return new InactiveProject(properties); }; /** - * Encodes the specified NodeExecutionMetaData message. Does not implicitly {@link flyteidl.admin.NodeExecutionMetaData.verify|verify} messages. + * Encodes the specified InactiveProject message. Does not implicitly {@link flyteidl.admin.InactiveProject.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionMetaData + * @memberof flyteidl.admin.InactiveProject * @static - * @param {flyteidl.admin.INodeExecutionMetaData} message NodeExecutionMetaData message or plain object to encode + * @param {flyteidl.admin.IInactiveProject} message InactiveProject message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionMetaData.encode = function encode(message, writer) { + InactiveProject.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.retryGroup != null && message.hasOwnProperty("retryGroup")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.retryGroup); - if (message.isParentNode != null && message.hasOwnProperty("isParentNode")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isParentNode); - if (message.specNodeId != null && message.hasOwnProperty("specNodeId")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.specNodeId); - if (message.isDynamic != null && message.hasOwnProperty("isDynamic")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isDynamic); - if (message.isArray != null && message.hasOwnProperty("isArray")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isArray); - if (message.isEager != null && message.hasOwnProperty("isEager")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.isEager); + if (message.id != null && message.hasOwnProperty("id")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.org); return writer; }; /** - * Decodes a NodeExecutionMetaData message from the specified reader or buffer. + * Decodes an InactiveProject message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionMetaData + * @memberof flyteidl.admin.InactiveProject * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionMetaData} NodeExecutionMetaData + * @returns {flyteidl.admin.InactiveProject} InactiveProject * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionMetaData.decode = function decode(reader, length) { + InactiveProject.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionMetaData(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.InactiveProject(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.retryGroup = reader.string(); + message.id = reader.string(); break; case 2: - message.isParentNode = reader.bool(); - break; - case 3: - message.specNodeId = reader.string(); - break; - case 4: - message.isDynamic = reader.bool(); - break; - case 5: - message.isArray = reader.bool(); - break; - case 6: - message.isEager = reader.bool(); + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -41651,60 +41098,48 @@ }; /** - * Verifies a NodeExecutionMetaData message. + * Verifies an InactiveProject message. * @function verify - * @memberof flyteidl.admin.NodeExecutionMetaData + * @memberof flyteidl.admin.InactiveProject * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionMetaData.verify = function verify(message) { + InactiveProject.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.retryGroup != null && message.hasOwnProperty("retryGroup")) - if (!$util.isString(message.retryGroup)) - return "retryGroup: string expected"; - if (message.isParentNode != null && message.hasOwnProperty("isParentNode")) - if (typeof message.isParentNode !== "boolean") - return "isParentNode: boolean expected"; - if (message.specNodeId != null && message.hasOwnProperty("specNodeId")) - if (!$util.isString(message.specNodeId)) - return "specNodeId: string expected"; - if (message.isDynamic != null && message.hasOwnProperty("isDynamic")) - if (typeof message.isDynamic !== "boolean") - return "isDynamic: boolean expected"; - if (message.isArray != null && message.hasOwnProperty("isArray")) - if (typeof message.isArray !== "boolean") - return "isArray: boolean expected"; - if (message.isEager != null && message.hasOwnProperty("isEager")) - if (typeof message.isEager !== "boolean") - return "isEager: boolean expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return NodeExecutionMetaData; + return InactiveProject; })(); - admin.NodeExecutionList = (function() { + admin.ProjectAttributes = (function() { /** - * Properties of a NodeExecutionList. + * Properties of a ProjectAttributes. * @memberof flyteidl.admin - * @interface INodeExecutionList - * @property {Array.|null} [nodeExecutions] NodeExecutionList nodeExecutions - * @property {string|null} [token] NodeExecutionList token + * @interface IProjectAttributes + * @property {string|null} [project] ProjectAttributes project + * @property {flyteidl.admin.IMatchingAttributes|null} [matchingAttributes] ProjectAttributes matchingAttributes + * @property {string|null} [org] ProjectAttributes org */ /** - * Constructs a new NodeExecutionList. + * Constructs a new ProjectAttributes. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionList. - * @implements INodeExecutionList + * @classdesc Represents a ProjectAttributes. + * @implements IProjectAttributes * @constructor - * @param {flyteidl.admin.INodeExecutionList=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributes=} [properties] Properties to set */ - function NodeExecutionList(properties) { - this.nodeExecutions = []; + function ProjectAttributes(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -41712,78 +41147,88 @@ } /** - * NodeExecutionList nodeExecutions. - * @member {Array.} nodeExecutions - * @memberof flyteidl.admin.NodeExecutionList + * ProjectAttributes project. + * @member {string} project + * @memberof flyteidl.admin.ProjectAttributes * @instance */ - NodeExecutionList.prototype.nodeExecutions = $util.emptyArray; + ProjectAttributes.prototype.project = ""; /** - * NodeExecutionList token. - * @member {string} token - * @memberof flyteidl.admin.NodeExecutionList + * ProjectAttributes matchingAttributes. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes + * @memberof flyteidl.admin.ProjectAttributes + * @instance + */ + ProjectAttributes.prototype.matchingAttributes = null; + + /** + * ProjectAttributes org. + * @member {string} org + * @memberof flyteidl.admin.ProjectAttributes * @instance */ - NodeExecutionList.prototype.token = ""; + ProjectAttributes.prototype.org = ""; /** - * Creates a new NodeExecutionList instance using the specified properties. + * Creates a new ProjectAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionList + * @memberof flyteidl.admin.ProjectAttributes * @static - * @param {flyteidl.admin.INodeExecutionList=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionList} NodeExecutionList instance + * @param {flyteidl.admin.IProjectAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributes} ProjectAttributes instance */ - NodeExecutionList.create = function create(properties) { - return new NodeExecutionList(properties); + ProjectAttributes.create = function create(properties) { + return new ProjectAttributes(properties); }; /** - * Encodes the specified NodeExecutionList message. Does not implicitly {@link flyteidl.admin.NodeExecutionList.verify|verify} messages. + * Encodes the specified ProjectAttributes message. Does not implicitly {@link flyteidl.admin.ProjectAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionList + * @memberof flyteidl.admin.ProjectAttributes * @static - * @param {flyteidl.admin.INodeExecutionList} message NodeExecutionList message or plain object to encode + * @param {flyteidl.admin.IProjectAttributes} message ProjectAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionList.encode = function encode(message, writer) { + ProjectAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.nodeExecutions != null && message.nodeExecutions.length) - for (var i = 0; i < message.nodeExecutions.length; ++i) - $root.flyteidl.admin.NodeExecution.encode(message.nodeExecutions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) + $root.flyteidl.admin.MatchingAttributes.encode(message.matchingAttributes, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.org); return writer; }; /** - * Decodes a NodeExecutionList message from the specified reader or buffer. + * Decodes a ProjectAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionList + * @memberof flyteidl.admin.ProjectAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionList} NodeExecutionList + * @returns {flyteidl.admin.ProjectAttributes} ProjectAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionList.decode = function decode(reader, length) { + ProjectAttributes.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionList(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributes(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.nodeExecutions && message.nodeExecutions.length)) - message.nodeExecutions = []; - message.nodeExecutions.push($root.flyteidl.admin.NodeExecution.decode(reader, reader.uint32())); + message.project = reader.string(); break; case 2: - message.token = reader.string(); + message.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; + case 3: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -41794,63 +41239,51 @@ }; /** - * Verifies a NodeExecutionList message. + * Verifies a ProjectAttributes message. * @function verify - * @memberof flyteidl.admin.NodeExecutionList + * @memberof flyteidl.admin.ProjectAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionList.verify = function verify(message) { + ProjectAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.nodeExecutions != null && message.hasOwnProperty("nodeExecutions")) { - if (!Array.isArray(message.nodeExecutions)) - return "nodeExecutions: array expected"; - for (var i = 0; i < message.nodeExecutions.length; ++i) { - var error = $root.flyteidl.admin.NodeExecution.verify(message.nodeExecutions[i]); - if (error) - return "nodeExecutions." + error; - } + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) { + var error = $root.flyteidl.admin.MatchingAttributes.verify(message.matchingAttributes); + if (error) + return "matchingAttributes." + error; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return NodeExecutionList; + return ProjectAttributes; })(); - admin.NodeExecutionClosure = (function() { + admin.ProjectAttributesUpdateRequest = (function() { /** - * Properties of a NodeExecutionClosure. + * Properties of a ProjectAttributesUpdateRequest. * @memberof flyteidl.admin - * @interface INodeExecutionClosure - * @property {string|null} [outputUri] NodeExecutionClosure outputUri - * @property {flyteidl.core.IExecutionError|null} [error] NodeExecutionClosure error - * @property {flyteidl.core.ILiteralMap|null} [outputData] NodeExecutionClosure outputData - * @property {flyteidl.core.NodeExecution.Phase|null} [phase] NodeExecutionClosure phase - * @property {google.protobuf.ITimestamp|null} [startedAt] NodeExecutionClosure startedAt - * @property {google.protobuf.IDuration|null} [duration] NodeExecutionClosure duration - * @property {google.protobuf.ITimestamp|null} [createdAt] NodeExecutionClosure createdAt - * @property {google.protobuf.ITimestamp|null} [updatedAt] NodeExecutionClosure updatedAt - * @property {flyteidl.admin.IWorkflowNodeMetadata|null} [workflowNodeMetadata] NodeExecutionClosure workflowNodeMetadata - * @property {flyteidl.admin.ITaskNodeMetadata|null} [taskNodeMetadata] NodeExecutionClosure taskNodeMetadata - * @property {string|null} [deckUri] NodeExecutionClosure deckUri - * @property {string|null} [dynamicJobSpecUri] NodeExecutionClosure dynamicJobSpecUri + * @interface IProjectAttributesUpdateRequest + * @property {flyteidl.admin.IProjectAttributes|null} [attributes] ProjectAttributesUpdateRequest attributes */ /** - * Constructs a new NodeExecutionClosure. + * Constructs a new ProjectAttributesUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionClosure. - * @implements INodeExecutionClosure + * @classdesc Represents a ProjectAttributesUpdateRequest. + * @implements IProjectAttributesUpdateRequest * @constructor - * @param {flyteidl.admin.INodeExecutionClosure=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesUpdateRequest=} [properties] Properties to set */ - function NodeExecutionClosure(properties) { + function ProjectAttributesUpdateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -41858,230 +41291,62 @@ } /** - * NodeExecutionClosure outputUri. - * @member {string} outputUri - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.outputUri = ""; - - /** - * NodeExecutionClosure error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.error = null; - - /** - * NodeExecutionClosure outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.outputData = null; - - /** - * NodeExecutionClosure phase. - * @member {flyteidl.core.NodeExecution.Phase} phase - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.phase = 0; - - /** - * NodeExecutionClosure startedAt. - * @member {google.protobuf.ITimestamp|null|undefined} startedAt - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.startedAt = null; - - /** - * NodeExecutionClosure duration. - * @member {google.protobuf.IDuration|null|undefined} duration - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.duration = null; - - /** - * NodeExecutionClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.createdAt = null; - - /** - * NodeExecutionClosure updatedAt. - * @member {google.protobuf.ITimestamp|null|undefined} updatedAt - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.updatedAt = null; - - /** - * NodeExecutionClosure workflowNodeMetadata. - * @member {flyteidl.admin.IWorkflowNodeMetadata|null|undefined} workflowNodeMetadata - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.workflowNodeMetadata = null; - - /** - * NodeExecutionClosure taskNodeMetadata. - * @member {flyteidl.admin.ITaskNodeMetadata|null|undefined} taskNodeMetadata - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.taskNodeMetadata = null; - - /** - * NodeExecutionClosure deckUri. - * @member {string} deckUri - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.deckUri = ""; - - /** - * NodeExecutionClosure dynamicJobSpecUri. - * @member {string} dynamicJobSpecUri - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.dynamicJobSpecUri = ""; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * NodeExecutionClosure outputResult. - * @member {"outputUri"|"error"|"outputData"|undefined} outputResult - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - Object.defineProperty(NodeExecutionClosure.prototype, "outputResult", { - get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * NodeExecutionClosure targetMetadata. - * @member {"workflowNodeMetadata"|"taskNodeMetadata"|undefined} targetMetadata - * @memberof flyteidl.admin.NodeExecutionClosure + * ProjectAttributesUpdateRequest attributes. + * @member {flyteidl.admin.IProjectAttributes|null|undefined} attributes + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @instance */ - Object.defineProperty(NodeExecutionClosure.prototype, "targetMetadata", { - get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata", "taskNodeMetadata"]), - set: $util.oneOfSetter($oneOfFields) - }); + ProjectAttributesUpdateRequest.prototype.attributes = null; /** - * Creates a new NodeExecutionClosure instance using the specified properties. + * Creates a new ProjectAttributesUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionClosure + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @static - * @param {flyteidl.admin.INodeExecutionClosure=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionClosure} NodeExecutionClosure instance + * @param {flyteidl.admin.IProjectAttributesUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesUpdateRequest} ProjectAttributesUpdateRequest instance */ - NodeExecutionClosure.create = function create(properties) { - return new NodeExecutionClosure(properties); + ProjectAttributesUpdateRequest.create = function create(properties) { + return new ProjectAttributesUpdateRequest(properties); }; /** - * Encodes the specified NodeExecutionClosure message. Does not implicitly {@link flyteidl.admin.NodeExecutionClosure.verify|verify} messages. + * Encodes the specified ProjectAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionClosure + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @static - * @param {flyteidl.admin.INodeExecutionClosure} message NodeExecutionClosure message or plain object to encode + * @param {flyteidl.admin.IProjectAttributesUpdateRequest} message ProjectAttributesUpdateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionClosure.encode = function encode(message, writer) { + ProjectAttributesUpdateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.outputUri != null && message.hasOwnProperty("outputUri")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.outputUri); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.phase != null && message.hasOwnProperty("phase")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.phase); - if (message.startedAt != null && message.hasOwnProperty("startedAt")) - $root.google.protobuf.Timestamp.encode(message.startedAt, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.duration != null && message.hasOwnProperty("duration")) - $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.createdAt != null && message.hasOwnProperty("createdAt")) - $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) - $root.google.protobuf.Timestamp.encode(message.updatedAt, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) - $root.flyteidl.admin.WorkflowNodeMetadata.encode(message.workflowNodeMetadata, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.taskNodeMetadata != null && message.hasOwnProperty("taskNodeMetadata")) - $root.flyteidl.admin.TaskNodeMetadata.encode(message.taskNodeMetadata, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.outputData != null && message.hasOwnProperty("outputData")) - $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); - if (message.deckUri != null && message.hasOwnProperty("deckUri")) - writer.uint32(/* id 11, wireType 2 =*/90).string(message.deckUri); - if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) - writer.uint32(/* id 12, wireType 2 =*/98).string(message.dynamicJobSpecUri); + if (message.attributes != null && message.hasOwnProperty("attributes")) + $root.flyteidl.admin.ProjectAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a NodeExecutionClosure message from the specified reader or buffer. + * Decodes a ProjectAttributesUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionClosure + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionClosure} NodeExecutionClosure + * @returns {flyteidl.admin.ProjectAttributesUpdateRequest} ProjectAttributesUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionClosure.decode = function decode(reader, length) { + ProjectAttributesUpdateRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionClosure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesUpdateRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.outputUri = reader.string(); - break; - case 2: - message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); - break; - case 10: - message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 3: - message.phase = reader.int32(); - break; - case 4: - message.startedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 5: - message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 6: - message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 7: - message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 8: - message.workflowNodeMetadata = $root.flyteidl.admin.WorkflowNodeMetadata.decode(reader, reader.uint32()); - break; - case 9: - message.taskNodeMetadata = $root.flyteidl.admin.TaskNodeMetadata.decode(reader, reader.uint32()); - break; - case 11: - message.deckUri = reader.string(); - break; - case 12: - message.dynamicJobSpecUri = reader.string(); + message.attributes = $root.flyteidl.admin.ProjectAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -42092,127 +41357,44 @@ }; /** - * Verifies a NodeExecutionClosure message. + * Verifies a ProjectAttributesUpdateRequest message. * @function verify - * @memberof flyteidl.admin.NodeExecutionClosure + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionClosure.verify = function verify(message) { + ProjectAttributesUpdateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.outputUri != null && message.hasOwnProperty("outputUri")) { - properties.outputResult = 1; - if (!$util.isString(message.outputUri)) - return "outputUri: string expected"; - } - if (message.error != null && message.hasOwnProperty("error")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - { - var error = $root.flyteidl.core.ExecutionError.verify(message.error); - if (error) - return "error." + error; - } - } - if (message.outputData != null && message.hasOwnProperty("outputData")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); - if (error) - return "outputData." + error; - } - } - if (message.phase != null && message.hasOwnProperty("phase")) - switch (message.phase) { - default: - return "phase: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - break; - } - if (message.startedAt != null && message.hasOwnProperty("startedAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.startedAt); - if (error) - return "startedAt." + error; - } - if (message.duration != null && message.hasOwnProperty("duration")) { - var error = $root.google.protobuf.Duration.verify(message.duration); - if (error) - return "duration." + error; - } - if (message.createdAt != null && message.hasOwnProperty("createdAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.createdAt); - if (error) - return "createdAt." + error; - } - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.updatedAt); + if (message.attributes != null && message.hasOwnProperty("attributes")) { + var error = $root.flyteidl.admin.ProjectAttributes.verify(message.attributes); if (error) - return "updatedAt." + error; - } - if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) { - properties.targetMetadata = 1; - { - var error = $root.flyteidl.admin.WorkflowNodeMetadata.verify(message.workflowNodeMetadata); - if (error) - return "workflowNodeMetadata." + error; - } - } - if (message.taskNodeMetadata != null && message.hasOwnProperty("taskNodeMetadata")) { - if (properties.targetMetadata === 1) - return "targetMetadata: multiple values"; - properties.targetMetadata = 1; - { - var error = $root.flyteidl.admin.TaskNodeMetadata.verify(message.taskNodeMetadata); - if (error) - return "taskNodeMetadata." + error; - } + return "attributes." + error; } - if (message.deckUri != null && message.hasOwnProperty("deckUri")) - if (!$util.isString(message.deckUri)) - return "deckUri: string expected"; - if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) - if (!$util.isString(message.dynamicJobSpecUri)) - return "dynamicJobSpecUri: string expected"; return null; }; - return NodeExecutionClosure; + return ProjectAttributesUpdateRequest; })(); - admin.WorkflowNodeMetadata = (function() { + admin.ProjectAttributesUpdateResponse = (function() { /** - * Properties of a WorkflowNodeMetadata. + * Properties of a ProjectAttributesUpdateResponse. * @memberof flyteidl.admin - * @interface IWorkflowNodeMetadata - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] WorkflowNodeMetadata executionId + * @interface IProjectAttributesUpdateResponse */ /** - * Constructs a new WorkflowNodeMetadata. + * Constructs a new ProjectAttributesUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowNodeMetadata. - * @implements IWorkflowNodeMetadata + * @classdesc Represents a ProjectAttributesUpdateResponse. + * @implements IProjectAttributesUpdateResponse * @constructor - * @param {flyteidl.admin.IWorkflowNodeMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesUpdateResponse=} [properties] Properties to set */ - function WorkflowNodeMetadata(properties) { + function ProjectAttributesUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42220,63 +41402,50 @@ } /** - * WorkflowNodeMetadata executionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId - * @memberof flyteidl.admin.WorkflowNodeMetadata - * @instance - */ - WorkflowNodeMetadata.prototype.executionId = null; - - /** - * Creates a new WorkflowNodeMetadata instance using the specified properties. + * Creates a new ProjectAttributesUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowNodeMetadata + * @memberof flyteidl.admin.ProjectAttributesUpdateResponse * @static - * @param {flyteidl.admin.IWorkflowNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowNodeMetadata} WorkflowNodeMetadata instance + * @param {flyteidl.admin.IProjectAttributesUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesUpdateResponse} ProjectAttributesUpdateResponse instance */ - WorkflowNodeMetadata.create = function create(properties) { - return new WorkflowNodeMetadata(properties); + ProjectAttributesUpdateResponse.create = function create(properties) { + return new ProjectAttributesUpdateResponse(properties); }; /** - * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.WorkflowNodeMetadata.verify|verify} messages. + * Encodes the specified ProjectAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowNodeMetadata + * @memberof flyteidl.admin.ProjectAttributesUpdateResponse * @static - * @param {flyteidl.admin.IWorkflowNodeMetadata} message WorkflowNodeMetadata message or plain object to encode + * @param {flyteidl.admin.IProjectAttributesUpdateResponse} message ProjectAttributesUpdateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowNodeMetadata.encode = function encode(message, writer) { + ProjectAttributesUpdateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.executionId != null && message.hasOwnProperty("executionId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a ProjectAttributesUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowNodeMetadata + * @memberof flyteidl.admin.ProjectAttributesUpdateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowNodeMetadata} WorkflowNodeMetadata + * @returns {flyteidl.admin.ProjectAttributesUpdateResponse} ProjectAttributesUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowNodeMetadata.decode = function decode(reader, length) { + ProjectAttributesUpdateResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowNodeMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesUpdateResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -42286,47 +41455,42 @@ }; /** - * Verifies a WorkflowNodeMetadata message. + * Verifies a ProjectAttributesUpdateResponse message. * @function verify - * @memberof flyteidl.admin.WorkflowNodeMetadata + * @memberof flyteidl.admin.ProjectAttributesUpdateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowNodeMetadata.verify = function verify(message) { + ProjectAttributesUpdateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.executionId != null && message.hasOwnProperty("executionId")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); - if (error) - return "executionId." + error; - } return null; }; - return WorkflowNodeMetadata; + return ProjectAttributesUpdateResponse; })(); - admin.TaskNodeMetadata = (function() { + admin.ProjectAttributesGetRequest = (function() { /** - * Properties of a TaskNodeMetadata. + * Properties of a ProjectAttributesGetRequest. * @memberof flyteidl.admin - * @interface ITaskNodeMetadata - * @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] TaskNodeMetadata cacheStatus - * @property {flyteidl.core.ICatalogMetadata|null} [catalogKey] TaskNodeMetadata catalogKey - * @property {string|null} [checkpointUri] TaskNodeMetadata checkpointUri + * @interface IProjectAttributesGetRequest + * @property {string|null} [project] ProjectAttributesGetRequest project + * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectAttributesGetRequest resourceType + * @property {string|null} [org] ProjectAttributesGetRequest org */ /** - * Constructs a new TaskNodeMetadata. + * Constructs a new ProjectAttributesGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskNodeMetadata. - * @implements ITaskNodeMetadata + * @classdesc Represents a ProjectAttributesGetRequest. + * @implements IProjectAttributesGetRequest * @constructor - * @param {flyteidl.admin.ITaskNodeMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesGetRequest=} [properties] Properties to set */ - function TaskNodeMetadata(properties) { + function ProjectAttributesGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42334,88 +41498,88 @@ } /** - * TaskNodeMetadata cacheStatus. - * @member {flyteidl.core.CatalogCacheStatus} cacheStatus - * @memberof flyteidl.admin.TaskNodeMetadata + * ProjectAttributesGetRequest project. + * @member {string} project + * @memberof flyteidl.admin.ProjectAttributesGetRequest * @instance */ - TaskNodeMetadata.prototype.cacheStatus = 0; + ProjectAttributesGetRequest.prototype.project = ""; /** - * TaskNodeMetadata catalogKey. - * @member {flyteidl.core.ICatalogMetadata|null|undefined} catalogKey - * @memberof flyteidl.admin.TaskNodeMetadata + * ProjectAttributesGetRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.ProjectAttributesGetRequest * @instance */ - TaskNodeMetadata.prototype.catalogKey = null; + ProjectAttributesGetRequest.prototype.resourceType = 0; /** - * TaskNodeMetadata checkpointUri. - * @member {string} checkpointUri - * @memberof flyteidl.admin.TaskNodeMetadata + * ProjectAttributesGetRequest org. + * @member {string} org + * @memberof flyteidl.admin.ProjectAttributesGetRequest * @instance */ - TaskNodeMetadata.prototype.checkpointUri = ""; + ProjectAttributesGetRequest.prototype.org = ""; /** - * Creates a new TaskNodeMetadata instance using the specified properties. + * Creates a new ProjectAttributesGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskNodeMetadata + * @memberof flyteidl.admin.ProjectAttributesGetRequest * @static - * @param {flyteidl.admin.ITaskNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.TaskNodeMetadata} TaskNodeMetadata instance + * @param {flyteidl.admin.IProjectAttributesGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesGetRequest} ProjectAttributesGetRequest instance */ - TaskNodeMetadata.create = function create(properties) { - return new TaskNodeMetadata(properties); + ProjectAttributesGetRequest.create = function create(properties) { + return new ProjectAttributesGetRequest(properties); }; /** - * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.admin.TaskNodeMetadata.verify|verify} messages. + * Encodes the specified ProjectAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskNodeMetadata + * @memberof flyteidl.admin.ProjectAttributesGetRequest * @static - * @param {flyteidl.admin.ITaskNodeMetadata} message TaskNodeMetadata message or plain object to encode + * @param {flyteidl.admin.IProjectAttributesGetRequest} message ProjectAttributesGetRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskNodeMetadata.encode = function encode(message, writer) { + ProjectAttributesGetRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.cacheStatus); - if (message.catalogKey != null && message.hasOwnProperty("catalogKey")) - $root.flyteidl.core.CatalogMetadata.encode(message.catalogKey, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.checkpointUri); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.resourceType); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.org); return writer; }; /** - * Decodes a TaskNodeMetadata message from the specified reader or buffer. + * Decodes a ProjectAttributesGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskNodeMetadata + * @memberof flyteidl.admin.ProjectAttributesGetRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskNodeMetadata} TaskNodeMetadata + * @returns {flyteidl.admin.ProjectAttributesGetRequest} ProjectAttributesGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskNodeMetadata.decode = function decode(reader, length) { + ProjectAttributesGetRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskNodeMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesGetRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.cacheStatus = reader.int32(); + message.project = reader.string(); break; case 2: - message.catalogKey = $root.flyteidl.core.CatalogMetadata.decode(reader, reader.uint32()); + message.resourceType = reader.int32(); break; - case 4: - message.checkpointUri = reader.string(); + case 3: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -42426,20 +41590,23 @@ }; /** - * Verifies a TaskNodeMetadata message. + * Verifies a ProjectAttributesGetRequest message. * @function verify - * @memberof flyteidl.admin.TaskNodeMetadata + * @memberof flyteidl.admin.ProjectAttributesGetRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskNodeMetadata.verify = function verify(message) { + ProjectAttributesGetRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) - switch (message.cacheStatus) { + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { default: - return "cacheStatus: enum value expected"; + return "resourceType: enum value expected"; case 0: case 1: case 2: @@ -42450,40 +41617,33 @@ case 7: break; } - if (message.catalogKey != null && message.hasOwnProperty("catalogKey")) { - var error = $root.flyteidl.core.CatalogMetadata.verify(message.catalogKey); - if (error) - return "catalogKey." + error; - } - if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri")) - if (!$util.isString(message.checkpointUri)) - return "checkpointUri: string expected"; + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return TaskNodeMetadata; + return ProjectAttributesGetRequest; })(); - admin.DynamicWorkflowNodeMetadata = (function() { + admin.ProjectAttributesGetResponse = (function() { /** - * Properties of a DynamicWorkflowNodeMetadata. + * Properties of a ProjectAttributesGetResponse. * @memberof flyteidl.admin - * @interface IDynamicWorkflowNodeMetadata - * @property {flyteidl.core.IIdentifier|null} [id] DynamicWorkflowNodeMetadata id - * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] DynamicWorkflowNodeMetadata compiledWorkflow - * @property {string|null} [dynamicJobSpecUri] DynamicWorkflowNodeMetadata dynamicJobSpecUri + * @interface IProjectAttributesGetResponse + * @property {flyteidl.admin.IProjectAttributes|null} [attributes] ProjectAttributesGetResponse attributes */ /** - * Constructs a new DynamicWorkflowNodeMetadata. + * Constructs a new ProjectAttributesGetResponse. * @memberof flyteidl.admin - * @classdesc Represents a DynamicWorkflowNodeMetadata. - * @implements IDynamicWorkflowNodeMetadata + * @classdesc Represents a ProjectAttributesGetResponse. + * @implements IProjectAttributesGetResponse * @constructor - * @param {flyteidl.admin.IDynamicWorkflowNodeMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesGetResponse=} [properties] Properties to set */ - function DynamicWorkflowNodeMetadata(properties) { + function ProjectAttributesGetResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42491,88 +41651,62 @@ } /** - * DynamicWorkflowNodeMetadata id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata - * @instance - */ - DynamicWorkflowNodeMetadata.prototype.id = null; - - /** - * DynamicWorkflowNodeMetadata compiledWorkflow. - * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata - * @instance - */ - DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null; - - /** - * DynamicWorkflowNodeMetadata dynamicJobSpecUri. - * @member {string} dynamicJobSpecUri - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * ProjectAttributesGetResponse attributes. + * @member {flyteidl.admin.IProjectAttributes|null|undefined} attributes + * @memberof flyteidl.admin.ProjectAttributesGetResponse * @instance */ - DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = ""; + ProjectAttributesGetResponse.prototype.attributes = null; /** - * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. + * Creates a new ProjectAttributesGetResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * @memberof flyteidl.admin.ProjectAttributesGetResponse * @static - * @param {flyteidl.admin.IDynamicWorkflowNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata instance + * @param {flyteidl.admin.IProjectAttributesGetResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesGetResponse} ProjectAttributesGetResponse instance */ - DynamicWorkflowNodeMetadata.create = function create(properties) { - return new DynamicWorkflowNodeMetadata(properties); + ProjectAttributesGetResponse.create = function create(properties) { + return new ProjectAttributesGetResponse(properties); }; /** - * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.DynamicWorkflowNodeMetadata.verify|verify} messages. + * Encodes the specified ProjectAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * @memberof flyteidl.admin.ProjectAttributesGetResponse * @static - * @param {flyteidl.admin.IDynamicWorkflowNodeMetadata} message DynamicWorkflowNodeMetadata message or plain object to encode + * @param {flyteidl.admin.IProjectAttributesGetResponse} message ProjectAttributesGetResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DynamicWorkflowNodeMetadata.encode = function encode(message, writer) { + ProjectAttributesGetResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) - $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.dynamicJobSpecUri); + if (message.attributes != null && message.hasOwnProperty("attributes")) + $root.flyteidl.admin.ProjectAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a ProjectAttributesGetResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * @memberof flyteidl.admin.ProjectAttributesGetResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata + * @returns {flyteidl.admin.ProjectAttributesGetResponse} ProjectAttributesGetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DynamicWorkflowNodeMetadata.decode = function decode(reader, length) { + ProjectAttributesGetResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DynamicWorkflowNodeMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesGetResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 2: - message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); - break; - case 3: - message.dynamicJobSpecUri = reader.string(); + message.attributes = $root.flyteidl.admin.ProjectAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -42583,53 +41717,47 @@ }; /** - * Verifies a DynamicWorkflowNodeMetadata message. + * Verifies a ProjectAttributesGetResponse message. * @function verify - * @memberof flyteidl.admin.DynamicWorkflowNodeMetadata + * @memberof flyteidl.admin.ProjectAttributesGetResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - DynamicWorkflowNodeMetadata.verify = function verify(message) { + ProjectAttributesGetResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.Identifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) { - var error = $root.flyteidl.core.CompiledWorkflowClosure.verify(message.compiledWorkflow); + if (message.attributes != null && message.hasOwnProperty("attributes")) { + var error = $root.flyteidl.admin.ProjectAttributes.verify(message.attributes); if (error) - return "compiledWorkflow." + error; + return "attributes." + error; } - if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) - if (!$util.isString(message.dynamicJobSpecUri)) - return "dynamicJobSpecUri: string expected"; return null; }; - return DynamicWorkflowNodeMetadata; + return ProjectAttributesGetResponse; })(); - admin.NodeExecutionGetDataRequest = (function() { + admin.ProjectAttributesDeleteRequest = (function() { /** - * Properties of a NodeExecutionGetDataRequest. + * Properties of a ProjectAttributesDeleteRequest. * @memberof flyteidl.admin - * @interface INodeExecutionGetDataRequest - * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionGetDataRequest id + * @interface IProjectAttributesDeleteRequest + * @property {string|null} [project] ProjectAttributesDeleteRequest project + * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectAttributesDeleteRequest resourceType + * @property {string|null} [org] ProjectAttributesDeleteRequest org */ /** - * Constructs a new NodeExecutionGetDataRequest. + * Constructs a new ProjectAttributesDeleteRequest. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionGetDataRequest. - * @implements INodeExecutionGetDataRequest + * @classdesc Represents a ProjectAttributesDeleteRequest. + * @implements IProjectAttributesDeleteRequest * @constructor - * @param {flyteidl.admin.INodeExecutionGetDataRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesDeleteRequest=} [properties] Properties to set */ - function NodeExecutionGetDataRequest(properties) { + function ProjectAttributesDeleteRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42637,62 +41765,88 @@ } /** - * NodeExecutionGetDataRequest id. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * ProjectAttributesDeleteRequest project. + * @member {string} project + * @memberof flyteidl.admin.ProjectAttributesDeleteRequest * @instance */ - NodeExecutionGetDataRequest.prototype.id = null; + ProjectAttributesDeleteRequest.prototype.project = ""; /** - * Creates a new NodeExecutionGetDataRequest instance using the specified properties. + * ProjectAttributesDeleteRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.ProjectAttributesDeleteRequest + * @instance + */ + ProjectAttributesDeleteRequest.prototype.resourceType = 0; + + /** + * ProjectAttributesDeleteRequest org. + * @member {string} org + * @memberof flyteidl.admin.ProjectAttributesDeleteRequest + * @instance + */ + ProjectAttributesDeleteRequest.prototype.org = ""; + + /** + * Creates a new ProjectAttributesDeleteRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @memberof flyteidl.admin.ProjectAttributesDeleteRequest * @static - * @param {flyteidl.admin.INodeExecutionGetDataRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionGetDataRequest} NodeExecutionGetDataRequest instance + * @param {flyteidl.admin.IProjectAttributesDeleteRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesDeleteRequest} ProjectAttributesDeleteRequest instance */ - NodeExecutionGetDataRequest.create = function create(properties) { - return new NodeExecutionGetDataRequest(properties); + ProjectAttributesDeleteRequest.create = function create(properties) { + return new ProjectAttributesDeleteRequest(properties); }; /** - * Encodes the specified NodeExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataRequest.verify|verify} messages. + * Encodes the specified ProjectAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @memberof flyteidl.admin.ProjectAttributesDeleteRequest * @static - * @param {flyteidl.admin.INodeExecutionGetDataRequest} message NodeExecutionGetDataRequest message or plain object to encode + * @param {flyteidl.admin.IProjectAttributesDeleteRequest} message ProjectAttributesDeleteRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionGetDataRequest.encode = function encode(message, writer) { + ProjectAttributesDeleteRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.resourceType); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.org); return writer; }; /** - * Decodes a NodeExecutionGetDataRequest message from the specified reader or buffer. + * Decodes a ProjectAttributesDeleteRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @memberof flyteidl.admin.ProjectAttributesDeleteRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionGetDataRequest} NodeExecutionGetDataRequest + * @returns {flyteidl.admin.ProjectAttributesDeleteRequest} ProjectAttributesDeleteRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionGetDataRequest.decode = function decode(reader, length) { + ProjectAttributesDeleteRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionGetDataRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesDeleteRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.project = reader.string(); + break; + case 2: + message.resourceType = reader.int32(); + break; + case 3: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -42703,50 +41857,59 @@ }; /** - * Verifies a NodeExecutionGetDataRequest message. + * Verifies a ProjectAttributesDeleteRequest message. * @function verify - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @memberof flyteidl.admin.ProjectAttributesDeleteRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionGetDataRequest.verify = function verify(message) { + ProjectAttributesDeleteRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; - } + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { + default: + return "resourceType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break; + } + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return NodeExecutionGetDataRequest; + return ProjectAttributesDeleteRequest; })(); - admin.NodeExecutionGetDataResponse = (function() { + admin.ProjectAttributesDeleteResponse = (function() { /** - * Properties of a NodeExecutionGetDataResponse. + * Properties of a ProjectAttributesDeleteResponse. * @memberof flyteidl.admin - * @interface INodeExecutionGetDataResponse - * @property {flyteidl.admin.IUrlBlob|null} [inputs] NodeExecutionGetDataResponse inputs - * @property {flyteidl.admin.IUrlBlob|null} [outputs] NodeExecutionGetDataResponse outputs - * @property {flyteidl.core.ILiteralMap|null} [fullInputs] NodeExecutionGetDataResponse fullInputs - * @property {flyteidl.core.ILiteralMap|null} [fullOutputs] NodeExecutionGetDataResponse fullOutputs - * @property {flyteidl.admin.IDynamicWorkflowNodeMetadata|null} [dynamicWorkflow] NodeExecutionGetDataResponse dynamicWorkflow - * @property {flyteidl.admin.IFlyteURLs|null} [flyteUrls] NodeExecutionGetDataResponse flyteUrls + * @interface IProjectAttributesDeleteResponse */ /** - * Constructs a new NodeExecutionGetDataResponse. + * Constructs a new ProjectAttributesDeleteResponse. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionGetDataResponse. - * @implements INodeExecutionGetDataResponse + * @classdesc Represents a ProjectAttributesDeleteResponse. + * @implements IProjectAttributesDeleteResponse * @constructor - * @param {flyteidl.admin.INodeExecutionGetDataResponse=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesDeleteResponse=} [properties] Properties to set */ - function NodeExecutionGetDataResponse(properties) { + function ProjectAttributesDeleteResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42754,128 +41917,50 @@ } /** - * NodeExecutionGetDataResponse inputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs - * @memberof flyteidl.admin.NodeExecutionGetDataResponse - * @instance - */ - NodeExecutionGetDataResponse.prototype.inputs = null; - - /** - * NodeExecutionGetDataResponse outputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs - * @memberof flyteidl.admin.NodeExecutionGetDataResponse - * @instance - */ - NodeExecutionGetDataResponse.prototype.outputs = null; - - /** - * NodeExecutionGetDataResponse fullInputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fullInputs - * @memberof flyteidl.admin.NodeExecutionGetDataResponse - * @instance - */ - NodeExecutionGetDataResponse.prototype.fullInputs = null; - - /** - * NodeExecutionGetDataResponse fullOutputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fullOutputs - * @memberof flyteidl.admin.NodeExecutionGetDataResponse - * @instance - */ - NodeExecutionGetDataResponse.prototype.fullOutputs = null; - - /** - * NodeExecutionGetDataResponse dynamicWorkflow. - * @member {flyteidl.admin.IDynamicWorkflowNodeMetadata|null|undefined} dynamicWorkflow - * @memberof flyteidl.admin.NodeExecutionGetDataResponse - * @instance - */ - NodeExecutionGetDataResponse.prototype.dynamicWorkflow = null; - - /** - * NodeExecutionGetDataResponse flyteUrls. - * @member {flyteidl.admin.IFlyteURLs|null|undefined} flyteUrls - * @memberof flyteidl.admin.NodeExecutionGetDataResponse - * @instance - */ - NodeExecutionGetDataResponse.prototype.flyteUrls = null; - - /** - * Creates a new NodeExecutionGetDataResponse instance using the specified properties. + * Creates a new ProjectAttributesDeleteResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @memberof flyteidl.admin.ProjectAttributesDeleteResponse * @static - * @param {flyteidl.admin.INodeExecutionGetDataResponse=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionGetDataResponse} NodeExecutionGetDataResponse instance + * @param {flyteidl.admin.IProjectAttributesDeleteResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesDeleteResponse} ProjectAttributesDeleteResponse instance */ - NodeExecutionGetDataResponse.create = function create(properties) { - return new NodeExecutionGetDataResponse(properties); + ProjectAttributesDeleteResponse.create = function create(properties) { + return new ProjectAttributesDeleteResponse(properties); }; /** - * Encodes the specified NodeExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataResponse.verify|verify} messages. + * Encodes the specified ProjectAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @memberof flyteidl.admin.ProjectAttributesDeleteResponse * @static - * @param {flyteidl.admin.INodeExecutionGetDataResponse} message NodeExecutionGetDataResponse message or plain object to encode + * @param {flyteidl.admin.IProjectAttributesDeleteResponse} message ProjectAttributesDeleteResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionGetDataResponse.encode = function encode(message, writer) { + ProjectAttributesDeleteResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.inputs != null && message.hasOwnProperty("inputs")) - $root.flyteidl.admin.UrlBlob.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.outputs != null && message.hasOwnProperty("outputs")) - $root.flyteidl.admin.UrlBlob.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) - $root.flyteidl.core.LiteralMap.encode(message.fullInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) - $root.flyteidl.core.LiteralMap.encode(message.fullOutputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow")) - $root.flyteidl.admin.DynamicWorkflowNodeMetadata.encode(message.dynamicWorkflow, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) - $root.flyteidl.admin.FlyteURLs.encode(message.flyteUrls, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); return writer; }; /** - * Decodes a NodeExecutionGetDataResponse message from the specified reader or buffer. + * Decodes a ProjectAttributesDeleteResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @memberof flyteidl.admin.ProjectAttributesDeleteResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionGetDataResponse} NodeExecutionGetDataResponse + * @returns {flyteidl.admin.ProjectAttributesDeleteResponse} ProjectAttributesDeleteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionGetDataResponse.decode = function decode(reader, length) { + ProjectAttributesDeleteResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.NodeExecutionGetDataResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesDeleteResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); - break; - case 2: - message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); - break; - case 3: - message.fullInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 4: - message.fullOutputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 16: - message.dynamicWorkflow = $root.flyteidl.admin.DynamicWorkflowNodeMetadata.decode(reader, reader.uint32()); - break; - case 17: - message.flyteUrls = $root.flyteidl.admin.FlyteURLs.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -42885,70 +41970,43 @@ }; /** - * Verifies a NodeExecutionGetDataResponse message. + * Verifies a ProjectAttributesDeleteResponse message. * @function verify - * @memberof flyteidl.admin.NodeExecutionGetDataResponse - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - NodeExecutionGetDataResponse.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.inputs != null && message.hasOwnProperty("inputs")) { - var error = $root.flyteidl.admin.UrlBlob.verify(message.inputs); - if (error) - return "inputs." + error; - } - if (message.outputs != null && message.hasOwnProperty("outputs")) { - var error = $root.flyteidl.admin.UrlBlob.verify(message.outputs); - if (error) - return "outputs." + error; - } - if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.fullInputs); - if (error) - return "fullInputs." + error; - } - if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.fullOutputs); - if (error) - return "fullOutputs." + error; - } - if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow")) { - var error = $root.flyteidl.admin.DynamicWorkflowNodeMetadata.verify(message.dynamicWorkflow); - if (error) - return "dynamicWorkflow." + error; - } - if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) { - var error = $root.flyteidl.admin.FlyteURLs.verify(message.flyteUrls); - if (error) - return "flyteUrls." + error; - } + * @memberof flyteidl.admin.ProjectAttributesDeleteResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ProjectAttributesDeleteResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; return null; }; - return NodeExecutionGetDataResponse; + return ProjectAttributesDeleteResponse; })(); - admin.GetDynamicNodeWorkflowRequest = (function() { + admin.ProjectDomainAttributes = (function() { /** - * Properties of a GetDynamicNodeWorkflowRequest. + * Properties of a ProjectDomainAttributes. * @memberof flyteidl.admin - * @interface IGetDynamicNodeWorkflowRequest - * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] GetDynamicNodeWorkflowRequest id + * @interface IProjectDomainAttributes + * @property {string|null} [project] ProjectDomainAttributes project + * @property {string|null} [domain] ProjectDomainAttributes domain + * @property {flyteidl.admin.IMatchingAttributes|null} [matchingAttributes] ProjectDomainAttributes matchingAttributes + * @property {string|null} [org] ProjectDomainAttributes org */ /** - * Constructs a new GetDynamicNodeWorkflowRequest. + * Constructs a new ProjectDomainAttributes. * @memberof flyteidl.admin - * @classdesc Represents a GetDynamicNodeWorkflowRequest. - * @implements IGetDynamicNodeWorkflowRequest + * @classdesc Represents a ProjectDomainAttributes. + * @implements IProjectDomainAttributes * @constructor - * @param {flyteidl.admin.IGetDynamicNodeWorkflowRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributes=} [properties] Properties to set */ - function GetDynamicNodeWorkflowRequest(properties) { + function ProjectDomainAttributes(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -42956,62 +42014,101 @@ } /** - * GetDynamicNodeWorkflowRequest id. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.GetDynamicNodeWorkflowRequest + * ProjectDomainAttributes project. + * @member {string} project + * @memberof flyteidl.admin.ProjectDomainAttributes * @instance */ - GetDynamicNodeWorkflowRequest.prototype.id = null; + ProjectDomainAttributes.prototype.project = ""; /** - * Creates a new GetDynamicNodeWorkflowRequest instance using the specified properties. + * ProjectDomainAttributes domain. + * @member {string} domain + * @memberof flyteidl.admin.ProjectDomainAttributes + * @instance + */ + ProjectDomainAttributes.prototype.domain = ""; + + /** + * ProjectDomainAttributes matchingAttributes. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes + * @memberof flyteidl.admin.ProjectDomainAttributes + * @instance + */ + ProjectDomainAttributes.prototype.matchingAttributes = null; + + /** + * ProjectDomainAttributes org. + * @member {string} org + * @memberof flyteidl.admin.ProjectDomainAttributes + * @instance + */ + ProjectDomainAttributes.prototype.org = ""; + + /** + * Creates a new ProjectDomainAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.GetDynamicNodeWorkflowRequest + * @memberof flyteidl.admin.ProjectDomainAttributes * @static - * @param {flyteidl.admin.IGetDynamicNodeWorkflowRequest=} [properties] Properties to set - * @returns {flyteidl.admin.GetDynamicNodeWorkflowRequest} GetDynamicNodeWorkflowRequest instance + * @param {flyteidl.admin.IProjectDomainAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributes} ProjectDomainAttributes instance */ - GetDynamicNodeWorkflowRequest.create = function create(properties) { - return new GetDynamicNodeWorkflowRequest(properties); + ProjectDomainAttributes.create = function create(properties) { + return new ProjectDomainAttributes(properties); }; /** - * Encodes the specified GetDynamicNodeWorkflowRequest message. Does not implicitly {@link flyteidl.admin.GetDynamicNodeWorkflowRequest.verify|verify} messages. + * Encodes the specified ProjectDomainAttributes message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.GetDynamicNodeWorkflowRequest + * @memberof flyteidl.admin.ProjectDomainAttributes * @static - * @param {flyteidl.admin.IGetDynamicNodeWorkflowRequest} message GetDynamicNodeWorkflowRequest message or plain object to encode + * @param {flyteidl.admin.IProjectDomainAttributes} message ProjectDomainAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetDynamicNodeWorkflowRequest.encode = function encode(message, writer) { + ProjectDomainAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) + $root.flyteidl.admin.MatchingAttributes.encode(message.matchingAttributes, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.org); return writer; }; /** - * Decodes a GetDynamicNodeWorkflowRequest message from the specified reader or buffer. + * Decodes a ProjectDomainAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.GetDynamicNodeWorkflowRequest + * @memberof flyteidl.admin.ProjectDomainAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.GetDynamicNodeWorkflowRequest} GetDynamicNodeWorkflowRequest + * @returns {flyteidl.admin.ProjectDomainAttributes} ProjectDomainAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetDynamicNodeWorkflowRequest.decode = function decode(reader, length) { + ProjectDomainAttributes.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.GetDynamicNodeWorkflowRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributes(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.project = reader.string(); + break; + case 2: + message.domain = reader.string(); + break; + case 3: + message.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; + case 4: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -43022,45 +42119,54 @@ }; /** - * Verifies a GetDynamicNodeWorkflowRequest message. + * Verifies a ProjectDomainAttributes message. * @function verify - * @memberof flyteidl.admin.GetDynamicNodeWorkflowRequest + * @memberof flyteidl.admin.ProjectDomainAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GetDynamicNodeWorkflowRequest.verify = function verify(message) { + ProjectDomainAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) { + var error = $root.flyteidl.admin.MatchingAttributes.verify(message.matchingAttributes); if (error) - return "id." + error; + return "matchingAttributes." + error; } + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return GetDynamicNodeWorkflowRequest; + return ProjectDomainAttributes; })(); - admin.DynamicNodeWorkflowResponse = (function() { + admin.ProjectDomainAttributesUpdateRequest = (function() { /** - * Properties of a DynamicNodeWorkflowResponse. + * Properties of a ProjectDomainAttributesUpdateRequest. * @memberof flyteidl.admin - * @interface IDynamicNodeWorkflowResponse - * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] DynamicNodeWorkflowResponse compiledWorkflow + * @interface IProjectDomainAttributesUpdateRequest + * @property {flyteidl.admin.IProjectDomainAttributes|null} [attributes] ProjectDomainAttributesUpdateRequest attributes */ /** - * Constructs a new DynamicNodeWorkflowResponse. + * Constructs a new ProjectDomainAttributesUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a DynamicNodeWorkflowResponse. - * @implements IDynamicNodeWorkflowResponse + * @classdesc Represents a ProjectDomainAttributesUpdateRequest. + * @implements IProjectDomainAttributesUpdateRequest * @constructor - * @param {flyteidl.admin.IDynamicNodeWorkflowResponse=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest=} [properties] Properties to set */ - function DynamicNodeWorkflowResponse(properties) { + function ProjectDomainAttributesUpdateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -43068,62 +42174,62 @@ } /** - * DynamicNodeWorkflowResponse compiledWorkflow. - * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow - * @memberof flyteidl.admin.DynamicNodeWorkflowResponse + * ProjectDomainAttributesUpdateRequest attributes. + * @member {flyteidl.admin.IProjectDomainAttributes|null|undefined} attributes + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @instance */ - DynamicNodeWorkflowResponse.prototype.compiledWorkflow = null; + ProjectDomainAttributesUpdateRequest.prototype.attributes = null; /** - * Creates a new DynamicNodeWorkflowResponse instance using the specified properties. + * Creates a new ProjectDomainAttributesUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.DynamicNodeWorkflowResponse + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @static - * @param {flyteidl.admin.IDynamicNodeWorkflowResponse=} [properties] Properties to set - * @returns {flyteidl.admin.DynamicNodeWorkflowResponse} DynamicNodeWorkflowResponse instance + * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesUpdateRequest} ProjectDomainAttributesUpdateRequest instance */ - DynamicNodeWorkflowResponse.create = function create(properties) { - return new DynamicNodeWorkflowResponse(properties); + ProjectDomainAttributesUpdateRequest.create = function create(properties) { + return new ProjectDomainAttributesUpdateRequest(properties); }; /** - * Encodes the specified DynamicNodeWorkflowResponse message. Does not implicitly {@link flyteidl.admin.DynamicNodeWorkflowResponse.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.DynamicNodeWorkflowResponse + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @static - * @param {flyteidl.admin.IDynamicNodeWorkflowResponse} message DynamicNodeWorkflowResponse message or plain object to encode + * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest} message ProjectDomainAttributesUpdateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DynamicNodeWorkflowResponse.encode = function encode(message, writer) { + ProjectDomainAttributesUpdateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) - $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.attributes != null && message.hasOwnProperty("attributes")) + $root.flyteidl.admin.ProjectDomainAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a DynamicNodeWorkflowResponse message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.DynamicNodeWorkflowResponse + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.DynamicNodeWorkflowResponse} DynamicNodeWorkflowResponse + * @returns {flyteidl.admin.ProjectDomainAttributesUpdateRequest} ProjectDomainAttributesUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DynamicNodeWorkflowResponse.decode = function decode(reader, length) { + ProjectDomainAttributesUpdateRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DynamicNodeWorkflowResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesUpdateRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); + message.attributes = $root.flyteidl.admin.ProjectDomainAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -43134,49 +42240,44 @@ }; /** - * Verifies a DynamicNodeWorkflowResponse message. + * Verifies a ProjectDomainAttributesUpdateRequest message. * @function verify - * @memberof flyteidl.admin.DynamicNodeWorkflowResponse + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - DynamicNodeWorkflowResponse.verify = function verify(message) { + ProjectDomainAttributesUpdateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) { - var error = $root.flyteidl.core.CompiledWorkflowClosure.verify(message.compiledWorkflow); + if (message.attributes != null && message.hasOwnProperty("attributes")) { + var error = $root.flyteidl.admin.ProjectDomainAttributes.verify(message.attributes); if (error) - return "compiledWorkflow." + error; + return "attributes." + error; } return null; }; - return DynamicNodeWorkflowResponse; + return ProjectDomainAttributesUpdateRequest; })(); - admin.EmailMessage = (function() { + admin.ProjectDomainAttributesUpdateResponse = (function() { /** - * Properties of an EmailMessage. + * Properties of a ProjectDomainAttributesUpdateResponse. * @memberof flyteidl.admin - * @interface IEmailMessage - * @property {Array.|null} [recipientsEmail] EmailMessage recipientsEmail - * @property {string|null} [senderEmail] EmailMessage senderEmail - * @property {string|null} [subjectLine] EmailMessage subjectLine - * @property {string|null} [body] EmailMessage body + * @interface IProjectDomainAttributesUpdateResponse */ /** - * Constructs a new EmailMessage. + * Constructs a new ProjectDomainAttributesUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents an EmailMessage. - * @implements IEmailMessage + * @classdesc Represents a ProjectDomainAttributesUpdateResponse. + * @implements IProjectDomainAttributesUpdateResponse * @constructor - * @param {flyteidl.admin.IEmailMessage=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse=} [properties] Properties to set */ - function EmailMessage(properties) { - this.recipientsEmail = []; + function ProjectDomainAttributesUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -43184,105 +42285,50 @@ } /** - * EmailMessage recipientsEmail. - * @member {Array.} recipientsEmail - * @memberof flyteidl.admin.EmailMessage - * @instance - */ - EmailMessage.prototype.recipientsEmail = $util.emptyArray; - - /** - * EmailMessage senderEmail. - * @member {string} senderEmail - * @memberof flyteidl.admin.EmailMessage - * @instance - */ - EmailMessage.prototype.senderEmail = ""; - - /** - * EmailMessage subjectLine. - * @member {string} subjectLine - * @memberof flyteidl.admin.EmailMessage - * @instance - */ - EmailMessage.prototype.subjectLine = ""; - - /** - * EmailMessage body. - * @member {string} body - * @memberof flyteidl.admin.EmailMessage - * @instance - */ - EmailMessage.prototype.body = ""; - - /** - * Creates a new EmailMessage instance using the specified properties. + * Creates a new ProjectDomainAttributesUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.EmailMessage + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse * @static - * @param {flyteidl.admin.IEmailMessage=} [properties] Properties to set - * @returns {flyteidl.admin.EmailMessage} EmailMessage instance + * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesUpdateResponse} ProjectDomainAttributesUpdateResponse instance */ - EmailMessage.create = function create(properties) { - return new EmailMessage(properties); + ProjectDomainAttributesUpdateResponse.create = function create(properties) { + return new ProjectDomainAttributesUpdateResponse(properties); }; /** - * Encodes the specified EmailMessage message. Does not implicitly {@link flyteidl.admin.EmailMessage.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.EmailMessage + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse * @static - * @param {flyteidl.admin.IEmailMessage} message EmailMessage message or plain object to encode + * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse} message ProjectDomainAttributesUpdateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EmailMessage.encode = function encode(message, writer) { + ProjectDomainAttributesUpdateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.recipientsEmail != null && message.recipientsEmail.length) - for (var i = 0; i < message.recipientsEmail.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.recipientsEmail[i]); - if (message.senderEmail != null && message.hasOwnProperty("senderEmail")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.senderEmail); - if (message.subjectLine != null && message.hasOwnProperty("subjectLine")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.subjectLine); - if (message.body != null && message.hasOwnProperty("body")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.body); return writer; }; /** - * Decodes an EmailMessage message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.EmailMessage + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.EmailMessage} EmailMessage + * @returns {flyteidl.admin.ProjectDomainAttributesUpdateResponse} ProjectDomainAttributesUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EmailMessage.decode = function decode(reader, length) { + ProjectDomainAttributesUpdateResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.EmailMessage(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesUpdateResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.recipientsEmail && message.recipientsEmail.length)) - message.recipientsEmail = []; - message.recipientsEmail.push(reader.string()); - break; - case 2: - message.senderEmail = reader.string(); - break; - case 3: - message.subjectLine = reader.string(); - break; - case 4: - message.body = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -43292,55 +42338,43 @@ }; /** - * Verifies an EmailMessage message. + * Verifies a ProjectDomainAttributesUpdateResponse message. * @function verify - * @memberof flyteidl.admin.EmailMessage + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - EmailMessage.verify = function verify(message) { + ProjectDomainAttributesUpdateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.recipientsEmail != null && message.hasOwnProperty("recipientsEmail")) { - if (!Array.isArray(message.recipientsEmail)) - return "recipientsEmail: array expected"; - for (var i = 0; i < message.recipientsEmail.length; ++i) - if (!$util.isString(message.recipientsEmail[i])) - return "recipientsEmail: string[] expected"; - } - if (message.senderEmail != null && message.hasOwnProperty("senderEmail")) - if (!$util.isString(message.senderEmail)) - return "senderEmail: string expected"; - if (message.subjectLine != null && message.hasOwnProperty("subjectLine")) - if (!$util.isString(message.subjectLine)) - return "subjectLine: string expected"; - if (message.body != null && message.hasOwnProperty("body")) - if (!$util.isString(message.body)) - return "body: string expected"; return null; }; - return EmailMessage; + return ProjectDomainAttributesUpdateResponse; })(); - admin.GetDomainRequest = (function() { + admin.ProjectDomainAttributesGetRequest = (function() { /** - * Properties of a GetDomainRequest. + * Properties of a ProjectDomainAttributesGetRequest. * @memberof flyteidl.admin - * @interface IGetDomainRequest + * @interface IProjectDomainAttributesGetRequest + * @property {string|null} [project] ProjectDomainAttributesGetRequest project + * @property {string|null} [domain] ProjectDomainAttributesGetRequest domain + * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectDomainAttributesGetRequest resourceType + * @property {string|null} [org] ProjectDomainAttributesGetRequest org */ /** - * Constructs a new GetDomainRequest. + * Constructs a new ProjectDomainAttributesGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a GetDomainRequest. - * @implements IGetDomainRequest + * @classdesc Represents a ProjectDomainAttributesGetRequest. + * @implements IProjectDomainAttributesGetRequest * @constructor - * @param {flyteidl.admin.IGetDomainRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesGetRequest=} [properties] Properties to set */ - function GetDomainRequest(properties) { + function ProjectDomainAttributesGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -43348,50 +42382,102 @@ } /** - * Creates a new GetDomainRequest instance using the specified properties. + * ProjectDomainAttributesGetRequest project. + * @member {string} project + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @instance + */ + ProjectDomainAttributesGetRequest.prototype.project = ""; + + /** + * ProjectDomainAttributesGetRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @instance + */ + ProjectDomainAttributesGetRequest.prototype.domain = ""; + + /** + * ProjectDomainAttributesGetRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @instance + */ + ProjectDomainAttributesGetRequest.prototype.resourceType = 0; + + /** + * ProjectDomainAttributesGetRequest org. + * @member {string} org + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @instance + */ + ProjectDomainAttributesGetRequest.prototype.org = ""; + + /** + * Creates a new ProjectDomainAttributesGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.GetDomainRequest + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest * @static - * @param {flyteidl.admin.IGetDomainRequest=} [properties] Properties to set - * @returns {flyteidl.admin.GetDomainRequest} GetDomainRequest instance + * @param {flyteidl.admin.IProjectDomainAttributesGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesGetRequest} ProjectDomainAttributesGetRequest instance */ - GetDomainRequest.create = function create(properties) { - return new GetDomainRequest(properties); + ProjectDomainAttributesGetRequest.create = function create(properties) { + return new ProjectDomainAttributesGetRequest(properties); }; /** - * Encodes the specified GetDomainRequest message. Does not implicitly {@link flyteidl.admin.GetDomainRequest.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.GetDomainRequest + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest * @static - * @param {flyteidl.admin.IGetDomainRequest} message GetDomainRequest message or plain object to encode + * @param {flyteidl.admin.IProjectDomainAttributesGetRequest} message ProjectDomainAttributesGetRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetDomainRequest.encode = function encode(message, writer) { + ProjectDomainAttributesGetRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.resourceType); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.org); return writer; }; /** - * Decodes a GetDomainRequest message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.GetDomainRequest + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.GetDomainRequest} GetDomainRequest + * @returns {flyteidl.admin.ProjectDomainAttributesGetRequest} ProjectDomainAttributesGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetDomainRequest.decode = function decode(reader, length) { + ProjectDomainAttributesGetRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.GetDomainRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesGetRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.project = reader.string(); + break; + case 2: + message.domain = reader.string(); + break; + case 3: + message.resourceType = reader.int32(); + break; + case 4: + message.org = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -43401,41 +42487,63 @@ }; /** - * Verifies a GetDomainRequest message. + * Verifies a ProjectDomainAttributesGetRequest message. * @function verify - * @memberof flyteidl.admin.GetDomainRequest + * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GetDomainRequest.verify = function verify(message) { + ProjectDomainAttributesGetRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { + default: + return "resourceType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break; + } + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return GetDomainRequest; + return ProjectDomainAttributesGetRequest; })(); - admin.Domain = (function() { + admin.ProjectDomainAttributesGetResponse = (function() { /** - * Properties of a Domain. + * Properties of a ProjectDomainAttributesGetResponse. * @memberof flyteidl.admin - * @interface IDomain - * @property {string|null} [id] Domain id - * @property {string|null} [name] Domain name + * @interface IProjectDomainAttributesGetResponse + * @property {flyteidl.admin.IProjectDomainAttributes|null} [attributes] ProjectDomainAttributesGetResponse attributes */ /** - * Constructs a new Domain. + * Constructs a new ProjectDomainAttributesGetResponse. * @memberof flyteidl.admin - * @classdesc Represents a Domain. - * @implements IDomain + * @classdesc Represents a ProjectDomainAttributesGetResponse. + * @implements IProjectDomainAttributesGetResponse * @constructor - * @param {flyteidl.admin.IDomain=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesGetResponse=} [properties] Properties to set */ - function Domain(properties) { + function ProjectDomainAttributesGetResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -43443,75 +42551,62 @@ } /** - * Domain id. - * @member {string} id - * @memberof flyteidl.admin.Domain - * @instance - */ - Domain.prototype.id = ""; - - /** - * Domain name. - * @member {string} name - * @memberof flyteidl.admin.Domain + * ProjectDomainAttributesGetResponse attributes. + * @member {flyteidl.admin.IProjectDomainAttributes|null|undefined} attributes + * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse * @instance */ - Domain.prototype.name = ""; + ProjectDomainAttributesGetResponse.prototype.attributes = null; /** - * Creates a new Domain instance using the specified properties. + * Creates a new ProjectDomainAttributesGetResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.Domain + * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse * @static - * @param {flyteidl.admin.IDomain=} [properties] Properties to set - * @returns {flyteidl.admin.Domain} Domain instance + * @param {flyteidl.admin.IProjectDomainAttributesGetResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesGetResponse} ProjectDomainAttributesGetResponse instance */ - Domain.create = function create(properties) { - return new Domain(properties); + ProjectDomainAttributesGetResponse.create = function create(properties) { + return new ProjectDomainAttributesGetResponse(properties); }; /** - * Encodes the specified Domain message. Does not implicitly {@link flyteidl.admin.Domain.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Domain + * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse * @static - * @param {flyteidl.admin.IDomain} message Domain message or plain object to encode + * @param {flyteidl.admin.IProjectDomainAttributesGetResponse} message ProjectDomainAttributesGetResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Domain.encode = function encode(message, writer) { + ProjectDomainAttributesGetResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); + if (message.attributes != null && message.hasOwnProperty("attributes")) + $root.flyteidl.admin.ProjectDomainAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a Domain message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesGetResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Domain + * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Domain} Domain + * @returns {flyteidl.admin.ProjectDomainAttributesGetResponse} ProjectDomainAttributesGetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Domain.decode = function decode(reader, length) { + ProjectDomainAttributesGetResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Domain(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesGetResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = reader.string(); - break; - case 2: - message.name = reader.string(); + message.attributes = $root.flyteidl.admin.ProjectDomainAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -43522,47 +42617,48 @@ }; /** - * Verifies a Domain message. + * Verifies a ProjectDomainAttributesGetResponse message. * @function verify - * @memberof flyteidl.admin.Domain + * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Domain.verify = function verify(message) { + ProjectDomainAttributesGetResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; + if (message.attributes != null && message.hasOwnProperty("attributes")) { + var error = $root.flyteidl.admin.ProjectDomainAttributes.verify(message.attributes); + if (error) + return "attributes." + error; + } return null; }; - return Domain; + return ProjectDomainAttributesGetResponse; })(); - admin.GetDomainsResponse = (function() { + admin.ProjectDomainAttributesDeleteRequest = (function() { /** - * Properties of a GetDomainsResponse. + * Properties of a ProjectDomainAttributesDeleteRequest. * @memberof flyteidl.admin - * @interface IGetDomainsResponse - * @property {Array.|null} [domains] GetDomainsResponse domains + * @interface IProjectDomainAttributesDeleteRequest + * @property {string|null} [project] ProjectDomainAttributesDeleteRequest project + * @property {string|null} [domain] ProjectDomainAttributesDeleteRequest domain + * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectDomainAttributesDeleteRequest resourceType + * @property {string|null} [org] ProjectDomainAttributesDeleteRequest org */ /** - * Constructs a new GetDomainsResponse. + * Constructs a new ProjectDomainAttributesDeleteRequest. * @memberof flyteidl.admin - * @classdesc Represents a GetDomainsResponse. - * @implements IGetDomainsResponse + * @classdesc Represents a ProjectDomainAttributesDeleteRequest. + * @implements IProjectDomainAttributesDeleteRequest * @constructor - * @param {flyteidl.admin.IGetDomainsResponse=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest=} [properties] Properties to set */ - function GetDomainsResponse(properties) { - this.domains = []; + function ProjectDomainAttributesDeleteRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -43570,65 +42666,101 @@ } /** - * GetDomainsResponse domains. - * @member {Array.} domains - * @memberof flyteidl.admin.GetDomainsResponse + * ProjectDomainAttributesDeleteRequest project. + * @member {string} project + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest * @instance */ - GetDomainsResponse.prototype.domains = $util.emptyArray; + ProjectDomainAttributesDeleteRequest.prototype.project = ""; /** - * Creates a new GetDomainsResponse instance using the specified properties. + * ProjectDomainAttributesDeleteRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @instance + */ + ProjectDomainAttributesDeleteRequest.prototype.domain = ""; + + /** + * ProjectDomainAttributesDeleteRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @instance + */ + ProjectDomainAttributesDeleteRequest.prototype.resourceType = 0; + + /** + * ProjectDomainAttributesDeleteRequest org. + * @member {string} org + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @instance + */ + ProjectDomainAttributesDeleteRequest.prototype.org = ""; + + /** + * Creates a new ProjectDomainAttributesDeleteRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.GetDomainsResponse + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest * @static - * @param {flyteidl.admin.IGetDomainsResponse=} [properties] Properties to set - * @returns {flyteidl.admin.GetDomainsResponse} GetDomainsResponse instance + * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesDeleteRequest} ProjectDomainAttributesDeleteRequest instance */ - GetDomainsResponse.create = function create(properties) { - return new GetDomainsResponse(properties); + ProjectDomainAttributesDeleteRequest.create = function create(properties) { + return new ProjectDomainAttributesDeleteRequest(properties); }; /** - * Encodes the specified GetDomainsResponse message. Does not implicitly {@link flyteidl.admin.GetDomainsResponse.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.GetDomainsResponse + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest * @static - * @param {flyteidl.admin.IGetDomainsResponse} message GetDomainsResponse message or plain object to encode + * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest} message ProjectDomainAttributesDeleteRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetDomainsResponse.encode = function encode(message, writer) { + ProjectDomainAttributesDeleteRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.domains != null && message.domains.length) - for (var i = 0; i < message.domains.length; ++i) - $root.flyteidl.admin.Domain.encode(message.domains[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.resourceType); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.org); return writer; }; /** - * Decodes a GetDomainsResponse message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesDeleteRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.GetDomainsResponse + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.GetDomainsResponse} GetDomainsResponse + * @returns {flyteidl.admin.ProjectDomainAttributesDeleteRequest} ProjectDomainAttributesDeleteRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetDomainsResponse.decode = function decode(reader, length) { + ProjectDomainAttributesDeleteRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.GetDomainsResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesDeleteRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.domains && message.domains.length)) - message.domains = []; - message.domains.push($root.flyteidl.admin.Domain.decode(reader, reader.uint32())); + message.project = reader.string(); + break; + case 2: + message.domain = reader.string(); + break; + case 3: + message.resourceType = reader.int32(); + break; + case 4: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -43639,56 +42771,62 @@ }; /** - * Verifies a GetDomainsResponse message. + * Verifies a ProjectDomainAttributesDeleteRequest message. * @function verify - * @memberof flyteidl.admin.GetDomainsResponse + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GetDomainsResponse.verify = function verify(message) { + ProjectDomainAttributesDeleteRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.domains != null && message.hasOwnProperty("domains")) { - if (!Array.isArray(message.domains)) - return "domains: array expected"; - for (var i = 0; i < message.domains.length; ++i) { - var error = $root.flyteidl.admin.Domain.verify(message.domains[i]); - if (error) - return "domains." + error; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { + default: + return "resourceType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break; } - } + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return GetDomainsResponse; + return ProjectDomainAttributesDeleteRequest; })(); - admin.Project = (function() { + admin.ProjectDomainAttributesDeleteResponse = (function() { /** - * Properties of a Project. + * Properties of a ProjectDomainAttributesDeleteResponse. * @memberof flyteidl.admin - * @interface IProject - * @property {string|null} [id] Project id - * @property {string|null} [name] Project name - * @property {Array.|null} [domains] Project domains - * @property {string|null} [description] Project description - * @property {flyteidl.admin.ILabels|null} [labels] Project labels - * @property {flyteidl.admin.Project.ProjectState|null} [state] Project state - * @property {string|null} [org] Project org + * @interface IProjectDomainAttributesDeleteResponse */ /** - * Constructs a new Project. + * Constructs a new ProjectDomainAttributesDeleteResponse. * @memberof flyteidl.admin - * @classdesc Represents a Project. - * @implements IProject + * @classdesc Represents a ProjectDomainAttributesDeleteResponse. + * @implements IProjectDomainAttributesDeleteResponse * @constructor - * @param {flyteidl.admin.IProject=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesDeleteResponse=} [properties] Properties to set */ - function Project(properties) { - this.domains = []; + function ProjectDomainAttributesDeleteResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -43696,144 +42834,50 @@ } /** - * Project id. - * @member {string} id - * @memberof flyteidl.admin.Project - * @instance - */ - Project.prototype.id = ""; - - /** - * Project name. - * @member {string} name - * @memberof flyteidl.admin.Project - * @instance - */ - Project.prototype.name = ""; - - /** - * Project domains. - * @member {Array.} domains - * @memberof flyteidl.admin.Project - * @instance - */ - Project.prototype.domains = $util.emptyArray; - - /** - * Project description. - * @member {string} description - * @memberof flyteidl.admin.Project - * @instance - */ - Project.prototype.description = ""; - - /** - * Project labels. - * @member {flyteidl.admin.ILabels|null|undefined} labels - * @memberof flyteidl.admin.Project - * @instance - */ - Project.prototype.labels = null; - - /** - * Project state. - * @member {flyteidl.admin.Project.ProjectState} state - * @memberof flyteidl.admin.Project - * @instance - */ - Project.prototype.state = 0; - - /** - * Project org. - * @member {string} org - * @memberof flyteidl.admin.Project - * @instance - */ - Project.prototype.org = ""; - - /** - * Creates a new Project instance using the specified properties. + * Creates a new ProjectDomainAttributesDeleteResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.Project + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse * @static - * @param {flyteidl.admin.IProject=} [properties] Properties to set - * @returns {flyteidl.admin.Project} Project instance + * @param {flyteidl.admin.IProjectDomainAttributesDeleteResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesDeleteResponse} ProjectDomainAttributesDeleteResponse instance */ - Project.create = function create(properties) { - return new Project(properties); + ProjectDomainAttributesDeleteResponse.create = function create(properties) { + return new ProjectDomainAttributesDeleteResponse(properties); }; /** - * Encodes the specified Project message. Does not implicitly {@link flyteidl.admin.Project.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Project + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse * @static - * @param {flyteidl.admin.IProject} message Project message or plain object to encode + * @param {flyteidl.admin.IProjectDomainAttributesDeleteResponse} message ProjectDomainAttributesDeleteResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Project.encode = function encode(message, writer) { + ProjectDomainAttributesDeleteResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - if (message.domains != null && message.domains.length) - for (var i = 0; i < message.domains.length; ++i) - $root.flyteidl.admin.Domain.encode(message.domains[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.description != null && message.hasOwnProperty("description")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.description); - if (message.labels != null && message.hasOwnProperty("labels")) - $root.flyteidl.admin.Labels.encode(message.labels, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.state != null && message.hasOwnProperty("state")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.state); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.org); return writer; }; /** - * Decodes a Project message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesDeleteResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Project + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Project} Project + * @returns {flyteidl.admin.ProjectDomainAttributesDeleteResponse} ProjectDomainAttributesDeleteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Project.decode = function decode(reader, length) { + ProjectDomainAttributesDeleteResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Project(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesDeleteResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - case 2: - message.name = reader.string(); - break; - case 3: - if (!(message.domains && message.domains.length)) - message.domains = []; - message.domains.push($root.flyteidl.admin.Domain.decode(reader, reader.uint32())); - break; - case 4: - message.description = reader.string(); - break; - case 5: - message.labels = $root.flyteidl.admin.Labels.decode(reader, reader.uint32()); - break; - case 6: - message.state = reader.int32(); - break; - case 7: - message.org = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -43843,96 +42887,41 @@ }; /** - * Verifies a Project message. + * Verifies a ProjectDomainAttributesDeleteResponse message. * @function verify - * @memberof flyteidl.admin.Project + * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Project.verify = function verify(message) { + ProjectDomainAttributesDeleteResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.domains != null && message.hasOwnProperty("domains")) { - if (!Array.isArray(message.domains)) - return "domains: array expected"; - for (var i = 0; i < message.domains.length; ++i) { - var error = $root.flyteidl.admin.Domain.verify(message.domains[i]); - if (error) - return "domains." + error; - } - } - if (message.description != null && message.hasOwnProperty("description")) - if (!$util.isString(message.description)) - return "description: string expected"; - if (message.labels != null && message.hasOwnProperty("labels")) { - var error = $root.flyteidl.admin.Labels.verify(message.labels); - if (error) - return "labels." + error; - } - if (message.state != null && message.hasOwnProperty("state")) - switch (message.state) { - default: - return "state: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; return null; }; - /** - * ProjectState enum. - * @name flyteidl.admin.Project.ProjectState - * @enum {string} - * @property {number} ACTIVE=0 ACTIVE value - * @property {number} ARCHIVED=1 ARCHIVED value - * @property {number} SYSTEM_GENERATED=2 SYSTEM_GENERATED value - * @property {number} SYSTEM_ARCHIVED=3 SYSTEM_ARCHIVED value - */ - Project.ProjectState = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ACTIVE"] = 0; - values[valuesById[1] = "ARCHIVED"] = 1; - values[valuesById[2] = "SYSTEM_GENERATED"] = 2; - values[valuesById[3] = "SYSTEM_ARCHIVED"] = 3; - return values; - })(); - - return Project; + return ProjectDomainAttributesDeleteResponse; })(); - admin.Projects = (function() { + admin.SignalGetOrCreateRequest = (function() { /** - * Properties of a Projects. + * Properties of a SignalGetOrCreateRequest. * @memberof flyteidl.admin - * @interface IProjects - * @property {Array.|null} [projects] Projects projects - * @property {string|null} [token] Projects token + * @interface ISignalGetOrCreateRequest + * @property {flyteidl.core.ISignalIdentifier|null} [id] SignalGetOrCreateRequest id + * @property {flyteidl.core.ILiteralType|null} [type] SignalGetOrCreateRequest type */ /** - * Constructs a new Projects. + * Constructs a new SignalGetOrCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents a Projects. - * @implements IProjects + * @classdesc Represents a SignalGetOrCreateRequest. + * @implements ISignalGetOrCreateRequest * @constructor - * @param {flyteidl.admin.IProjects=} [properties] Properties to set + * @param {flyteidl.admin.ISignalGetOrCreateRequest=} [properties] Properties to set */ - function Projects(properties) { - this.projects = []; + function SignalGetOrCreateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -43940,78 +42929,75 @@ } /** - * Projects projects. - * @member {Array.} projects - * @memberof flyteidl.admin.Projects + * SignalGetOrCreateRequest id. + * @member {flyteidl.core.ISignalIdentifier|null|undefined} id + * @memberof flyteidl.admin.SignalGetOrCreateRequest * @instance */ - Projects.prototype.projects = $util.emptyArray; + SignalGetOrCreateRequest.prototype.id = null; /** - * Projects token. - * @member {string} token - * @memberof flyteidl.admin.Projects + * SignalGetOrCreateRequest type. + * @member {flyteidl.core.ILiteralType|null|undefined} type + * @memberof flyteidl.admin.SignalGetOrCreateRequest * @instance */ - Projects.prototype.token = ""; + SignalGetOrCreateRequest.prototype.type = null; /** - * Creates a new Projects instance using the specified properties. + * Creates a new SignalGetOrCreateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.Projects + * @memberof flyteidl.admin.SignalGetOrCreateRequest * @static - * @param {flyteidl.admin.IProjects=} [properties] Properties to set - * @returns {flyteidl.admin.Projects} Projects instance + * @param {flyteidl.admin.ISignalGetOrCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.SignalGetOrCreateRequest} SignalGetOrCreateRequest instance */ - Projects.create = function create(properties) { - return new Projects(properties); + SignalGetOrCreateRequest.create = function create(properties) { + return new SignalGetOrCreateRequest(properties); }; /** - * Encodes the specified Projects message. Does not implicitly {@link flyteidl.admin.Projects.verify|verify} messages. + * Encodes the specified SignalGetOrCreateRequest message. Does not implicitly {@link flyteidl.admin.SignalGetOrCreateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Projects + * @memberof flyteidl.admin.SignalGetOrCreateRequest * @static - * @param {flyteidl.admin.IProjects} message Projects message or plain object to encode + * @param {flyteidl.admin.ISignalGetOrCreateRequest} message SignalGetOrCreateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Projects.encode = function encode(message, writer) { + SignalGetOrCreateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.projects != null && message.projects.length) - for (var i = 0; i < message.projects.length; ++i) - $root.flyteidl.admin.Project.encode(message.projects[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.SignalIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.type != null && message.hasOwnProperty("type")) + $root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a Projects message from the specified reader or buffer. + * Decodes a SignalGetOrCreateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Projects + * @memberof flyteidl.admin.SignalGetOrCreateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Projects} Projects + * @returns {flyteidl.admin.SignalGetOrCreateRequest} SignalGetOrCreateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Projects.decode = function decode(reader, length) { + SignalGetOrCreateRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Projects(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalGetOrCreateRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.projects && message.projects.length)) - message.projects = []; - message.projects.push($root.flyteidl.admin.Project.decode(reader, reader.uint32())); + message.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32()); break; case 2: - message.token = reader.string(); + message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -44022,56 +43008,54 @@ }; /** - * Verifies a Projects message. + * Verifies a SignalGetOrCreateRequest message. * @function verify - * @memberof flyteidl.admin.Projects + * @memberof flyteidl.admin.SignalGetOrCreateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Projects.verify = function verify(message) { + SignalGetOrCreateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.projects != null && message.hasOwnProperty("projects")) { - if (!Array.isArray(message.projects)) - return "projects: array expected"; - for (var i = 0; i < message.projects.length; ++i) { - var error = $root.flyteidl.admin.Project.verify(message.projects[i]); - if (error) - return "projects." + error; - } + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.SignalIdentifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.type != null && message.hasOwnProperty("type")) { + var error = $root.flyteidl.core.LiteralType.verify(message.type); + if (error) + return "type." + error; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return Projects; + return SignalGetOrCreateRequest; })(); - admin.ProjectListRequest = (function() { + admin.SignalListRequest = (function() { /** - * Properties of a ProjectListRequest. + * Properties of a SignalListRequest. * @memberof flyteidl.admin - * @interface IProjectListRequest - * @property {number|null} [limit] ProjectListRequest limit - * @property {string|null} [token] ProjectListRequest token - * @property {string|null} [filters] ProjectListRequest filters - * @property {flyteidl.admin.ISort|null} [sortBy] ProjectListRequest sortBy - * @property {string|null} [org] ProjectListRequest org + * @interface ISignalListRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowExecutionId] SignalListRequest workflowExecutionId + * @property {number|null} [limit] SignalListRequest limit + * @property {string|null} [token] SignalListRequest token + * @property {string|null} [filters] SignalListRequest filters + * @property {flyteidl.admin.ISort|null} [sortBy] SignalListRequest sortBy */ /** - * Constructs a new ProjectListRequest. + * Constructs a new SignalListRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectListRequest. - * @implements IProjectListRequest + * @classdesc Represents a SignalListRequest. + * @implements ISignalListRequest * @constructor - * @param {flyteidl.admin.IProjectListRequest=} [properties] Properties to set + * @param {flyteidl.admin.ISignalListRequest=} [properties] Properties to set */ - function ProjectListRequest(properties) { + function SignalListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -44079,114 +43063,114 @@ } /** - * ProjectListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.ProjectListRequest + * SignalListRequest workflowExecutionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowExecutionId + * @memberof flyteidl.admin.SignalListRequest * @instance */ - ProjectListRequest.prototype.limit = 0; + SignalListRequest.prototype.workflowExecutionId = null; /** - * ProjectListRequest token. - * @member {string} token - * @memberof flyteidl.admin.ProjectListRequest + * SignalListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.SignalListRequest * @instance */ - ProjectListRequest.prototype.token = ""; + SignalListRequest.prototype.limit = 0; /** - * ProjectListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.ProjectListRequest + * SignalListRequest token. + * @member {string} token + * @memberof flyteidl.admin.SignalListRequest * @instance */ - ProjectListRequest.prototype.filters = ""; + SignalListRequest.prototype.token = ""; /** - * ProjectListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.ProjectListRequest + * SignalListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.SignalListRequest * @instance */ - ProjectListRequest.prototype.sortBy = null; + SignalListRequest.prototype.filters = ""; /** - * ProjectListRequest org. - * @member {string} org - * @memberof flyteidl.admin.ProjectListRequest + * SignalListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.SignalListRequest * @instance */ - ProjectListRequest.prototype.org = ""; + SignalListRequest.prototype.sortBy = null; /** - * Creates a new ProjectListRequest instance using the specified properties. + * Creates a new SignalListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectListRequest + * @memberof flyteidl.admin.SignalListRequest * @static - * @param {flyteidl.admin.IProjectListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectListRequest} ProjectListRequest instance + * @param {flyteidl.admin.ISignalListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.SignalListRequest} SignalListRequest instance */ - ProjectListRequest.create = function create(properties) { - return new ProjectListRequest(properties); + SignalListRequest.create = function create(properties) { + return new SignalListRequest(properties); }; /** - * Encodes the specified ProjectListRequest message. Does not implicitly {@link flyteidl.admin.ProjectListRequest.verify|verify} messages. + * Encodes the specified SignalListRequest message. Does not implicitly {@link flyteidl.admin.SignalListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectListRequest + * @memberof flyteidl.admin.SignalListRequest * @static - * @param {flyteidl.admin.IProjectListRequest} message ProjectListRequest message or plain object to encode + * @param {flyteidl.admin.ISignalListRequest} message SignalListRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectListRequest.encode = function encode(message, writer) { + SignalListRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.limit); + writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); if (message.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.filters); + writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.org); + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectListRequest message from the specified reader or buffer. + * Decodes a SignalListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectListRequest + * @memberof flyteidl.admin.SignalListRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectListRequest} ProjectListRequest + * @returns {flyteidl.admin.SignalListRequest} SignalListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectListRequest.decode = function decode(reader, length) { + SignalListRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectListRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalListRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.limit = reader.uint32(); + message.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.token = reader.string(); + message.limit = reader.uint32(); break; case 3: - message.filters = reader.string(); + message.token = reader.string(); break; case 4: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + message.filters = reader.string(); break; case 5: - message.org = reader.string(); + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -44197,16 +43181,21 @@ }; /** - * Verifies a ProjectListRequest message. + * Verifies a SignalListRequest message. * @function verify - * @memberof flyteidl.admin.ProjectListRequest + * @memberof flyteidl.admin.SignalListRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectListRequest.verify = function verify(message) { + SignalListRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowExecutionId); + if (error) + return "workflowExecutionId." + error; + } if (message.limit != null && message.hasOwnProperty("limit")) if (!$util.isInteger(message.limit)) return "limit: integer expected"; @@ -44221,33 +43210,32 @@ if (error) return "sortBy." + error; } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; return null; }; - return ProjectListRequest; + return SignalListRequest; })(); - admin.ProjectRegisterRequest = (function() { + admin.SignalList = (function() { /** - * Properties of a ProjectRegisterRequest. + * Properties of a SignalList. * @memberof flyteidl.admin - * @interface IProjectRegisterRequest - * @property {flyteidl.admin.IProject|null} [project] ProjectRegisterRequest project + * @interface ISignalList + * @property {Array.|null} [signals] SignalList signals + * @property {string|null} [token] SignalList token */ /** - * Constructs a new ProjectRegisterRequest. + * Constructs a new SignalList. * @memberof flyteidl.admin - * @classdesc Represents a ProjectRegisterRequest. - * @implements IProjectRegisterRequest + * @classdesc Represents a SignalList. + * @implements ISignalList * @constructor - * @param {flyteidl.admin.IProjectRegisterRequest=} [properties] Properties to set + * @param {flyteidl.admin.ISignalList=} [properties] Properties to set */ - function ProjectRegisterRequest(properties) { + function SignalList(properties) { + this.signals = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -44255,62 +43243,78 @@ } /** - * ProjectRegisterRequest project. - * @member {flyteidl.admin.IProject|null|undefined} project - * @memberof flyteidl.admin.ProjectRegisterRequest + * SignalList signals. + * @member {Array.} signals + * @memberof flyteidl.admin.SignalList * @instance */ - ProjectRegisterRequest.prototype.project = null; + SignalList.prototype.signals = $util.emptyArray; /** - * Creates a new ProjectRegisterRequest instance using the specified properties. + * SignalList token. + * @member {string} token + * @memberof flyteidl.admin.SignalList + * @instance + */ + SignalList.prototype.token = ""; + + /** + * Creates a new SignalList instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectRegisterRequest + * @memberof flyteidl.admin.SignalList * @static - * @param {flyteidl.admin.IProjectRegisterRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectRegisterRequest} ProjectRegisterRequest instance + * @param {flyteidl.admin.ISignalList=} [properties] Properties to set + * @returns {flyteidl.admin.SignalList} SignalList instance */ - ProjectRegisterRequest.create = function create(properties) { - return new ProjectRegisterRequest(properties); + SignalList.create = function create(properties) { + return new SignalList(properties); }; /** - * Encodes the specified ProjectRegisterRequest message. Does not implicitly {@link flyteidl.admin.ProjectRegisterRequest.verify|verify} messages. + * Encodes the specified SignalList message. Does not implicitly {@link flyteidl.admin.SignalList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectRegisterRequest + * @memberof flyteidl.admin.SignalList * @static - * @param {flyteidl.admin.IProjectRegisterRequest} message ProjectRegisterRequest message or plain object to encode + * @param {flyteidl.admin.ISignalList} message SignalList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectRegisterRequest.encode = function encode(message, writer) { + SignalList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - $root.flyteidl.admin.Project.encode(message.project, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.signals != null && message.signals.length) + for (var i = 0; i < message.signals.length; ++i) + $root.flyteidl.admin.Signal.encode(message.signals[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes a ProjectRegisterRequest message from the specified reader or buffer. + * Decodes a SignalList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectRegisterRequest + * @memberof flyteidl.admin.SignalList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectRegisterRequest} ProjectRegisterRequest + * @returns {flyteidl.admin.SignalList} SignalList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectRegisterRequest.decode = function decode(reader, length) { + SignalList.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectRegisterRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalList(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = $root.flyteidl.admin.Project.decode(reader, reader.uint32()); + if (!(message.signals && message.signals.length)) + message.signals = []; + message.signals.push($root.flyteidl.admin.Signal.decode(reader, reader.uint32())); + break; + case 2: + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -44321,44 +43325,53 @@ }; /** - * Verifies a ProjectRegisterRequest message. + * Verifies a SignalList message. * @function verify - * @memberof flyteidl.admin.ProjectRegisterRequest + * @memberof flyteidl.admin.SignalList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectRegisterRequest.verify = function verify(message) { + SignalList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) { - var error = $root.flyteidl.admin.Project.verify(message.project); - if (error) - return "project." + error; + if (message.signals != null && message.hasOwnProperty("signals")) { + if (!Array.isArray(message.signals)) + return "signals: array expected"; + for (var i = 0; i < message.signals.length; ++i) { + var error = $root.flyteidl.admin.Signal.verify(message.signals[i]); + if (error) + return "signals." + error; + } } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return ProjectRegisterRequest; + return SignalList; })(); - admin.ProjectRegisterResponse = (function() { + admin.SignalSetRequest = (function() { /** - * Properties of a ProjectRegisterResponse. + * Properties of a SignalSetRequest. * @memberof flyteidl.admin - * @interface IProjectRegisterResponse + * @interface ISignalSetRequest + * @property {flyteidl.core.ISignalIdentifier|null} [id] SignalSetRequest id + * @property {flyteidl.core.ILiteral|null} [value] SignalSetRequest value */ /** - * Constructs a new ProjectRegisterResponse. + * Constructs a new SignalSetRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectRegisterResponse. - * @implements IProjectRegisterResponse + * @classdesc Represents a SignalSetRequest. + * @implements ISignalSetRequest * @constructor - * @param {flyteidl.admin.IProjectRegisterResponse=} [properties] Properties to set + * @param {flyteidl.admin.ISignalSetRequest=} [properties] Properties to set */ - function ProjectRegisterResponse(properties) { + function SignalSetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -44366,50 +43379,76 @@ } /** - * Creates a new ProjectRegisterResponse instance using the specified properties. + * SignalSetRequest id. + * @member {flyteidl.core.ISignalIdentifier|null|undefined} id + * @memberof flyteidl.admin.SignalSetRequest + * @instance + */ + SignalSetRequest.prototype.id = null; + + /** + * SignalSetRequest value. + * @member {flyteidl.core.ILiteral|null|undefined} value + * @memberof flyteidl.admin.SignalSetRequest + * @instance + */ + SignalSetRequest.prototype.value = null; + + /** + * Creates a new SignalSetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectRegisterResponse + * @memberof flyteidl.admin.SignalSetRequest * @static - * @param {flyteidl.admin.IProjectRegisterResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectRegisterResponse} ProjectRegisterResponse instance + * @param {flyteidl.admin.ISignalSetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.SignalSetRequest} SignalSetRequest instance */ - ProjectRegisterResponse.create = function create(properties) { - return new ProjectRegisterResponse(properties); + SignalSetRequest.create = function create(properties) { + return new SignalSetRequest(properties); }; /** - * Encodes the specified ProjectRegisterResponse message. Does not implicitly {@link flyteidl.admin.ProjectRegisterResponse.verify|verify} messages. + * Encodes the specified SignalSetRequest message. Does not implicitly {@link flyteidl.admin.SignalSetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectRegisterResponse + * @memberof flyteidl.admin.SignalSetRequest * @static - * @param {flyteidl.admin.IProjectRegisterResponse} message ProjectRegisterResponse message or plain object to encode + * @param {flyteidl.admin.ISignalSetRequest} message SignalSetRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectRegisterResponse.encode = function encode(message, writer) { + SignalSetRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.SignalIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.value != null && message.hasOwnProperty("value")) + $root.flyteidl.core.Literal.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectRegisterResponse message from the specified reader or buffer. + * Decodes a SignalSetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectRegisterResponse + * @memberof flyteidl.admin.SignalSetRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectRegisterResponse} ProjectRegisterResponse + * @returns {flyteidl.admin.SignalSetRequest} SignalSetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectRegisterResponse.decode = function decode(reader, length) { + SignalSetRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectRegisterResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalSetRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -44419,39 +43458,49 @@ }; /** - * Verifies a ProjectRegisterResponse message. + * Verifies a SignalSetRequest message. * @function verify - * @memberof flyteidl.admin.ProjectRegisterResponse + * @memberof flyteidl.admin.SignalSetRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectRegisterResponse.verify = function verify(message) { + SignalSetRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.SignalIdentifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.value != null && message.hasOwnProperty("value")) { + var error = $root.flyteidl.core.Literal.verify(message.value); + if (error) + return "value." + error; + } return null; }; - return ProjectRegisterResponse; + return SignalSetRequest; })(); - admin.ProjectUpdateResponse = (function() { + admin.SignalSetResponse = (function() { /** - * Properties of a ProjectUpdateResponse. + * Properties of a SignalSetResponse. * @memberof flyteidl.admin - * @interface IProjectUpdateResponse + * @interface ISignalSetResponse */ /** - * Constructs a new ProjectUpdateResponse. + * Constructs a new SignalSetResponse. * @memberof flyteidl.admin - * @classdesc Represents a ProjectUpdateResponse. - * @implements IProjectUpdateResponse + * @classdesc Represents a SignalSetResponse. + * @implements ISignalSetResponse * @constructor - * @param {flyteidl.admin.IProjectUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.ISignalSetResponse=} [properties] Properties to set */ - function ProjectUpdateResponse(properties) { + function SignalSetResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -44459,47 +43508,47 @@ } /** - * Creates a new ProjectUpdateResponse instance using the specified properties. + * Creates a new SignalSetResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectUpdateResponse + * @memberof flyteidl.admin.SignalSetResponse * @static - * @param {flyteidl.admin.IProjectUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectUpdateResponse} ProjectUpdateResponse instance + * @param {flyteidl.admin.ISignalSetResponse=} [properties] Properties to set + * @returns {flyteidl.admin.SignalSetResponse} SignalSetResponse instance */ - ProjectUpdateResponse.create = function create(properties) { - return new ProjectUpdateResponse(properties); + SignalSetResponse.create = function create(properties) { + return new SignalSetResponse(properties); }; /** - * Encodes the specified ProjectUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectUpdateResponse.verify|verify} messages. + * Encodes the specified SignalSetResponse message. Does not implicitly {@link flyteidl.admin.SignalSetResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectUpdateResponse + * @memberof flyteidl.admin.SignalSetResponse * @static - * @param {flyteidl.admin.IProjectUpdateResponse} message ProjectUpdateResponse message or plain object to encode + * @param {flyteidl.admin.ISignalSetResponse} message SignalSetResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectUpdateResponse.encode = function encode(message, writer) { + SignalSetResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); return writer; }; /** - * Decodes a ProjectUpdateResponse message from the specified reader or buffer. + * Decodes a SignalSetResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectUpdateResponse + * @memberof flyteidl.admin.SignalSetResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectUpdateResponse} ProjectUpdateResponse + * @returns {flyteidl.admin.SignalSetResponse} SignalSetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectUpdateResponse.decode = function decode(reader, length) { + SignalSetResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectUpdateResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalSetResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { @@ -44512,41 +43561,42 @@ }; /** - * Verifies a ProjectUpdateResponse message. + * Verifies a SignalSetResponse message. * @function verify - * @memberof flyteidl.admin.ProjectUpdateResponse + * @memberof flyteidl.admin.SignalSetResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectUpdateResponse.verify = function verify(message) { + SignalSetResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; return null; }; - return ProjectUpdateResponse; + return SignalSetResponse; })(); - admin.ProjectGetRequest = (function() { + admin.Signal = (function() { /** - * Properties of a ProjectGetRequest. + * Properties of a Signal. * @memberof flyteidl.admin - * @interface IProjectGetRequest - * @property {string|null} [id] ProjectGetRequest id - * @property {string|null} [org] ProjectGetRequest org + * @interface ISignal + * @property {flyteidl.core.ISignalIdentifier|null} [id] Signal id + * @property {flyteidl.core.ILiteralType|null} [type] Signal type + * @property {flyteidl.core.ILiteral|null} [value] Signal value */ /** - * Constructs a new ProjectGetRequest. + * Constructs a new Signal. * @memberof flyteidl.admin - * @classdesc Represents a ProjectGetRequest. - * @implements IProjectGetRequest + * @classdesc Represents a Signal. + * @implements ISignal * @constructor - * @param {flyteidl.admin.IProjectGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.ISignal=} [properties] Properties to set */ - function ProjectGetRequest(properties) { + function Signal(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -44554,75 +43604,88 @@ } /** - * ProjectGetRequest id. - * @member {string} id - * @memberof flyteidl.admin.ProjectGetRequest + * Signal id. + * @member {flyteidl.core.ISignalIdentifier|null|undefined} id + * @memberof flyteidl.admin.Signal * @instance */ - ProjectGetRequest.prototype.id = ""; + Signal.prototype.id = null; /** - * ProjectGetRequest org. - * @member {string} org - * @memberof flyteidl.admin.ProjectGetRequest + * Signal type. + * @member {flyteidl.core.ILiteralType|null|undefined} type + * @memberof flyteidl.admin.Signal * @instance */ - ProjectGetRequest.prototype.org = ""; + Signal.prototype.type = null; /** - * Creates a new ProjectGetRequest instance using the specified properties. + * Signal value. + * @member {flyteidl.core.ILiteral|null|undefined} value + * @memberof flyteidl.admin.Signal + * @instance + */ + Signal.prototype.value = null; + + /** + * Creates a new Signal instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectGetRequest + * @memberof flyteidl.admin.Signal * @static - * @param {flyteidl.admin.IProjectGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectGetRequest} ProjectGetRequest instance + * @param {flyteidl.admin.ISignal=} [properties] Properties to set + * @returns {flyteidl.admin.Signal} Signal instance */ - ProjectGetRequest.create = function create(properties) { - return new ProjectGetRequest(properties); + Signal.create = function create(properties) { + return new Signal(properties); }; /** - * Encodes the specified ProjectGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectGetRequest.verify|verify} messages. + * Encodes the specified Signal message. Does not implicitly {@link flyteidl.admin.Signal.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectGetRequest + * @memberof flyteidl.admin.Signal * @static - * @param {flyteidl.admin.IProjectGetRequest} message ProjectGetRequest message or plain object to encode + * @param {flyteidl.admin.ISignal} message Signal message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectGetRequest.encode = function encode(message, writer) { + Signal.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.id != null && message.hasOwnProperty("id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.org); + $root.flyteidl.core.SignalIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.type != null && message.hasOwnProperty("type")) + $root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.value != null && message.hasOwnProperty("value")) + $root.flyteidl.core.Literal.encode(message.value, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectGetRequest message from the specified reader or buffer. + * Decodes a Signal message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectGetRequest + * @memberof flyteidl.admin.Signal * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectGetRequest} ProjectGetRequest + * @returns {flyteidl.admin.Signal} Signal * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectGetRequest.decode = function decode(reader, length) { + Signal.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectGetRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Signal(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = reader.string(); + message.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32()); break; case 2: - message.org = reader.string(); + message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); + break; + case 3: + message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -44633,47 +43696,56 @@ }; /** - * Verifies a ProjectGetRequest message. + * Verifies a Signal message. * @function verify - * @memberof flyteidl.admin.ProjectGetRequest + * @memberof flyteidl.admin.Signal * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectGetRequest.verify = function verify(message) { + Signal.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.SignalIdentifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.type != null && message.hasOwnProperty("type")) { + var error = $root.flyteidl.core.LiteralType.verify(message.type); + if (error) + return "type." + error; + } + if (message.value != null && message.hasOwnProperty("value")) { + var error = $root.flyteidl.core.Literal.verify(message.value); + if (error) + return "value." + error; + } return null; }; - return ProjectGetRequest; + return Signal; })(); - admin.InactiveProject = (function() { + admin.TaskCreateRequest = (function() { /** - * Properties of an InactiveProject. + * Properties of a TaskCreateRequest. * @memberof flyteidl.admin - * @interface IInactiveProject - * @property {string|null} [id] InactiveProject id - * @property {string|null} [org] InactiveProject org + * @interface ITaskCreateRequest + * @property {flyteidl.core.IIdentifier|null} [id] TaskCreateRequest id + * @property {flyteidl.admin.ITaskSpec|null} [spec] TaskCreateRequest spec */ /** - * Constructs a new InactiveProject. + * Constructs a new TaskCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents an InactiveProject. - * @implements IInactiveProject + * @classdesc Represents a TaskCreateRequest. + * @implements ITaskCreateRequest * @constructor - * @param {flyteidl.admin.IInactiveProject=} [properties] Properties to set + * @param {flyteidl.admin.ITaskCreateRequest=} [properties] Properties to set */ - function InactiveProject(properties) { + function TaskCreateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -44681,75 +43753,75 @@ } /** - * InactiveProject id. - * @member {string} id - * @memberof flyteidl.admin.InactiveProject + * TaskCreateRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.TaskCreateRequest * @instance */ - InactiveProject.prototype.id = ""; + TaskCreateRequest.prototype.id = null; /** - * InactiveProject org. - * @member {string} org - * @memberof flyteidl.admin.InactiveProject + * TaskCreateRequest spec. + * @member {flyteidl.admin.ITaskSpec|null|undefined} spec + * @memberof flyteidl.admin.TaskCreateRequest * @instance */ - InactiveProject.prototype.org = ""; + TaskCreateRequest.prototype.spec = null; /** - * Creates a new InactiveProject instance using the specified properties. + * Creates a new TaskCreateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.InactiveProject + * @memberof flyteidl.admin.TaskCreateRequest * @static - * @param {flyteidl.admin.IInactiveProject=} [properties] Properties to set - * @returns {flyteidl.admin.InactiveProject} InactiveProject instance + * @param {flyteidl.admin.ITaskCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskCreateRequest} TaskCreateRequest instance */ - InactiveProject.create = function create(properties) { - return new InactiveProject(properties); + TaskCreateRequest.create = function create(properties) { + return new TaskCreateRequest(properties); }; /** - * Encodes the specified InactiveProject message. Does not implicitly {@link flyteidl.admin.InactiveProject.verify|verify} messages. + * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.admin.TaskCreateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.InactiveProject + * @memberof flyteidl.admin.TaskCreateRequest * @static - * @param {flyteidl.admin.IInactiveProject} message InactiveProject message or plain object to encode + * @param {flyteidl.admin.ITaskCreateRequest} message TaskCreateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - InactiveProject.encode = function encode(message, writer) { + TaskCreateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.id != null && message.hasOwnProperty("id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.org); + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.spec != null && message.hasOwnProperty("spec")) + $root.flyteidl.admin.TaskSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes an InactiveProject message from the specified reader or buffer. + * Decodes a TaskCreateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.InactiveProject + * @memberof flyteidl.admin.TaskCreateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.InactiveProject} InactiveProject + * @returns {flyteidl.admin.TaskCreateRequest} TaskCreateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - InactiveProject.decode = function decode(reader, length) { + TaskCreateRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.InactiveProject(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskCreateRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = reader.string(); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.org = reader.string(); + message.spec = $root.flyteidl.admin.TaskSpec.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -44760,48 +43832,49 @@ }; /** - * Verifies an InactiveProject message. + * Verifies a TaskCreateRequest message. * @function verify - * @memberof flyteidl.admin.InactiveProject + * @memberof flyteidl.admin.TaskCreateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - InactiveProject.verify = function verify(message) { + TaskCreateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.spec != null && message.hasOwnProperty("spec")) { + var error = $root.flyteidl.admin.TaskSpec.verify(message.spec); + if (error) + return "spec." + error; + } return null; }; - return InactiveProject; + return TaskCreateRequest; })(); - admin.ProjectAttributes = (function() { + admin.TaskCreateResponse = (function() { /** - * Properties of a ProjectAttributes. + * Properties of a TaskCreateResponse. * @memberof flyteidl.admin - * @interface IProjectAttributes - * @property {string|null} [project] ProjectAttributes project - * @property {flyteidl.admin.IMatchingAttributes|null} [matchingAttributes] ProjectAttributes matchingAttributes - * @property {string|null} [org] ProjectAttributes org + * @interface ITaskCreateResponse */ /** - * Constructs a new ProjectAttributes. + * Constructs a new TaskCreateResponse. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributes. - * @implements IProjectAttributes + * @classdesc Represents a TaskCreateResponse. + * @implements ITaskCreateResponse * @constructor - * @param {flyteidl.admin.IProjectAttributes=} [properties] Properties to set + * @param {flyteidl.admin.ITaskCreateResponse=} [properties] Properties to set */ - function ProjectAttributes(properties) { + function TaskCreateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -44809,89 +43882,50 @@ } /** - * ProjectAttributes project. - * @member {string} project - * @memberof flyteidl.admin.ProjectAttributes - * @instance - */ - ProjectAttributes.prototype.project = ""; - - /** - * ProjectAttributes matchingAttributes. - * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes - * @memberof flyteidl.admin.ProjectAttributes - * @instance - */ - ProjectAttributes.prototype.matchingAttributes = null; - - /** - * ProjectAttributes org. - * @member {string} org - * @memberof flyteidl.admin.ProjectAttributes - * @instance - */ - ProjectAttributes.prototype.org = ""; - - /** - * Creates a new ProjectAttributes instance using the specified properties. + * Creates a new TaskCreateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectAttributes + * @memberof flyteidl.admin.TaskCreateResponse * @static - * @param {flyteidl.admin.IProjectAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributes} ProjectAttributes instance + * @param {flyteidl.admin.ITaskCreateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.TaskCreateResponse} TaskCreateResponse instance */ - ProjectAttributes.create = function create(properties) { - return new ProjectAttributes(properties); + TaskCreateResponse.create = function create(properties) { + return new TaskCreateResponse(properties); }; /** - * Encodes the specified ProjectAttributes message. Does not implicitly {@link flyteidl.admin.ProjectAttributes.verify|verify} messages. + * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.admin.TaskCreateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributes + * @memberof flyteidl.admin.TaskCreateResponse * @static - * @param {flyteidl.admin.IProjectAttributes} message ProjectAttributes message or plain object to encode + * @param {flyteidl.admin.ITaskCreateResponse} message TaskCreateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectAttributes.encode = function encode(message, writer) { + TaskCreateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) - $root.flyteidl.admin.MatchingAttributes.encode(message.matchingAttributes, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.org); return writer; }; /** - * Decodes a ProjectAttributes message from the specified reader or buffer. + * Decodes a TaskCreateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributes + * @memberof flyteidl.admin.TaskCreateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectAttributes} ProjectAttributes + * @returns {flyteidl.admin.TaskCreateResponse} TaskCreateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectAttributes.decode = function decode(reader, length) { + TaskCreateResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributes(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskCreateResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.project = reader.string(); - break; - case 2: - message.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); - break; - case 3: - message.org = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -44901,51 +43935,42 @@ }; /** - * Verifies a ProjectAttributes message. + * Verifies a TaskCreateResponse message. * @function verify - * @memberof flyteidl.admin.ProjectAttributes + * @memberof flyteidl.admin.TaskCreateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectAttributes.verify = function verify(message) { + TaskCreateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) { - var error = $root.flyteidl.admin.MatchingAttributes.verify(message.matchingAttributes); - if (error) - return "matchingAttributes." + error; - } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; return null; }; - return ProjectAttributes; + return TaskCreateResponse; })(); - admin.ProjectAttributesUpdateRequest = (function() { + admin.Task = (function() { /** - * Properties of a ProjectAttributesUpdateRequest. + * Properties of a Task. * @memberof flyteidl.admin - * @interface IProjectAttributesUpdateRequest - * @property {flyteidl.admin.IProjectAttributes|null} [attributes] ProjectAttributesUpdateRequest attributes + * @interface ITask + * @property {flyteidl.core.IIdentifier|null} [id] Task id + * @property {flyteidl.admin.ITaskClosure|null} [closure] Task closure + * @property {string|null} [shortDescription] Task shortDescription */ /** - * Constructs a new ProjectAttributesUpdateRequest. + * Constructs a new Task. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributesUpdateRequest. - * @implements IProjectAttributesUpdateRequest + * @classdesc Represents a Task. + * @implements ITask * @constructor - * @param {flyteidl.admin.IProjectAttributesUpdateRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITask=} [properties] Properties to set */ - function ProjectAttributesUpdateRequest(properties) { + function Task(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -44953,62 +43978,88 @@ } /** - * ProjectAttributesUpdateRequest attributes. - * @member {flyteidl.admin.IProjectAttributes|null|undefined} attributes - * @memberof flyteidl.admin.ProjectAttributesUpdateRequest + * Task id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.Task * @instance */ - ProjectAttributesUpdateRequest.prototype.attributes = null; + Task.prototype.id = null; /** - * Creates a new ProjectAttributesUpdateRequest instance using the specified properties. + * Task closure. + * @member {flyteidl.admin.ITaskClosure|null|undefined} closure + * @memberof flyteidl.admin.Task + * @instance + */ + Task.prototype.closure = null; + + /** + * Task shortDescription. + * @member {string} shortDescription + * @memberof flyteidl.admin.Task + * @instance + */ + Task.prototype.shortDescription = ""; + + /** + * Creates a new Task instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectAttributesUpdateRequest + * @memberof flyteidl.admin.Task * @static - * @param {flyteidl.admin.IProjectAttributesUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributesUpdateRequest} ProjectAttributesUpdateRequest instance + * @param {flyteidl.admin.ITask=} [properties] Properties to set + * @returns {flyteidl.admin.Task} Task instance */ - ProjectAttributesUpdateRequest.create = function create(properties) { - return new ProjectAttributesUpdateRequest(properties); + Task.create = function create(properties) { + return new Task(properties); }; /** - * Encodes the specified ProjectAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateRequest.verify|verify} messages. + * Encodes the specified Task message. Does not implicitly {@link flyteidl.admin.Task.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributesUpdateRequest + * @memberof flyteidl.admin.Task * @static - * @param {flyteidl.admin.IProjectAttributesUpdateRequest} message ProjectAttributesUpdateRequest message or plain object to encode + * @param {flyteidl.admin.ITask} message Task message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectAttributesUpdateRequest.encode = function encode(message, writer) { + Task.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.attributes != null && message.hasOwnProperty("attributes")) - $root.flyteidl.admin.ProjectAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.closure != null && message.hasOwnProperty("closure")) + $root.flyteidl.admin.TaskClosure.encode(message.closure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.shortDescription); return writer; }; /** - * Decodes a ProjectAttributesUpdateRequest message from the specified reader or buffer. + * Decodes a Task message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributesUpdateRequest + * @memberof flyteidl.admin.Task * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectAttributesUpdateRequest} ProjectAttributesUpdateRequest + * @returns {flyteidl.admin.Task} Task * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectAttributesUpdateRequest.decode = function decode(reader, length) { + Task.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesUpdateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Task(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.attributes = $root.flyteidl.admin.ProjectAttributes.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 2: + message.closure = $root.flyteidl.admin.TaskClosure.decode(reader, reader.uint32()); + break; + case 3: + message.shortDescription = reader.string(); break; default: reader.skipType(tag & 7); @@ -45019,44 +44070,55 @@ }; /** - * Verifies a ProjectAttributesUpdateRequest message. + * Verifies a Task message. * @function verify - * @memberof flyteidl.admin.ProjectAttributesUpdateRequest + * @memberof flyteidl.admin.Task * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectAttributesUpdateRequest.verify = function verify(message) { + Task.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.attributes != null && message.hasOwnProperty("attributes")) { - var error = $root.flyteidl.admin.ProjectAttributes.verify(message.attributes); + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); if (error) - return "attributes." + error; + return "id." + error; + } + if (message.closure != null && message.hasOwnProperty("closure")) { + var error = $root.flyteidl.admin.TaskClosure.verify(message.closure); + if (error) + return "closure." + error; } + if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) + if (!$util.isString(message.shortDescription)) + return "shortDescription: string expected"; return null; }; - return ProjectAttributesUpdateRequest; + return Task; })(); - admin.ProjectAttributesUpdateResponse = (function() { + admin.TaskList = (function() { /** - * Properties of a ProjectAttributesUpdateResponse. + * Properties of a TaskList. * @memberof flyteidl.admin - * @interface IProjectAttributesUpdateResponse + * @interface ITaskList + * @property {Array.|null} [tasks] TaskList tasks + * @property {string|null} [token] TaskList token */ /** - * Constructs a new ProjectAttributesUpdateResponse. + * Constructs a new TaskList. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributesUpdateResponse. - * @implements IProjectAttributesUpdateResponse + * @classdesc Represents a TaskList. + * @implements ITaskList * @constructor - * @param {flyteidl.admin.IProjectAttributesUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.ITaskList=} [properties] Properties to set */ - function ProjectAttributesUpdateResponse(properties) { + function TaskList(properties) { + this.tasks = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -45064,50 +44126,79 @@ } /** - * Creates a new ProjectAttributesUpdateResponse instance using the specified properties. + * TaskList tasks. + * @member {Array.} tasks + * @memberof flyteidl.admin.TaskList + * @instance + */ + TaskList.prototype.tasks = $util.emptyArray; + + /** + * TaskList token. + * @member {string} token + * @memberof flyteidl.admin.TaskList + * @instance + */ + TaskList.prototype.token = ""; + + /** + * Creates a new TaskList instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectAttributesUpdateResponse + * @memberof flyteidl.admin.TaskList * @static - * @param {flyteidl.admin.IProjectAttributesUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributesUpdateResponse} ProjectAttributesUpdateResponse instance + * @param {flyteidl.admin.ITaskList=} [properties] Properties to set + * @returns {flyteidl.admin.TaskList} TaskList instance */ - ProjectAttributesUpdateResponse.create = function create(properties) { - return new ProjectAttributesUpdateResponse(properties); + TaskList.create = function create(properties) { + return new TaskList(properties); }; /** - * Encodes the specified ProjectAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateResponse.verify|verify} messages. + * Encodes the specified TaskList message. Does not implicitly {@link flyteidl.admin.TaskList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributesUpdateResponse + * @memberof flyteidl.admin.TaskList * @static - * @param {flyteidl.admin.IProjectAttributesUpdateResponse} message ProjectAttributesUpdateResponse message or plain object to encode + * @param {flyteidl.admin.ITaskList} message TaskList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectAttributesUpdateResponse.encode = function encode(message, writer) { + TaskList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.tasks != null && message.tasks.length) + for (var i = 0; i < message.tasks.length; ++i) + $root.flyteidl.admin.Task.encode(message.tasks[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes a ProjectAttributesUpdateResponse message from the specified reader or buffer. + * Decodes a TaskList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributesUpdateResponse + * @memberof flyteidl.admin.TaskList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectAttributesUpdateResponse} ProjectAttributesUpdateResponse + * @returns {flyteidl.admin.TaskList} TaskList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectAttributesUpdateResponse.decode = function decode(reader, length) { + TaskList.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesUpdateResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskList(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + if (!(message.tasks && message.tasks.length)) + message.tasks = []; + message.tasks.push($root.flyteidl.admin.Task.decode(reader, reader.uint32())); + break; + case 2: + message.token = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -45117,42 +44208,53 @@ }; /** - * Verifies a ProjectAttributesUpdateResponse message. + * Verifies a TaskList message. * @function verify - * @memberof flyteidl.admin.ProjectAttributesUpdateResponse + * @memberof flyteidl.admin.TaskList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectAttributesUpdateResponse.verify = function verify(message) { + TaskList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.tasks != null && message.hasOwnProperty("tasks")) { + if (!Array.isArray(message.tasks)) + return "tasks: array expected"; + for (var i = 0; i < message.tasks.length; ++i) { + var error = $root.flyteidl.admin.Task.verify(message.tasks[i]); + if (error) + return "tasks." + error; + } + } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return ProjectAttributesUpdateResponse; + return TaskList; })(); - admin.ProjectAttributesGetRequest = (function() { + admin.TaskSpec = (function() { /** - * Properties of a ProjectAttributesGetRequest. + * Properties of a TaskSpec. * @memberof flyteidl.admin - * @interface IProjectAttributesGetRequest - * @property {string|null} [project] ProjectAttributesGetRequest project - * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectAttributesGetRequest resourceType - * @property {string|null} [org] ProjectAttributesGetRequest org + * @interface ITaskSpec + * @property {flyteidl.core.ITaskTemplate|null} [template] TaskSpec template + * @property {flyteidl.admin.IDescriptionEntity|null} [description] TaskSpec description */ /** - * Constructs a new ProjectAttributesGetRequest. + * Constructs a new TaskSpec. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributesGetRequest. - * @implements IProjectAttributesGetRequest + * @classdesc Represents a TaskSpec. + * @implements ITaskSpec * @constructor - * @param {flyteidl.admin.IProjectAttributesGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskSpec=} [properties] Properties to set */ - function ProjectAttributesGetRequest(properties) { + function TaskSpec(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -45160,88 +44262,75 @@ } /** - * ProjectAttributesGetRequest project. - * @member {string} project - * @memberof flyteidl.admin.ProjectAttributesGetRequest - * @instance - */ - ProjectAttributesGetRequest.prototype.project = ""; - - /** - * ProjectAttributesGetRequest resourceType. - * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.ProjectAttributesGetRequest + * TaskSpec template. + * @member {flyteidl.core.ITaskTemplate|null|undefined} template + * @memberof flyteidl.admin.TaskSpec * @instance */ - ProjectAttributesGetRequest.prototype.resourceType = 0; + TaskSpec.prototype.template = null; /** - * ProjectAttributesGetRequest org. - * @member {string} org - * @memberof flyteidl.admin.ProjectAttributesGetRequest + * TaskSpec description. + * @member {flyteidl.admin.IDescriptionEntity|null|undefined} description + * @memberof flyteidl.admin.TaskSpec * @instance */ - ProjectAttributesGetRequest.prototype.org = ""; + TaskSpec.prototype.description = null; /** - * Creates a new ProjectAttributesGetRequest instance using the specified properties. + * Creates a new TaskSpec instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectAttributesGetRequest + * @memberof flyteidl.admin.TaskSpec * @static - * @param {flyteidl.admin.IProjectAttributesGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributesGetRequest} ProjectAttributesGetRequest instance + * @param {flyteidl.admin.ITaskSpec=} [properties] Properties to set + * @returns {flyteidl.admin.TaskSpec} TaskSpec instance */ - ProjectAttributesGetRequest.create = function create(properties) { - return new ProjectAttributesGetRequest(properties); + TaskSpec.create = function create(properties) { + return new TaskSpec(properties); }; /** - * Encodes the specified ProjectAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetRequest.verify|verify} messages. + * Encodes the specified TaskSpec message. Does not implicitly {@link flyteidl.admin.TaskSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributesGetRequest + * @memberof flyteidl.admin.TaskSpec * @static - * @param {flyteidl.admin.IProjectAttributesGetRequest} message ProjectAttributesGetRequest message or plain object to encode + * @param {flyteidl.admin.ITaskSpec} message TaskSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectAttributesGetRequest.encode = function encode(message, writer) { + TaskSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.resourceType); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.org); + if (message.template != null && message.hasOwnProperty("template")) + $root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.description != null && message.hasOwnProperty("description")) + $root.flyteidl.admin.DescriptionEntity.encode(message.description, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectAttributesGetRequest message from the specified reader or buffer. + * Decodes a TaskSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributesGetRequest + * @memberof flyteidl.admin.TaskSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectAttributesGetRequest} ProjectAttributesGetRequest + * @returns {flyteidl.admin.TaskSpec} TaskSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectAttributesGetRequest.decode = function decode(reader, length) { + TaskSpec.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesGetRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskSpec(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); - break; - case 2: - message.resourceType = reader.int32(); - break; - case 3: - message.org = reader.string(); + message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); + break; + case 2: + message.description = $root.flyteidl.admin.DescriptionEntity.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -45252,60 +44341,51 @@ }; /** - * Verifies a ProjectAttributesGetRequest message. + * Verifies a TaskSpec message. * @function verify - * @memberof flyteidl.admin.ProjectAttributesGetRequest + * @memberof flyteidl.admin.TaskSpec * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectAttributesGetRequest.verify = function verify(message) { + TaskSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { - default: - return "resourceType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - break; - } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; + if (message.template != null && message.hasOwnProperty("template")) { + var error = $root.flyteidl.core.TaskTemplate.verify(message.template); + if (error) + return "template." + error; + } + if (message.description != null && message.hasOwnProperty("description")) { + var error = $root.flyteidl.admin.DescriptionEntity.verify(message.description); + if (error) + return "description." + error; + } return null; }; - return ProjectAttributesGetRequest; + return TaskSpec; })(); - admin.ProjectAttributesGetResponse = (function() { + admin.TaskClosure = (function() { /** - * Properties of a ProjectAttributesGetResponse. + * Properties of a TaskClosure. * @memberof flyteidl.admin - * @interface IProjectAttributesGetResponse - * @property {flyteidl.admin.IProjectAttributes|null} [attributes] ProjectAttributesGetResponse attributes + * @interface ITaskClosure + * @property {flyteidl.core.ICompiledTask|null} [compiledTask] TaskClosure compiledTask + * @property {google.protobuf.ITimestamp|null} [createdAt] TaskClosure createdAt */ /** - * Constructs a new ProjectAttributesGetResponse. + * Constructs a new TaskClosure. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributesGetResponse. - * @implements IProjectAttributesGetResponse + * @classdesc Represents a TaskClosure. + * @implements ITaskClosure * @constructor - * @param {flyteidl.admin.IProjectAttributesGetResponse=} [properties] Properties to set + * @param {flyteidl.admin.ITaskClosure=} [properties] Properties to set */ - function ProjectAttributesGetResponse(properties) { + function TaskClosure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -45313,62 +44393,75 @@ } /** - * ProjectAttributesGetResponse attributes. - * @member {flyteidl.admin.IProjectAttributes|null|undefined} attributes - * @memberof flyteidl.admin.ProjectAttributesGetResponse + * TaskClosure compiledTask. + * @member {flyteidl.core.ICompiledTask|null|undefined} compiledTask + * @memberof flyteidl.admin.TaskClosure * @instance */ - ProjectAttributesGetResponse.prototype.attributes = null; + TaskClosure.prototype.compiledTask = null; /** - * Creates a new ProjectAttributesGetResponse instance using the specified properties. + * TaskClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.TaskClosure + * @instance + */ + TaskClosure.prototype.createdAt = null; + + /** + * Creates a new TaskClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectAttributesGetResponse + * @memberof flyteidl.admin.TaskClosure * @static - * @param {flyteidl.admin.IProjectAttributesGetResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributesGetResponse} ProjectAttributesGetResponse instance + * @param {flyteidl.admin.ITaskClosure=} [properties] Properties to set + * @returns {flyteidl.admin.TaskClosure} TaskClosure instance */ - ProjectAttributesGetResponse.create = function create(properties) { - return new ProjectAttributesGetResponse(properties); + TaskClosure.create = function create(properties) { + return new TaskClosure(properties); }; /** - * Encodes the specified ProjectAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetResponse.verify|verify} messages. + * Encodes the specified TaskClosure message. Does not implicitly {@link flyteidl.admin.TaskClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributesGetResponse + * @memberof flyteidl.admin.TaskClosure * @static - * @param {flyteidl.admin.IProjectAttributesGetResponse} message ProjectAttributesGetResponse message or plain object to encode + * @param {flyteidl.admin.ITaskClosure} message TaskClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectAttributesGetResponse.encode = function encode(message, writer) { + TaskClosure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.attributes != null && message.hasOwnProperty("attributes")) - $root.flyteidl.admin.ProjectAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.compiledTask != null && message.hasOwnProperty("compiledTask")) + $root.flyteidl.core.CompiledTask.encode(message.compiledTask, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.createdAt != null && message.hasOwnProperty("createdAt")) + $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectAttributesGetResponse message from the specified reader or buffer. + * Decodes a TaskClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributesGetResponse + * @memberof flyteidl.admin.TaskClosure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectAttributesGetResponse} ProjectAttributesGetResponse + * @returns {flyteidl.admin.TaskClosure} TaskClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectAttributesGetResponse.decode = function decode(reader, length) { + TaskClosure.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesGetResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskClosure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.attributes = $root.flyteidl.admin.ProjectAttributes.decode(reader, reader.uint32()); + message.compiledTask = $root.flyteidl.core.CompiledTask.decode(reader, reader.uint32()); + break; + case 2: + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -45379,47 +44472,50 @@ }; /** - * Verifies a ProjectAttributesGetResponse message. + * Verifies a TaskClosure message. * @function verify - * @memberof flyteidl.admin.ProjectAttributesGetResponse + * @memberof flyteidl.admin.TaskClosure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectAttributesGetResponse.verify = function verify(message) { + TaskClosure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.attributes != null && message.hasOwnProperty("attributes")) { - var error = $root.flyteidl.admin.ProjectAttributes.verify(message.attributes); + if (message.compiledTask != null && message.hasOwnProperty("compiledTask")) { + var error = $root.flyteidl.core.CompiledTask.verify(message.compiledTask); if (error) - return "attributes." + error; + return "compiledTask." + error; + } + if (message.createdAt != null && message.hasOwnProperty("createdAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.createdAt); + if (error) + return "createdAt." + error; } return null; }; - return ProjectAttributesGetResponse; + return TaskClosure; })(); - admin.ProjectAttributesDeleteRequest = (function() { + admin.TaskExecutionGetRequest = (function() { /** - * Properties of a ProjectAttributesDeleteRequest. + * Properties of a TaskExecutionGetRequest. * @memberof flyteidl.admin - * @interface IProjectAttributesDeleteRequest - * @property {string|null} [project] ProjectAttributesDeleteRequest project - * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectAttributesDeleteRequest resourceType - * @property {string|null} [org] ProjectAttributesDeleteRequest org + * @interface ITaskExecutionGetRequest + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetRequest id */ /** - * Constructs a new ProjectAttributesDeleteRequest. + * Constructs a new TaskExecutionGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributesDeleteRequest. - * @implements IProjectAttributesDeleteRequest + * @classdesc Represents a TaskExecutionGetRequest. + * @implements ITaskExecutionGetRequest * @constructor - * @param {flyteidl.admin.IProjectAttributesDeleteRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionGetRequest=} [properties] Properties to set */ - function ProjectAttributesDeleteRequest(properties) { + function TaskExecutionGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -45427,88 +44523,62 @@ } /** - * ProjectAttributesDeleteRequest project. - * @member {string} project - * @memberof flyteidl.admin.ProjectAttributesDeleteRequest - * @instance - */ - ProjectAttributesDeleteRequest.prototype.project = ""; - - /** - * ProjectAttributesDeleteRequest resourceType. - * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.ProjectAttributesDeleteRequest - * @instance - */ - ProjectAttributesDeleteRequest.prototype.resourceType = 0; - - /** - * ProjectAttributesDeleteRequest org. - * @member {string} org - * @memberof flyteidl.admin.ProjectAttributesDeleteRequest + * TaskExecutionGetRequest id. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.TaskExecutionGetRequest * @instance */ - ProjectAttributesDeleteRequest.prototype.org = ""; + TaskExecutionGetRequest.prototype.id = null; /** - * Creates a new ProjectAttributesDeleteRequest instance using the specified properties. + * Creates a new TaskExecutionGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectAttributesDeleteRequest + * @memberof flyteidl.admin.TaskExecutionGetRequest * @static - * @param {flyteidl.admin.IProjectAttributesDeleteRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributesDeleteRequest} ProjectAttributesDeleteRequest instance + * @param {flyteidl.admin.ITaskExecutionGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionGetRequest} TaskExecutionGetRequest instance */ - ProjectAttributesDeleteRequest.create = function create(properties) { - return new ProjectAttributesDeleteRequest(properties); + TaskExecutionGetRequest.create = function create(properties) { + return new TaskExecutionGetRequest(properties); }; /** - * Encodes the specified ProjectAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteRequest.verify|verify} messages. + * Encodes the specified TaskExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributesDeleteRequest + * @memberof flyteidl.admin.TaskExecutionGetRequest * @static - * @param {flyteidl.admin.IProjectAttributesDeleteRequest} message ProjectAttributesDeleteRequest message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionGetRequest} message TaskExecutionGetRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectAttributesDeleteRequest.encode = function encode(message, writer) { + TaskExecutionGetRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.resourceType); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.org); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectAttributesDeleteRequest message from the specified reader or buffer. + * Decodes a TaskExecutionGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributesDeleteRequest + * @memberof flyteidl.admin.TaskExecutionGetRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectAttributesDeleteRequest} ProjectAttributesDeleteRequest + * @returns {flyteidl.admin.TaskExecutionGetRequest} TaskExecutionGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectAttributesDeleteRequest.decode = function decode(reader, length) { + TaskExecutionGetRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesDeleteRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionGetRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); - break; - case 2: - message.resourceType = reader.int32(); - break; - case 3: - message.org = reader.string(); + message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -45519,59 +44589,49 @@ }; /** - * Verifies a ProjectAttributesDeleteRequest message. + * Verifies a TaskExecutionGetRequest message. * @function verify - * @memberof flyteidl.admin.ProjectAttributesDeleteRequest + * @memberof flyteidl.admin.TaskExecutionGetRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectAttributesDeleteRequest.verify = function verify(message) { + TaskExecutionGetRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { - default: - return "resourceType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - break; - } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; + } return null; }; - return ProjectAttributesDeleteRequest; + return TaskExecutionGetRequest; })(); - admin.ProjectAttributesDeleteResponse = (function() { + admin.TaskExecutionListRequest = (function() { /** - * Properties of a ProjectAttributesDeleteResponse. + * Properties of a TaskExecutionListRequest. * @memberof flyteidl.admin - * @interface IProjectAttributesDeleteResponse + * @interface ITaskExecutionListRequest + * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeExecutionId] TaskExecutionListRequest nodeExecutionId + * @property {number|null} [limit] TaskExecutionListRequest limit + * @property {string|null} [token] TaskExecutionListRequest token + * @property {string|null} [filters] TaskExecutionListRequest filters + * @property {flyteidl.admin.ISort|null} [sortBy] TaskExecutionListRequest sortBy */ /** - * Constructs a new ProjectAttributesDeleteResponse. + * Constructs a new TaskExecutionListRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectAttributesDeleteResponse. - * @implements IProjectAttributesDeleteResponse + * @classdesc Represents a TaskExecutionListRequest. + * @implements ITaskExecutionListRequest * @constructor - * @param {flyteidl.admin.IProjectAttributesDeleteResponse=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionListRequest=} [properties] Properties to set */ - function ProjectAttributesDeleteResponse(properties) { + function TaskExecutionListRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -45579,50 +44639,115 @@ } /** - * Creates a new ProjectAttributesDeleteResponse instance using the specified properties. + * TaskExecutionListRequest nodeExecutionId. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeExecutionId + * @memberof flyteidl.admin.TaskExecutionListRequest + * @instance + */ + TaskExecutionListRequest.prototype.nodeExecutionId = null; + + /** + * TaskExecutionListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.TaskExecutionListRequest + * @instance + */ + TaskExecutionListRequest.prototype.limit = 0; + + /** + * TaskExecutionListRequest token. + * @member {string} token + * @memberof flyteidl.admin.TaskExecutionListRequest + * @instance + */ + TaskExecutionListRequest.prototype.token = ""; + + /** + * TaskExecutionListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.TaskExecutionListRequest + * @instance + */ + TaskExecutionListRequest.prototype.filters = ""; + + /** + * TaskExecutionListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.TaskExecutionListRequest + * @instance + */ + TaskExecutionListRequest.prototype.sortBy = null; + + /** + * Creates a new TaskExecutionListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectAttributesDeleteResponse + * @memberof flyteidl.admin.TaskExecutionListRequest * @static - * @param {flyteidl.admin.IProjectAttributesDeleteResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectAttributesDeleteResponse} ProjectAttributesDeleteResponse instance + * @param {flyteidl.admin.ITaskExecutionListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionListRequest} TaskExecutionListRequest instance */ - ProjectAttributesDeleteResponse.create = function create(properties) { - return new ProjectAttributesDeleteResponse(properties); + TaskExecutionListRequest.create = function create(properties) { + return new TaskExecutionListRequest(properties); }; /** - * Encodes the specified ProjectAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteResponse.verify|verify} messages. + * Encodes the specified TaskExecutionListRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectAttributesDeleteResponse + * @memberof flyteidl.admin.TaskExecutionListRequest * @static - * @param {flyteidl.admin.IProjectAttributesDeleteResponse} message ProjectAttributesDeleteResponse message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionListRequest} message TaskExecutionListRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectAttributesDeleteResponse.encode = function encode(message, writer) { + TaskExecutionListRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.limit != null && message.hasOwnProperty("limit")) + writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); + if (message.filters != null && message.hasOwnProperty("filters")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); + if (message.sortBy != null && message.hasOwnProperty("sortBy")) + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectAttributesDeleteResponse message from the specified reader or buffer. + * Decodes a TaskExecutionListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectAttributesDeleteResponse + * @memberof flyteidl.admin.TaskExecutionListRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectAttributesDeleteResponse} ProjectAttributesDeleteResponse + * @returns {flyteidl.admin.TaskExecutionListRequest} TaskExecutionListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectAttributesDeleteResponse.decode = function decode(reader, length) { + TaskExecutionListRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesDeleteResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionListRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.nodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.limit = reader.uint32(); + break; + case 3: + message.token = reader.string(); + break; + case 4: + message.filters = reader.string(); + break; + case 5: + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -45632,43 +44757,62 @@ }; /** - * Verifies a ProjectAttributesDeleteResponse message. + * Verifies a TaskExecutionListRequest message. * @function verify - * @memberof flyteidl.admin.ProjectAttributesDeleteResponse + * @memberof flyteidl.admin.TaskExecutionListRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectAttributesDeleteResponse.verify = function verify(message) { + TaskExecutionListRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeExecutionId); + if (error) + return "nodeExecutionId." + error; + } + if (message.limit != null && message.hasOwnProperty("limit")) + if (!$util.isInteger(message.limit)) + return "limit: integer expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + if (message.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; + if (message.sortBy != null && message.hasOwnProperty("sortBy")) { + var error = $root.flyteidl.admin.Sort.verify(message.sortBy); + if (error) + return "sortBy." + error; + } return null; }; - return ProjectAttributesDeleteResponse; + return TaskExecutionListRequest; })(); - admin.ProjectDomainAttributes = (function() { + admin.TaskExecution = (function() { /** - * Properties of a ProjectDomainAttributes. + * Properties of a TaskExecution. * @memberof flyteidl.admin - * @interface IProjectDomainAttributes - * @property {string|null} [project] ProjectDomainAttributes project - * @property {string|null} [domain] ProjectDomainAttributes domain - * @property {flyteidl.admin.IMatchingAttributes|null} [matchingAttributes] ProjectDomainAttributes matchingAttributes - * @property {string|null} [org] ProjectDomainAttributes org + * @interface ITaskExecution + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecution id + * @property {string|null} [inputUri] TaskExecution inputUri + * @property {flyteidl.admin.ITaskExecutionClosure|null} [closure] TaskExecution closure + * @property {boolean|null} [isParent] TaskExecution isParent */ /** - * Constructs a new ProjectDomainAttributes. + * Constructs a new TaskExecution. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributes. - * @implements IProjectDomainAttributes + * @classdesc Represents a TaskExecution. + * @implements ITaskExecution * @constructor - * @param {flyteidl.admin.IProjectDomainAttributes=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecution=} [properties] Properties to set */ - function ProjectDomainAttributes(properties) { + function TaskExecution(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -45676,101 +44820,101 @@ } /** - * ProjectDomainAttributes project. - * @member {string} project - * @memberof flyteidl.admin.ProjectDomainAttributes + * TaskExecution id. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.TaskExecution * @instance */ - ProjectDomainAttributes.prototype.project = ""; + TaskExecution.prototype.id = null; /** - * ProjectDomainAttributes domain. - * @member {string} domain - * @memberof flyteidl.admin.ProjectDomainAttributes + * TaskExecution inputUri. + * @member {string} inputUri + * @memberof flyteidl.admin.TaskExecution * @instance */ - ProjectDomainAttributes.prototype.domain = ""; + TaskExecution.prototype.inputUri = ""; /** - * ProjectDomainAttributes matchingAttributes. - * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes - * @memberof flyteidl.admin.ProjectDomainAttributes + * TaskExecution closure. + * @member {flyteidl.admin.ITaskExecutionClosure|null|undefined} closure + * @memberof flyteidl.admin.TaskExecution * @instance */ - ProjectDomainAttributes.prototype.matchingAttributes = null; + TaskExecution.prototype.closure = null; /** - * ProjectDomainAttributes org. - * @member {string} org - * @memberof flyteidl.admin.ProjectDomainAttributes + * TaskExecution isParent. + * @member {boolean} isParent + * @memberof flyteidl.admin.TaskExecution * @instance */ - ProjectDomainAttributes.prototype.org = ""; + TaskExecution.prototype.isParent = false; /** - * Creates a new ProjectDomainAttributes instance using the specified properties. + * Creates a new TaskExecution instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributes + * @memberof flyteidl.admin.TaskExecution * @static - * @param {flyteidl.admin.IProjectDomainAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributes} ProjectDomainAttributes instance + * @param {flyteidl.admin.ITaskExecution=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecution} TaskExecution instance */ - ProjectDomainAttributes.create = function create(properties) { - return new ProjectDomainAttributes(properties); + TaskExecution.create = function create(properties) { + return new TaskExecution(properties); }; /** - * Encodes the specified ProjectDomainAttributes message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributes.verify|verify} messages. + * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.admin.TaskExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributes + * @memberof flyteidl.admin.TaskExecution * @static - * @param {flyteidl.admin.IProjectDomainAttributes} message ProjectDomainAttributes message or plain object to encode + * @param {flyteidl.admin.ITaskExecution} message TaskExecution message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectDomainAttributes.encode = function encode(message, writer) { + TaskExecution.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) - $root.flyteidl.admin.MatchingAttributes.encode(message.matchingAttributes, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.org); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.inputUri != null && message.hasOwnProperty("inputUri")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputUri); + if (message.closure != null && message.hasOwnProperty("closure")) + $root.flyteidl.admin.TaskExecutionClosure.encode(message.closure, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.isParent != null && message.hasOwnProperty("isParent")) + writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isParent); return writer; }; /** - * Decodes a ProjectDomainAttributes message from the specified reader or buffer. + * Decodes a TaskExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributes + * @memberof flyteidl.admin.TaskExecution * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectDomainAttributes} ProjectDomainAttributes + * @returns {flyteidl.admin.TaskExecution} TaskExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectDomainAttributes.decode = function decode(reader, length) { + TaskExecution.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributes(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecution(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); + message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.domain = reader.string(); + message.inputUri = reader.string(); break; case 3: - message.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + message.closure = $root.flyteidl.admin.TaskExecutionClosure.decode(reader, reader.uint32()); break; case 4: - message.org = reader.string(); + message.isParent = reader.bool(); break; default: reader.skipType(tag & 7); @@ -45781,54 +44925,58 @@ }; /** - * Verifies a ProjectDomainAttributes message. + * Verifies a TaskExecution message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributes + * @memberof flyteidl.admin.TaskExecution * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectDomainAttributes.verify = function verify(message) { + TaskExecution.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) { - var error = $root.flyteidl.admin.MatchingAttributes.verify(message.matchingAttributes); + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); if (error) - return "matchingAttributes." + error; + return "id." + error; } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; + if (message.inputUri != null && message.hasOwnProperty("inputUri")) + if (!$util.isString(message.inputUri)) + return "inputUri: string expected"; + if (message.closure != null && message.hasOwnProperty("closure")) { + var error = $root.flyteidl.admin.TaskExecutionClosure.verify(message.closure); + if (error) + return "closure." + error; + } + if (message.isParent != null && message.hasOwnProperty("isParent")) + if (typeof message.isParent !== "boolean") + return "isParent: boolean expected"; return null; }; - return ProjectDomainAttributes; + return TaskExecution; })(); - admin.ProjectDomainAttributesUpdateRequest = (function() { + admin.TaskExecutionList = (function() { /** - * Properties of a ProjectDomainAttributesUpdateRequest. + * Properties of a TaskExecutionList. * @memberof flyteidl.admin - * @interface IProjectDomainAttributesUpdateRequest - * @property {flyteidl.admin.IProjectDomainAttributes|null} [attributes] ProjectDomainAttributesUpdateRequest attributes + * @interface ITaskExecutionList + * @property {Array.|null} [taskExecutions] TaskExecutionList taskExecutions + * @property {string|null} [token] TaskExecutionList token */ /** - * Constructs a new ProjectDomainAttributesUpdateRequest. + * Constructs a new TaskExecutionList. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesUpdateRequest. - * @implements IProjectDomainAttributesUpdateRequest + * @classdesc Represents a TaskExecutionList. + * @implements ITaskExecutionList * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionList=} [properties] Properties to set */ - function ProjectDomainAttributesUpdateRequest(properties) { + function TaskExecutionList(properties) { + this.taskExecutions = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -45836,62 +44984,78 @@ } /** - * ProjectDomainAttributesUpdateRequest attributes. - * @member {flyteidl.admin.IProjectDomainAttributes|null|undefined} attributes - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * TaskExecutionList taskExecutions. + * @member {Array.} taskExecutions + * @memberof flyteidl.admin.TaskExecutionList * @instance */ - ProjectDomainAttributesUpdateRequest.prototype.attributes = null; + TaskExecutionList.prototype.taskExecutions = $util.emptyArray; /** - * Creates a new ProjectDomainAttributesUpdateRequest instance using the specified properties. + * TaskExecutionList token. + * @member {string} token + * @memberof flyteidl.admin.TaskExecutionList + * @instance + */ + TaskExecutionList.prototype.token = ""; + + /** + * Creates a new TaskExecutionList instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * @memberof flyteidl.admin.TaskExecutionList * @static - * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesUpdateRequest} ProjectDomainAttributesUpdateRequest instance + * @param {flyteidl.admin.ITaskExecutionList=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionList} TaskExecutionList instance */ - ProjectDomainAttributesUpdateRequest.create = function create(properties) { - return new ProjectDomainAttributesUpdateRequest(properties); + TaskExecutionList.create = function create(properties) { + return new TaskExecutionList(properties); }; /** - * Encodes the specified ProjectDomainAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateRequest.verify|verify} messages. + * Encodes the specified TaskExecutionList message. Does not implicitly {@link flyteidl.admin.TaskExecutionList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * @memberof flyteidl.admin.TaskExecutionList * @static - * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest} message ProjectDomainAttributesUpdateRequest message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionList} message TaskExecutionList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectDomainAttributesUpdateRequest.encode = function encode(message, writer) { + TaskExecutionList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.attributes != null && message.hasOwnProperty("attributes")) - $root.flyteidl.admin.ProjectDomainAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.taskExecutions != null && message.taskExecutions.length) + for (var i = 0; i < message.taskExecutions.length; ++i) + $root.flyteidl.admin.TaskExecution.encode(message.taskExecutions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes a ProjectDomainAttributesUpdateRequest message from the specified reader or buffer. + * Decodes a TaskExecutionList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * @memberof flyteidl.admin.TaskExecutionList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectDomainAttributesUpdateRequest} ProjectDomainAttributesUpdateRequest + * @returns {flyteidl.admin.TaskExecutionList} TaskExecutionList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectDomainAttributesUpdateRequest.decode = function decode(reader, length) { + TaskExecutionList.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesUpdateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionList(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.attributes = $root.flyteidl.admin.ProjectDomainAttributes.decode(reader, reader.uint32()); + if (!(message.taskExecutions && message.taskExecutions.length)) + message.taskExecutions = []; + message.taskExecutions.push($root.flyteidl.admin.TaskExecution.decode(reader, reader.uint32())); + break; + case 2: + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -45902,44 +45066,68 @@ }; /** - * Verifies a ProjectDomainAttributesUpdateRequest message. + * Verifies a TaskExecutionList message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * @memberof flyteidl.admin.TaskExecutionList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectDomainAttributesUpdateRequest.verify = function verify(message) { + TaskExecutionList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.attributes != null && message.hasOwnProperty("attributes")) { - var error = $root.flyteidl.admin.ProjectDomainAttributes.verify(message.attributes); - if (error) - return "attributes." + error; + if (message.taskExecutions != null && message.hasOwnProperty("taskExecutions")) { + if (!Array.isArray(message.taskExecutions)) + return "taskExecutions: array expected"; + for (var i = 0; i < message.taskExecutions.length; ++i) { + var error = $root.flyteidl.admin.TaskExecution.verify(message.taskExecutions[i]); + if (error) + return "taskExecutions." + error; + } } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return ProjectDomainAttributesUpdateRequest; + return TaskExecutionList; })(); - admin.ProjectDomainAttributesUpdateResponse = (function() { + admin.TaskExecutionClosure = (function() { /** - * Properties of a ProjectDomainAttributesUpdateResponse. + * Properties of a TaskExecutionClosure. * @memberof flyteidl.admin - * @interface IProjectDomainAttributesUpdateResponse + * @interface ITaskExecutionClosure + * @property {string|null} [outputUri] TaskExecutionClosure outputUri + * @property {flyteidl.core.IExecutionError|null} [error] TaskExecutionClosure error + * @property {flyteidl.core.ILiteralMap|null} [outputData] TaskExecutionClosure outputData + * @property {flyteidl.core.TaskExecution.Phase|null} [phase] TaskExecutionClosure phase + * @property {Array.|null} [logs] TaskExecutionClosure logs + * @property {google.protobuf.ITimestamp|null} [startedAt] TaskExecutionClosure startedAt + * @property {google.protobuf.IDuration|null} [duration] TaskExecutionClosure duration + * @property {google.protobuf.ITimestamp|null} [createdAt] TaskExecutionClosure createdAt + * @property {google.protobuf.ITimestamp|null} [updatedAt] TaskExecutionClosure updatedAt + * @property {google.protobuf.IStruct|null} [customInfo] TaskExecutionClosure customInfo + * @property {string|null} [reason] TaskExecutionClosure reason + * @property {string|null} [taskType] TaskExecutionClosure taskType + * @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionClosure metadata + * @property {number|null} [eventVersion] TaskExecutionClosure eventVersion + * @property {Array.|null} [reasons] TaskExecutionClosure reasons */ /** - * Constructs a new ProjectDomainAttributesUpdateResponse. + * Constructs a new TaskExecutionClosure. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesUpdateResponse. - * @implements IProjectDomainAttributesUpdateResponse + * @classdesc Represents a TaskExecutionClosure. + * @implements ITaskExecutionClosure * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionClosure=} [properties] Properties to set */ - function ProjectDomainAttributesUpdateResponse(properties) { + function TaskExecutionClosure(properties) { + this.logs = []; + this.reasons = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -45947,50 +45135,265 @@ } /** - * Creates a new ProjectDomainAttributesUpdateResponse instance using the specified properties. + * TaskExecutionClosure outputUri. + * @member {string} outputUri + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.outputUri = ""; + + /** + * TaskExecutionClosure error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.error = null; + + /** + * TaskExecutionClosure outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.outputData = null; + + /** + * TaskExecutionClosure phase. + * @member {flyteidl.core.TaskExecution.Phase} phase + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.phase = 0; + + /** + * TaskExecutionClosure logs. + * @member {Array.} logs + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.logs = $util.emptyArray; + + /** + * TaskExecutionClosure startedAt. + * @member {google.protobuf.ITimestamp|null|undefined} startedAt + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.startedAt = null; + + /** + * TaskExecutionClosure duration. + * @member {google.protobuf.IDuration|null|undefined} duration + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.duration = null; + + /** + * TaskExecutionClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.createdAt = null; + + /** + * TaskExecutionClosure updatedAt. + * @member {google.protobuf.ITimestamp|null|undefined} updatedAt + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.updatedAt = null; + + /** + * TaskExecutionClosure customInfo. + * @member {google.protobuf.IStruct|null|undefined} customInfo + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.customInfo = null; + + /** + * TaskExecutionClosure reason. + * @member {string} reason + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.reason = ""; + + /** + * TaskExecutionClosure taskType. + * @member {string} taskType + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.taskType = ""; + + /** + * TaskExecutionClosure metadata. + * @member {flyteidl.event.ITaskExecutionMetadata|null|undefined} metadata + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.metadata = null; + + /** + * TaskExecutionClosure eventVersion. + * @member {number} eventVersion + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.eventVersion = 0; + + /** + * TaskExecutionClosure reasons. + * @member {Array.} reasons + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.reasons = $util.emptyArray; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * TaskExecutionClosure outputResult. + * @member {"outputUri"|"error"|"outputData"|undefined} outputResult + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + Object.defineProperty(TaskExecutionClosure.prototype, "outputResult", { + get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new TaskExecutionClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse + * @memberof flyteidl.admin.TaskExecutionClosure * @static - * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesUpdateResponse} ProjectDomainAttributesUpdateResponse instance + * @param {flyteidl.admin.ITaskExecutionClosure=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionClosure} TaskExecutionClosure instance */ - ProjectDomainAttributesUpdateResponse.create = function create(properties) { - return new ProjectDomainAttributesUpdateResponse(properties); + TaskExecutionClosure.create = function create(properties) { + return new TaskExecutionClosure(properties); }; /** - * Encodes the specified ProjectDomainAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateResponse.verify|verify} messages. + * Encodes the specified TaskExecutionClosure message. Does not implicitly {@link flyteidl.admin.TaskExecutionClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse + * @memberof flyteidl.admin.TaskExecutionClosure * @static - * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse} message ProjectDomainAttributesUpdateResponse message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionClosure} message TaskExecutionClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectDomainAttributesUpdateResponse.encode = function encode(message, writer) { + TaskExecutionClosure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.outputUri != null && message.hasOwnProperty("outputUri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.outputUri); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.phase != null && message.hasOwnProperty("phase")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.phase); + if (message.logs != null && message.logs.length) + for (var i = 0; i < message.logs.length; ++i) + $root.flyteidl.core.TaskLog.encode(message.logs[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.startedAt != null && message.hasOwnProperty("startedAt")) + $root.google.protobuf.Timestamp.encode(message.startedAt, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.duration != null && message.hasOwnProperty("duration")) + $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.createdAt != null && message.hasOwnProperty("createdAt")) + $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) + $root.google.protobuf.Timestamp.encode(message.updatedAt, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.customInfo != null && message.hasOwnProperty("customInfo")) + $root.google.protobuf.Struct.encode(message.customInfo, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.reason != null && message.hasOwnProperty("reason")) + writer.uint32(/* id 10, wireType 2 =*/82).string(message.reason); + if (message.taskType != null && message.hasOwnProperty("taskType")) + writer.uint32(/* id 11, wireType 2 =*/90).string(message.taskType); + if (message.outputData != null && message.hasOwnProperty("outputData")) + $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.event.TaskExecutionMetadata.encode(message.metadata, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); + if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) + writer.uint32(/* id 17, wireType 0 =*/136).int32(message.eventVersion); + if (message.reasons != null && message.reasons.length) + for (var i = 0; i < message.reasons.length; ++i) + $root.flyteidl.admin.Reason.encode(message.reasons[i], writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectDomainAttributesUpdateResponse message from the specified reader or buffer. + * Decodes a TaskExecutionClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse + * @memberof flyteidl.admin.TaskExecutionClosure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectDomainAttributesUpdateResponse} ProjectDomainAttributesUpdateResponse + * @returns {flyteidl.admin.TaskExecutionClosure} TaskExecutionClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectDomainAttributesUpdateResponse.decode = function decode(reader, length) { + TaskExecutionClosure.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesUpdateResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionClosure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.outputUri = reader.string(); + break; + case 2: + message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); + break; + case 12: + message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 3: + message.phase = reader.int32(); + break; + case 4: + if (!(message.logs && message.logs.length)) + message.logs = []; + message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32())); + break; + case 5: + message.startedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 6: + message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + case 7: + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 8: + message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 9: + message.customInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + case 10: + message.reason = reader.string(); + break; + case 11: + message.taskType = reader.string(); + break; + case 16: + message.metadata = $root.flyteidl.event.TaskExecutionMetadata.decode(reader, reader.uint32()); + break; + case 17: + message.eventVersion = reader.int32(); + break; + case 18: + if (!(message.reasons && message.reasons.length)) + message.reasons = []; + message.reasons.push($root.flyteidl.admin.Reason.decode(reader, reader.uint32())); + break; default: reader.skipType(tag & 7); break; @@ -46000,43 +45403,138 @@ }; /** - * Verifies a ProjectDomainAttributesUpdateResponse message. + * Verifies a TaskExecutionClosure message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse + * @memberof flyteidl.admin.TaskExecutionClosure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectDomainAttributesUpdateResponse.verify = function verify(message) { + TaskExecutionClosure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + var properties = {}; + if (message.outputUri != null && message.hasOwnProperty("outputUri")) { + properties.outputResult = 1; + if (!$util.isString(message.outputUri)) + return "outputUri: string expected"; + } + if (message.error != null && message.hasOwnProperty("error")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.core.ExecutionError.verify(message.error); + if (error) + return "error." + error; + } + } + if (message.outputData != null && message.hasOwnProperty("outputData")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); + if (error) + return "outputData." + error; + } + } + if (message.phase != null && message.hasOwnProperty("phase")) + switch (message.phase) { + default: + return "phase: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break; + } + if (message.logs != null && message.hasOwnProperty("logs")) { + if (!Array.isArray(message.logs)) + return "logs: array expected"; + for (var i = 0; i < message.logs.length; ++i) { + var error = $root.flyteidl.core.TaskLog.verify(message.logs[i]); + if (error) + return "logs." + error; + } + } + if (message.startedAt != null && message.hasOwnProperty("startedAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.startedAt); + if (error) + return "startedAt." + error; + } + if (message.duration != null && message.hasOwnProperty("duration")) { + var error = $root.google.protobuf.Duration.verify(message.duration); + if (error) + return "duration." + error; + } + if (message.createdAt != null && message.hasOwnProperty("createdAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.createdAt); + if (error) + return "createdAt." + error; + } + if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.updatedAt); + if (error) + return "updatedAt." + error; + } + if (message.customInfo != null && message.hasOwnProperty("customInfo")) { + var error = $root.google.protobuf.Struct.verify(message.customInfo); + if (error) + return "customInfo." + error; + } + if (message.reason != null && message.hasOwnProperty("reason")) + if (!$util.isString(message.reason)) + return "reason: string expected"; + if (message.taskType != null && message.hasOwnProperty("taskType")) + if (!$util.isString(message.taskType)) + return "taskType: string expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.event.TaskExecutionMetadata.verify(message.metadata); + if (error) + return "metadata." + error; + } + if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) + if (!$util.isInteger(message.eventVersion)) + return "eventVersion: integer expected"; + if (message.reasons != null && message.hasOwnProperty("reasons")) { + if (!Array.isArray(message.reasons)) + return "reasons: array expected"; + for (var i = 0; i < message.reasons.length; ++i) { + var error = $root.flyteidl.admin.Reason.verify(message.reasons[i]); + if (error) + return "reasons." + error; + } + } return null; }; - return ProjectDomainAttributesUpdateResponse; + return TaskExecutionClosure; })(); - admin.ProjectDomainAttributesGetRequest = (function() { + admin.Reason = (function() { /** - * Properties of a ProjectDomainAttributesGetRequest. + * Properties of a Reason. * @memberof flyteidl.admin - * @interface IProjectDomainAttributesGetRequest - * @property {string|null} [project] ProjectDomainAttributesGetRequest project - * @property {string|null} [domain] ProjectDomainAttributesGetRequest domain - * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectDomainAttributesGetRequest resourceType - * @property {string|null} [org] ProjectDomainAttributesGetRequest org + * @interface IReason + * @property {google.protobuf.ITimestamp|null} [occurredAt] Reason occurredAt + * @property {string|null} [message] Reason message */ /** - * Constructs a new ProjectDomainAttributesGetRequest. + * Constructs a new Reason. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesGetRequest. - * @implements IProjectDomainAttributesGetRequest + * @classdesc Represents a Reason. + * @implements IReason * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IReason=} [properties] Properties to set */ - function ProjectDomainAttributesGetRequest(properties) { + function Reason(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -46044,101 +45542,75 @@ } /** - * ProjectDomainAttributesGetRequest project. - * @member {string} project - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest - * @instance - */ - ProjectDomainAttributesGetRequest.prototype.project = ""; - - /** - * ProjectDomainAttributesGetRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest - * @instance - */ - ProjectDomainAttributesGetRequest.prototype.domain = ""; - - /** - * ProjectDomainAttributesGetRequest resourceType. - * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * Reason occurredAt. + * @member {google.protobuf.ITimestamp|null|undefined} occurredAt + * @memberof flyteidl.admin.Reason * @instance */ - ProjectDomainAttributesGetRequest.prototype.resourceType = 0; + Reason.prototype.occurredAt = null; /** - * ProjectDomainAttributesGetRequest org. - * @member {string} org - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * Reason message. + * @member {string} message + * @memberof flyteidl.admin.Reason * @instance */ - ProjectDomainAttributesGetRequest.prototype.org = ""; + Reason.prototype.message = ""; /** - * Creates a new ProjectDomainAttributesGetRequest instance using the specified properties. + * Creates a new Reason instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @memberof flyteidl.admin.Reason * @static - * @param {flyteidl.admin.IProjectDomainAttributesGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesGetRequest} ProjectDomainAttributesGetRequest instance + * @param {flyteidl.admin.IReason=} [properties] Properties to set + * @returns {flyteidl.admin.Reason} Reason instance */ - ProjectDomainAttributesGetRequest.create = function create(properties) { - return new ProjectDomainAttributesGetRequest(properties); + Reason.create = function create(properties) { + return new Reason(properties); }; /** - * Encodes the specified ProjectDomainAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetRequest.verify|verify} messages. + * Encodes the specified Reason message. Does not implicitly {@link flyteidl.admin.Reason.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @memberof flyteidl.admin.Reason * @static - * @param {flyteidl.admin.IProjectDomainAttributesGetRequest} message ProjectDomainAttributesGetRequest message or plain object to encode + * @param {flyteidl.admin.IReason} message Reason message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectDomainAttributesGetRequest.encode = function encode(message, writer) { + Reason.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.resourceType); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.org); + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) + $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.message != null && message.hasOwnProperty("message")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); return writer; }; /** - * Decodes a ProjectDomainAttributesGetRequest message from the specified reader or buffer. + * Decodes a Reason message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @memberof flyteidl.admin.Reason * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectDomainAttributesGetRequest} ProjectDomainAttributesGetRequest + * @returns {flyteidl.admin.Reason} Reason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectDomainAttributesGetRequest.decode = function decode(reader, length) { + Reason.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesGetRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Reason(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); + message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; case 2: - message.domain = reader.string(); - break; - case 3: - message.resourceType = reader.int32(); - break; - case 4: - message.org = reader.string(); + message.message = reader.string(); break; default: reader.skipType(tag & 7); @@ -46149,63 +45621,48 @@ }; /** - * Verifies a ProjectDomainAttributesGetRequest message. + * Verifies a Reason message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesGetRequest + * @memberof flyteidl.admin.Reason * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectDomainAttributesGetRequest.verify = function verify(message) { + Reason.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { - default: - return "resourceType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - break; - } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); + if (error) + return "occurredAt." + error; + } + if (message.message != null && message.hasOwnProperty("message")) + if (!$util.isString(message.message)) + return "message: string expected"; return null; }; - return ProjectDomainAttributesGetRequest; + return Reason; })(); - admin.ProjectDomainAttributesGetResponse = (function() { + admin.TaskExecutionGetDataRequest = (function() { /** - * Properties of a ProjectDomainAttributesGetResponse. + * Properties of a TaskExecutionGetDataRequest. * @memberof flyteidl.admin - * @interface IProjectDomainAttributesGetResponse - * @property {flyteidl.admin.IProjectDomainAttributes|null} [attributes] ProjectDomainAttributesGetResponse attributes + * @interface ITaskExecutionGetDataRequest + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetDataRequest id */ /** - * Constructs a new ProjectDomainAttributesGetResponse. + * Constructs a new TaskExecutionGetDataRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesGetResponse. - * @implements IProjectDomainAttributesGetResponse + * @classdesc Represents a TaskExecutionGetDataRequest. + * @implements ITaskExecutionGetDataRequest * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesGetResponse=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set */ - function ProjectDomainAttributesGetResponse(properties) { + function TaskExecutionGetDataRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -46213,62 +45670,62 @@ } /** - * ProjectDomainAttributesGetResponse attributes. - * @member {flyteidl.admin.IProjectDomainAttributes|null|undefined} attributes - * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse + * TaskExecutionGetDataRequest id. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @instance */ - ProjectDomainAttributesGetResponse.prototype.attributes = null; + TaskExecutionGetDataRequest.prototype.id = null; /** - * Creates a new ProjectDomainAttributesGetResponse instance using the specified properties. + * Creates a new TaskExecutionGetDataRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @static - * @param {flyteidl.admin.IProjectDomainAttributesGetResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesGetResponse} ProjectDomainAttributesGetResponse instance + * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest instance */ - ProjectDomainAttributesGetResponse.create = function create(properties) { - return new ProjectDomainAttributesGetResponse(properties); + TaskExecutionGetDataRequest.create = function create(properties) { + return new TaskExecutionGetDataRequest(properties); }; /** - * Encodes the specified ProjectDomainAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetResponse.verify|verify} messages. + * Encodes the specified TaskExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @static - * @param {flyteidl.admin.IProjectDomainAttributesGetResponse} message ProjectDomainAttributesGetResponse message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionGetDataRequest} message TaskExecutionGetDataRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectDomainAttributesGetResponse.encode = function encode(message, writer) { + TaskExecutionGetDataRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.attributes != null && message.hasOwnProperty("attributes")) - $root.flyteidl.admin.ProjectDomainAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectDomainAttributesGetResponse message from the specified reader or buffer. + * Decodes a TaskExecutionGetDataRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectDomainAttributesGetResponse} ProjectDomainAttributesGetResponse + * @returns {flyteidl.admin.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectDomainAttributesGetResponse.decode = function decode(reader, length) { + TaskExecutionGetDataRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesGetResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionGetDataRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.attributes = $root.flyteidl.admin.ProjectDomainAttributes.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -46279,48 +45736,49 @@ }; /** - * Verifies a ProjectDomainAttributesGetResponse message. + * Verifies a TaskExecutionGetDataRequest message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesGetResponse + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectDomainAttributesGetResponse.verify = function verify(message) { + TaskExecutionGetDataRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.attributes != null && message.hasOwnProperty("attributes")) { - var error = $root.flyteidl.admin.ProjectDomainAttributes.verify(message.attributes); + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); if (error) - return "attributes." + error; + return "id." + error; } return null; }; - return ProjectDomainAttributesGetResponse; + return TaskExecutionGetDataRequest; })(); - admin.ProjectDomainAttributesDeleteRequest = (function() { + admin.TaskExecutionGetDataResponse = (function() { /** - * Properties of a ProjectDomainAttributesDeleteRequest. + * Properties of a TaskExecutionGetDataResponse. * @memberof flyteidl.admin - * @interface IProjectDomainAttributesDeleteRequest - * @property {string|null} [project] ProjectDomainAttributesDeleteRequest project - * @property {string|null} [domain] ProjectDomainAttributesDeleteRequest domain - * @property {flyteidl.admin.MatchableResource|null} [resourceType] ProjectDomainAttributesDeleteRequest resourceType - * @property {string|null} [org] ProjectDomainAttributesDeleteRequest org + * @interface ITaskExecutionGetDataResponse + * @property {flyteidl.admin.IUrlBlob|null} [inputs] TaskExecutionGetDataResponse inputs + * @property {flyteidl.admin.IUrlBlob|null} [outputs] TaskExecutionGetDataResponse outputs + * @property {flyteidl.core.ILiteralMap|null} [fullInputs] TaskExecutionGetDataResponse fullInputs + * @property {flyteidl.core.ILiteralMap|null} [fullOutputs] TaskExecutionGetDataResponse fullOutputs + * @property {flyteidl.admin.IFlyteURLs|null} [flyteUrls] TaskExecutionGetDataResponse flyteUrls */ /** - * Constructs a new ProjectDomainAttributesDeleteRequest. + * Constructs a new TaskExecutionGetDataResponse. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesDeleteRequest. - * @implements IProjectDomainAttributesDeleteRequest + * @classdesc Represents a TaskExecutionGetDataResponse. + * @implements ITaskExecutionGetDataResponse * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionGetDataResponse=} [properties] Properties to set */ - function ProjectDomainAttributesDeleteRequest(properties) { + function TaskExecutionGetDataResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -46328,101 +45786,114 @@ } /** - * ProjectDomainAttributesDeleteRequest project. - * @member {string} project - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * TaskExecutionGetDataResponse inputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @instance */ - ProjectDomainAttributesDeleteRequest.prototype.project = ""; + TaskExecutionGetDataResponse.prototype.inputs = null; /** - * ProjectDomainAttributesDeleteRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * TaskExecutionGetDataResponse outputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @instance */ - ProjectDomainAttributesDeleteRequest.prototype.domain = ""; + TaskExecutionGetDataResponse.prototype.outputs = null; /** - * ProjectDomainAttributesDeleteRequest resourceType. - * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * TaskExecutionGetDataResponse fullInputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} fullInputs + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @instance */ - ProjectDomainAttributesDeleteRequest.prototype.resourceType = 0; + TaskExecutionGetDataResponse.prototype.fullInputs = null; /** - * ProjectDomainAttributesDeleteRequest org. - * @member {string} org - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * TaskExecutionGetDataResponse fullOutputs. + * @member {flyteidl.core.ILiteralMap|null|undefined} fullOutputs + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @instance */ - ProjectDomainAttributesDeleteRequest.prototype.org = ""; + TaskExecutionGetDataResponse.prototype.fullOutputs = null; /** - * Creates a new ProjectDomainAttributesDeleteRequest instance using the specified properties. + * TaskExecutionGetDataResponse flyteUrls. + * @member {flyteidl.admin.IFlyteURLs|null|undefined} flyteUrls + * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @instance + */ + TaskExecutionGetDataResponse.prototype.flyteUrls = null; + + /** + * Creates a new TaskExecutionGetDataResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @static - * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesDeleteRequest} ProjectDomainAttributesDeleteRequest instance + * @param {flyteidl.admin.ITaskExecutionGetDataResponse=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionGetDataResponse} TaskExecutionGetDataResponse instance */ - ProjectDomainAttributesDeleteRequest.create = function create(properties) { - return new ProjectDomainAttributesDeleteRequest(properties); + TaskExecutionGetDataResponse.create = function create(properties) { + return new TaskExecutionGetDataResponse(properties); }; /** - * Encodes the specified ProjectDomainAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteRequest.verify|verify} messages. + * Encodes the specified TaskExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @static - * @param {flyteidl.admin.IProjectDomainAttributesDeleteRequest} message ProjectDomainAttributesDeleteRequest message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionGetDataResponse} message TaskExecutionGetDataResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectDomainAttributesDeleteRequest.encode = function encode(message, writer) { + TaskExecutionGetDataResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.resourceType); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.org); + if (message.inputs != null && message.hasOwnProperty("inputs")) + $root.flyteidl.admin.UrlBlob.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.outputs != null && message.hasOwnProperty("outputs")) + $root.flyteidl.admin.UrlBlob.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) + $root.flyteidl.core.LiteralMap.encode(message.fullInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) + $root.flyteidl.core.LiteralMap.encode(message.fullOutputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) + $root.flyteidl.admin.FlyteURLs.encode(message.flyteUrls, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectDomainAttributesDeleteRequest message from the specified reader or buffer. + * Decodes a TaskExecutionGetDataResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectDomainAttributesDeleteRequest} ProjectDomainAttributesDeleteRequest + * @returns {flyteidl.admin.TaskExecutionGetDataResponse} TaskExecutionGetDataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectDomainAttributesDeleteRequest.decode = function decode(reader, length) { + TaskExecutionGetDataResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesDeleteRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionGetDataResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); + message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); break; case 2: - message.domain = reader.string(); + message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); break; case 3: - message.resourceType = reader.int32(); + message.fullInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; case 4: - message.org = reader.string(); + message.fullOutputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 5: + message.flyteUrls = $root.flyteidl.admin.FlyteURLs.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -46433,62 +45904,65 @@ }; /** - * Verifies a ProjectDomainAttributesDeleteRequest message. + * Verifies a TaskExecutionGetDataResponse message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteRequest + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectDomainAttributesDeleteRequest.verify = function verify(message) { + TaskExecutionGetDataResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { - default: - return "resourceType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - break; - } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; + if (message.inputs != null && message.hasOwnProperty("inputs")) { + var error = $root.flyteidl.admin.UrlBlob.verify(message.inputs); + if (error) + return "inputs." + error; + } + if (message.outputs != null && message.hasOwnProperty("outputs")) { + var error = $root.flyteidl.admin.UrlBlob.verify(message.outputs); + if (error) + return "outputs." + error; + } + if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.fullInputs); + if (error) + return "fullInputs." + error; + } + if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.fullOutputs); + if (error) + return "fullOutputs." + error; + } + if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) { + var error = $root.flyteidl.admin.FlyteURLs.verify(message.flyteUrls); + if (error) + return "flyteUrls." + error; + } return null; }; - return ProjectDomainAttributesDeleteRequest; + return TaskExecutionGetDataResponse; })(); - admin.ProjectDomainAttributesDeleteResponse = (function() { + admin.GetVersionResponse = (function() { /** - * Properties of a ProjectDomainAttributesDeleteResponse. + * Properties of a GetVersionResponse. * @memberof flyteidl.admin - * @interface IProjectDomainAttributesDeleteResponse + * @interface IGetVersionResponse + * @property {flyteidl.admin.IVersion|null} [controlPlaneVersion] GetVersionResponse controlPlaneVersion */ /** - * Constructs a new ProjectDomainAttributesDeleteResponse. + * Constructs a new GetVersionResponse. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesDeleteResponse. - * @implements IProjectDomainAttributesDeleteResponse + * @classdesc Represents a GetVersionResponse. + * @implements IGetVersionResponse * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesDeleteResponse=} [properties] Properties to set + * @param {flyteidl.admin.IGetVersionResponse=} [properties] Properties to set */ - function ProjectDomainAttributesDeleteResponse(properties) { + function GetVersionResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -46496,50 +45970,63 @@ } /** - * Creates a new ProjectDomainAttributesDeleteResponse instance using the specified properties. + * GetVersionResponse controlPlaneVersion. + * @member {flyteidl.admin.IVersion|null|undefined} controlPlaneVersion + * @memberof flyteidl.admin.GetVersionResponse + * @instance + */ + GetVersionResponse.prototype.controlPlaneVersion = null; + + /** + * Creates a new GetVersionResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse + * @memberof flyteidl.admin.GetVersionResponse * @static - * @param {flyteidl.admin.IProjectDomainAttributesDeleteResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesDeleteResponse} ProjectDomainAttributesDeleteResponse instance + * @param {flyteidl.admin.IGetVersionResponse=} [properties] Properties to set + * @returns {flyteidl.admin.GetVersionResponse} GetVersionResponse instance */ - ProjectDomainAttributesDeleteResponse.create = function create(properties) { - return new ProjectDomainAttributesDeleteResponse(properties); + GetVersionResponse.create = function create(properties) { + return new GetVersionResponse(properties); }; /** - * Encodes the specified ProjectDomainAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteResponse.verify|verify} messages. + * Encodes the specified GetVersionResponse message. Does not implicitly {@link flyteidl.admin.GetVersionResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse + * @memberof flyteidl.admin.GetVersionResponse * @static - * @param {flyteidl.admin.IProjectDomainAttributesDeleteResponse} message ProjectDomainAttributesDeleteResponse message or plain object to encode + * @param {flyteidl.admin.IGetVersionResponse} message GetVersionResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectDomainAttributesDeleteResponse.encode = function encode(message, writer) { + GetVersionResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.controlPlaneVersion != null && message.hasOwnProperty("controlPlaneVersion")) + $root.flyteidl.admin.Version.encode(message.controlPlaneVersion, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectDomainAttributesDeleteResponse message from the specified reader or buffer. + * Decodes a GetVersionResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse + * @memberof flyteidl.admin.GetVersionResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectDomainAttributesDeleteResponse} ProjectDomainAttributesDeleteResponse + * @returns {flyteidl.admin.GetVersionResponse} GetVersionResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectDomainAttributesDeleteResponse.decode = function decode(reader, length) { + GetVersionResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesDeleteResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.GetVersionResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.controlPlaneVersion = $root.flyteidl.admin.Version.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -46549,41 +46036,47 @@ }; /** - * Verifies a ProjectDomainAttributesDeleteResponse message. + * Verifies a GetVersionResponse message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesDeleteResponse + * @memberof flyteidl.admin.GetVersionResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectDomainAttributesDeleteResponse.verify = function verify(message) { + GetVersionResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.controlPlaneVersion != null && message.hasOwnProperty("controlPlaneVersion")) { + var error = $root.flyteidl.admin.Version.verify(message.controlPlaneVersion); + if (error) + return "controlPlaneVersion." + error; + } return null; }; - return ProjectDomainAttributesDeleteResponse; + return GetVersionResponse; })(); - admin.SignalGetOrCreateRequest = (function() { + admin.Version = (function() { /** - * Properties of a SignalGetOrCreateRequest. + * Properties of a Version. * @memberof flyteidl.admin - * @interface ISignalGetOrCreateRequest - * @property {flyteidl.core.ISignalIdentifier|null} [id] SignalGetOrCreateRequest id - * @property {flyteidl.core.ILiteralType|null} [type] SignalGetOrCreateRequest type + * @interface IVersion + * @property {string|null} [Build] Version Build + * @property {string|null} [Version] Version Version + * @property {string|null} [BuildTime] Version BuildTime */ /** - * Constructs a new SignalGetOrCreateRequest. + * Constructs a new Version. * @memberof flyteidl.admin - * @classdesc Represents a SignalGetOrCreateRequest. - * @implements ISignalGetOrCreateRequest + * @classdesc Represents a Version. + * @implements IVersion * @constructor - * @param {flyteidl.admin.ISignalGetOrCreateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IVersion=} [properties] Properties to set */ - function SignalGetOrCreateRequest(properties) { + function Version(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -46591,75 +46084,88 @@ } /** - * SignalGetOrCreateRequest id. - * @member {flyteidl.core.ISignalIdentifier|null|undefined} id - * @memberof flyteidl.admin.SignalGetOrCreateRequest + * Version Build. + * @member {string} Build + * @memberof flyteidl.admin.Version + * @instance + */ + Version.prototype.Build = ""; + + /** + * Version Version. + * @member {string} Version + * @memberof flyteidl.admin.Version * @instance */ - SignalGetOrCreateRequest.prototype.id = null; + Version.prototype.Version = ""; /** - * SignalGetOrCreateRequest type. - * @member {flyteidl.core.ILiteralType|null|undefined} type - * @memberof flyteidl.admin.SignalGetOrCreateRequest + * Version BuildTime. + * @member {string} BuildTime + * @memberof flyteidl.admin.Version * @instance */ - SignalGetOrCreateRequest.prototype.type = null; + Version.prototype.BuildTime = ""; /** - * Creates a new SignalGetOrCreateRequest instance using the specified properties. + * Creates a new Version instance using the specified properties. * @function create - * @memberof flyteidl.admin.SignalGetOrCreateRequest + * @memberof flyteidl.admin.Version * @static - * @param {flyteidl.admin.ISignalGetOrCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.SignalGetOrCreateRequest} SignalGetOrCreateRequest instance + * @param {flyteidl.admin.IVersion=} [properties] Properties to set + * @returns {flyteidl.admin.Version} Version instance */ - SignalGetOrCreateRequest.create = function create(properties) { - return new SignalGetOrCreateRequest(properties); + Version.create = function create(properties) { + return new Version(properties); }; /** - * Encodes the specified SignalGetOrCreateRequest message. Does not implicitly {@link flyteidl.admin.SignalGetOrCreateRequest.verify|verify} messages. + * Encodes the specified Version message. Does not implicitly {@link flyteidl.admin.Version.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SignalGetOrCreateRequest + * @memberof flyteidl.admin.Version * @static - * @param {flyteidl.admin.ISignalGetOrCreateRequest} message SignalGetOrCreateRequest message or plain object to encode + * @param {flyteidl.admin.IVersion} message Version message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SignalGetOrCreateRequest.encode = function encode(message, writer) { + Version.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.SignalIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.type != null && message.hasOwnProperty("type")) - $root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.Build != null && message.hasOwnProperty("Build")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.Build); + if (message.Version != null && message.hasOwnProperty("Version")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.Version); + if (message.BuildTime != null && message.hasOwnProperty("BuildTime")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.BuildTime); return writer; }; /** - * Decodes a SignalGetOrCreateRequest message from the specified reader or buffer. + * Decodes a Version message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SignalGetOrCreateRequest + * @memberof flyteidl.admin.Version * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.SignalGetOrCreateRequest} SignalGetOrCreateRequest + * @returns {flyteidl.admin.Version} Version * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SignalGetOrCreateRequest.decode = function decode(reader, length) { + Version.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalGetOrCreateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Version(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32()); + message.Build = reader.string(); break; case 2: - message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); + message.Version = reader.string(); + break; + case 3: + message.BuildTime = reader.string(); break; default: reader.skipType(tag & 7); @@ -46670,54 +46176,48 @@ }; /** - * Verifies a SignalGetOrCreateRequest message. + * Verifies a Version message. * @function verify - * @memberof flyteidl.admin.SignalGetOrCreateRequest + * @memberof flyteidl.admin.Version * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SignalGetOrCreateRequest.verify = function verify(message) { + Version.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.SignalIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.type != null && message.hasOwnProperty("type")) { - var error = $root.flyteidl.core.LiteralType.verify(message.type); - if (error) - return "type." + error; - } + if (message.Build != null && message.hasOwnProperty("Build")) + if (!$util.isString(message.Build)) + return "Build: string expected"; + if (message.Version != null && message.hasOwnProperty("Version")) + if (!$util.isString(message.Version)) + return "Version: string expected"; + if (message.BuildTime != null && message.hasOwnProperty("BuildTime")) + if (!$util.isString(message.BuildTime)) + return "BuildTime: string expected"; return null; }; - return SignalGetOrCreateRequest; + return Version; })(); - admin.SignalListRequest = (function() { + admin.GetVersionRequest = (function() { /** - * Properties of a SignalListRequest. + * Properties of a GetVersionRequest. * @memberof flyteidl.admin - * @interface ISignalListRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowExecutionId] SignalListRequest workflowExecutionId - * @property {number|null} [limit] SignalListRequest limit - * @property {string|null} [token] SignalListRequest token - * @property {string|null} [filters] SignalListRequest filters - * @property {flyteidl.admin.ISort|null} [sortBy] SignalListRequest sortBy + * @interface IGetVersionRequest */ /** - * Constructs a new SignalListRequest. + * Constructs a new GetVersionRequest. * @memberof flyteidl.admin - * @classdesc Represents a SignalListRequest. - * @implements ISignalListRequest + * @classdesc Represents a GetVersionRequest. + * @implements IGetVersionRequest * @constructor - * @param {flyteidl.admin.ISignalListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IGetVersionRequest=} [properties] Properties to set */ - function SignalListRequest(properties) { + function GetVersionRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -46725,115 +46225,50 @@ } /** - * SignalListRequest workflowExecutionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowExecutionId - * @memberof flyteidl.admin.SignalListRequest - * @instance - */ - SignalListRequest.prototype.workflowExecutionId = null; - - /** - * SignalListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.SignalListRequest - * @instance - */ - SignalListRequest.prototype.limit = 0; - - /** - * SignalListRequest token. - * @member {string} token - * @memberof flyteidl.admin.SignalListRequest - * @instance - */ - SignalListRequest.prototype.token = ""; - - /** - * SignalListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.SignalListRequest - * @instance - */ - SignalListRequest.prototype.filters = ""; - - /** - * SignalListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.SignalListRequest - * @instance - */ - SignalListRequest.prototype.sortBy = null; - - /** - * Creates a new SignalListRequest instance using the specified properties. + * Creates a new GetVersionRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.SignalListRequest + * @memberof flyteidl.admin.GetVersionRequest * @static - * @param {flyteidl.admin.ISignalListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.SignalListRequest} SignalListRequest instance + * @param {flyteidl.admin.IGetVersionRequest=} [properties] Properties to set + * @returns {flyteidl.admin.GetVersionRequest} GetVersionRequest instance */ - SignalListRequest.create = function create(properties) { - return new SignalListRequest(properties); + GetVersionRequest.create = function create(properties) { + return new GetVersionRequest(properties); }; /** - * Encodes the specified SignalListRequest message. Does not implicitly {@link flyteidl.admin.SignalListRequest.verify|verify} messages. + * Encodes the specified GetVersionRequest message. Does not implicitly {@link flyteidl.admin.GetVersionRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SignalListRequest + * @memberof flyteidl.admin.GetVersionRequest * @static - * @param {flyteidl.admin.ISignalListRequest} message SignalListRequest message or plain object to encode + * @param {flyteidl.admin.IGetVersionRequest} message GetVersionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SignalListRequest.encode = function encode(message, writer) { + GetVersionRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); - if (message.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); - if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes a SignalListRequest message from the specified reader or buffer. + * Decodes a GetVersionRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SignalListRequest + * @memberof flyteidl.admin.GetVersionRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.SignalListRequest} SignalListRequest + * @returns {flyteidl.admin.GetVersionRequest} GetVersionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SignalListRequest.decode = function decode(reader, length) { + GetVersionRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalListRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.GetVersionRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 2: - message.limit = reader.uint32(); - break; - case 3: - message.token = reader.string(); - break; - case 4: - message.filters = reader.string(); - break; - case 5: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -46843,61 +46278,41 @@ }; /** - * Verifies a SignalListRequest message. + * Verifies a GetVersionRequest message. * @function verify - * @memberof flyteidl.admin.SignalListRequest + * @memberof flyteidl.admin.GetVersionRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SignalListRequest.verify = function verify(message) { + GetVersionRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowExecutionId); - if (error) - return "workflowExecutionId." + error; - } - if (message.limit != null && message.hasOwnProperty("limit")) - if (!$util.isInteger(message.limit)) - return "limit: integer expected"; - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; - if (message.sortBy != null && message.hasOwnProperty("sortBy")) { - var error = $root.flyteidl.admin.Sort.verify(message.sortBy); - if (error) - return "sortBy." + error; - } return null; }; - return SignalListRequest; + return GetVersionRequest; })(); - admin.SignalList = (function() { + admin.WorkflowCreateRequest = (function() { /** - * Properties of a SignalList. + * Properties of a WorkflowCreateRequest. * @memberof flyteidl.admin - * @interface ISignalList - * @property {Array.|null} [signals] SignalList signals - * @property {string|null} [token] SignalList token + * @interface IWorkflowCreateRequest + * @property {flyteidl.core.IIdentifier|null} [id] WorkflowCreateRequest id + * @property {flyteidl.admin.IWorkflowSpec|null} [spec] WorkflowCreateRequest spec */ /** - * Constructs a new SignalList. + * Constructs a new WorkflowCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents a SignalList. - * @implements ISignalList + * @classdesc Represents a WorkflowCreateRequest. + * @implements IWorkflowCreateRequest * @constructor - * @param {flyteidl.admin.ISignalList=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowCreateRequest=} [properties] Properties to set */ - function SignalList(properties) { - this.signals = []; + function WorkflowCreateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -46905,78 +46320,75 @@ } /** - * SignalList signals. - * @member {Array.} signals - * @memberof flyteidl.admin.SignalList + * WorkflowCreateRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.WorkflowCreateRequest * @instance */ - SignalList.prototype.signals = $util.emptyArray; + WorkflowCreateRequest.prototype.id = null; /** - * SignalList token. - * @member {string} token - * @memberof flyteidl.admin.SignalList + * WorkflowCreateRequest spec. + * @member {flyteidl.admin.IWorkflowSpec|null|undefined} spec + * @memberof flyteidl.admin.WorkflowCreateRequest * @instance */ - SignalList.prototype.token = ""; + WorkflowCreateRequest.prototype.spec = null; /** - * Creates a new SignalList instance using the specified properties. + * Creates a new WorkflowCreateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.SignalList + * @memberof flyteidl.admin.WorkflowCreateRequest * @static - * @param {flyteidl.admin.ISignalList=} [properties] Properties to set - * @returns {flyteidl.admin.SignalList} SignalList instance + * @param {flyteidl.admin.IWorkflowCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowCreateRequest} WorkflowCreateRequest instance */ - SignalList.create = function create(properties) { - return new SignalList(properties); + WorkflowCreateRequest.create = function create(properties) { + return new WorkflowCreateRequest(properties); }; /** - * Encodes the specified SignalList message. Does not implicitly {@link flyteidl.admin.SignalList.verify|verify} messages. + * Encodes the specified WorkflowCreateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowCreateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SignalList + * @memberof flyteidl.admin.WorkflowCreateRequest * @static - * @param {flyteidl.admin.ISignalList} message SignalList message or plain object to encode + * @param {flyteidl.admin.IWorkflowCreateRequest} message WorkflowCreateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SignalList.encode = function encode(message, writer) { + WorkflowCreateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.signals != null && message.signals.length) - for (var i = 0; i < message.signals.length; ++i) - $root.flyteidl.admin.Signal.encode(message.signals[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.spec != null && message.hasOwnProperty("spec")) + $root.flyteidl.admin.WorkflowSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a SignalList message from the specified reader or buffer. + * Decodes a WorkflowCreateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SignalList + * @memberof flyteidl.admin.WorkflowCreateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.SignalList} SignalList + * @returns {flyteidl.admin.WorkflowCreateRequest} WorkflowCreateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SignalList.decode = function decode(reader, length) { + WorkflowCreateRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalList(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowCreateRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.signals && message.signals.length)) - message.signals = []; - message.signals.push($root.flyteidl.admin.Signal.decode(reader, reader.uint32())); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.token = reader.string(); + message.spec = $root.flyteidl.admin.WorkflowSpec.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -46987,53 +46399,49 @@ }; /** - * Verifies a SignalList message. + * Verifies a WorkflowCreateRequest message. * @function verify - * @memberof flyteidl.admin.SignalList + * @memberof flyteidl.admin.WorkflowCreateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SignalList.verify = function verify(message) { + WorkflowCreateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.signals != null && message.hasOwnProperty("signals")) { - if (!Array.isArray(message.signals)) - return "signals: array expected"; - for (var i = 0; i < message.signals.length; ++i) { - var error = $root.flyteidl.admin.Signal.verify(message.signals[i]); - if (error) - return "signals." + error; - } + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.spec != null && message.hasOwnProperty("spec")) { + var error = $root.flyteidl.admin.WorkflowSpec.verify(message.spec); + if (error) + return "spec." + error; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return SignalList; + return WorkflowCreateRequest; })(); - admin.SignalSetRequest = (function() { + admin.WorkflowCreateResponse = (function() { /** - * Properties of a SignalSetRequest. + * Properties of a WorkflowCreateResponse. * @memberof flyteidl.admin - * @interface ISignalSetRequest - * @property {flyteidl.core.ISignalIdentifier|null} [id] SignalSetRequest id - * @property {flyteidl.core.ILiteral|null} [value] SignalSetRequest value + * @interface IWorkflowCreateResponse */ /** - * Constructs a new SignalSetRequest. + * Constructs a new WorkflowCreateResponse. * @memberof flyteidl.admin - * @classdesc Represents a SignalSetRequest. - * @implements ISignalSetRequest + * @classdesc Represents a WorkflowCreateResponse. + * @implements IWorkflowCreateResponse * @constructor - * @param {flyteidl.admin.ISignalSetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowCreateResponse=} [properties] Properties to set */ - function SignalSetRequest(properties) { + function WorkflowCreateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47041,76 +46449,50 @@ } /** - * SignalSetRequest id. - * @member {flyteidl.core.ISignalIdentifier|null|undefined} id - * @memberof flyteidl.admin.SignalSetRequest - * @instance - */ - SignalSetRequest.prototype.id = null; - - /** - * SignalSetRequest value. - * @member {flyteidl.core.ILiteral|null|undefined} value - * @memberof flyteidl.admin.SignalSetRequest - * @instance - */ - SignalSetRequest.prototype.value = null; - - /** - * Creates a new SignalSetRequest instance using the specified properties. + * Creates a new WorkflowCreateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.SignalSetRequest + * @memberof flyteidl.admin.WorkflowCreateResponse * @static - * @param {flyteidl.admin.ISignalSetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.SignalSetRequest} SignalSetRequest instance + * @param {flyteidl.admin.IWorkflowCreateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowCreateResponse} WorkflowCreateResponse instance */ - SignalSetRequest.create = function create(properties) { - return new SignalSetRequest(properties); + WorkflowCreateResponse.create = function create(properties) { + return new WorkflowCreateResponse(properties); }; /** - * Encodes the specified SignalSetRequest message. Does not implicitly {@link flyteidl.admin.SignalSetRequest.verify|verify} messages. + * Encodes the specified WorkflowCreateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowCreateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SignalSetRequest + * @memberof flyteidl.admin.WorkflowCreateResponse * @static - * @param {flyteidl.admin.ISignalSetRequest} message SignalSetRequest message or plain object to encode + * @param {flyteidl.admin.IWorkflowCreateResponse} message WorkflowCreateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SignalSetRequest.encode = function encode(message, writer) { + WorkflowCreateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.SignalIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.value != null && message.hasOwnProperty("value")) - $root.flyteidl.core.Literal.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a SignalSetRequest message from the specified reader or buffer. + * Decodes a WorkflowCreateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SignalSetRequest + * @memberof flyteidl.admin.WorkflowCreateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.SignalSetRequest} SignalSetRequest + * @returns {flyteidl.admin.WorkflowCreateResponse} WorkflowCreateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SignalSetRequest.decode = function decode(reader, length) { + WorkflowCreateResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalSetRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowCreateResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32()); - break; - case 2: - message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -47120,49 +46502,42 @@ }; /** - * Verifies a SignalSetRequest message. + * Verifies a WorkflowCreateResponse message. * @function verify - * @memberof flyteidl.admin.SignalSetRequest + * @memberof flyteidl.admin.WorkflowCreateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SignalSetRequest.verify = function verify(message) { + WorkflowCreateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.SignalIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.flyteidl.core.Literal.verify(message.value); - if (error) - return "value." + error; - } return null; }; - return SignalSetRequest; + return WorkflowCreateResponse; })(); - admin.SignalSetResponse = (function() { + admin.Workflow = (function() { /** - * Properties of a SignalSetResponse. + * Properties of a Workflow. * @memberof flyteidl.admin - * @interface ISignalSetResponse + * @interface IWorkflow + * @property {flyteidl.core.IIdentifier|null} [id] Workflow id + * @property {flyteidl.admin.IWorkflowClosure|null} [closure] Workflow closure + * @property {string|null} [shortDescription] Workflow shortDescription */ /** - * Constructs a new SignalSetResponse. + * Constructs a new Workflow. * @memberof flyteidl.admin - * @classdesc Represents a SignalSetResponse. - * @implements ISignalSetResponse + * @classdesc Represents a Workflow. + * @implements IWorkflow * @constructor - * @param {flyteidl.admin.ISignalSetResponse=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflow=} [properties] Properties to set */ - function SignalSetResponse(properties) { + function Workflow(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47170,50 +46545,89 @@ } /** - * Creates a new SignalSetResponse instance using the specified properties. + * Workflow id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.Workflow + * @instance + */ + Workflow.prototype.id = null; + + /** + * Workflow closure. + * @member {flyteidl.admin.IWorkflowClosure|null|undefined} closure + * @memberof flyteidl.admin.Workflow + * @instance + */ + Workflow.prototype.closure = null; + + /** + * Workflow shortDescription. + * @member {string} shortDescription + * @memberof flyteidl.admin.Workflow + * @instance + */ + Workflow.prototype.shortDescription = ""; + + /** + * Creates a new Workflow instance using the specified properties. * @function create - * @memberof flyteidl.admin.SignalSetResponse + * @memberof flyteidl.admin.Workflow * @static - * @param {flyteidl.admin.ISignalSetResponse=} [properties] Properties to set - * @returns {flyteidl.admin.SignalSetResponse} SignalSetResponse instance + * @param {flyteidl.admin.IWorkflow=} [properties] Properties to set + * @returns {flyteidl.admin.Workflow} Workflow instance */ - SignalSetResponse.create = function create(properties) { - return new SignalSetResponse(properties); + Workflow.create = function create(properties) { + return new Workflow(properties); }; /** - * Encodes the specified SignalSetResponse message. Does not implicitly {@link flyteidl.admin.SignalSetResponse.verify|verify} messages. + * Encodes the specified Workflow message. Does not implicitly {@link flyteidl.admin.Workflow.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.SignalSetResponse + * @memberof flyteidl.admin.Workflow * @static - * @param {flyteidl.admin.ISignalSetResponse} message SignalSetResponse message or plain object to encode + * @param {flyteidl.admin.IWorkflow} message Workflow message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SignalSetResponse.encode = function encode(message, writer) { + Workflow.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.closure != null && message.hasOwnProperty("closure")) + $root.flyteidl.admin.WorkflowClosure.encode(message.closure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.shortDescription); return writer; }; /** - * Decodes a SignalSetResponse message from the specified reader or buffer. + * Decodes a Workflow message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.SignalSetResponse + * @memberof flyteidl.admin.Workflow * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.SignalSetResponse} SignalSetResponse + * @returns {flyteidl.admin.Workflow} Workflow * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SignalSetResponse.decode = function decode(reader, length) { + Workflow.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SignalSetResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Workflow(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 2: + message.closure = $root.flyteidl.admin.WorkflowClosure.decode(reader, reader.uint32()); + break; + case 3: + message.shortDescription = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -47223,42 +46637,55 @@ }; /** - * Verifies a SignalSetResponse message. + * Verifies a Workflow message. * @function verify - * @memberof flyteidl.admin.SignalSetResponse + * @memberof flyteidl.admin.Workflow * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SignalSetResponse.verify = function verify(message) { + Workflow.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.closure != null && message.hasOwnProperty("closure")) { + var error = $root.flyteidl.admin.WorkflowClosure.verify(message.closure); + if (error) + return "closure." + error; + } + if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) + if (!$util.isString(message.shortDescription)) + return "shortDescription: string expected"; return null; }; - return SignalSetResponse; + return Workflow; })(); - admin.Signal = (function() { + admin.WorkflowList = (function() { /** - * Properties of a Signal. + * Properties of a WorkflowList. * @memberof flyteidl.admin - * @interface ISignal - * @property {flyteidl.core.ISignalIdentifier|null} [id] Signal id - * @property {flyteidl.core.ILiteralType|null} [type] Signal type - * @property {flyteidl.core.ILiteral|null} [value] Signal value + * @interface IWorkflowList + * @property {Array.|null} [workflows] WorkflowList workflows + * @property {string|null} [token] WorkflowList token */ /** - * Constructs a new Signal. + * Constructs a new WorkflowList. * @memberof flyteidl.admin - * @classdesc Represents a Signal. - * @implements ISignal + * @classdesc Represents a WorkflowList. + * @implements IWorkflowList * @constructor - * @param {flyteidl.admin.ISignal=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowList=} [properties] Properties to set */ - function Signal(properties) { + function WorkflowList(properties) { + this.workflows = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47266,88 +46693,78 @@ } /** - * Signal id. - * @member {flyteidl.core.ISignalIdentifier|null|undefined} id - * @memberof flyteidl.admin.Signal - * @instance - */ - Signal.prototype.id = null; - - /** - * Signal type. - * @member {flyteidl.core.ILiteralType|null|undefined} type - * @memberof flyteidl.admin.Signal + * WorkflowList workflows. + * @member {Array.} workflows + * @memberof flyteidl.admin.WorkflowList * @instance */ - Signal.prototype.type = null; + WorkflowList.prototype.workflows = $util.emptyArray; /** - * Signal value. - * @member {flyteidl.core.ILiteral|null|undefined} value - * @memberof flyteidl.admin.Signal + * WorkflowList token. + * @member {string} token + * @memberof flyteidl.admin.WorkflowList * @instance */ - Signal.prototype.value = null; + WorkflowList.prototype.token = ""; /** - * Creates a new Signal instance using the specified properties. + * Creates a new WorkflowList instance using the specified properties. * @function create - * @memberof flyteidl.admin.Signal + * @memberof flyteidl.admin.WorkflowList * @static - * @param {flyteidl.admin.ISignal=} [properties] Properties to set - * @returns {flyteidl.admin.Signal} Signal instance + * @param {flyteidl.admin.IWorkflowList=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowList} WorkflowList instance */ - Signal.create = function create(properties) { - return new Signal(properties); + WorkflowList.create = function create(properties) { + return new WorkflowList(properties); }; /** - * Encodes the specified Signal message. Does not implicitly {@link flyteidl.admin.Signal.verify|verify} messages. + * Encodes the specified WorkflowList message. Does not implicitly {@link flyteidl.admin.WorkflowList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Signal + * @memberof flyteidl.admin.WorkflowList * @static - * @param {flyteidl.admin.ISignal} message Signal message or plain object to encode + * @param {flyteidl.admin.IWorkflowList} message WorkflowList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Signal.encode = function encode(message, writer) { + WorkflowList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.SignalIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.type != null && message.hasOwnProperty("type")) - $root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.value != null && message.hasOwnProperty("value")) - $root.flyteidl.core.Literal.encode(message.value, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.workflows != null && message.workflows.length) + for (var i = 0; i < message.workflows.length; ++i) + $root.flyteidl.admin.Workflow.encode(message.workflows[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes a Signal message from the specified reader or buffer. + * Decodes a WorkflowList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Signal + * @memberof flyteidl.admin.WorkflowList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Signal} Signal + * @returns {flyteidl.admin.WorkflowList} WorkflowList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Signal.decode = function decode(reader, length) { + WorkflowList.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Signal(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowList(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.SignalIdentifier.decode(reader, reader.uint32()); + if (!(message.workflows && message.workflows.length)) + message.workflows = []; + message.workflows.push($root.flyteidl.admin.Workflow.decode(reader, reader.uint32())); break; case 2: - message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); - break; - case 3: - message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -47358,56 +46775,55 @@ }; /** - * Verifies a Signal message. + * Verifies a WorkflowList message. * @function verify - * @memberof flyteidl.admin.Signal + * @memberof flyteidl.admin.WorkflowList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Signal.verify = function verify(message) { + WorkflowList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.SignalIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.type != null && message.hasOwnProperty("type")) { - var error = $root.flyteidl.core.LiteralType.verify(message.type); - if (error) - return "type." + error; - } - if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.flyteidl.core.Literal.verify(message.value); - if (error) - return "value." + error; + if (message.workflows != null && message.hasOwnProperty("workflows")) { + if (!Array.isArray(message.workflows)) + return "workflows: array expected"; + for (var i = 0; i < message.workflows.length; ++i) { + var error = $root.flyteidl.admin.Workflow.verify(message.workflows[i]); + if (error) + return "workflows." + error; + } } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return Signal; + return WorkflowList; })(); - admin.TaskCreateRequest = (function() { + admin.WorkflowSpec = (function() { /** - * Properties of a TaskCreateRequest. + * Properties of a WorkflowSpec. * @memberof flyteidl.admin - * @interface ITaskCreateRequest - * @property {flyteidl.core.IIdentifier|null} [id] TaskCreateRequest id - * @property {flyteidl.admin.ITaskSpec|null} [spec] TaskCreateRequest spec + * @interface IWorkflowSpec + * @property {flyteidl.core.IWorkflowTemplate|null} [template] WorkflowSpec template + * @property {Array.|null} [subWorkflows] WorkflowSpec subWorkflows + * @property {flyteidl.admin.IDescriptionEntity|null} [description] WorkflowSpec description */ /** - * Constructs a new TaskCreateRequest. + * Constructs a new WorkflowSpec. * @memberof flyteidl.admin - * @classdesc Represents a TaskCreateRequest. - * @implements ITaskCreateRequest + * @classdesc Represents a WorkflowSpec. + * @implements IWorkflowSpec * @constructor - * @param {flyteidl.admin.ITaskCreateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowSpec=} [properties] Properties to set */ - function TaskCreateRequest(properties) { + function WorkflowSpec(properties) { + this.subWorkflows = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47415,75 +46831,91 @@ } /** - * TaskCreateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskCreateRequest + * WorkflowSpec template. + * @member {flyteidl.core.IWorkflowTemplate|null|undefined} template + * @memberof flyteidl.admin.WorkflowSpec * @instance */ - TaskCreateRequest.prototype.id = null; + WorkflowSpec.prototype.template = null; /** - * TaskCreateRequest spec. - * @member {flyteidl.admin.ITaskSpec|null|undefined} spec - * @memberof flyteidl.admin.TaskCreateRequest + * WorkflowSpec subWorkflows. + * @member {Array.} subWorkflows + * @memberof flyteidl.admin.WorkflowSpec * @instance */ - TaskCreateRequest.prototype.spec = null; + WorkflowSpec.prototype.subWorkflows = $util.emptyArray; /** - * Creates a new TaskCreateRequest instance using the specified properties. + * WorkflowSpec description. + * @member {flyteidl.admin.IDescriptionEntity|null|undefined} description + * @memberof flyteidl.admin.WorkflowSpec + * @instance + */ + WorkflowSpec.prototype.description = null; + + /** + * Creates a new WorkflowSpec instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskCreateRequest + * @memberof flyteidl.admin.WorkflowSpec * @static - * @param {flyteidl.admin.ITaskCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskCreateRequest} TaskCreateRequest instance + * @param {flyteidl.admin.IWorkflowSpec=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowSpec} WorkflowSpec instance */ - TaskCreateRequest.create = function create(properties) { - return new TaskCreateRequest(properties); + WorkflowSpec.create = function create(properties) { + return new WorkflowSpec(properties); }; /** - * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.admin.TaskCreateRequest.verify|verify} messages. + * Encodes the specified WorkflowSpec message. Does not implicitly {@link flyteidl.admin.WorkflowSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskCreateRequest + * @memberof flyteidl.admin.WorkflowSpec * @static - * @param {flyteidl.admin.ITaskCreateRequest} message TaskCreateRequest message or plain object to encode + * @param {flyteidl.admin.IWorkflowSpec} message WorkflowSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskCreateRequest.encode = function encode(message, writer) { + WorkflowSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.spec != null && message.hasOwnProperty("spec")) - $root.flyteidl.admin.TaskSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.template != null && message.hasOwnProperty("template")) + $root.flyteidl.core.WorkflowTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.subWorkflows != null && message.subWorkflows.length) + for (var i = 0; i < message.subWorkflows.length; ++i) + $root.flyteidl.core.WorkflowTemplate.encode(message.subWorkflows[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.description != null && message.hasOwnProperty("description")) + $root.flyteidl.admin.DescriptionEntity.encode(message.description, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a TaskCreateRequest message from the specified reader or buffer. + * Decodes a WorkflowSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskCreateRequest + * @memberof flyteidl.admin.WorkflowSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskCreateRequest} TaskCreateRequest + * @returns {flyteidl.admin.WorkflowSpec} WorkflowSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskCreateRequest.decode = function decode(reader, length) { + WorkflowSpec.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskCreateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowSpec(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.template = $root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()); break; case 2: - message.spec = $root.flyteidl.admin.TaskSpec.decode(reader, reader.uint32()); + if (!(message.subWorkflows && message.subWorkflows.length)) + message.subWorkflows = []; + message.subWorkflows.push($root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32())); + break; + case 3: + message.description = $root.flyteidl.admin.DescriptionEntity.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -47494,49 +46926,60 @@ }; /** - * Verifies a TaskCreateRequest message. + * Verifies a WorkflowSpec message. * @function verify - * @memberof flyteidl.admin.TaskCreateRequest + * @memberof flyteidl.admin.WorkflowSpec * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskCreateRequest.verify = function verify(message) { + WorkflowSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.Identifier.verify(message.id); + if (message.template != null && message.hasOwnProperty("template")) { + var error = $root.flyteidl.core.WorkflowTemplate.verify(message.template); if (error) - return "id." + error; + return "template." + error; } - if (message.spec != null && message.hasOwnProperty("spec")) { - var error = $root.flyteidl.admin.TaskSpec.verify(message.spec); + if (message.subWorkflows != null && message.hasOwnProperty("subWorkflows")) { + if (!Array.isArray(message.subWorkflows)) + return "subWorkflows: array expected"; + for (var i = 0; i < message.subWorkflows.length; ++i) { + var error = $root.flyteidl.core.WorkflowTemplate.verify(message.subWorkflows[i]); + if (error) + return "subWorkflows." + error; + } + } + if (message.description != null && message.hasOwnProperty("description")) { + var error = $root.flyteidl.admin.DescriptionEntity.verify(message.description); if (error) - return "spec." + error; + return "description." + error; } return null; }; - return TaskCreateRequest; + return WorkflowSpec; })(); - admin.TaskCreateResponse = (function() { + admin.WorkflowClosure = (function() { /** - * Properties of a TaskCreateResponse. + * Properties of a WorkflowClosure. * @memberof flyteidl.admin - * @interface ITaskCreateResponse + * @interface IWorkflowClosure + * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] WorkflowClosure compiledWorkflow + * @property {google.protobuf.ITimestamp|null} [createdAt] WorkflowClosure createdAt */ /** - * Constructs a new TaskCreateResponse. + * Constructs a new WorkflowClosure. * @memberof flyteidl.admin - * @classdesc Represents a TaskCreateResponse. - * @implements ITaskCreateResponse + * @classdesc Represents a WorkflowClosure. + * @implements IWorkflowClosure * @constructor - * @param {flyteidl.admin.ITaskCreateResponse=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowClosure=} [properties] Properties to set */ - function TaskCreateResponse(properties) { + function WorkflowClosure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47544,50 +46987,76 @@ } /** - * Creates a new TaskCreateResponse instance using the specified properties. + * WorkflowClosure compiledWorkflow. + * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow + * @memberof flyteidl.admin.WorkflowClosure + * @instance + */ + WorkflowClosure.prototype.compiledWorkflow = null; + + /** + * WorkflowClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.WorkflowClosure + * @instance + */ + WorkflowClosure.prototype.createdAt = null; + + /** + * Creates a new WorkflowClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskCreateResponse + * @memberof flyteidl.admin.WorkflowClosure * @static - * @param {flyteidl.admin.ITaskCreateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.TaskCreateResponse} TaskCreateResponse instance + * @param {flyteidl.admin.IWorkflowClosure=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowClosure} WorkflowClosure instance */ - TaskCreateResponse.create = function create(properties) { - return new TaskCreateResponse(properties); + WorkflowClosure.create = function create(properties) { + return new WorkflowClosure(properties); }; /** - * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.admin.TaskCreateResponse.verify|verify} messages. + * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.admin.WorkflowClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskCreateResponse + * @memberof flyteidl.admin.WorkflowClosure * @static - * @param {flyteidl.admin.ITaskCreateResponse} message TaskCreateResponse message or plain object to encode + * @param {flyteidl.admin.IWorkflowClosure} message WorkflowClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskCreateResponse.encode = function encode(message, writer) { + WorkflowClosure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) + $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.createdAt != null && message.hasOwnProperty("createdAt")) + $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TaskCreateResponse message from the specified reader or buffer. + * Decodes a WorkflowClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskCreateResponse + * @memberof flyteidl.admin.WorkflowClosure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskCreateResponse} TaskCreateResponse + * @returns {flyteidl.admin.WorkflowClosure} WorkflowClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskCreateResponse.decode = function decode(reader, length) { + WorkflowClosure.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskCreateResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowClosure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); + break; + case 2: + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -47597,42 +47066,50 @@ }; /** - * Verifies a TaskCreateResponse message. + * Verifies a WorkflowClosure message. * @function verify - * @memberof flyteidl.admin.TaskCreateResponse + * @memberof flyteidl.admin.WorkflowClosure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskCreateResponse.verify = function verify(message) { + WorkflowClosure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) { + var error = $root.flyteidl.core.CompiledWorkflowClosure.verify(message.compiledWorkflow); + if (error) + return "compiledWorkflow." + error; + } + if (message.createdAt != null && message.hasOwnProperty("createdAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.createdAt); + if (error) + return "createdAt." + error; + } return null; }; - return TaskCreateResponse; + return WorkflowClosure; })(); - admin.Task = (function() { + admin.WorkflowErrorExistsDifferentStructure = (function() { /** - * Properties of a Task. + * Properties of a WorkflowErrorExistsDifferentStructure. * @memberof flyteidl.admin - * @interface ITask - * @property {flyteidl.core.IIdentifier|null} [id] Task id - * @property {flyteidl.admin.ITaskClosure|null} [closure] Task closure - * @property {string|null} [shortDescription] Task shortDescription + * @interface IWorkflowErrorExistsDifferentStructure + * @property {flyteidl.core.IIdentifier|null} [id] WorkflowErrorExistsDifferentStructure id */ /** - * Constructs a new Task. + * Constructs a new WorkflowErrorExistsDifferentStructure. * @memberof flyteidl.admin - * @classdesc Represents a Task. - * @implements ITask + * @classdesc Represents a WorkflowErrorExistsDifferentStructure. + * @implements IWorkflowErrorExistsDifferentStructure * @constructor - * @param {flyteidl.admin.ITask=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure=} [properties] Properties to set */ - function Task(properties) { + function WorkflowErrorExistsDifferentStructure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47640,89 +47117,63 @@ } /** - * Task id. + * WorkflowErrorExistsDifferentStructure id. * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.Task - * @instance - */ - Task.prototype.id = null; - - /** - * Task closure. - * @member {flyteidl.admin.ITaskClosure|null|undefined} closure - * @memberof flyteidl.admin.Task - * @instance - */ - Task.prototype.closure = null; - - /** - * Task shortDescription. - * @member {string} shortDescription - * @memberof flyteidl.admin.Task + * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure * @instance */ - Task.prototype.shortDescription = ""; + WorkflowErrorExistsDifferentStructure.prototype.id = null; /** - * Creates a new Task instance using the specified properties. + * Creates a new WorkflowErrorExistsDifferentStructure instance using the specified properties. * @function create - * @memberof flyteidl.admin.Task + * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure * @static - * @param {flyteidl.admin.ITask=} [properties] Properties to set - * @returns {flyteidl.admin.Task} Task instance + * @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowErrorExistsDifferentStructure} WorkflowErrorExistsDifferentStructure instance */ - Task.create = function create(properties) { - return new Task(properties); + WorkflowErrorExistsDifferentStructure.create = function create(properties) { + return new WorkflowErrorExistsDifferentStructure(properties); }; /** - * Encodes the specified Task message. Does not implicitly {@link flyteidl.admin.Task.verify|verify} messages. + * Encodes the specified WorkflowErrorExistsDifferentStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsDifferentStructure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Task + * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure * @static - * @param {flyteidl.admin.ITask} message Task message or plain object to encode + * @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure} message WorkflowErrorExistsDifferentStructure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Task.encode = function encode(message, writer) { + WorkflowErrorExistsDifferentStructure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.id != null && message.hasOwnProperty("id")) $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.closure != null && message.hasOwnProperty("closure")) - $root.flyteidl.admin.TaskClosure.encode(message.closure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.shortDescription); return writer; }; /** - * Decodes a Task message from the specified reader or buffer. + * Decodes a WorkflowErrorExistsDifferentStructure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Task + * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Task} Task + * @returns {flyteidl.admin.WorkflowErrorExistsDifferentStructure} WorkflowErrorExistsDifferentStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Task.decode = function decode(reader, length) { + WorkflowErrorExistsDifferentStructure.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Task(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; - case 2: - message.closure = $root.flyteidl.admin.TaskClosure.decode(reader, reader.uint32()); - break; - case 3: - message.shortDescription = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -47732,14 +47183,14 @@ }; /** - * Verifies a Task message. + * Verifies a WorkflowErrorExistsDifferentStructure message. * @function verify - * @memberof flyteidl.admin.Task + * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Task.verify = function verify(message) { + WorkflowErrorExistsDifferentStructure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; if (message.id != null && message.hasOwnProperty("id")) { @@ -47747,40 +47198,30 @@ if (error) return "id." + error; } - if (message.closure != null && message.hasOwnProperty("closure")) { - var error = $root.flyteidl.admin.TaskClosure.verify(message.closure); - if (error) - return "closure." + error; - } - if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) - if (!$util.isString(message.shortDescription)) - return "shortDescription: string expected"; return null; }; - return Task; + return WorkflowErrorExistsDifferentStructure; })(); - admin.TaskList = (function() { + admin.WorkflowErrorExistsIdenticalStructure = (function() { /** - * Properties of a TaskList. + * Properties of a WorkflowErrorExistsIdenticalStructure. * @memberof flyteidl.admin - * @interface ITaskList - * @property {Array.|null} [tasks] TaskList tasks - * @property {string|null} [token] TaskList token + * @interface IWorkflowErrorExistsIdenticalStructure + * @property {flyteidl.core.IIdentifier|null} [id] WorkflowErrorExistsIdenticalStructure id */ /** - * Constructs a new TaskList. + * Constructs a new WorkflowErrorExistsIdenticalStructure. * @memberof flyteidl.admin - * @classdesc Represents a TaskList. - * @implements ITaskList + * @classdesc Represents a WorkflowErrorExistsIdenticalStructure. + * @implements IWorkflowErrorExistsIdenticalStructure * @constructor - * @param {flyteidl.admin.ITaskList=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure=} [properties] Properties to set */ - function TaskList(properties) { - this.tasks = []; + function WorkflowErrorExistsIdenticalStructure(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47788,78 +47229,62 @@ } /** - * TaskList tasks. - * @member {Array.} tasks - * @memberof flyteidl.admin.TaskList - * @instance - */ - TaskList.prototype.tasks = $util.emptyArray; - - /** - * TaskList token. - * @member {string} token - * @memberof flyteidl.admin.TaskList + * WorkflowErrorExistsIdenticalStructure id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure * @instance */ - TaskList.prototype.token = ""; + WorkflowErrorExistsIdenticalStructure.prototype.id = null; /** - * Creates a new TaskList instance using the specified properties. + * Creates a new WorkflowErrorExistsIdenticalStructure instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskList + * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure * @static - * @param {flyteidl.admin.ITaskList=} [properties] Properties to set - * @returns {flyteidl.admin.TaskList} TaskList instance + * @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowErrorExistsIdenticalStructure} WorkflowErrorExistsIdenticalStructure instance */ - TaskList.create = function create(properties) { - return new TaskList(properties); + WorkflowErrorExistsIdenticalStructure.create = function create(properties) { + return new WorkflowErrorExistsIdenticalStructure(properties); }; /** - * Encodes the specified TaskList message. Does not implicitly {@link flyteidl.admin.TaskList.verify|verify} messages. + * Encodes the specified WorkflowErrorExistsIdenticalStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsIdenticalStructure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskList + * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure * @static - * @param {flyteidl.admin.ITaskList} message TaskList message or plain object to encode + * @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure} message WorkflowErrorExistsIdenticalStructure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskList.encode = function encode(message, writer) { + WorkflowErrorExistsIdenticalStructure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.tasks != null && message.tasks.length) - for (var i = 0; i < message.tasks.length; ++i) - $root.flyteidl.admin.Task.encode(message.tasks[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a TaskList message from the specified reader or buffer. + * Decodes a WorkflowErrorExistsIdenticalStructure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskList + * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskList} TaskList + * @returns {flyteidl.admin.WorkflowErrorExistsIdenticalStructure} WorkflowErrorExistsIdenticalStructure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskList.decode = function decode(reader, length) { + WorkflowErrorExistsIdenticalStructure.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskList(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.tasks && message.tasks.length)) - message.tasks = []; - message.tasks.push($root.flyteidl.admin.Task.decode(reader, reader.uint32())); - break; - case 2: - message.token = reader.string(); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -47870,53 +47295,46 @@ }; /** - * Verifies a TaskList message. + * Verifies a WorkflowErrorExistsIdenticalStructure message. * @function verify - * @memberof flyteidl.admin.TaskList + * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskList.verify = function verify(message) { + WorkflowErrorExistsIdenticalStructure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.tasks != null && message.hasOwnProperty("tasks")) { - if (!Array.isArray(message.tasks)) - return "tasks: array expected"; - for (var i = 0; i < message.tasks.length; ++i) { - var error = $root.flyteidl.admin.Task.verify(message.tasks[i]); - if (error) - return "tasks." + error; - } + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return TaskList; + return WorkflowErrorExistsIdenticalStructure; })(); - admin.TaskSpec = (function() { + admin.CreateWorkflowFailureReason = (function() { /** - * Properties of a TaskSpec. + * Properties of a CreateWorkflowFailureReason. * @memberof flyteidl.admin - * @interface ITaskSpec - * @property {flyteidl.core.ITaskTemplate|null} [template] TaskSpec template - * @property {flyteidl.admin.IDescriptionEntity|null} [description] TaskSpec description + * @interface ICreateWorkflowFailureReason + * @property {flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null} [existsDifferentStructure] CreateWorkflowFailureReason existsDifferentStructure + * @property {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null} [existsIdenticalStructure] CreateWorkflowFailureReason existsIdenticalStructure */ /** - * Constructs a new TaskSpec. + * Constructs a new CreateWorkflowFailureReason. * @memberof flyteidl.admin - * @classdesc Represents a TaskSpec. - * @implements ITaskSpec + * @classdesc Represents a CreateWorkflowFailureReason. + * @implements ICreateWorkflowFailureReason * @constructor - * @param {flyteidl.admin.ITaskSpec=} [properties] Properties to set + * @param {flyteidl.admin.ICreateWorkflowFailureReason=} [properties] Properties to set */ - function TaskSpec(properties) { + function CreateWorkflowFailureReason(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -47924,75 +47342,89 @@ } /** - * TaskSpec template. - * @member {flyteidl.core.ITaskTemplate|null|undefined} template - * @memberof flyteidl.admin.TaskSpec + * CreateWorkflowFailureReason existsDifferentStructure. + * @member {flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null|undefined} existsDifferentStructure + * @memberof flyteidl.admin.CreateWorkflowFailureReason * @instance */ - TaskSpec.prototype.template = null; + CreateWorkflowFailureReason.prototype.existsDifferentStructure = null; /** - * TaskSpec description. - * @member {flyteidl.admin.IDescriptionEntity|null|undefined} description - * @memberof flyteidl.admin.TaskSpec + * CreateWorkflowFailureReason existsIdenticalStructure. + * @member {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null|undefined} existsIdenticalStructure + * @memberof flyteidl.admin.CreateWorkflowFailureReason * @instance */ - TaskSpec.prototype.description = null; + CreateWorkflowFailureReason.prototype.existsIdenticalStructure = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * Creates a new TaskSpec instance using the specified properties. + * CreateWorkflowFailureReason reason. + * @member {"existsDifferentStructure"|"existsIdenticalStructure"|undefined} reason + * @memberof flyteidl.admin.CreateWorkflowFailureReason + * @instance + */ + Object.defineProperty(CreateWorkflowFailureReason.prototype, "reason", { + get: $util.oneOfGetter($oneOfFields = ["existsDifferentStructure", "existsIdenticalStructure"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new CreateWorkflowFailureReason instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskSpec + * @memberof flyteidl.admin.CreateWorkflowFailureReason * @static - * @param {flyteidl.admin.ITaskSpec=} [properties] Properties to set - * @returns {flyteidl.admin.TaskSpec} TaskSpec instance + * @param {flyteidl.admin.ICreateWorkflowFailureReason=} [properties] Properties to set + * @returns {flyteidl.admin.CreateWorkflowFailureReason} CreateWorkflowFailureReason instance */ - TaskSpec.create = function create(properties) { - return new TaskSpec(properties); + CreateWorkflowFailureReason.create = function create(properties) { + return new CreateWorkflowFailureReason(properties); }; /** - * Encodes the specified TaskSpec message. Does not implicitly {@link flyteidl.admin.TaskSpec.verify|verify} messages. + * Encodes the specified CreateWorkflowFailureReason message. Does not implicitly {@link flyteidl.admin.CreateWorkflowFailureReason.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskSpec + * @memberof flyteidl.admin.CreateWorkflowFailureReason * @static - * @param {flyteidl.admin.ITaskSpec} message TaskSpec message or plain object to encode + * @param {flyteidl.admin.ICreateWorkflowFailureReason} message CreateWorkflowFailureReason message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskSpec.encode = function encode(message, writer) { + CreateWorkflowFailureReason.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.template != null && message.hasOwnProperty("template")) - $root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.description != null && message.hasOwnProperty("description")) - $root.flyteidl.admin.DescriptionEntity.encode(message.description, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.existsDifferentStructure != null && message.hasOwnProperty("existsDifferentStructure")) + $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure.encode(message.existsDifferentStructure, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.existsIdenticalStructure != null && message.hasOwnProperty("existsIdenticalStructure")) + $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure.encode(message.existsIdenticalStructure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TaskSpec message from the specified reader or buffer. + * Decodes a CreateWorkflowFailureReason message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskSpec + * @memberof flyteidl.admin.CreateWorkflowFailureReason * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskSpec} TaskSpec + * @returns {flyteidl.admin.CreateWorkflowFailureReason} CreateWorkflowFailureReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskSpec.decode = function decode(reader, length) { + CreateWorkflowFailureReason.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskSpec(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.CreateWorkflowFailureReason(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); + message.existsDifferentStructure = $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure.decode(reader, reader.uint32()); break; case 2: - message.description = $root.flyteidl.admin.DescriptionEntity.decode(reader, reader.uint32()); + message.existsIdenticalStructure = $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -48003,51 +47435,63 @@ }; /** - * Verifies a TaskSpec message. + * Verifies a CreateWorkflowFailureReason message. * @function verify - * @memberof flyteidl.admin.TaskSpec + * @memberof flyteidl.admin.CreateWorkflowFailureReason * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskSpec.verify = function verify(message) { + CreateWorkflowFailureReason.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.template != null && message.hasOwnProperty("template")) { - var error = $root.flyteidl.core.TaskTemplate.verify(message.template); - if (error) - return "template." + error; + var properties = {}; + if (message.existsDifferentStructure != null && message.hasOwnProperty("existsDifferentStructure")) { + properties.reason = 1; + { + var error = $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure.verify(message.existsDifferentStructure); + if (error) + return "existsDifferentStructure." + error; + } } - if (message.description != null && message.hasOwnProperty("description")) { - var error = $root.flyteidl.admin.DescriptionEntity.verify(message.description); - if (error) - return "description." + error; + if (message.existsIdenticalStructure != null && message.hasOwnProperty("existsIdenticalStructure")) { + if (properties.reason === 1) + return "reason: multiple values"; + properties.reason = 1; + { + var error = $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure.verify(message.existsIdenticalStructure); + if (error) + return "existsIdenticalStructure." + error; + } } return null; }; - return TaskSpec; + return CreateWorkflowFailureReason; })(); - admin.TaskClosure = (function() { + admin.WorkflowAttributes = (function() { /** - * Properties of a TaskClosure. + * Properties of a WorkflowAttributes. * @memberof flyteidl.admin - * @interface ITaskClosure - * @property {flyteidl.core.ICompiledTask|null} [compiledTask] TaskClosure compiledTask - * @property {google.protobuf.ITimestamp|null} [createdAt] TaskClosure createdAt + * @interface IWorkflowAttributes + * @property {string|null} [project] WorkflowAttributes project + * @property {string|null} [domain] WorkflowAttributes domain + * @property {string|null} [workflow] WorkflowAttributes workflow + * @property {flyteidl.admin.IMatchingAttributes|null} [matchingAttributes] WorkflowAttributes matchingAttributes + * @property {string|null} [org] WorkflowAttributes org */ /** - * Constructs a new TaskClosure. + * Constructs a new WorkflowAttributes. * @memberof flyteidl.admin - * @classdesc Represents a TaskClosure. - * @implements ITaskClosure + * @classdesc Represents a WorkflowAttributes. + * @implements IWorkflowAttributes * @constructor - * @param {flyteidl.admin.ITaskClosure=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowAttributes=} [properties] Properties to set */ - function TaskClosure(properties) { + function WorkflowAttributes(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -48055,75 +47499,114 @@ } /** - * TaskClosure compiledTask. - * @member {flyteidl.core.ICompiledTask|null|undefined} compiledTask - * @memberof flyteidl.admin.TaskClosure + * WorkflowAttributes project. + * @member {string} project + * @memberof flyteidl.admin.WorkflowAttributes * @instance */ - TaskClosure.prototype.compiledTask = null; + WorkflowAttributes.prototype.project = ""; /** - * TaskClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.TaskClosure + * WorkflowAttributes domain. + * @member {string} domain + * @memberof flyteidl.admin.WorkflowAttributes * @instance */ - TaskClosure.prototype.createdAt = null; + WorkflowAttributes.prototype.domain = ""; /** - * Creates a new TaskClosure instance using the specified properties. + * WorkflowAttributes workflow. + * @member {string} workflow + * @memberof flyteidl.admin.WorkflowAttributes + * @instance + */ + WorkflowAttributes.prototype.workflow = ""; + + /** + * WorkflowAttributes matchingAttributes. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes + * @memberof flyteidl.admin.WorkflowAttributes + * @instance + */ + WorkflowAttributes.prototype.matchingAttributes = null; + + /** + * WorkflowAttributes org. + * @member {string} org + * @memberof flyteidl.admin.WorkflowAttributes + * @instance + */ + WorkflowAttributes.prototype.org = ""; + + /** + * Creates a new WorkflowAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskClosure + * @memberof flyteidl.admin.WorkflowAttributes * @static - * @param {flyteidl.admin.ITaskClosure=} [properties] Properties to set - * @returns {flyteidl.admin.TaskClosure} TaskClosure instance + * @param {flyteidl.admin.IWorkflowAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributes} WorkflowAttributes instance */ - TaskClosure.create = function create(properties) { - return new TaskClosure(properties); + WorkflowAttributes.create = function create(properties) { + return new WorkflowAttributes(properties); }; /** - * Encodes the specified TaskClosure message. Does not implicitly {@link flyteidl.admin.TaskClosure.verify|verify} messages. + * Encodes the specified WorkflowAttributes message. Does not implicitly {@link flyteidl.admin.WorkflowAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskClosure + * @memberof flyteidl.admin.WorkflowAttributes * @static - * @param {flyteidl.admin.ITaskClosure} message TaskClosure message or plain object to encode + * @param {flyteidl.admin.IWorkflowAttributes} message WorkflowAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskClosure.encode = function encode(message, writer) { + WorkflowAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.compiledTask != null && message.hasOwnProperty("compiledTask")) - $root.flyteidl.core.CompiledTask.encode(message.compiledTask, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.createdAt != null && message.hasOwnProperty("createdAt")) - $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.workflow != null && message.hasOwnProperty("workflow")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.workflow); + if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) + $root.flyteidl.admin.MatchingAttributes.encode(message.matchingAttributes, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.org); return writer; }; /** - * Decodes a TaskClosure message from the specified reader or buffer. + * Decodes a WorkflowAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskClosure + * @memberof flyteidl.admin.WorkflowAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskClosure} TaskClosure + * @returns {flyteidl.admin.WorkflowAttributes} WorkflowAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskClosure.decode = function decode(reader, length) { + WorkflowAttributes.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskClosure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributes(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.compiledTask = $root.flyteidl.core.CompiledTask.decode(reader, reader.uint32()); + message.project = reader.string(); break; case 2: - message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.domain = reader.string(); + break; + case 3: + message.workflow = reader.string(); + break; + case 4: + message.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; + case 5: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -48134,50 +47617,57 @@ }; /** - * Verifies a TaskClosure message. + * Verifies a WorkflowAttributes message. * @function verify - * @memberof flyteidl.admin.TaskClosure + * @memberof flyteidl.admin.WorkflowAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskClosure.verify = function verify(message) { + WorkflowAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.compiledTask != null && message.hasOwnProperty("compiledTask")) { - var error = $root.flyteidl.core.CompiledTask.verify(message.compiledTask); - if (error) - return "compiledTask." + error; - } - if (message.createdAt != null && message.hasOwnProperty("createdAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.createdAt); + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.workflow != null && message.hasOwnProperty("workflow")) + if (!$util.isString(message.workflow)) + return "workflow: string expected"; + if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) { + var error = $root.flyteidl.admin.MatchingAttributes.verify(message.matchingAttributes); if (error) - return "createdAt." + error; + return "matchingAttributes." + error; } + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return TaskClosure; + return WorkflowAttributes; })(); - admin.TaskExecutionGetRequest = (function() { + admin.WorkflowAttributesUpdateRequest = (function() { /** - * Properties of a TaskExecutionGetRequest. + * Properties of a WorkflowAttributesUpdateRequest. * @memberof flyteidl.admin - * @interface ITaskExecutionGetRequest - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetRequest id + * @interface IWorkflowAttributesUpdateRequest + * @property {flyteidl.admin.IWorkflowAttributes|null} [attributes] WorkflowAttributesUpdateRequest attributes */ /** - * Constructs a new TaskExecutionGetRequest. + * Constructs a new WorkflowAttributesUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionGetRequest. - * @implements ITaskExecutionGetRequest + * @classdesc Represents a WorkflowAttributesUpdateRequest. + * @implements IWorkflowAttributesUpdateRequest * @constructor - * @param {flyteidl.admin.ITaskExecutionGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest=} [properties] Properties to set */ - function TaskExecutionGetRequest(properties) { + function WorkflowAttributesUpdateRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -48185,62 +47675,62 @@ } /** - * TaskExecutionGetRequest id. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskExecutionGetRequest + * WorkflowAttributesUpdateRequest attributes. + * @member {flyteidl.admin.IWorkflowAttributes|null|undefined} attributes + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest * @instance */ - TaskExecutionGetRequest.prototype.id = null; + WorkflowAttributesUpdateRequest.prototype.attributes = null; /** - * Creates a new TaskExecutionGetRequest instance using the specified properties. + * Creates a new WorkflowAttributesUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionGetRequest + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest * @static - * @param {flyteidl.admin.ITaskExecutionGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionGetRequest} TaskExecutionGetRequest instance + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributesUpdateRequest} WorkflowAttributesUpdateRequest instance */ - TaskExecutionGetRequest.create = function create(properties) { - return new TaskExecutionGetRequest(properties); + WorkflowAttributesUpdateRequest.create = function create(properties) { + return new WorkflowAttributesUpdateRequest(properties); }; /** - * Encodes the specified TaskExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetRequest.verify|verify} messages. + * Encodes the specified WorkflowAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionGetRequest + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest * @static - * @param {flyteidl.admin.ITaskExecutionGetRequest} message TaskExecutionGetRequest message or plain object to encode + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest} message WorkflowAttributesUpdateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionGetRequest.encode = function encode(message, writer) { + WorkflowAttributesUpdateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.attributes != null && message.hasOwnProperty("attributes")) + $root.flyteidl.admin.WorkflowAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecutionGetRequest message from the specified reader or buffer. + * Decodes a WorkflowAttributesUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionGetRequest + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionGetRequest} TaskExecutionGetRequest + * @returns {flyteidl.admin.WorkflowAttributesUpdateRequest} WorkflowAttributesUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionGetRequest.decode = function decode(reader, length) { + WorkflowAttributesUpdateRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionGetRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesUpdateRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + message.attributes = $root.flyteidl.admin.WorkflowAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -48251,49 +47741,44 @@ }; /** - * Verifies a TaskExecutionGetRequest message. + * Verifies a WorkflowAttributesUpdateRequest message. * @function verify - * @memberof flyteidl.admin.TaskExecutionGetRequest + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionGetRequest.verify = function verify(message) { + WorkflowAttributesUpdateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); + if (message.attributes != null && message.hasOwnProperty("attributes")) { + var error = $root.flyteidl.admin.WorkflowAttributes.verify(message.attributes); if (error) - return "id." + error; + return "attributes." + error; } return null; }; - return TaskExecutionGetRequest; + return WorkflowAttributesUpdateRequest; })(); - admin.TaskExecutionListRequest = (function() { + admin.WorkflowAttributesUpdateResponse = (function() { /** - * Properties of a TaskExecutionListRequest. + * Properties of a WorkflowAttributesUpdateResponse. * @memberof flyteidl.admin - * @interface ITaskExecutionListRequest - * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeExecutionId] TaskExecutionListRequest nodeExecutionId - * @property {number|null} [limit] TaskExecutionListRequest limit - * @property {string|null} [token] TaskExecutionListRequest token - * @property {string|null} [filters] TaskExecutionListRequest filters - * @property {flyteidl.admin.ISort|null} [sortBy] TaskExecutionListRequest sortBy + * @interface IWorkflowAttributesUpdateResponse */ /** - * Constructs a new TaskExecutionListRequest. + * Constructs a new WorkflowAttributesUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionListRequest. - * @implements ITaskExecutionListRequest + * @classdesc Represents a WorkflowAttributesUpdateResponse. + * @implements IWorkflowAttributesUpdateResponse * @constructor - * @param {flyteidl.admin.ITaskExecutionListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse=} [properties] Properties to set */ - function TaskExecutionListRequest(properties) { + function WorkflowAttributesUpdateResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -48301,115 +47786,50 @@ } /** - * TaskExecutionListRequest nodeExecutionId. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeExecutionId - * @memberof flyteidl.admin.TaskExecutionListRequest - * @instance - */ - TaskExecutionListRequest.prototype.nodeExecutionId = null; - - /** - * TaskExecutionListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.TaskExecutionListRequest - * @instance - */ - TaskExecutionListRequest.prototype.limit = 0; - - /** - * TaskExecutionListRequest token. - * @member {string} token - * @memberof flyteidl.admin.TaskExecutionListRequest - * @instance - */ - TaskExecutionListRequest.prototype.token = ""; - - /** - * TaskExecutionListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.TaskExecutionListRequest - * @instance - */ - TaskExecutionListRequest.prototype.filters = ""; - - /** - * TaskExecutionListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.TaskExecutionListRequest - * @instance - */ - TaskExecutionListRequest.prototype.sortBy = null; - - /** - * Creates a new TaskExecutionListRequest instance using the specified properties. + * Creates a new WorkflowAttributesUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionListRequest + * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse * @static - * @param {flyteidl.admin.ITaskExecutionListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionListRequest} TaskExecutionListRequest instance + * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributesUpdateResponse} WorkflowAttributesUpdateResponse instance */ - TaskExecutionListRequest.create = function create(properties) { - return new TaskExecutionListRequest(properties); + WorkflowAttributesUpdateResponse.create = function create(properties) { + return new WorkflowAttributesUpdateResponse(properties); }; /** - * Encodes the specified TaskExecutionListRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionListRequest.verify|verify} messages. + * Encodes the specified WorkflowAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionListRequest + * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse * @static - * @param {flyteidl.admin.ITaskExecutionListRequest} message TaskExecutionListRequest message or plain object to encode + * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse} message WorkflowAttributesUpdateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionListRequest.encode = function encode(message, writer) { + WorkflowAttributesUpdateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); - if (message.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); - if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecutionListRequest message from the specified reader or buffer. + * Decodes a WorkflowAttributesUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionListRequest + * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionListRequest} TaskExecutionListRequest + * @returns {flyteidl.admin.WorkflowAttributesUpdateResponse} WorkflowAttributesUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionListRequest.decode = function decode(reader, length) { + WorkflowAttributesUpdateResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionListRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesUpdateResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.nodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 2: - message.limit = reader.uint32(); - break; - case 3: - message.token = reader.string(); - break; - case 4: - message.filters = reader.string(); - break; - case 5: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -48419,62 +47839,44 @@ }; /** - * Verifies a TaskExecutionListRequest message. + * Verifies a WorkflowAttributesUpdateResponse message. * @function verify - * @memberof flyteidl.admin.TaskExecutionListRequest + * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionListRequest.verify = function verify(message) { + WorkflowAttributesUpdateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeExecutionId); - if (error) - return "nodeExecutionId." + error; - } - if (message.limit != null && message.hasOwnProperty("limit")) - if (!$util.isInteger(message.limit)) - return "limit: integer expected"; - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; - if (message.sortBy != null && message.hasOwnProperty("sortBy")) { - var error = $root.flyteidl.admin.Sort.verify(message.sortBy); - if (error) - return "sortBy." + error; - } return null; }; - return TaskExecutionListRequest; + return WorkflowAttributesUpdateResponse; })(); - admin.TaskExecution = (function() { + admin.WorkflowAttributesGetRequest = (function() { /** - * Properties of a TaskExecution. + * Properties of a WorkflowAttributesGetRequest. * @memberof flyteidl.admin - * @interface ITaskExecution - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecution id - * @property {string|null} [inputUri] TaskExecution inputUri - * @property {flyteidl.admin.ITaskExecutionClosure|null} [closure] TaskExecution closure - * @property {boolean|null} [isParent] TaskExecution isParent + * @interface IWorkflowAttributesGetRequest + * @property {string|null} [project] WorkflowAttributesGetRequest project + * @property {string|null} [domain] WorkflowAttributesGetRequest domain + * @property {string|null} [workflow] WorkflowAttributesGetRequest workflow + * @property {flyteidl.admin.MatchableResource|null} [resourceType] WorkflowAttributesGetRequest resourceType + * @property {string|null} [org] WorkflowAttributesGetRequest org */ /** - * Constructs a new TaskExecution. + * Constructs a new WorkflowAttributesGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecution. - * @implements ITaskExecution + * @classdesc Represents a WorkflowAttributesGetRequest. + * @implements IWorkflowAttributesGetRequest * @constructor - * @param {flyteidl.admin.ITaskExecution=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowAttributesGetRequest=} [properties] Properties to set */ - function TaskExecution(properties) { + function WorkflowAttributesGetRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -48482,101 +47884,114 @@ } /** - * TaskExecution id. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskExecution + * WorkflowAttributesGetRequest project. + * @member {string} project + * @memberof flyteidl.admin.WorkflowAttributesGetRequest * @instance */ - TaskExecution.prototype.id = null; + WorkflowAttributesGetRequest.prototype.project = ""; /** - * TaskExecution inputUri. - * @member {string} inputUri - * @memberof flyteidl.admin.TaskExecution + * WorkflowAttributesGetRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.WorkflowAttributesGetRequest * @instance */ - TaskExecution.prototype.inputUri = ""; + WorkflowAttributesGetRequest.prototype.domain = ""; /** - * TaskExecution closure. - * @member {flyteidl.admin.ITaskExecutionClosure|null|undefined} closure - * @memberof flyteidl.admin.TaskExecution + * WorkflowAttributesGetRequest workflow. + * @member {string} workflow + * @memberof flyteidl.admin.WorkflowAttributesGetRequest * @instance */ - TaskExecution.prototype.closure = null; + WorkflowAttributesGetRequest.prototype.workflow = ""; /** - * TaskExecution isParent. - * @member {boolean} isParent - * @memberof flyteidl.admin.TaskExecution + * WorkflowAttributesGetRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.WorkflowAttributesGetRequest * @instance */ - TaskExecution.prototype.isParent = false; + WorkflowAttributesGetRequest.prototype.resourceType = 0; /** - * Creates a new TaskExecution instance using the specified properties. + * WorkflowAttributesGetRequest org. + * @member {string} org + * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * @instance + */ + WorkflowAttributesGetRequest.prototype.org = ""; + + /** + * Creates a new WorkflowAttributesGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecution + * @memberof flyteidl.admin.WorkflowAttributesGetRequest * @static - * @param {flyteidl.admin.ITaskExecution=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecution} TaskExecution instance + * @param {flyteidl.admin.IWorkflowAttributesGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributesGetRequest} WorkflowAttributesGetRequest instance */ - TaskExecution.create = function create(properties) { - return new TaskExecution(properties); + WorkflowAttributesGetRequest.create = function create(properties) { + return new WorkflowAttributesGetRequest(properties); }; /** - * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.admin.TaskExecution.verify|verify} messages. + * Encodes the specified WorkflowAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecution + * @memberof flyteidl.admin.WorkflowAttributesGetRequest * @static - * @param {flyteidl.admin.ITaskExecution} message TaskExecution message or plain object to encode + * @param {flyteidl.admin.IWorkflowAttributesGetRequest} message WorkflowAttributesGetRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecution.encode = function encode(message, writer) { + WorkflowAttributesGetRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.inputUri != null && message.hasOwnProperty("inputUri")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputUri); - if (message.closure != null && message.hasOwnProperty("closure")) - $root.flyteidl.admin.TaskExecutionClosure.encode(message.closure, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.isParent != null && message.hasOwnProperty("isParent")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isParent); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.workflow != null && message.hasOwnProperty("workflow")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.workflow); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.resourceType); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.org); return writer; }; /** - * Decodes a TaskExecution message from the specified reader or buffer. + * Decodes a WorkflowAttributesGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecution + * @memberof flyteidl.admin.WorkflowAttributesGetRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecution} TaskExecution + * @returns {flyteidl.admin.WorkflowAttributesGetRequest} WorkflowAttributesGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecution.decode = function decode(reader, length) { + WorkflowAttributesGetRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecution(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesGetRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + message.project = reader.string(); break; case 2: - message.inputUri = reader.string(); + message.domain = reader.string(); break; case 3: - message.closure = $root.flyteidl.admin.TaskExecutionClosure.decode(reader, reader.uint32()); + message.workflow = reader.string(); break; case 4: - message.isParent = reader.bool(); + message.resourceType = reader.int32(); + break; + case 5: + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -48587,58 +48002,66 @@ }; /** - * Verifies a TaskExecution message. + * Verifies a WorkflowAttributesGetRequest message. * @function verify - * @memberof flyteidl.admin.TaskExecution + * @memberof flyteidl.admin.WorkflowAttributesGetRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecution.verify = function verify(message) { + WorkflowAttributesGetRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.inputUri != null && message.hasOwnProperty("inputUri")) - if (!$util.isString(message.inputUri)) - return "inputUri: string expected"; - if (message.closure != null && message.hasOwnProperty("closure")) { - var error = $root.flyteidl.admin.TaskExecutionClosure.verify(message.closure); - if (error) - return "closure." + error; - } - if (message.isParent != null && message.hasOwnProperty("isParent")) - if (typeof message.isParent !== "boolean") - return "isParent: boolean expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.workflow != null && message.hasOwnProperty("workflow")) + if (!$util.isString(message.workflow)) + return "workflow: string expected"; + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { + default: + return "resourceType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break; + } + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return TaskExecution; + return WorkflowAttributesGetRequest; })(); - admin.TaskExecutionList = (function() { + admin.WorkflowAttributesGetResponse = (function() { /** - * Properties of a TaskExecutionList. + * Properties of a WorkflowAttributesGetResponse. * @memberof flyteidl.admin - * @interface ITaskExecutionList - * @property {Array.|null} [taskExecutions] TaskExecutionList taskExecutions - * @property {string|null} [token] TaskExecutionList token + * @interface IWorkflowAttributesGetResponse + * @property {flyteidl.admin.IWorkflowAttributes|null} [attributes] WorkflowAttributesGetResponse attributes */ /** - * Constructs a new TaskExecutionList. + * Constructs a new WorkflowAttributesGetResponse. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionList. - * @implements ITaskExecutionList + * @classdesc Represents a WorkflowAttributesGetResponse. + * @implements IWorkflowAttributesGetResponse * @constructor - * @param {flyteidl.admin.ITaskExecutionList=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowAttributesGetResponse=} [properties] Properties to set */ - function TaskExecutionList(properties) { - this.taskExecutions = []; + function WorkflowAttributesGetResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -48646,78 +48069,62 @@ } /** - * TaskExecutionList taskExecutions. - * @member {Array.} taskExecutions - * @memberof flyteidl.admin.TaskExecutionList - * @instance - */ - TaskExecutionList.prototype.taskExecutions = $util.emptyArray; - - /** - * TaskExecutionList token. - * @member {string} token - * @memberof flyteidl.admin.TaskExecutionList + * WorkflowAttributesGetResponse attributes. + * @member {flyteidl.admin.IWorkflowAttributes|null|undefined} attributes + * @memberof flyteidl.admin.WorkflowAttributesGetResponse * @instance */ - TaskExecutionList.prototype.token = ""; + WorkflowAttributesGetResponse.prototype.attributes = null; /** - * Creates a new TaskExecutionList instance using the specified properties. + * Creates a new WorkflowAttributesGetResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionList + * @memberof flyteidl.admin.WorkflowAttributesGetResponse * @static - * @param {flyteidl.admin.ITaskExecutionList=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionList} TaskExecutionList instance + * @param {flyteidl.admin.IWorkflowAttributesGetResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributesGetResponse} WorkflowAttributesGetResponse instance */ - TaskExecutionList.create = function create(properties) { - return new TaskExecutionList(properties); + WorkflowAttributesGetResponse.create = function create(properties) { + return new WorkflowAttributesGetResponse(properties); }; /** - * Encodes the specified TaskExecutionList message. Does not implicitly {@link flyteidl.admin.TaskExecutionList.verify|verify} messages. + * Encodes the specified WorkflowAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionList + * @memberof flyteidl.admin.WorkflowAttributesGetResponse * @static - * @param {flyteidl.admin.ITaskExecutionList} message TaskExecutionList message or plain object to encode + * @param {flyteidl.admin.IWorkflowAttributesGetResponse} message WorkflowAttributesGetResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionList.encode = function encode(message, writer) { + WorkflowAttributesGetResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.taskExecutions != null && message.taskExecutions.length) - for (var i = 0; i < message.taskExecutions.length; ++i) - $root.flyteidl.admin.TaskExecution.encode(message.taskExecutions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.attributes != null && message.hasOwnProperty("attributes")) + $root.flyteidl.admin.WorkflowAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecutionList message from the specified reader or buffer. + * Decodes a WorkflowAttributesGetResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionList + * @memberof flyteidl.admin.WorkflowAttributesGetResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionList} TaskExecutionList + * @returns {flyteidl.admin.WorkflowAttributesGetResponse} WorkflowAttributesGetResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionList.decode = function decode(reader, length) { + WorkflowAttributesGetResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionList(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesGetResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.taskExecutions && message.taskExecutions.length)) - message.taskExecutions = []; - message.taskExecutions.push($root.flyteidl.admin.TaskExecution.decode(reader, reader.uint32())); - break; - case 2: - message.token = reader.string(); + message.attributes = $root.flyteidl.admin.WorkflowAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -48728,68 +48135,49 @@ }; /** - * Verifies a TaskExecutionList message. + * Verifies a WorkflowAttributesGetResponse message. * @function verify - * @memberof flyteidl.admin.TaskExecutionList + * @memberof flyteidl.admin.WorkflowAttributesGetResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionList.verify = function verify(message) { + WorkflowAttributesGetResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.taskExecutions != null && message.hasOwnProperty("taskExecutions")) { - if (!Array.isArray(message.taskExecutions)) - return "taskExecutions: array expected"; - for (var i = 0; i < message.taskExecutions.length; ++i) { - var error = $root.flyteidl.admin.TaskExecution.verify(message.taskExecutions[i]); - if (error) - return "taskExecutions." + error; - } + if (message.attributes != null && message.hasOwnProperty("attributes")) { + var error = $root.flyteidl.admin.WorkflowAttributes.verify(message.attributes); + if (error) + return "attributes." + error; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return TaskExecutionList; + return WorkflowAttributesGetResponse; })(); - admin.TaskExecutionClosure = (function() { + admin.WorkflowAttributesDeleteRequest = (function() { /** - * Properties of a TaskExecutionClosure. + * Properties of a WorkflowAttributesDeleteRequest. * @memberof flyteidl.admin - * @interface ITaskExecutionClosure - * @property {string|null} [outputUri] TaskExecutionClosure outputUri - * @property {flyteidl.core.IExecutionError|null} [error] TaskExecutionClosure error - * @property {flyteidl.core.ILiteralMap|null} [outputData] TaskExecutionClosure outputData - * @property {flyteidl.core.TaskExecution.Phase|null} [phase] TaskExecutionClosure phase - * @property {Array.|null} [logs] TaskExecutionClosure logs - * @property {google.protobuf.ITimestamp|null} [startedAt] TaskExecutionClosure startedAt - * @property {google.protobuf.IDuration|null} [duration] TaskExecutionClosure duration - * @property {google.protobuf.ITimestamp|null} [createdAt] TaskExecutionClosure createdAt - * @property {google.protobuf.ITimestamp|null} [updatedAt] TaskExecutionClosure updatedAt - * @property {google.protobuf.IStruct|null} [customInfo] TaskExecutionClosure customInfo - * @property {string|null} [reason] TaskExecutionClosure reason - * @property {string|null} [taskType] TaskExecutionClosure taskType - * @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionClosure metadata - * @property {number|null} [eventVersion] TaskExecutionClosure eventVersion - * @property {Array.|null} [reasons] TaskExecutionClosure reasons + * @interface IWorkflowAttributesDeleteRequest + * @property {string|null} [project] WorkflowAttributesDeleteRequest project + * @property {string|null} [domain] WorkflowAttributesDeleteRequest domain + * @property {string|null} [workflow] WorkflowAttributesDeleteRequest workflow + * @property {flyteidl.admin.MatchableResource|null} [resourceType] WorkflowAttributesDeleteRequest resourceType + * @property {string|null} [org] WorkflowAttributesDeleteRequest org */ /** - * Constructs a new TaskExecutionClosure. + * Constructs a new WorkflowAttributesDeleteRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionClosure. - * @implements ITaskExecutionClosure + * @classdesc Represents a WorkflowAttributesDeleteRequest. + * @implements IWorkflowAttributesDeleteRequest * @constructor - * @param {flyteidl.admin.ITaskExecutionClosure=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest=} [properties] Properties to set */ - function TaskExecutionClosure(properties) { - this.logs = []; - this.reasons = []; + function WorkflowAttributesDeleteRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -48797,264 +48185,114 @@ } /** - * TaskExecutionClosure outputUri. - * @member {string} outputUri - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.outputUri = ""; - - /** - * TaskExecutionClosure error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.error = null; - - /** - * TaskExecutionClosure outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.outputData = null; - - /** - * TaskExecutionClosure phase. - * @member {flyteidl.core.TaskExecution.Phase} phase - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.phase = 0; - - /** - * TaskExecutionClosure logs. - * @member {Array.} logs - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.logs = $util.emptyArray; - - /** - * TaskExecutionClosure startedAt. - * @member {google.protobuf.ITimestamp|null|undefined} startedAt - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.startedAt = null; - - /** - * TaskExecutionClosure duration. - * @member {google.protobuf.IDuration|null|undefined} duration - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.duration = null; - - /** - * TaskExecutionClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.createdAt = null; - - /** - * TaskExecutionClosure updatedAt. - * @member {google.protobuf.ITimestamp|null|undefined} updatedAt - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.updatedAt = null; - - /** - * TaskExecutionClosure customInfo. - * @member {google.protobuf.IStruct|null|undefined} customInfo - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.customInfo = null; - - /** - * TaskExecutionClosure reason. - * @member {string} reason - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.reason = ""; - - /** - * TaskExecutionClosure taskType. - * @member {string} taskType - * @memberof flyteidl.admin.TaskExecutionClosure + * WorkflowAttributesDeleteRequest project. + * @member {string} project + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest * @instance */ - TaskExecutionClosure.prototype.taskType = ""; + WorkflowAttributesDeleteRequest.prototype.project = ""; /** - * TaskExecutionClosure metadata. - * @member {flyteidl.event.ITaskExecutionMetadata|null|undefined} metadata - * @memberof flyteidl.admin.TaskExecutionClosure + * WorkflowAttributesDeleteRequest domain. + * @member {string} domain + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest * @instance */ - TaskExecutionClosure.prototype.metadata = null; + WorkflowAttributesDeleteRequest.prototype.domain = ""; /** - * TaskExecutionClosure eventVersion. - * @member {number} eventVersion - * @memberof flyteidl.admin.TaskExecutionClosure + * WorkflowAttributesDeleteRequest workflow. + * @member {string} workflow + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest * @instance */ - TaskExecutionClosure.prototype.eventVersion = 0; + WorkflowAttributesDeleteRequest.prototype.workflow = ""; /** - * TaskExecutionClosure reasons. - * @member {Array.} reasons - * @memberof flyteidl.admin.TaskExecutionClosure + * WorkflowAttributesDeleteRequest resourceType. + * @member {flyteidl.admin.MatchableResource} resourceType + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest * @instance */ - TaskExecutionClosure.prototype.reasons = $util.emptyArray; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + WorkflowAttributesDeleteRequest.prototype.resourceType = 0; /** - * TaskExecutionClosure outputResult. - * @member {"outputUri"|"error"|"outputData"|undefined} outputResult - * @memberof flyteidl.admin.TaskExecutionClosure + * WorkflowAttributesDeleteRequest org. + * @member {string} org + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest * @instance */ - Object.defineProperty(TaskExecutionClosure.prototype, "outputResult", { - get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), - set: $util.oneOfSetter($oneOfFields) - }); + WorkflowAttributesDeleteRequest.prototype.org = ""; /** - * Creates a new TaskExecutionClosure instance using the specified properties. + * Creates a new WorkflowAttributesDeleteRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionClosure + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest * @static - * @param {flyteidl.admin.ITaskExecutionClosure=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionClosure} TaskExecutionClosure instance + * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributesDeleteRequest} WorkflowAttributesDeleteRequest instance */ - TaskExecutionClosure.create = function create(properties) { - return new TaskExecutionClosure(properties); + WorkflowAttributesDeleteRequest.create = function create(properties) { + return new WorkflowAttributesDeleteRequest(properties); }; /** - * Encodes the specified TaskExecutionClosure message. Does not implicitly {@link flyteidl.admin.TaskExecutionClosure.verify|verify} messages. + * Encodes the specified WorkflowAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionClosure + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest * @static - * @param {flyteidl.admin.ITaskExecutionClosure} message TaskExecutionClosure message or plain object to encode + * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest} message WorkflowAttributesDeleteRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionClosure.encode = function encode(message, writer) { + WorkflowAttributesDeleteRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.outputUri != null && message.hasOwnProperty("outputUri")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.outputUri); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.phase != null && message.hasOwnProperty("phase")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.phase); - if (message.logs != null && message.logs.length) - for (var i = 0; i < message.logs.length; ++i) - $root.flyteidl.core.TaskLog.encode(message.logs[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.startedAt != null && message.hasOwnProperty("startedAt")) - $root.google.protobuf.Timestamp.encode(message.startedAt, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.duration != null && message.hasOwnProperty("duration")) - $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.createdAt != null && message.hasOwnProperty("createdAt")) - $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) - $root.google.protobuf.Timestamp.encode(message.updatedAt, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.customInfo != null && message.hasOwnProperty("customInfo")) - $root.google.protobuf.Struct.encode(message.customInfo, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.reason != null && message.hasOwnProperty("reason")) - writer.uint32(/* id 10, wireType 2 =*/82).string(message.reason); - if (message.taskType != null && message.hasOwnProperty("taskType")) - writer.uint32(/* id 11, wireType 2 =*/90).string(message.taskType); - if (message.outputData != null && message.hasOwnProperty("outputData")) - $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim(); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.event.TaskExecutionMetadata.encode(message.metadata, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); - if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) - writer.uint32(/* id 17, wireType 0 =*/136).int32(message.eventVersion); - if (message.reasons != null && message.reasons.length) - for (var i = 0; i < message.reasons.length; ++i) - $root.flyteidl.admin.Reason.encode(message.reasons[i], writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.workflow != null && message.hasOwnProperty("workflow")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.workflow); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.resourceType); + if (message.org != null && message.hasOwnProperty("org")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.org); return writer; }; /** - * Decodes a TaskExecutionClosure message from the specified reader or buffer. + * Decodes a WorkflowAttributesDeleteRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionClosure + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionClosure} TaskExecutionClosure + * @returns {flyteidl.admin.WorkflowAttributesDeleteRequest} WorkflowAttributesDeleteRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionClosure.decode = function decode(reader, length) { + WorkflowAttributesDeleteRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionClosure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesDeleteRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.outputUri = reader.string(); + message.project = reader.string(); break; case 2: - message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); - break; - case 12: - message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.domain = reader.string(); break; case 3: - message.phase = reader.int32(); + message.workflow = reader.string(); break; case 4: - if (!(message.logs && message.logs.length)) - message.logs = []; - message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32())); + message.resourceType = reader.int32(); break; case 5: - message.startedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 6: - message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 7: - message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 8: - message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 9: - message.customInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); - break; - case 10: - message.reason = reader.string(); - break; - case 11: - message.taskType = reader.string(); - break; - case 16: - message.metadata = $root.flyteidl.event.TaskExecutionMetadata.decode(reader, reader.uint32()); - break; - case 17: - message.eventVersion = reader.int32(); - break; - case 18: - if (!(message.reasons && message.reasons.length)) - message.reasons = []; - message.reasons.push($root.flyteidl.admin.Reason.decode(reader, reader.uint32())); + message.org = reader.string(); break; default: reader.skipType(tag & 7); @@ -49065,46 +48303,29 @@ }; /** - * Verifies a TaskExecutionClosure message. + * Verifies a WorkflowAttributesDeleteRequest message. * @function verify - * @memberof flyteidl.admin.TaskExecutionClosure + * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionClosure.verify = function verify(message) { + WorkflowAttributesDeleteRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.outputUri != null && message.hasOwnProperty("outputUri")) { - properties.outputResult = 1; - if (!$util.isString(message.outputUri)) - return "outputUri: string expected"; - } - if (message.error != null && message.hasOwnProperty("error")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - { - var error = $root.flyteidl.core.ExecutionError.verify(message.error); - if (error) - return "error." + error; - } - } - if (message.outputData != null && message.hasOwnProperty("outputData")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); - if (error) - return "outputData." + error; - } - } - if (message.phase != null && message.hasOwnProperty("phase")) - switch (message.phase) { + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.workflow != null && message.hasOwnProperty("workflow")) + if (!$util.isString(message.workflow)) + return "workflow: string expected"; + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { default: - return "phase: enum value expected"; + return "resourceType: enum value expected"; case 0: case 1: case 2: @@ -49115,88 +48336,32 @@ case 7: break; } - if (message.logs != null && message.hasOwnProperty("logs")) { - if (!Array.isArray(message.logs)) - return "logs: array expected"; - for (var i = 0; i < message.logs.length; ++i) { - var error = $root.flyteidl.core.TaskLog.verify(message.logs[i]); - if (error) - return "logs." + error; - } - } - if (message.startedAt != null && message.hasOwnProperty("startedAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.startedAt); - if (error) - return "startedAt." + error; - } - if (message.duration != null && message.hasOwnProperty("duration")) { - var error = $root.google.protobuf.Duration.verify(message.duration); - if (error) - return "duration." + error; - } - if (message.createdAt != null && message.hasOwnProperty("createdAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.createdAt); - if (error) - return "createdAt." + error; - } - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.updatedAt); - if (error) - return "updatedAt." + error; - } - if (message.customInfo != null && message.hasOwnProperty("customInfo")) { - var error = $root.google.protobuf.Struct.verify(message.customInfo); - if (error) - return "customInfo." + error; - } - if (message.reason != null && message.hasOwnProperty("reason")) - if (!$util.isString(message.reason)) - return "reason: string expected"; - if (message.taskType != null && message.hasOwnProperty("taskType")) - if (!$util.isString(message.taskType)) - return "taskType: string expected"; - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.event.TaskExecutionMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } - if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) - if (!$util.isInteger(message.eventVersion)) - return "eventVersion: integer expected"; - if (message.reasons != null && message.hasOwnProperty("reasons")) { - if (!Array.isArray(message.reasons)) - return "reasons: array expected"; - for (var i = 0; i < message.reasons.length; ++i) { - var error = $root.flyteidl.admin.Reason.verify(message.reasons[i]); - if (error) - return "reasons." + error; - } - } + if (message.org != null && message.hasOwnProperty("org")) + if (!$util.isString(message.org)) + return "org: string expected"; return null; }; - return TaskExecutionClosure; + return WorkflowAttributesDeleteRequest; })(); - admin.Reason = (function() { + admin.WorkflowAttributesDeleteResponse = (function() { /** - * Properties of a Reason. + * Properties of a WorkflowAttributesDeleteResponse. * @memberof flyteidl.admin - * @interface IReason - * @property {google.protobuf.ITimestamp|null} [occurredAt] Reason occurredAt - * @property {string|null} [message] Reason message + * @interface IWorkflowAttributesDeleteResponse */ /** - * Constructs a new Reason. + * Constructs a new WorkflowAttributesDeleteResponse. * @memberof flyteidl.admin - * @classdesc Represents a Reason. - * @implements IReason + * @classdesc Represents a WorkflowAttributesDeleteResponse. + * @implements IWorkflowAttributesDeleteResponse * @constructor - * @param {flyteidl.admin.IReason=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowAttributesDeleteResponse=} [properties] Properties to set */ - function Reason(properties) { + function WorkflowAttributesDeleteResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -49204,76 +48369,50 @@ } /** - * Reason occurredAt. - * @member {google.protobuf.ITimestamp|null|undefined} occurredAt - * @memberof flyteidl.admin.Reason - * @instance - */ - Reason.prototype.occurredAt = null; - - /** - * Reason message. - * @member {string} message - * @memberof flyteidl.admin.Reason - * @instance - */ - Reason.prototype.message = ""; - - /** - * Creates a new Reason instance using the specified properties. + * Creates a new WorkflowAttributesDeleteResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.Reason + * @memberof flyteidl.admin.WorkflowAttributesDeleteResponse * @static - * @param {flyteidl.admin.IReason=} [properties] Properties to set - * @returns {flyteidl.admin.Reason} Reason instance + * @param {flyteidl.admin.IWorkflowAttributesDeleteResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributesDeleteResponse} WorkflowAttributesDeleteResponse instance */ - Reason.create = function create(properties) { - return new Reason(properties); + WorkflowAttributesDeleteResponse.create = function create(properties) { + return new WorkflowAttributesDeleteResponse(properties); }; /** - * Encodes the specified Reason message. Does not implicitly {@link flyteidl.admin.Reason.verify|verify} messages. + * Encodes the specified WorkflowAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Reason + * @memberof flyteidl.admin.WorkflowAttributesDeleteResponse * @static - * @param {flyteidl.admin.IReason} message Reason message or plain object to encode + * @param {flyteidl.admin.IWorkflowAttributesDeleteResponse} message WorkflowAttributesDeleteResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Reason.encode = function encode(message, writer) { + WorkflowAttributesDeleteResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) - $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.message != null && message.hasOwnProperty("message")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); return writer; }; /** - * Decodes a Reason message from the specified reader or buffer. + * Decodes a WorkflowAttributesDeleteResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Reason + * @memberof flyteidl.admin.WorkflowAttributesDeleteResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Reason} Reason + * @returns {flyteidl.admin.WorkflowAttributesDeleteResponse} WorkflowAttributesDeleteResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Reason.decode = function decode(reader, length) { + WorkflowAttributesDeleteResponse.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Reason(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesDeleteResponse(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 2: - message.message = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -49283,48 +48422,60 @@ }; /** - * Verifies a Reason message. + * Verifies a WorkflowAttributesDeleteResponse message. * @function verify - * @memberof flyteidl.admin.Reason + * @memberof flyteidl.admin.WorkflowAttributesDeleteResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Reason.verify = function verify(message) { + WorkflowAttributesDeleteResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); - if (error) - return "occurredAt." + error; - } - if (message.message != null && message.hasOwnProperty("message")) - if (!$util.isString(message.message)) - return "message: string expected"; return null; }; - return Reason; + return WorkflowAttributesDeleteResponse; })(); - admin.TaskExecutionGetDataRequest = (function() { + return admin; + })(); + + flyteidl.event = (function() { + + /** + * Namespace event. + * @memberof flyteidl + * @namespace + */ + var event = {}; + + event.CloudEventWorkflowExecution = (function() { /** - * Properties of a TaskExecutionGetDataRequest. - * @memberof flyteidl.admin - * @interface ITaskExecutionGetDataRequest - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetDataRequest id + * Properties of a CloudEventWorkflowExecution. + * @memberof flyteidl.event + * @interface ICloudEventWorkflowExecution + * @property {flyteidl.event.IWorkflowExecutionEvent|null} [rawEvent] CloudEventWorkflowExecution rawEvent + * @property {flyteidl.core.ITypedInterface|null} [outputInterface] CloudEventWorkflowExecution outputInterface + * @property {Array.|null} [artifactIds] CloudEventWorkflowExecution artifactIds + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [referenceExecution] CloudEventWorkflowExecution referenceExecution + * @property {string|null} [principal] CloudEventWorkflowExecution principal + * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventWorkflowExecution launchPlanId + * @property {Object.|null} [labels] CloudEventWorkflowExecution labels */ /** - * Constructs a new TaskExecutionGetDataRequest. - * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionGetDataRequest. - * @implements ITaskExecutionGetDataRequest + * Constructs a new CloudEventWorkflowExecution. + * @memberof flyteidl.event + * @classdesc Represents a CloudEventWorkflowExecution. + * @implements ICloudEventWorkflowExecution * @constructor - * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set + * @param {flyteidl.event.ICloudEventWorkflowExecution=} [properties] Properties to set */ - function TaskExecutionGetDataRequest(properties) { + function CloudEventWorkflowExecution(properties) { + this.artifactIds = []; + this.labels = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -49332,62 +48483,149 @@ } /** - * TaskExecutionGetDataRequest id. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * CloudEventWorkflowExecution rawEvent. + * @member {flyteidl.event.IWorkflowExecutionEvent|null|undefined} rawEvent + * @memberof flyteidl.event.CloudEventWorkflowExecution * @instance */ - TaskExecutionGetDataRequest.prototype.id = null; + CloudEventWorkflowExecution.prototype.rawEvent = null; /** - * Creates a new TaskExecutionGetDataRequest instance using the specified properties. + * CloudEventWorkflowExecution outputInterface. + * @member {flyteidl.core.ITypedInterface|null|undefined} outputInterface + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.outputInterface = null; + + /** + * CloudEventWorkflowExecution artifactIds. + * @member {Array.} artifactIds + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.artifactIds = $util.emptyArray; + + /** + * CloudEventWorkflowExecution referenceExecution. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} referenceExecution + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.referenceExecution = null; + + /** + * CloudEventWorkflowExecution principal. + * @member {string} principal + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.principal = ""; + + /** + * CloudEventWorkflowExecution launchPlanId. + * @member {flyteidl.core.IIdentifier|null|undefined} launchPlanId + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.launchPlanId = null; + + /** + * CloudEventWorkflowExecution labels. + * @member {Object.} labels + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.labels = $util.emptyObject; + + /** + * Creates a new CloudEventWorkflowExecution instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @memberof flyteidl.event.CloudEventWorkflowExecution * @static - * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest instance + * @param {flyteidl.event.ICloudEventWorkflowExecution=} [properties] Properties to set + * @returns {flyteidl.event.CloudEventWorkflowExecution} CloudEventWorkflowExecution instance */ - TaskExecutionGetDataRequest.create = function create(properties) { - return new TaskExecutionGetDataRequest(properties); + CloudEventWorkflowExecution.create = function create(properties) { + return new CloudEventWorkflowExecution(properties); }; /** - * Encodes the specified TaskExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataRequest.verify|verify} messages. + * Encodes the specified CloudEventWorkflowExecution message. Does not implicitly {@link flyteidl.event.CloudEventWorkflowExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @memberof flyteidl.event.CloudEventWorkflowExecution * @static - * @param {flyteidl.admin.ITaskExecutionGetDataRequest} message TaskExecutionGetDataRequest message or plain object to encode + * @param {flyteidl.event.ICloudEventWorkflowExecution} message CloudEventWorkflowExecution message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionGetDataRequest.encode = function encode(message, writer) { + CloudEventWorkflowExecution.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) + $root.flyteidl.event.WorkflowExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) + $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.artifactIds != null && message.artifactIds.length) + for (var i = 0; i < message.artifactIds.length; ++i) + $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.referenceExecution, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.principal != null && message.hasOwnProperty("principal")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.principal); + if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) + $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.labels != null && message.hasOwnProperty("labels")) + for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) + writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); return writer; }; /** - * Decodes a TaskExecutionGetDataRequest message from the specified reader or buffer. + * Decodes a CloudEventWorkflowExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @memberof flyteidl.event.CloudEventWorkflowExecution * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest + * @returns {flyteidl.event.CloudEventWorkflowExecution} CloudEventWorkflowExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionGetDataRequest.decode = function decode(reader, length) { + CloudEventWorkflowExecution.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionGetDataRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventWorkflowExecution(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + message.rawEvent = $root.flyteidl.event.WorkflowExecutionEvent.decode(reader, reader.uint32()); + break; + case 2: + message.outputInterface = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); + break; + case 3: + if (!(message.artifactIds && message.artifactIds.length)) + message.artifactIds = []; + message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); + break; + case 4: + message.referenceExecution = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 5: + message.principal = reader.string(); + break; + case 6: + message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 7: + reader.skip().pos++; + if (message.labels === $util.emptyObject) + message.labels = {}; + key = reader.string(); + reader.pos++; + message.labels[key] = reader.string(); break; default: reader.skipType(tag & 7); @@ -49398,49 +48636,88 @@ }; /** - * Verifies a TaskExecutionGetDataRequest message. + * Verifies a CloudEventWorkflowExecution message. * @function verify - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @memberof flyteidl.event.CloudEventWorkflowExecution * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionGetDataRequest.verify = function verify(message) { + CloudEventWorkflowExecution.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) { + var error = $root.flyteidl.event.WorkflowExecutionEvent.verify(message.rawEvent); if (error) - return "id." + error; + return "rawEvent." + error; + } + if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) { + var error = $root.flyteidl.core.TypedInterface.verify(message.outputInterface); + if (error) + return "outputInterface." + error; + } + if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { + if (!Array.isArray(message.artifactIds)) + return "artifactIds: array expected"; + for (var i = 0; i < message.artifactIds.length; ++i) { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactIds[i]); + if (error) + return "artifactIds." + error; + } + } + if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.referenceExecution); + if (error) + return "referenceExecution." + error; + } + if (message.principal != null && message.hasOwnProperty("principal")) + if (!$util.isString(message.principal)) + return "principal: string expected"; + if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) { + var error = $root.flyteidl.core.Identifier.verify(message.launchPlanId); + if (error) + return "launchPlanId." + error; + } + if (message.labels != null && message.hasOwnProperty("labels")) { + if (!$util.isObject(message.labels)) + return "labels: object expected"; + var key = Object.keys(message.labels); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.labels[key[i]])) + return "labels: string{k:string} expected"; } return null; }; - return TaskExecutionGetDataRequest; + return CloudEventWorkflowExecution; })(); - admin.TaskExecutionGetDataResponse = (function() { + event.CloudEventNodeExecution = (function() { /** - * Properties of a TaskExecutionGetDataResponse. - * @memberof flyteidl.admin - * @interface ITaskExecutionGetDataResponse - * @property {flyteidl.admin.IUrlBlob|null} [inputs] TaskExecutionGetDataResponse inputs - * @property {flyteidl.admin.IUrlBlob|null} [outputs] TaskExecutionGetDataResponse outputs - * @property {flyteidl.core.ILiteralMap|null} [fullInputs] TaskExecutionGetDataResponse fullInputs - * @property {flyteidl.core.ILiteralMap|null} [fullOutputs] TaskExecutionGetDataResponse fullOutputs - * @property {flyteidl.admin.IFlyteURLs|null} [flyteUrls] TaskExecutionGetDataResponse flyteUrls + * Properties of a CloudEventNodeExecution. + * @memberof flyteidl.event + * @interface ICloudEventNodeExecution + * @property {flyteidl.event.INodeExecutionEvent|null} [rawEvent] CloudEventNodeExecution rawEvent + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecId] CloudEventNodeExecution taskExecId + * @property {flyteidl.core.ITypedInterface|null} [outputInterface] CloudEventNodeExecution outputInterface + * @property {Array.|null} [artifactIds] CloudEventNodeExecution artifactIds + * @property {string|null} [principal] CloudEventNodeExecution principal + * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventNodeExecution launchPlanId + * @property {Object.|null} [labels] CloudEventNodeExecution labels */ /** - * Constructs a new TaskExecutionGetDataResponse. - * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionGetDataResponse. - * @implements ITaskExecutionGetDataResponse + * Constructs a new CloudEventNodeExecution. + * @memberof flyteidl.event + * @classdesc Represents a CloudEventNodeExecution. + * @implements ICloudEventNodeExecution * @constructor - * @param {flyteidl.admin.ITaskExecutionGetDataResponse=} [properties] Properties to set + * @param {flyteidl.event.ICloudEventNodeExecution=} [properties] Properties to set */ - function TaskExecutionGetDataResponse(properties) { + function CloudEventNodeExecution(properties) { + this.artifactIds = []; + this.labels = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -49448,114 +48725,149 @@ } /** - * TaskExecutionGetDataResponse inputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * CloudEventNodeExecution rawEvent. + * @member {flyteidl.event.INodeExecutionEvent|null|undefined} rawEvent + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - TaskExecutionGetDataResponse.prototype.inputs = null; + CloudEventNodeExecution.prototype.rawEvent = null; /** - * TaskExecutionGetDataResponse outputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * CloudEventNodeExecution taskExecId. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecId + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - TaskExecutionGetDataResponse.prototype.outputs = null; + CloudEventNodeExecution.prototype.taskExecId = null; /** - * TaskExecutionGetDataResponse fullInputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fullInputs - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * CloudEventNodeExecution outputInterface. + * @member {flyteidl.core.ITypedInterface|null|undefined} outputInterface + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - TaskExecutionGetDataResponse.prototype.fullInputs = null; + CloudEventNodeExecution.prototype.outputInterface = null; /** - * TaskExecutionGetDataResponse fullOutputs. - * @member {flyteidl.core.ILiteralMap|null|undefined} fullOutputs - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * CloudEventNodeExecution artifactIds. + * @member {Array.} artifactIds + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - TaskExecutionGetDataResponse.prototype.fullOutputs = null; + CloudEventNodeExecution.prototype.artifactIds = $util.emptyArray; /** - * TaskExecutionGetDataResponse flyteUrls. - * @member {flyteidl.admin.IFlyteURLs|null|undefined} flyteUrls - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * CloudEventNodeExecution principal. + * @member {string} principal + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - TaskExecutionGetDataResponse.prototype.flyteUrls = null; + CloudEventNodeExecution.prototype.principal = ""; /** - * Creates a new TaskExecutionGetDataResponse instance using the specified properties. + * CloudEventNodeExecution launchPlanId. + * @member {flyteidl.core.IIdentifier|null|undefined} launchPlanId + * @memberof flyteidl.event.CloudEventNodeExecution + * @instance + */ + CloudEventNodeExecution.prototype.launchPlanId = null; + + /** + * CloudEventNodeExecution labels. + * @member {Object.} labels + * @memberof flyteidl.event.CloudEventNodeExecution + * @instance + */ + CloudEventNodeExecution.prototype.labels = $util.emptyObject; + + /** + * Creates a new CloudEventNodeExecution instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @memberof flyteidl.event.CloudEventNodeExecution * @static - * @param {flyteidl.admin.ITaskExecutionGetDataResponse=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionGetDataResponse} TaskExecutionGetDataResponse instance + * @param {flyteidl.event.ICloudEventNodeExecution=} [properties] Properties to set + * @returns {flyteidl.event.CloudEventNodeExecution} CloudEventNodeExecution instance */ - TaskExecutionGetDataResponse.create = function create(properties) { - return new TaskExecutionGetDataResponse(properties); + CloudEventNodeExecution.create = function create(properties) { + return new CloudEventNodeExecution(properties); }; /** - * Encodes the specified TaskExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataResponse.verify|verify} messages. + * Encodes the specified CloudEventNodeExecution message. Does not implicitly {@link flyteidl.event.CloudEventNodeExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @memberof flyteidl.event.CloudEventNodeExecution * @static - * @param {flyteidl.admin.ITaskExecutionGetDataResponse} message TaskExecutionGetDataResponse message or plain object to encode + * @param {flyteidl.event.ICloudEventNodeExecution} message CloudEventNodeExecution message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionGetDataResponse.encode = function encode(message, writer) { + CloudEventNodeExecution.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.inputs != null && message.hasOwnProperty("inputs")) - $root.flyteidl.admin.UrlBlob.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.outputs != null && message.hasOwnProperty("outputs")) - $root.flyteidl.admin.UrlBlob.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) - $root.flyteidl.core.LiteralMap.encode(message.fullInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) - $root.flyteidl.core.LiteralMap.encode(message.fullOutputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) - $root.flyteidl.admin.FlyteURLs.encode(message.flyteUrls, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) + $root.flyteidl.event.NodeExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.taskExecId != null && message.hasOwnProperty("taskExecId")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskExecId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) + $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.artifactIds != null && message.artifactIds.length) + for (var i = 0; i < message.artifactIds.length; ++i) + $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.principal != null && message.hasOwnProperty("principal")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.principal); + if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) + $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.labels != null && message.hasOwnProperty("labels")) + for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) + writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); return writer; }; /** - * Decodes a TaskExecutionGetDataResponse message from the specified reader or buffer. + * Decodes a CloudEventNodeExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @memberof flyteidl.event.CloudEventNodeExecution * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionGetDataResponse} TaskExecutionGetDataResponse + * @returns {flyteidl.event.CloudEventNodeExecution} CloudEventNodeExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionGetDataResponse.decode = function decode(reader, length) { + CloudEventNodeExecution.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionGetDataResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventNodeExecution(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + message.rawEvent = $root.flyteidl.event.NodeExecutionEvent.decode(reader, reader.uint32()); break; case 2: - message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + message.taskExecId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; case 3: - message.fullInputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + message.outputInterface = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); break; case 4: - message.fullOutputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + if (!(message.artifactIds && message.artifactIds.length)) + message.artifactIds = []; + message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); break; case 5: - message.flyteUrls = $root.flyteidl.admin.FlyteURLs.decode(reader, reader.uint32()); + message.principal = reader.string(); + break; + case 6: + message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 7: + reader.skip().pos++; + if (message.labels === $util.emptyObject) + message.labels = {}; + key = reader.string(); + reader.pos++; + message.labels[key] = reader.string(); break; default: reader.skipType(tag & 7); @@ -49566,65 +48878,82 @@ }; /** - * Verifies a TaskExecutionGetDataResponse message. + * Verifies a CloudEventNodeExecution message. * @function verify - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @memberof flyteidl.event.CloudEventNodeExecution * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionGetDataResponse.verify = function verify(message) { + CloudEventNodeExecution.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.inputs != null && message.hasOwnProperty("inputs")) { - var error = $root.flyteidl.admin.UrlBlob.verify(message.inputs); + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) { + var error = $root.flyteidl.event.NodeExecutionEvent.verify(message.rawEvent); if (error) - return "inputs." + error; + return "rawEvent." + error; } - if (message.outputs != null && message.hasOwnProperty("outputs")) { - var error = $root.flyteidl.admin.UrlBlob.verify(message.outputs); + if (message.taskExecId != null && message.hasOwnProperty("taskExecId")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskExecId); if (error) - return "outputs." + error; + return "taskExecId." + error; } - if (message.fullInputs != null && message.hasOwnProperty("fullInputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.fullInputs); + if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) { + var error = $root.flyteidl.core.TypedInterface.verify(message.outputInterface); if (error) - return "fullInputs." + error; + return "outputInterface." + error; } - if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.fullOutputs); - if (error) - return "fullOutputs." + error; + if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { + if (!Array.isArray(message.artifactIds)) + return "artifactIds: array expected"; + for (var i = 0; i < message.artifactIds.length; ++i) { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactIds[i]); + if (error) + return "artifactIds." + error; + } } - if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) { - var error = $root.flyteidl.admin.FlyteURLs.verify(message.flyteUrls); + if (message.principal != null && message.hasOwnProperty("principal")) + if (!$util.isString(message.principal)) + return "principal: string expected"; + if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) { + var error = $root.flyteidl.core.Identifier.verify(message.launchPlanId); if (error) - return "flyteUrls." + error; + return "launchPlanId." + error; + } + if (message.labels != null && message.hasOwnProperty("labels")) { + if (!$util.isObject(message.labels)) + return "labels: object expected"; + var key = Object.keys(message.labels); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.labels[key[i]])) + return "labels: string{k:string} expected"; } return null; }; - return TaskExecutionGetDataResponse; + return CloudEventNodeExecution; })(); - admin.GetVersionResponse = (function() { + event.CloudEventTaskExecution = (function() { /** - * Properties of a GetVersionResponse. - * @memberof flyteidl.admin - * @interface IGetVersionResponse - * @property {flyteidl.admin.IVersion|null} [controlPlaneVersion] GetVersionResponse controlPlaneVersion + * Properties of a CloudEventTaskExecution. + * @memberof flyteidl.event + * @interface ICloudEventTaskExecution + * @property {flyteidl.event.ITaskExecutionEvent|null} [rawEvent] CloudEventTaskExecution rawEvent + * @property {Object.|null} [labels] CloudEventTaskExecution labels */ /** - * Constructs a new GetVersionResponse. - * @memberof flyteidl.admin - * @classdesc Represents a GetVersionResponse. - * @implements IGetVersionResponse + * Constructs a new CloudEventTaskExecution. + * @memberof flyteidl.event + * @classdesc Represents a CloudEventTaskExecution. + * @implements ICloudEventTaskExecution * @constructor - * @param {flyteidl.admin.IGetVersionResponse=} [properties] Properties to set + * @param {flyteidl.event.ICloudEventTaskExecution=} [properties] Properties to set */ - function GetVersionResponse(properties) { + function CloudEventTaskExecution(properties) { + this.labels = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -49632,62 +48961,81 @@ } /** - * GetVersionResponse controlPlaneVersion. - * @member {flyteidl.admin.IVersion|null|undefined} controlPlaneVersion - * @memberof flyteidl.admin.GetVersionResponse + * CloudEventTaskExecution rawEvent. + * @member {flyteidl.event.ITaskExecutionEvent|null|undefined} rawEvent + * @memberof flyteidl.event.CloudEventTaskExecution * @instance */ - GetVersionResponse.prototype.controlPlaneVersion = null; + CloudEventTaskExecution.prototype.rawEvent = null; /** - * Creates a new GetVersionResponse instance using the specified properties. + * CloudEventTaskExecution labels. + * @member {Object.} labels + * @memberof flyteidl.event.CloudEventTaskExecution + * @instance + */ + CloudEventTaskExecution.prototype.labels = $util.emptyObject; + + /** + * Creates a new CloudEventTaskExecution instance using the specified properties. * @function create - * @memberof flyteidl.admin.GetVersionResponse + * @memberof flyteidl.event.CloudEventTaskExecution * @static - * @param {flyteidl.admin.IGetVersionResponse=} [properties] Properties to set - * @returns {flyteidl.admin.GetVersionResponse} GetVersionResponse instance + * @param {flyteidl.event.ICloudEventTaskExecution=} [properties] Properties to set + * @returns {flyteidl.event.CloudEventTaskExecution} CloudEventTaskExecution instance */ - GetVersionResponse.create = function create(properties) { - return new GetVersionResponse(properties); + CloudEventTaskExecution.create = function create(properties) { + return new CloudEventTaskExecution(properties); }; /** - * Encodes the specified GetVersionResponse message. Does not implicitly {@link flyteidl.admin.GetVersionResponse.verify|verify} messages. + * Encodes the specified CloudEventTaskExecution message. Does not implicitly {@link flyteidl.event.CloudEventTaskExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.GetVersionResponse + * @memberof flyteidl.event.CloudEventTaskExecution * @static - * @param {flyteidl.admin.IGetVersionResponse} message GetVersionResponse message or plain object to encode + * @param {flyteidl.event.ICloudEventTaskExecution} message CloudEventTaskExecution message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetVersionResponse.encode = function encode(message, writer) { + CloudEventTaskExecution.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.controlPlaneVersion != null && message.hasOwnProperty("controlPlaneVersion")) - $root.flyteidl.admin.Version.encode(message.controlPlaneVersion, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) + $root.flyteidl.event.TaskExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.labels != null && message.hasOwnProperty("labels")) + for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) + writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); return writer; }; /** - * Decodes a GetVersionResponse message from the specified reader or buffer. + * Decodes a CloudEventTaskExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.GetVersionResponse + * @memberof flyteidl.event.CloudEventTaskExecution * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.GetVersionResponse} GetVersionResponse + * @returns {flyteidl.event.CloudEventTaskExecution} CloudEventTaskExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetVersionResponse.decode = function decode(reader, length) { + CloudEventTaskExecution.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.GetVersionResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventTaskExecution(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.controlPlaneVersion = $root.flyteidl.admin.Version.decode(reader, reader.uint32()); + message.rawEvent = $root.flyteidl.event.TaskExecutionEvent.decode(reader, reader.uint32()); + break; + case 2: + reader.skip().pos++; + if (message.labels === $util.emptyObject) + message.labels = {}; + key = reader.string(); + reader.pos++; + message.labels[key] = reader.string(); break; default: reader.skipType(tag & 7); @@ -49698,47 +49046,60 @@ }; /** - * Verifies a GetVersionResponse message. + * Verifies a CloudEventTaskExecution message. * @function verify - * @memberof flyteidl.admin.GetVersionResponse + * @memberof flyteidl.event.CloudEventTaskExecution * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GetVersionResponse.verify = function verify(message) { + CloudEventTaskExecution.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.controlPlaneVersion != null && message.hasOwnProperty("controlPlaneVersion")) { - var error = $root.flyteidl.admin.Version.verify(message.controlPlaneVersion); + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) { + var error = $root.flyteidl.event.TaskExecutionEvent.verify(message.rawEvent); if (error) - return "controlPlaneVersion." + error; + return "rawEvent." + error; + } + if (message.labels != null && message.hasOwnProperty("labels")) { + if (!$util.isObject(message.labels)) + return "labels: object expected"; + var key = Object.keys(message.labels); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.labels[key[i]])) + return "labels: string{k:string} expected"; } return null; }; - return GetVersionResponse; + return CloudEventTaskExecution; })(); - admin.Version = (function() { + event.CloudEventExecutionStart = (function() { /** - * Properties of a Version. - * @memberof flyteidl.admin - * @interface IVersion - * @property {string|null} [Build] Version Build - * @property {string|null} [Version] Version Version - * @property {string|null} [BuildTime] Version BuildTime + * Properties of a CloudEventExecutionStart. + * @memberof flyteidl.event + * @interface ICloudEventExecutionStart + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] CloudEventExecutionStart executionId + * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventExecutionStart launchPlanId + * @property {flyteidl.core.IIdentifier|null} [workflowId] CloudEventExecutionStart workflowId + * @property {Array.|null} [artifactIds] CloudEventExecutionStart artifactIds + * @property {Array.|null} [artifactTrackers] CloudEventExecutionStart artifactTrackers + * @property {string|null} [principal] CloudEventExecutionStart principal */ /** - * Constructs a new Version. - * @memberof flyteidl.admin - * @classdesc Represents a Version. - * @implements IVersion + * Constructs a new CloudEventExecutionStart. + * @memberof flyteidl.event + * @classdesc Represents a CloudEventExecutionStart. + * @implements ICloudEventExecutionStart * @constructor - * @param {flyteidl.admin.IVersion=} [properties] Properties to set + * @param {flyteidl.event.ICloudEventExecutionStart=} [properties] Properties to set */ - function Version(properties) { + function CloudEventExecutionStart(properties) { + this.artifactIds = []; + this.artifactTrackers = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -49746,191 +49107,134 @@ } /** - * Version Build. - * @member {string} Build - * @memberof flyteidl.admin.Version + * CloudEventExecutionStart executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.event.CloudEventExecutionStart * @instance */ - Version.prototype.Build = ""; + CloudEventExecutionStart.prototype.executionId = null; /** - * Version Version. - * @member {string} Version - * @memberof flyteidl.admin.Version + * CloudEventExecutionStart launchPlanId. + * @member {flyteidl.core.IIdentifier|null|undefined} launchPlanId + * @memberof flyteidl.event.CloudEventExecutionStart * @instance */ - Version.prototype.Version = ""; + CloudEventExecutionStart.prototype.launchPlanId = null; /** - * Version BuildTime. - * @member {string} BuildTime - * @memberof flyteidl.admin.Version + * CloudEventExecutionStart workflowId. + * @member {flyteidl.core.IIdentifier|null|undefined} workflowId + * @memberof flyteidl.event.CloudEventExecutionStart * @instance */ - Version.prototype.BuildTime = ""; - - /** - * Creates a new Version instance using the specified properties. - * @function create - * @memberof flyteidl.admin.Version - * @static - * @param {flyteidl.admin.IVersion=} [properties] Properties to set - * @returns {flyteidl.admin.Version} Version instance - */ - Version.create = function create(properties) { - return new Version(properties); - }; - - /** - * Encodes the specified Version message. Does not implicitly {@link flyteidl.admin.Version.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.Version - * @static - * @param {flyteidl.admin.IVersion} message Version message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Version.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.Build != null && message.hasOwnProperty("Build")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.Build); - if (message.Version != null && message.hasOwnProperty("Version")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.Version); - if (message.BuildTime != null && message.hasOwnProperty("BuildTime")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.BuildTime); - return writer; - }; - - /** - * Decodes a Version message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.Version - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Version} Version - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Version.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Version(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.Build = reader.string(); - break; - case 2: - message.Version = reader.string(); - break; - case 3: - message.BuildTime = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + CloudEventExecutionStart.prototype.workflowId = null; /** - * Verifies a Version message. - * @function verify - * @memberof flyteidl.admin.Version - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not + * CloudEventExecutionStart artifactIds. + * @member {Array.} artifactIds + * @memberof flyteidl.event.CloudEventExecutionStart + * @instance */ - Version.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.Build != null && message.hasOwnProperty("Build")) - if (!$util.isString(message.Build)) - return "Build: string expected"; - if (message.Version != null && message.hasOwnProperty("Version")) - if (!$util.isString(message.Version)) - return "Version: string expected"; - if (message.BuildTime != null && message.hasOwnProperty("BuildTime")) - if (!$util.isString(message.BuildTime)) - return "BuildTime: string expected"; - return null; - }; - - return Version; - })(); - - admin.GetVersionRequest = (function() { + CloudEventExecutionStart.prototype.artifactIds = $util.emptyArray; /** - * Properties of a GetVersionRequest. - * @memberof flyteidl.admin - * @interface IGetVersionRequest + * CloudEventExecutionStart artifactTrackers. + * @member {Array.} artifactTrackers + * @memberof flyteidl.event.CloudEventExecutionStart + * @instance */ - - /** - * Constructs a new GetVersionRequest. - * @memberof flyteidl.admin - * @classdesc Represents a GetVersionRequest. - * @implements IGetVersionRequest - * @constructor - * @param {flyteidl.admin.IGetVersionRequest=} [properties] Properties to set + CloudEventExecutionStart.prototype.artifactTrackers = $util.emptyArray; + + /** + * CloudEventExecutionStart principal. + * @member {string} principal + * @memberof flyteidl.event.CloudEventExecutionStart + * @instance */ - function GetVersionRequest(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + CloudEventExecutionStart.prototype.principal = ""; /** - * Creates a new GetVersionRequest instance using the specified properties. + * Creates a new CloudEventExecutionStart instance using the specified properties. * @function create - * @memberof flyteidl.admin.GetVersionRequest + * @memberof flyteidl.event.CloudEventExecutionStart * @static - * @param {flyteidl.admin.IGetVersionRequest=} [properties] Properties to set - * @returns {flyteidl.admin.GetVersionRequest} GetVersionRequest instance + * @param {flyteidl.event.ICloudEventExecutionStart=} [properties] Properties to set + * @returns {flyteidl.event.CloudEventExecutionStart} CloudEventExecutionStart instance */ - GetVersionRequest.create = function create(properties) { - return new GetVersionRequest(properties); + CloudEventExecutionStart.create = function create(properties) { + return new CloudEventExecutionStart(properties); }; /** - * Encodes the specified GetVersionRequest message. Does not implicitly {@link flyteidl.admin.GetVersionRequest.verify|verify} messages. + * Encodes the specified CloudEventExecutionStart message. Does not implicitly {@link flyteidl.event.CloudEventExecutionStart.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.GetVersionRequest + * @memberof flyteidl.event.CloudEventExecutionStart * @static - * @param {flyteidl.admin.IGetVersionRequest} message GetVersionRequest message or plain object to encode + * @param {flyteidl.event.ICloudEventExecutionStart} message CloudEventExecutionStart message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetVersionRequest.encode = function encode(message, writer) { + CloudEventExecutionStart.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.executionId != null && message.hasOwnProperty("executionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) + $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.workflowId != null && message.hasOwnProperty("workflowId")) + $root.flyteidl.core.Identifier.encode(message.workflowId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.artifactIds != null && message.artifactIds.length) + for (var i = 0; i < message.artifactIds.length; ++i) + $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.artifactTrackers != null && message.artifactTrackers.length) + for (var i = 0; i < message.artifactTrackers.length; ++i) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.artifactTrackers[i]); + if (message.principal != null && message.hasOwnProperty("principal")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.principal); return writer; }; /** - * Decodes a GetVersionRequest message from the specified reader or buffer. + * Decodes a CloudEventExecutionStart message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.GetVersionRequest + * @memberof flyteidl.event.CloudEventExecutionStart * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.GetVersionRequest} GetVersionRequest + * @returns {flyteidl.event.CloudEventExecutionStart} CloudEventExecutionStart * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetVersionRequest.decode = function decode(reader, length) { + CloudEventExecutionStart.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.GetVersionRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventExecutionStart(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 3: + message.workflowId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 4: + if (!(message.artifactIds && message.artifactIds.length)) + message.artifactIds = []; + message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); + break; + case 5: + if (!(message.artifactTrackers && message.artifactTrackers.length)) + message.artifactTrackers = []; + message.artifactTrackers.push(reader.string()); + break; + case 6: + message.principal = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -49940,41 +49244,80 @@ }; /** - * Verifies a GetVersionRequest message. + * Verifies a CloudEventExecutionStart message. * @function verify - * @memberof flyteidl.admin.GetVersionRequest + * @memberof flyteidl.event.CloudEventExecutionStart * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GetVersionRequest.verify = function verify(message) { + CloudEventExecutionStart.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.executionId != null && message.hasOwnProperty("executionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); + if (error) + return "executionId." + error; + } + if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) { + var error = $root.flyteidl.core.Identifier.verify(message.launchPlanId); + if (error) + return "launchPlanId." + error; + } + if (message.workflowId != null && message.hasOwnProperty("workflowId")) { + var error = $root.flyteidl.core.Identifier.verify(message.workflowId); + if (error) + return "workflowId." + error; + } + if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { + if (!Array.isArray(message.artifactIds)) + return "artifactIds: array expected"; + for (var i = 0; i < message.artifactIds.length; ++i) { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactIds[i]); + if (error) + return "artifactIds." + error; + } + } + if (message.artifactTrackers != null && message.hasOwnProperty("artifactTrackers")) { + if (!Array.isArray(message.artifactTrackers)) + return "artifactTrackers: array expected"; + for (var i = 0; i < message.artifactTrackers.length; ++i) + if (!$util.isString(message.artifactTrackers[i])) + return "artifactTrackers: string[] expected"; + } + if (message.principal != null && message.hasOwnProperty("principal")) + if (!$util.isString(message.principal)) + return "principal: string expected"; return null; }; - return GetVersionRequest; + return CloudEventExecutionStart; })(); - admin.WorkflowCreateRequest = (function() { + event.WorkflowExecutionEvent = (function() { /** - * Properties of a WorkflowCreateRequest. - * @memberof flyteidl.admin - * @interface IWorkflowCreateRequest - * @property {flyteidl.core.IIdentifier|null} [id] WorkflowCreateRequest id - * @property {flyteidl.admin.IWorkflowSpec|null} [spec] WorkflowCreateRequest spec + * Properties of a WorkflowExecutionEvent. + * @memberof flyteidl.event + * @interface IWorkflowExecutionEvent + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] WorkflowExecutionEvent executionId + * @property {string|null} [producerId] WorkflowExecutionEvent producerId + * @property {flyteidl.core.WorkflowExecution.Phase|null} [phase] WorkflowExecutionEvent phase + * @property {google.protobuf.ITimestamp|null} [occurredAt] WorkflowExecutionEvent occurredAt + * @property {string|null} [outputUri] WorkflowExecutionEvent outputUri + * @property {flyteidl.core.IExecutionError|null} [error] WorkflowExecutionEvent error + * @property {flyteidl.core.ILiteralMap|null} [outputData] WorkflowExecutionEvent outputData */ /** - * Constructs a new WorkflowCreateRequest. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowCreateRequest. - * @implements IWorkflowCreateRequest + * Constructs a new WorkflowExecutionEvent. + * @memberof flyteidl.event + * @classdesc Represents a WorkflowExecutionEvent. + * @implements IWorkflowExecutionEvent * @constructor - * @param {flyteidl.admin.IWorkflowCreateRequest=} [properties] Properties to set + * @param {flyteidl.event.IWorkflowExecutionEvent=} [properties] Properties to set */ - function WorkflowCreateRequest(properties) { + function WorkflowExecutionEvent(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -49982,75 +49325,154 @@ } /** - * WorkflowCreateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowCreateRequest + * WorkflowExecutionEvent executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.event.WorkflowExecutionEvent * @instance */ - WorkflowCreateRequest.prototype.id = null; + WorkflowExecutionEvent.prototype.executionId = null; /** - * WorkflowCreateRequest spec. - * @member {flyteidl.admin.IWorkflowSpec|null|undefined} spec - * @memberof flyteidl.admin.WorkflowCreateRequest + * WorkflowExecutionEvent producerId. + * @member {string} producerId + * @memberof flyteidl.event.WorkflowExecutionEvent * @instance */ - WorkflowCreateRequest.prototype.spec = null; + WorkflowExecutionEvent.prototype.producerId = ""; /** - * Creates a new WorkflowCreateRequest instance using the specified properties. + * WorkflowExecutionEvent phase. + * @member {flyteidl.core.WorkflowExecution.Phase} phase + * @memberof flyteidl.event.WorkflowExecutionEvent + * @instance + */ + WorkflowExecutionEvent.prototype.phase = 0; + + /** + * WorkflowExecutionEvent occurredAt. + * @member {google.protobuf.ITimestamp|null|undefined} occurredAt + * @memberof flyteidl.event.WorkflowExecutionEvent + * @instance + */ + WorkflowExecutionEvent.prototype.occurredAt = null; + + /** + * WorkflowExecutionEvent outputUri. + * @member {string} outputUri + * @memberof flyteidl.event.WorkflowExecutionEvent + * @instance + */ + WorkflowExecutionEvent.prototype.outputUri = ""; + + /** + * WorkflowExecutionEvent error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.event.WorkflowExecutionEvent + * @instance + */ + WorkflowExecutionEvent.prototype.error = null; + + /** + * WorkflowExecutionEvent outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.event.WorkflowExecutionEvent + * @instance + */ + WorkflowExecutionEvent.prototype.outputData = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * WorkflowExecutionEvent outputResult. + * @member {"outputUri"|"error"|"outputData"|undefined} outputResult + * @memberof flyteidl.event.WorkflowExecutionEvent + * @instance + */ + Object.defineProperty(WorkflowExecutionEvent.prototype, "outputResult", { + get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new WorkflowExecutionEvent instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowCreateRequest + * @memberof flyteidl.event.WorkflowExecutionEvent * @static - * @param {flyteidl.admin.IWorkflowCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowCreateRequest} WorkflowCreateRequest instance + * @param {flyteidl.event.IWorkflowExecutionEvent=} [properties] Properties to set + * @returns {flyteidl.event.WorkflowExecutionEvent} WorkflowExecutionEvent instance */ - WorkflowCreateRequest.create = function create(properties) { - return new WorkflowCreateRequest(properties); + WorkflowExecutionEvent.create = function create(properties) { + return new WorkflowExecutionEvent(properties); }; /** - * Encodes the specified WorkflowCreateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowCreateRequest.verify|verify} messages. + * Encodes the specified WorkflowExecutionEvent message. Does not implicitly {@link flyteidl.event.WorkflowExecutionEvent.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowCreateRequest + * @memberof flyteidl.event.WorkflowExecutionEvent * @static - * @param {flyteidl.admin.IWorkflowCreateRequest} message WorkflowCreateRequest message or plain object to encode + * @param {flyteidl.event.IWorkflowExecutionEvent} message WorkflowExecutionEvent message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowCreateRequest.encode = function encode(message, writer) { + WorkflowExecutionEvent.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.spec != null && message.hasOwnProperty("spec")) - $root.flyteidl.admin.WorkflowSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.executionId != null && message.hasOwnProperty("executionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.producerId != null && message.hasOwnProperty("producerId")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.producerId); + if (message.phase != null && message.hasOwnProperty("phase")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.phase); + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) + $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.outputUri != null && message.hasOwnProperty("outputUri")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.outputUri); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.outputData != null && message.hasOwnProperty("outputData")) + $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowCreateRequest message from the specified reader or buffer. + * Decodes a WorkflowExecutionEvent message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowCreateRequest + * @memberof flyteidl.event.WorkflowExecutionEvent * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowCreateRequest} WorkflowCreateRequest + * @returns {flyteidl.event.WorkflowExecutionEvent} WorkflowExecutionEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowCreateRequest.decode = function decode(reader, length) { + WorkflowExecutionEvent.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowCreateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.WorkflowExecutionEvent(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.spec = $root.flyteidl.admin.WorkflowSpec.decode(reader, reader.uint32()); + message.producerId = reader.string(); + break; + case 3: + message.phase = reader.int32(); + break; + case 4: + message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 5: + message.outputUri = reader.string(); + break; + case 6: + message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); + break; + case 7: + message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -50061,49 +49483,119 @@ }; /** - * Verifies a WorkflowCreateRequest message. + * Verifies a WorkflowExecutionEvent message. * @function verify - * @memberof flyteidl.admin.WorkflowCreateRequest + * @memberof flyteidl.event.WorkflowExecutionEvent * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowCreateRequest.verify = function verify(message) { + WorkflowExecutionEvent.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.Identifier.verify(message.id); + var properties = {}; + if (message.executionId != null && message.hasOwnProperty("executionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); if (error) - return "id." + error; + return "executionId." + error; } - if (message.spec != null && message.hasOwnProperty("spec")) { - var error = $root.flyteidl.admin.WorkflowSpec.verify(message.spec); + if (message.producerId != null && message.hasOwnProperty("producerId")) + if (!$util.isString(message.producerId)) + return "producerId: string expected"; + if (message.phase != null && message.hasOwnProperty("phase")) + switch (message.phase) { + default: + return "phase: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + break; + } + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); if (error) - return "spec." + error; + return "occurredAt." + error; + } + if (message.outputUri != null && message.hasOwnProperty("outputUri")) { + properties.outputResult = 1; + if (!$util.isString(message.outputUri)) + return "outputUri: string expected"; + } + if (message.error != null && message.hasOwnProperty("error")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.core.ExecutionError.verify(message.error); + if (error) + return "error." + error; + } + } + if (message.outputData != null && message.hasOwnProperty("outputData")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); + if (error) + return "outputData." + error; + } } return null; }; - return WorkflowCreateRequest; + return WorkflowExecutionEvent; })(); - admin.WorkflowCreateResponse = (function() { + event.NodeExecutionEvent = (function() { /** - * Properties of a WorkflowCreateResponse. - * @memberof flyteidl.admin - * @interface IWorkflowCreateResponse + * Properties of a NodeExecutionEvent. + * @memberof flyteidl.event + * @interface INodeExecutionEvent + * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionEvent id + * @property {string|null} [producerId] NodeExecutionEvent producerId + * @property {flyteidl.core.NodeExecution.Phase|null} [phase] NodeExecutionEvent phase + * @property {google.protobuf.ITimestamp|null} [occurredAt] NodeExecutionEvent occurredAt + * @property {string|null} [inputUri] NodeExecutionEvent inputUri + * @property {flyteidl.core.ILiteralMap|null} [inputData] NodeExecutionEvent inputData + * @property {string|null} [outputUri] NodeExecutionEvent outputUri + * @property {flyteidl.core.IExecutionError|null} [error] NodeExecutionEvent error + * @property {flyteidl.core.ILiteralMap|null} [outputData] NodeExecutionEvent outputData + * @property {flyteidl.event.IWorkflowNodeMetadata|null} [workflowNodeMetadata] NodeExecutionEvent workflowNodeMetadata + * @property {flyteidl.event.ITaskNodeMetadata|null} [taskNodeMetadata] NodeExecutionEvent taskNodeMetadata + * @property {flyteidl.event.IParentTaskExecutionMetadata|null} [parentTaskMetadata] NodeExecutionEvent parentTaskMetadata + * @property {flyteidl.event.IParentNodeExecutionMetadata|null} [parentNodeMetadata] NodeExecutionEvent parentNodeMetadata + * @property {string|null} [retryGroup] NodeExecutionEvent retryGroup + * @property {string|null} [specNodeId] NodeExecutionEvent specNodeId + * @property {string|null} [nodeName] NodeExecutionEvent nodeName + * @property {number|null} [eventVersion] NodeExecutionEvent eventVersion + * @property {boolean|null} [isParent] NodeExecutionEvent isParent + * @property {boolean|null} [isDynamic] NodeExecutionEvent isDynamic + * @property {string|null} [deckUri] NodeExecutionEvent deckUri + * @property {google.protobuf.ITimestamp|null} [reportedAt] NodeExecutionEvent reportedAt + * @property {boolean|null} [isArray] NodeExecutionEvent isArray + * @property {flyteidl.core.IIdentifier|null} [targetEntity] NodeExecutionEvent targetEntity + * @property {boolean|null} [isInDynamicChain] NodeExecutionEvent isInDynamicChain + * @property {boolean|null} [isEager] NodeExecutionEvent isEager */ /** - * Constructs a new WorkflowCreateResponse. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowCreateResponse. - * @implements IWorkflowCreateResponse + * Constructs a new NodeExecutionEvent. + * @memberof flyteidl.event + * @classdesc Represents a NodeExecutionEvent. + * @implements INodeExecutionEvent * @constructor - * @param {flyteidl.admin.IWorkflowCreateResponse=} [properties] Properties to set + * @param {flyteidl.event.INodeExecutionEvent=} [properties] Properties to set */ - function WorkflowCreateResponse(properties) { + function NodeExecutionEvent(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -50111,322 +49603,410 @@ } /** - * Creates a new WorkflowCreateResponse instance using the specified properties. - * @function create - * @memberof flyteidl.admin.WorkflowCreateResponse - * @static - * @param {flyteidl.admin.IWorkflowCreateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowCreateResponse} WorkflowCreateResponse instance + * NodeExecutionEvent id. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id + * @memberof flyteidl.event.NodeExecutionEvent + * @instance */ - WorkflowCreateResponse.create = function create(properties) { - return new WorkflowCreateResponse(properties); - }; + NodeExecutionEvent.prototype.id = null; /** - * Encodes the specified WorkflowCreateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowCreateResponse.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.WorkflowCreateResponse - * @static - * @param {flyteidl.admin.IWorkflowCreateResponse} message WorkflowCreateResponse message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * NodeExecutionEvent producerId. + * @member {string} producerId + * @memberof flyteidl.event.NodeExecutionEvent + * @instance */ - WorkflowCreateResponse.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; + NodeExecutionEvent.prototype.producerId = ""; /** - * Decodes a WorkflowCreateResponse message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.WorkflowCreateResponse - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowCreateResponse} WorkflowCreateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * NodeExecutionEvent phase. + * @member {flyteidl.core.NodeExecution.Phase} phase + * @memberof flyteidl.event.NodeExecutionEvent + * @instance */ - WorkflowCreateResponse.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowCreateResponse(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + NodeExecutionEvent.prototype.phase = 0; + + /** + * NodeExecutionEvent occurredAt. + * @member {google.protobuf.ITimestamp|null|undefined} occurredAt + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.occurredAt = null; + + /** + * NodeExecutionEvent inputUri. + * @member {string} inputUri + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.inputUri = ""; + + /** + * NodeExecutionEvent inputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputData + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.inputData = null; + + /** + * NodeExecutionEvent outputUri. + * @member {string} outputUri + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.outputUri = ""; + + /** + * NodeExecutionEvent error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.error = null; + + /** + * NodeExecutionEvent outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.outputData = null; + + /** + * NodeExecutionEvent workflowNodeMetadata. + * @member {flyteidl.event.IWorkflowNodeMetadata|null|undefined} workflowNodeMetadata + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.workflowNodeMetadata = null; /** - * Verifies a WorkflowCreateResponse message. - * @function verify - * @memberof flyteidl.admin.WorkflowCreateResponse - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not + * NodeExecutionEvent taskNodeMetadata. + * @member {flyteidl.event.ITaskNodeMetadata|null|undefined} taskNodeMetadata + * @memberof flyteidl.event.NodeExecutionEvent + * @instance */ - WorkflowCreateResponse.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; + NodeExecutionEvent.prototype.taskNodeMetadata = null; - return WorkflowCreateResponse; - })(); + /** + * NodeExecutionEvent parentTaskMetadata. + * @member {flyteidl.event.IParentTaskExecutionMetadata|null|undefined} parentTaskMetadata + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.parentTaskMetadata = null; - admin.Workflow = (function() { + /** + * NodeExecutionEvent parentNodeMetadata. + * @member {flyteidl.event.IParentNodeExecutionMetadata|null|undefined} parentNodeMetadata + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.parentNodeMetadata = null; /** - * Properties of a Workflow. - * @memberof flyteidl.admin - * @interface IWorkflow - * @property {flyteidl.core.IIdentifier|null} [id] Workflow id - * @property {flyteidl.admin.IWorkflowClosure|null} [closure] Workflow closure - * @property {string|null} [shortDescription] Workflow shortDescription + * NodeExecutionEvent retryGroup. + * @member {string} retryGroup + * @memberof flyteidl.event.NodeExecutionEvent + * @instance */ + NodeExecutionEvent.prototype.retryGroup = ""; /** - * Constructs a new Workflow. - * @memberof flyteidl.admin - * @classdesc Represents a Workflow. - * @implements IWorkflow - * @constructor - * @param {flyteidl.admin.IWorkflow=} [properties] Properties to set + * NodeExecutionEvent specNodeId. + * @member {string} specNodeId + * @memberof flyteidl.event.NodeExecutionEvent + * @instance */ - function Workflow(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + NodeExecutionEvent.prototype.specNodeId = ""; /** - * Workflow id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.Workflow + * NodeExecutionEvent nodeName. + * @member {string} nodeName + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - Workflow.prototype.id = null; + NodeExecutionEvent.prototype.nodeName = ""; /** - * Workflow closure. - * @member {flyteidl.admin.IWorkflowClosure|null|undefined} closure - * @memberof flyteidl.admin.Workflow + * NodeExecutionEvent eventVersion. + * @member {number} eventVersion + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - Workflow.prototype.closure = null; + NodeExecutionEvent.prototype.eventVersion = 0; /** - * Workflow shortDescription. - * @member {string} shortDescription - * @memberof flyteidl.admin.Workflow + * NodeExecutionEvent isParent. + * @member {boolean} isParent + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - Workflow.prototype.shortDescription = ""; + NodeExecutionEvent.prototype.isParent = false; /** - * Creates a new Workflow instance using the specified properties. - * @function create - * @memberof flyteidl.admin.Workflow - * @static - * @param {flyteidl.admin.IWorkflow=} [properties] Properties to set - * @returns {flyteidl.admin.Workflow} Workflow instance + * NodeExecutionEvent isDynamic. + * @member {boolean} isDynamic + * @memberof flyteidl.event.NodeExecutionEvent + * @instance */ - Workflow.create = function create(properties) { - return new Workflow(properties); - }; + NodeExecutionEvent.prototype.isDynamic = false; /** - * Encodes the specified Workflow message. Does not implicitly {@link flyteidl.admin.Workflow.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.Workflow - * @static - * @param {flyteidl.admin.IWorkflow} message Workflow message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * NodeExecutionEvent deckUri. + * @member {string} deckUri + * @memberof flyteidl.event.NodeExecutionEvent + * @instance */ - Workflow.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.closure != null && message.hasOwnProperty("closure")) - $root.flyteidl.admin.WorkflowClosure.encode(message.closure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.shortDescription); - return writer; - }; + NodeExecutionEvent.prototype.deckUri = ""; /** - * Decodes a Workflow message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.Workflow - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Workflow} Workflow - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * NodeExecutionEvent reportedAt. + * @member {google.protobuf.ITimestamp|null|undefined} reportedAt + * @memberof flyteidl.event.NodeExecutionEvent + * @instance */ - Workflow.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Workflow(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 2: - message.closure = $root.flyteidl.admin.WorkflowClosure.decode(reader, reader.uint32()); - break; - case 3: - message.shortDescription = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + NodeExecutionEvent.prototype.reportedAt = null; /** - * Verifies a Workflow message. - * @function verify - * @memberof flyteidl.admin.Workflow - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not + * NodeExecutionEvent isArray. + * @member {boolean} isArray + * @memberof flyteidl.event.NodeExecutionEvent + * @instance */ - Workflow.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.Identifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.closure != null && message.hasOwnProperty("closure")) { - var error = $root.flyteidl.admin.WorkflowClosure.verify(message.closure); - if (error) - return "closure." + error; - } - if (message.shortDescription != null && message.hasOwnProperty("shortDescription")) - if (!$util.isString(message.shortDescription)) - return "shortDescription: string expected"; - return null; - }; + NodeExecutionEvent.prototype.isArray = false; - return Workflow; - })(); + /** + * NodeExecutionEvent targetEntity. + * @member {flyteidl.core.IIdentifier|null|undefined} targetEntity + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.targetEntity = null; - admin.WorkflowList = (function() { + /** + * NodeExecutionEvent isInDynamicChain. + * @member {boolean} isInDynamicChain + * @memberof flyteidl.event.NodeExecutionEvent + * @instance + */ + NodeExecutionEvent.prototype.isInDynamicChain = false; /** - * Properties of a WorkflowList. - * @memberof flyteidl.admin - * @interface IWorkflowList - * @property {Array.|null} [workflows] WorkflowList workflows - * @property {string|null} [token] WorkflowList token + * NodeExecutionEvent isEager. + * @member {boolean} isEager + * @memberof flyteidl.event.NodeExecutionEvent + * @instance */ + NodeExecutionEvent.prototype.isEager = false; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * Constructs a new WorkflowList. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowList. - * @implements IWorkflowList - * @constructor - * @param {flyteidl.admin.IWorkflowList=} [properties] Properties to set + * NodeExecutionEvent inputValue. + * @member {"inputUri"|"inputData"|undefined} inputValue + * @memberof flyteidl.event.NodeExecutionEvent + * @instance */ - function WorkflowList(properties) { - this.workflows = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + Object.defineProperty(NodeExecutionEvent.prototype, "inputValue", { + get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * WorkflowList workflows. - * @member {Array.} workflows - * @memberof flyteidl.admin.WorkflowList + * NodeExecutionEvent outputResult. + * @member {"outputUri"|"error"|"outputData"|undefined} outputResult + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - WorkflowList.prototype.workflows = $util.emptyArray; + Object.defineProperty(NodeExecutionEvent.prototype, "outputResult", { + get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * WorkflowList token. - * @member {string} token - * @memberof flyteidl.admin.WorkflowList + * NodeExecutionEvent targetMetadata. + * @member {"workflowNodeMetadata"|"taskNodeMetadata"|undefined} targetMetadata + * @memberof flyteidl.event.NodeExecutionEvent * @instance */ - WorkflowList.prototype.token = ""; + Object.defineProperty(NodeExecutionEvent.prototype, "targetMetadata", { + get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata", "taskNodeMetadata"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new WorkflowList instance using the specified properties. + * Creates a new NodeExecutionEvent instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowList + * @memberof flyteidl.event.NodeExecutionEvent * @static - * @param {flyteidl.admin.IWorkflowList=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowList} WorkflowList instance + * @param {flyteidl.event.INodeExecutionEvent=} [properties] Properties to set + * @returns {flyteidl.event.NodeExecutionEvent} NodeExecutionEvent instance */ - WorkflowList.create = function create(properties) { - return new WorkflowList(properties); + NodeExecutionEvent.create = function create(properties) { + return new NodeExecutionEvent(properties); }; /** - * Encodes the specified WorkflowList message. Does not implicitly {@link flyteidl.admin.WorkflowList.verify|verify} messages. + * Encodes the specified NodeExecutionEvent message. Does not implicitly {@link flyteidl.event.NodeExecutionEvent.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowList + * @memberof flyteidl.event.NodeExecutionEvent * @static - * @param {flyteidl.admin.IWorkflowList} message WorkflowList message or plain object to encode + * @param {flyteidl.event.INodeExecutionEvent} message NodeExecutionEvent message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowList.encode = function encode(message, writer) { + NodeExecutionEvent.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.workflows != null && message.workflows.length) - for (var i = 0; i < message.workflows.length; ++i) - $root.flyteidl.admin.Workflow.encode(message.workflows[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.producerId != null && message.hasOwnProperty("producerId")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.producerId); + if (message.phase != null && message.hasOwnProperty("phase")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.phase); + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) + $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.inputUri != null && message.hasOwnProperty("inputUri")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.inputUri); + if (message.outputUri != null && message.hasOwnProperty("outputUri")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.outputUri); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) + $root.flyteidl.event.WorkflowNodeMetadata.encode(message.workflowNodeMetadata, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.parentTaskMetadata != null && message.hasOwnProperty("parentTaskMetadata")) + $root.flyteidl.event.ParentTaskExecutionMetadata.encode(message.parentTaskMetadata, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.parentNodeMetadata != null && message.hasOwnProperty("parentNodeMetadata")) + $root.flyteidl.event.ParentNodeExecutionMetadata.encode(message.parentNodeMetadata, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.retryGroup != null && message.hasOwnProperty("retryGroup")) + writer.uint32(/* id 11, wireType 2 =*/90).string(message.retryGroup); + if (message.specNodeId != null && message.hasOwnProperty("specNodeId")) + writer.uint32(/* id 12, wireType 2 =*/98).string(message.specNodeId); + if (message.nodeName != null && message.hasOwnProperty("nodeName")) + writer.uint32(/* id 13, wireType 2 =*/106).string(message.nodeName); + if (message.taskNodeMetadata != null && message.hasOwnProperty("taskNodeMetadata")) + $root.flyteidl.event.TaskNodeMetadata.encode(message.taskNodeMetadata, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); + if (message.outputData != null && message.hasOwnProperty("outputData")) + $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim(); + if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) + writer.uint32(/* id 16, wireType 0 =*/128).int32(message.eventVersion); + if (message.isParent != null && message.hasOwnProperty("isParent")) + writer.uint32(/* id 17, wireType 0 =*/136).bool(message.isParent); + if (message.isDynamic != null && message.hasOwnProperty("isDynamic")) + writer.uint32(/* id 18, wireType 0 =*/144).bool(message.isDynamic); + if (message.deckUri != null && message.hasOwnProperty("deckUri")) + writer.uint32(/* id 19, wireType 2 =*/154).string(message.deckUri); + if (message.inputData != null && message.hasOwnProperty("inputData")) + $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); + if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) + $root.google.protobuf.Timestamp.encode(message.reportedAt, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); + if (message.isArray != null && message.hasOwnProperty("isArray")) + writer.uint32(/* id 22, wireType 0 =*/176).bool(message.isArray); + if (message.targetEntity != null && message.hasOwnProperty("targetEntity")) + $root.flyteidl.core.Identifier.encode(message.targetEntity, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim(); + if (message.isInDynamicChain != null && message.hasOwnProperty("isInDynamicChain")) + writer.uint32(/* id 24, wireType 0 =*/192).bool(message.isInDynamicChain); + if (message.isEager != null && message.hasOwnProperty("isEager")) + writer.uint32(/* id 25, wireType 0 =*/200).bool(message.isEager); return writer; }; /** - * Decodes a WorkflowList message from the specified reader or buffer. + * Decodes a NodeExecutionEvent message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowList + * @memberof flyteidl.event.NodeExecutionEvent * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowList} WorkflowList + * @returns {flyteidl.event.NodeExecutionEvent} NodeExecutionEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowList.decode = function decode(reader, length) { + NodeExecutionEvent.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowList(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.NodeExecutionEvent(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.workflows && message.workflows.length)) - message.workflows = []; - message.workflows.push($root.flyteidl.admin.Workflow.decode(reader, reader.uint32())); + message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.token = reader.string(); + message.producerId = reader.string(); + break; + case 3: + message.phase = reader.int32(); + break; + case 4: + message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 5: + message.inputUri = reader.string(); + break; + case 20: + message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 6: + message.outputUri = reader.string(); + break; + case 7: + message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); + break; + case 15: + message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 8: + message.workflowNodeMetadata = $root.flyteidl.event.WorkflowNodeMetadata.decode(reader, reader.uint32()); + break; + case 14: + message.taskNodeMetadata = $root.flyteidl.event.TaskNodeMetadata.decode(reader, reader.uint32()); + break; + case 9: + message.parentTaskMetadata = $root.flyteidl.event.ParentTaskExecutionMetadata.decode(reader, reader.uint32()); + break; + case 10: + message.parentNodeMetadata = $root.flyteidl.event.ParentNodeExecutionMetadata.decode(reader, reader.uint32()); + break; + case 11: + message.retryGroup = reader.string(); + break; + case 12: + message.specNodeId = reader.string(); + break; + case 13: + message.nodeName = reader.string(); + break; + case 16: + message.eventVersion = reader.int32(); + break; + case 17: + message.isParent = reader.bool(); + break; + case 18: + message.isDynamic = reader.bool(); + break; + case 19: + message.deckUri = reader.string(); + break; + case 21: + message.reportedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 22: + message.isArray = reader.bool(); + break; + case 23: + message.targetEntity = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 24: + message.isInDynamicChain = reader.bool(); + break; + case 25: + message.isEager = reader.bool(); break; default: reader.skipType(tag & 7); @@ -50437,55 +50017,179 @@ }; /** - * Verifies a WorkflowList message. + * Verifies a NodeExecutionEvent message. * @function verify - * @memberof flyteidl.admin.WorkflowList + * @memberof flyteidl.event.NodeExecutionEvent * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowList.verify = function verify(message) { + NodeExecutionEvent.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.workflows != null && message.hasOwnProperty("workflows")) { - if (!Array.isArray(message.workflows)) - return "workflows: array expected"; - for (var i = 0; i < message.workflows.length; ++i) { - var error = $root.flyteidl.admin.Workflow.verify(message.workflows[i]); + var properties = {}; + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.producerId != null && message.hasOwnProperty("producerId")) + if (!$util.isString(message.producerId)) + return "producerId: string expected"; + if (message.phase != null && message.hasOwnProperty("phase")) + switch (message.phase) { + default: + return "phase: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + break; + } + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); + if (error) + return "occurredAt." + error; + } + if (message.inputUri != null && message.hasOwnProperty("inputUri")) { + properties.inputValue = 1; + if (!$util.isString(message.inputUri)) + return "inputUri: string expected"; + } + if (message.inputData != null && message.hasOwnProperty("inputData")) { + if (properties.inputValue === 1) + return "inputValue: multiple values"; + properties.inputValue = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); + if (error) + return "inputData." + error; + } + } + if (message.outputUri != null && message.hasOwnProperty("outputUri")) { + properties.outputResult = 1; + if (!$util.isString(message.outputUri)) + return "outputUri: string expected"; + } + if (message.error != null && message.hasOwnProperty("error")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.core.ExecutionError.verify(message.error); + if (error) + return "error." + error; + } + } + if (message.outputData != null && message.hasOwnProperty("outputData")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); + if (error) + return "outputData." + error; + } + } + if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) { + properties.targetMetadata = 1; + { + var error = $root.flyteidl.event.WorkflowNodeMetadata.verify(message.workflowNodeMetadata); + if (error) + return "workflowNodeMetadata." + error; + } + } + if (message.taskNodeMetadata != null && message.hasOwnProperty("taskNodeMetadata")) { + if (properties.targetMetadata === 1) + return "targetMetadata: multiple values"; + properties.targetMetadata = 1; + { + var error = $root.flyteidl.event.TaskNodeMetadata.verify(message.taskNodeMetadata); if (error) - return "workflows." + error; + return "taskNodeMetadata." + error; } } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; + if (message.parentTaskMetadata != null && message.hasOwnProperty("parentTaskMetadata")) { + var error = $root.flyteidl.event.ParentTaskExecutionMetadata.verify(message.parentTaskMetadata); + if (error) + return "parentTaskMetadata." + error; + } + if (message.parentNodeMetadata != null && message.hasOwnProperty("parentNodeMetadata")) { + var error = $root.flyteidl.event.ParentNodeExecutionMetadata.verify(message.parentNodeMetadata); + if (error) + return "parentNodeMetadata." + error; + } + if (message.retryGroup != null && message.hasOwnProperty("retryGroup")) + if (!$util.isString(message.retryGroup)) + return "retryGroup: string expected"; + if (message.specNodeId != null && message.hasOwnProperty("specNodeId")) + if (!$util.isString(message.specNodeId)) + return "specNodeId: string expected"; + if (message.nodeName != null && message.hasOwnProperty("nodeName")) + if (!$util.isString(message.nodeName)) + return "nodeName: string expected"; + if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) + if (!$util.isInteger(message.eventVersion)) + return "eventVersion: integer expected"; + if (message.isParent != null && message.hasOwnProperty("isParent")) + if (typeof message.isParent !== "boolean") + return "isParent: boolean expected"; + if (message.isDynamic != null && message.hasOwnProperty("isDynamic")) + if (typeof message.isDynamic !== "boolean") + return "isDynamic: boolean expected"; + if (message.deckUri != null && message.hasOwnProperty("deckUri")) + if (!$util.isString(message.deckUri)) + return "deckUri: string expected"; + if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.reportedAt); + if (error) + return "reportedAt." + error; + } + if (message.isArray != null && message.hasOwnProperty("isArray")) + if (typeof message.isArray !== "boolean") + return "isArray: boolean expected"; + if (message.targetEntity != null && message.hasOwnProperty("targetEntity")) { + var error = $root.flyteidl.core.Identifier.verify(message.targetEntity); + if (error) + return "targetEntity." + error; + } + if (message.isInDynamicChain != null && message.hasOwnProperty("isInDynamicChain")) + if (typeof message.isInDynamicChain !== "boolean") + return "isInDynamicChain: boolean expected"; + if (message.isEager != null && message.hasOwnProperty("isEager")) + if (typeof message.isEager !== "boolean") + return "isEager: boolean expected"; return null; }; - return WorkflowList; + return NodeExecutionEvent; })(); - admin.WorkflowSpec = (function() { + event.WorkflowNodeMetadata = (function() { /** - * Properties of a WorkflowSpec. - * @memberof flyteidl.admin - * @interface IWorkflowSpec - * @property {flyteidl.core.IWorkflowTemplate|null} [template] WorkflowSpec template - * @property {Array.|null} [subWorkflows] WorkflowSpec subWorkflows - * @property {flyteidl.admin.IDescriptionEntity|null} [description] WorkflowSpec description + * Properties of a WorkflowNodeMetadata. + * @memberof flyteidl.event + * @interface IWorkflowNodeMetadata + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] WorkflowNodeMetadata executionId */ /** - * Constructs a new WorkflowSpec. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowSpec. - * @implements IWorkflowSpec + * Constructs a new WorkflowNodeMetadata. + * @memberof flyteidl.event + * @classdesc Represents a WorkflowNodeMetadata. + * @implements IWorkflowNodeMetadata * @constructor - * @param {flyteidl.admin.IWorkflowSpec=} [properties] Properties to set + * @param {flyteidl.event.IWorkflowNodeMetadata=} [properties] Properties to set */ - function WorkflowSpec(properties) { - this.subWorkflows = []; + function WorkflowNodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -50493,91 +50197,62 @@ } /** - * WorkflowSpec template. - * @member {flyteidl.core.IWorkflowTemplate|null|undefined} template - * @memberof flyteidl.admin.WorkflowSpec - * @instance - */ - WorkflowSpec.prototype.template = null; - - /** - * WorkflowSpec subWorkflows. - * @member {Array.} subWorkflows - * @memberof flyteidl.admin.WorkflowSpec - * @instance - */ - WorkflowSpec.prototype.subWorkflows = $util.emptyArray; - - /** - * WorkflowSpec description. - * @member {flyteidl.admin.IDescriptionEntity|null|undefined} description - * @memberof flyteidl.admin.WorkflowSpec + * WorkflowNodeMetadata executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.event.WorkflowNodeMetadata * @instance */ - WorkflowSpec.prototype.description = null; + WorkflowNodeMetadata.prototype.executionId = null; /** - * Creates a new WorkflowSpec instance using the specified properties. + * Creates a new WorkflowNodeMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowSpec + * @memberof flyteidl.event.WorkflowNodeMetadata * @static - * @param {flyteidl.admin.IWorkflowSpec=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowSpec} WorkflowSpec instance + * @param {flyteidl.event.IWorkflowNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.event.WorkflowNodeMetadata} WorkflowNodeMetadata instance */ - WorkflowSpec.create = function create(properties) { - return new WorkflowSpec(properties); + WorkflowNodeMetadata.create = function create(properties) { + return new WorkflowNodeMetadata(properties); }; /** - * Encodes the specified WorkflowSpec message. Does not implicitly {@link flyteidl.admin.WorkflowSpec.verify|verify} messages. + * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.WorkflowNodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowSpec + * @memberof flyteidl.event.WorkflowNodeMetadata * @static - * @param {flyteidl.admin.IWorkflowSpec} message WorkflowSpec message or plain object to encode + * @param {flyteidl.event.IWorkflowNodeMetadata} message WorkflowNodeMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowSpec.encode = function encode(message, writer) { + WorkflowNodeMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.template != null && message.hasOwnProperty("template")) - $root.flyteidl.core.WorkflowTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.subWorkflows != null && message.subWorkflows.length) - for (var i = 0; i < message.subWorkflows.length; ++i) - $root.flyteidl.core.WorkflowTemplate.encode(message.subWorkflows[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.description != null && message.hasOwnProperty("description")) - $root.flyteidl.admin.DescriptionEntity.encode(message.description, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.executionId != null && message.hasOwnProperty("executionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowSpec message from the specified reader or buffer. + * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowSpec + * @memberof flyteidl.event.WorkflowNodeMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowSpec} WorkflowSpec + * @returns {flyteidl.event.WorkflowNodeMetadata} WorkflowNodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowSpec.decode = function decode(reader, length) { + WorkflowNodeMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowSpec(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.WorkflowNodeMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.template = $root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()); - break; - case 2: - if (!(message.subWorkflows && message.subWorkflows.length)) - message.subWorkflows = []; - message.subWorkflows.push($root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32())); - break; - case 3: - message.description = $root.flyteidl.admin.DescriptionEntity.decode(reader, reader.uint32()); + message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -50588,60 +50263,49 @@ }; /** - * Verifies a WorkflowSpec message. + * Verifies a WorkflowNodeMetadata message. * @function verify - * @memberof flyteidl.admin.WorkflowSpec + * @memberof flyteidl.event.WorkflowNodeMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowSpec.verify = function verify(message) { + WorkflowNodeMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.template != null && message.hasOwnProperty("template")) { - var error = $root.flyteidl.core.WorkflowTemplate.verify(message.template); - if (error) - return "template." + error; - } - if (message.subWorkflows != null && message.hasOwnProperty("subWorkflows")) { - if (!Array.isArray(message.subWorkflows)) - return "subWorkflows: array expected"; - for (var i = 0; i < message.subWorkflows.length; ++i) { - var error = $root.flyteidl.core.WorkflowTemplate.verify(message.subWorkflows[i]); - if (error) - return "subWorkflows." + error; - } - } - if (message.description != null && message.hasOwnProperty("description")) { - var error = $root.flyteidl.admin.DescriptionEntity.verify(message.description); + if (message.executionId != null && message.hasOwnProperty("executionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); if (error) - return "description." + error; + return "executionId." + error; } return null; }; - return WorkflowSpec; + return WorkflowNodeMetadata; })(); - admin.WorkflowClosure = (function() { + event.TaskNodeMetadata = (function() { /** - * Properties of a WorkflowClosure. - * @memberof flyteidl.admin - * @interface IWorkflowClosure - * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] WorkflowClosure compiledWorkflow - * @property {google.protobuf.ITimestamp|null} [createdAt] WorkflowClosure createdAt + * Properties of a TaskNodeMetadata. + * @memberof flyteidl.event + * @interface ITaskNodeMetadata + * @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] TaskNodeMetadata cacheStatus + * @property {flyteidl.core.ICatalogMetadata|null} [catalogKey] TaskNodeMetadata catalogKey + * @property {flyteidl.core.CatalogReservation.Status|null} [reservationStatus] TaskNodeMetadata reservationStatus + * @property {string|null} [checkpointUri] TaskNodeMetadata checkpointUri + * @property {flyteidl.event.IDynamicWorkflowNodeMetadata|null} [dynamicWorkflow] TaskNodeMetadata dynamicWorkflow */ /** - * Constructs a new WorkflowClosure. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowClosure. - * @implements IWorkflowClosure + * Constructs a new TaskNodeMetadata. + * @memberof flyteidl.event + * @classdesc Represents a TaskNodeMetadata. + * @implements ITaskNodeMetadata * @constructor - * @param {flyteidl.admin.IWorkflowClosure=} [properties] Properties to set + * @param {flyteidl.event.ITaskNodeMetadata=} [properties] Properties to set */ - function WorkflowClosure(properties) { + function TaskNodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -50649,75 +50313,114 @@ } /** - * WorkflowClosure compiledWorkflow. - * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow - * @memberof flyteidl.admin.WorkflowClosure + * TaskNodeMetadata cacheStatus. + * @member {flyteidl.core.CatalogCacheStatus} cacheStatus + * @memberof flyteidl.event.TaskNodeMetadata * @instance */ - WorkflowClosure.prototype.compiledWorkflow = null; + TaskNodeMetadata.prototype.cacheStatus = 0; /** - * WorkflowClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.WorkflowClosure + * TaskNodeMetadata catalogKey. + * @member {flyteidl.core.ICatalogMetadata|null|undefined} catalogKey + * @memberof flyteidl.event.TaskNodeMetadata * @instance */ - WorkflowClosure.prototype.createdAt = null; + TaskNodeMetadata.prototype.catalogKey = null; /** - * Creates a new WorkflowClosure instance using the specified properties. + * TaskNodeMetadata reservationStatus. + * @member {flyteidl.core.CatalogReservation.Status} reservationStatus + * @memberof flyteidl.event.TaskNodeMetadata + * @instance + */ + TaskNodeMetadata.prototype.reservationStatus = 0; + + /** + * TaskNodeMetadata checkpointUri. + * @member {string} checkpointUri + * @memberof flyteidl.event.TaskNodeMetadata + * @instance + */ + TaskNodeMetadata.prototype.checkpointUri = ""; + + /** + * TaskNodeMetadata dynamicWorkflow. + * @member {flyteidl.event.IDynamicWorkflowNodeMetadata|null|undefined} dynamicWorkflow + * @memberof flyteidl.event.TaskNodeMetadata + * @instance + */ + TaskNodeMetadata.prototype.dynamicWorkflow = null; + + /** + * Creates a new TaskNodeMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowClosure + * @memberof flyteidl.event.TaskNodeMetadata * @static - * @param {flyteidl.admin.IWorkflowClosure=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowClosure} WorkflowClosure instance + * @param {flyteidl.event.ITaskNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.event.TaskNodeMetadata} TaskNodeMetadata instance */ - WorkflowClosure.create = function create(properties) { - return new WorkflowClosure(properties); + TaskNodeMetadata.create = function create(properties) { + return new TaskNodeMetadata(properties); }; /** - * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.admin.WorkflowClosure.verify|verify} messages. + * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.event.TaskNodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowClosure + * @memberof flyteidl.event.TaskNodeMetadata * @static - * @param {flyteidl.admin.IWorkflowClosure} message WorkflowClosure message or plain object to encode + * @param {flyteidl.event.ITaskNodeMetadata} message TaskNodeMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowClosure.encode = function encode(message, writer) { + TaskNodeMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) - $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.createdAt != null && message.hasOwnProperty("createdAt")) - $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.cacheStatus); + if (message.catalogKey != null && message.hasOwnProperty("catalogKey")) + $root.flyteidl.core.CatalogMetadata.encode(message.catalogKey, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.reservationStatus != null && message.hasOwnProperty("reservationStatus")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.reservationStatus); + if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.checkpointUri); + if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow")) + $root.flyteidl.event.DynamicWorkflowNodeMetadata.encode(message.dynamicWorkflow, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowClosure message from the specified reader or buffer. + * Decodes a TaskNodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowClosure + * @memberof flyteidl.event.TaskNodeMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowClosure} WorkflowClosure + * @returns {flyteidl.event.TaskNodeMetadata} TaskNodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowClosure.decode = function decode(reader, length) { + TaskNodeMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowClosure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.TaskNodeMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); + message.cacheStatus = reader.int32(); break; case 2: - message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.catalogKey = $root.flyteidl.core.CatalogMetadata.decode(reader, reader.uint32()); + break; + case 3: + message.reservationStatus = reader.int32(); + break; + case 4: + message.checkpointUri = reader.string(); + break; + case 16: + message.dynamicWorkflow = $root.flyteidl.event.DynamicWorkflowNodeMetadata.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -50728,50 +50431,80 @@ }; /** - * Verifies a WorkflowClosure message. + * Verifies a TaskNodeMetadata message. * @function verify - * @memberof flyteidl.admin.WorkflowClosure + * @memberof flyteidl.event.TaskNodeMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowClosure.verify = function verify(message) { + TaskNodeMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) { - var error = $root.flyteidl.core.CompiledWorkflowClosure.verify(message.compiledWorkflow); + if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) + switch (message.cacheStatus) { + default: + return "cacheStatus: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break; + } + if (message.catalogKey != null && message.hasOwnProperty("catalogKey")) { + var error = $root.flyteidl.core.CatalogMetadata.verify(message.catalogKey); if (error) - return "compiledWorkflow." + error; + return "catalogKey." + error; } - if (message.createdAt != null && message.hasOwnProperty("createdAt")) { - var error = $root.google.protobuf.Timestamp.verify(message.createdAt); + if (message.reservationStatus != null && message.hasOwnProperty("reservationStatus")) + switch (message.reservationStatus) { + default: + return "reservationStatus: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri")) + if (!$util.isString(message.checkpointUri)) + return "checkpointUri: string expected"; + if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow")) { + var error = $root.flyteidl.event.DynamicWorkflowNodeMetadata.verify(message.dynamicWorkflow); if (error) - return "createdAt." + error; + return "dynamicWorkflow." + error; } return null; }; - return WorkflowClosure; + return TaskNodeMetadata; })(); - admin.WorkflowErrorExistsDifferentStructure = (function() { + event.DynamicWorkflowNodeMetadata = (function() { /** - * Properties of a WorkflowErrorExistsDifferentStructure. - * @memberof flyteidl.admin - * @interface IWorkflowErrorExistsDifferentStructure - * @property {flyteidl.core.IIdentifier|null} [id] WorkflowErrorExistsDifferentStructure id + * Properties of a DynamicWorkflowNodeMetadata. + * @memberof flyteidl.event + * @interface IDynamicWorkflowNodeMetadata + * @property {flyteidl.core.IIdentifier|null} [id] DynamicWorkflowNodeMetadata id + * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] DynamicWorkflowNodeMetadata compiledWorkflow + * @property {string|null} [dynamicJobSpecUri] DynamicWorkflowNodeMetadata dynamicJobSpecUri */ /** - * Constructs a new WorkflowErrorExistsDifferentStructure. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowErrorExistsDifferentStructure. - * @implements IWorkflowErrorExistsDifferentStructure + * Constructs a new DynamicWorkflowNodeMetadata. + * @memberof flyteidl.event + * @classdesc Represents a DynamicWorkflowNodeMetadata. + * @implements IDynamicWorkflowNodeMetadata * @constructor - * @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure=} [properties] Properties to set + * @param {flyteidl.event.IDynamicWorkflowNodeMetadata=} [properties] Properties to set */ - function WorkflowErrorExistsDifferentStructure(properties) { + function DynamicWorkflowNodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -50779,63 +50512,89 @@ } /** - * WorkflowErrorExistsDifferentStructure id. + * DynamicWorkflowNodeMetadata id. * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure + * @memberof flyteidl.event.DynamicWorkflowNodeMetadata * @instance */ - WorkflowErrorExistsDifferentStructure.prototype.id = null; + DynamicWorkflowNodeMetadata.prototype.id = null; /** - * Creates a new WorkflowErrorExistsDifferentStructure instance using the specified properties. + * DynamicWorkflowNodeMetadata compiledWorkflow. + * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow + * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * @instance + */ + DynamicWorkflowNodeMetadata.prototype.compiledWorkflow = null; + + /** + * DynamicWorkflowNodeMetadata dynamicJobSpecUri. + * @member {string} dynamicJobSpecUri + * @memberof flyteidl.event.DynamicWorkflowNodeMetadata + * @instance + */ + DynamicWorkflowNodeMetadata.prototype.dynamicJobSpecUri = ""; + + /** + * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure + * @memberof flyteidl.event.DynamicWorkflowNodeMetadata * @static - * @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowErrorExistsDifferentStructure} WorkflowErrorExistsDifferentStructure instance + * @param {flyteidl.event.IDynamicWorkflowNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.event.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata instance */ - WorkflowErrorExistsDifferentStructure.create = function create(properties) { - return new WorkflowErrorExistsDifferentStructure(properties); + DynamicWorkflowNodeMetadata.create = function create(properties) { + return new DynamicWorkflowNodeMetadata(properties); }; /** - * Encodes the specified WorkflowErrorExistsDifferentStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsDifferentStructure.verify|verify} messages. + * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.DynamicWorkflowNodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure + * @memberof flyteidl.event.DynamicWorkflowNodeMetadata * @static - * @param {flyteidl.admin.IWorkflowErrorExistsDifferentStructure} message WorkflowErrorExistsDifferentStructure message or plain object to encode + * @param {flyteidl.event.IDynamicWorkflowNodeMetadata} message DynamicWorkflowNodeMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowErrorExistsDifferentStructure.encode = function encode(message, writer) { + DynamicWorkflowNodeMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.id != null && message.hasOwnProperty("id")) $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) + $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.dynamicJobSpecUri); return writer; }; /** - * Decodes a WorkflowErrorExistsDifferentStructure message from the specified reader or buffer. + * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure + * @memberof flyteidl.event.DynamicWorkflowNodeMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowErrorExistsDifferentStructure} WorkflowErrorExistsDifferentStructure + * @returns {flyteidl.event.DynamicWorkflowNodeMetadata} DynamicWorkflowNodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowErrorExistsDifferentStructure.decode = function decode(reader, length) { + DynamicWorkflowNodeMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.DynamicWorkflowNodeMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; + case 2: + message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); + break; + case 3: + message.dynamicJobSpecUri = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -50845,14 +50604,14 @@ }; /** - * Verifies a WorkflowErrorExistsDifferentStructure message. + * Verifies a DynamicWorkflowNodeMetadata message. * @function verify - * @memberof flyteidl.admin.WorkflowErrorExistsDifferentStructure + * @memberof flyteidl.event.DynamicWorkflowNodeMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowErrorExistsDifferentStructure.verify = function verify(message) { + DynamicWorkflowNodeMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; if (message.id != null && message.hasOwnProperty("id")) { @@ -50860,30 +50619,38 @@ if (error) return "id." + error; } + if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) { + var error = $root.flyteidl.core.CompiledWorkflowClosure.verify(message.compiledWorkflow); + if (error) + return "compiledWorkflow." + error; + } + if (message.dynamicJobSpecUri != null && message.hasOwnProperty("dynamicJobSpecUri")) + if (!$util.isString(message.dynamicJobSpecUri)) + return "dynamicJobSpecUri: string expected"; return null; }; - return WorkflowErrorExistsDifferentStructure; + return DynamicWorkflowNodeMetadata; })(); - admin.WorkflowErrorExistsIdenticalStructure = (function() { + event.ParentTaskExecutionMetadata = (function() { /** - * Properties of a WorkflowErrorExistsIdenticalStructure. - * @memberof flyteidl.admin - * @interface IWorkflowErrorExistsIdenticalStructure - * @property {flyteidl.core.IIdentifier|null} [id] WorkflowErrorExistsIdenticalStructure id + * Properties of a ParentTaskExecutionMetadata. + * @memberof flyteidl.event + * @interface IParentTaskExecutionMetadata + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] ParentTaskExecutionMetadata id */ /** - * Constructs a new WorkflowErrorExistsIdenticalStructure. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowErrorExistsIdenticalStructure. - * @implements IWorkflowErrorExistsIdenticalStructure + * Constructs a new ParentTaskExecutionMetadata. + * @memberof flyteidl.event + * @classdesc Represents a ParentTaskExecutionMetadata. + * @implements IParentTaskExecutionMetadata * @constructor - * @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure=} [properties] Properties to set + * @param {flyteidl.event.IParentTaskExecutionMetadata=} [properties] Properties to set */ - function WorkflowErrorExistsIdenticalStructure(properties) { + function ParentTaskExecutionMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -50891,62 +50658,62 @@ } /** - * WorkflowErrorExistsIdenticalStructure id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure + * ParentTaskExecutionMetadata id. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id + * @memberof flyteidl.event.ParentTaskExecutionMetadata * @instance */ - WorkflowErrorExistsIdenticalStructure.prototype.id = null; + ParentTaskExecutionMetadata.prototype.id = null; /** - * Creates a new WorkflowErrorExistsIdenticalStructure instance using the specified properties. + * Creates a new ParentTaskExecutionMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure + * @memberof flyteidl.event.ParentTaskExecutionMetadata * @static - * @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowErrorExistsIdenticalStructure} WorkflowErrorExistsIdenticalStructure instance + * @param {flyteidl.event.IParentTaskExecutionMetadata=} [properties] Properties to set + * @returns {flyteidl.event.ParentTaskExecutionMetadata} ParentTaskExecutionMetadata instance */ - WorkflowErrorExistsIdenticalStructure.create = function create(properties) { - return new WorkflowErrorExistsIdenticalStructure(properties); + ParentTaskExecutionMetadata.create = function create(properties) { + return new ParentTaskExecutionMetadata(properties); }; /** - * Encodes the specified WorkflowErrorExistsIdenticalStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsIdenticalStructure.verify|verify} messages. + * Encodes the specified ParentTaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentTaskExecutionMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure + * @memberof flyteidl.event.ParentTaskExecutionMetadata * @static - * @param {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure} message WorkflowErrorExistsIdenticalStructure message or plain object to encode + * @param {flyteidl.event.IParentTaskExecutionMetadata} message ParentTaskExecutionMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowErrorExistsIdenticalStructure.encode = function encode(message, writer) { + ParentTaskExecutionMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowErrorExistsIdenticalStructure message from the specified reader or buffer. + * Decodes a ParentTaskExecutionMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure + * @memberof flyteidl.event.ParentTaskExecutionMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowErrorExistsIdenticalStructure} WorkflowErrorExistsIdenticalStructure + * @returns {flyteidl.event.ParentTaskExecutionMetadata} ParentTaskExecutionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowErrorExistsIdenticalStructure.decode = function decode(reader, length) { + ParentTaskExecutionMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.ParentTaskExecutionMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -50957,46 +50724,45 @@ }; /** - * Verifies a WorkflowErrorExistsIdenticalStructure message. + * Verifies a ParentTaskExecutionMetadata message. * @function verify - * @memberof flyteidl.admin.WorkflowErrorExistsIdenticalStructure + * @memberof flyteidl.event.ParentTaskExecutionMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowErrorExistsIdenticalStructure.verify = function verify(message) { + ParentTaskExecutionMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.Identifier.verify(message.id); + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); if (error) return "id." + error; } return null; }; - return WorkflowErrorExistsIdenticalStructure; + return ParentTaskExecutionMetadata; })(); - admin.CreateWorkflowFailureReason = (function() { + event.ParentNodeExecutionMetadata = (function() { /** - * Properties of a CreateWorkflowFailureReason. - * @memberof flyteidl.admin - * @interface ICreateWorkflowFailureReason - * @property {flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null} [existsDifferentStructure] CreateWorkflowFailureReason existsDifferentStructure - * @property {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null} [existsIdenticalStructure] CreateWorkflowFailureReason existsIdenticalStructure + * Properties of a ParentNodeExecutionMetadata. + * @memberof flyteidl.event + * @interface IParentNodeExecutionMetadata + * @property {string|null} [nodeId] ParentNodeExecutionMetadata nodeId */ /** - * Constructs a new CreateWorkflowFailureReason. - * @memberof flyteidl.admin - * @classdesc Represents a CreateWorkflowFailureReason. - * @implements ICreateWorkflowFailureReason + * Constructs a new ParentNodeExecutionMetadata. + * @memberof flyteidl.event + * @classdesc Represents a ParentNodeExecutionMetadata. + * @implements IParentNodeExecutionMetadata * @constructor - * @param {flyteidl.admin.ICreateWorkflowFailureReason=} [properties] Properties to set + * @param {flyteidl.event.IParentNodeExecutionMetadata=} [properties] Properties to set */ - function CreateWorkflowFailureReason(properties) { + function ParentNodeExecutionMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -51004,89 +50770,62 @@ } /** - * CreateWorkflowFailureReason existsDifferentStructure. - * @member {flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null|undefined} existsDifferentStructure - * @memberof flyteidl.admin.CreateWorkflowFailureReason - * @instance - */ - CreateWorkflowFailureReason.prototype.existsDifferentStructure = null; - - /** - * CreateWorkflowFailureReason existsIdenticalStructure. - * @member {flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null|undefined} existsIdenticalStructure - * @memberof flyteidl.admin.CreateWorkflowFailureReason - * @instance - */ - CreateWorkflowFailureReason.prototype.existsIdenticalStructure = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * CreateWorkflowFailureReason reason. - * @member {"existsDifferentStructure"|"existsIdenticalStructure"|undefined} reason - * @memberof flyteidl.admin.CreateWorkflowFailureReason + * ParentNodeExecutionMetadata nodeId. + * @member {string} nodeId + * @memberof flyteidl.event.ParentNodeExecutionMetadata * @instance */ - Object.defineProperty(CreateWorkflowFailureReason.prototype, "reason", { - get: $util.oneOfGetter($oneOfFields = ["existsDifferentStructure", "existsIdenticalStructure"]), - set: $util.oneOfSetter($oneOfFields) - }); + ParentNodeExecutionMetadata.prototype.nodeId = ""; /** - * Creates a new CreateWorkflowFailureReason instance using the specified properties. + * Creates a new ParentNodeExecutionMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.CreateWorkflowFailureReason + * @memberof flyteidl.event.ParentNodeExecutionMetadata * @static - * @param {flyteidl.admin.ICreateWorkflowFailureReason=} [properties] Properties to set - * @returns {flyteidl.admin.CreateWorkflowFailureReason} CreateWorkflowFailureReason instance + * @param {flyteidl.event.IParentNodeExecutionMetadata=} [properties] Properties to set + * @returns {flyteidl.event.ParentNodeExecutionMetadata} ParentNodeExecutionMetadata instance */ - CreateWorkflowFailureReason.create = function create(properties) { - return new CreateWorkflowFailureReason(properties); + ParentNodeExecutionMetadata.create = function create(properties) { + return new ParentNodeExecutionMetadata(properties); }; /** - * Encodes the specified CreateWorkflowFailureReason message. Does not implicitly {@link flyteidl.admin.CreateWorkflowFailureReason.verify|verify} messages. + * Encodes the specified ParentNodeExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentNodeExecutionMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.CreateWorkflowFailureReason + * @memberof flyteidl.event.ParentNodeExecutionMetadata * @static - * @param {flyteidl.admin.ICreateWorkflowFailureReason} message CreateWorkflowFailureReason message or plain object to encode + * @param {flyteidl.event.IParentNodeExecutionMetadata} message ParentNodeExecutionMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CreateWorkflowFailureReason.encode = function encode(message, writer) { + ParentNodeExecutionMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.existsDifferentStructure != null && message.hasOwnProperty("existsDifferentStructure")) - $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure.encode(message.existsDifferentStructure, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.existsIdenticalStructure != null && message.hasOwnProperty("existsIdenticalStructure")) - $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure.encode(message.existsIdenticalStructure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.nodeId); return writer; }; /** - * Decodes a CreateWorkflowFailureReason message from the specified reader or buffer. + * Decodes a ParentNodeExecutionMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.CreateWorkflowFailureReason + * @memberof flyteidl.event.ParentNodeExecutionMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.CreateWorkflowFailureReason} CreateWorkflowFailureReason + * @returns {flyteidl.event.ParentNodeExecutionMetadata} ParentNodeExecutionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CreateWorkflowFailureReason.decode = function decode(reader, length) { + ParentNodeExecutionMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.CreateWorkflowFailureReason(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.ParentNodeExecutionMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.existsDifferentStructure = $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure.decode(reader, reader.uint32()); - break; - case 2: - message.existsIdenticalStructure = $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure.decode(reader, reader.uint32()); + message.nodeId = reader.string(); break; default: reader.skipType(tag & 7); @@ -51097,63 +50836,44 @@ }; /** - * Verifies a CreateWorkflowFailureReason message. + * Verifies a ParentNodeExecutionMetadata message. * @function verify - * @memberof flyteidl.admin.CreateWorkflowFailureReason + * @memberof flyteidl.event.ParentNodeExecutionMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CreateWorkflowFailureReason.verify = function verify(message) { + ParentNodeExecutionMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.existsDifferentStructure != null && message.hasOwnProperty("existsDifferentStructure")) { - properties.reason = 1; - { - var error = $root.flyteidl.admin.WorkflowErrorExistsDifferentStructure.verify(message.existsDifferentStructure); - if (error) - return "existsDifferentStructure." + error; - } - } - if (message.existsIdenticalStructure != null && message.hasOwnProperty("existsIdenticalStructure")) { - if (properties.reason === 1) - return "reason: multiple values"; - properties.reason = 1; - { - var error = $root.flyteidl.admin.WorkflowErrorExistsIdenticalStructure.verify(message.existsIdenticalStructure); - if (error) - return "existsIdenticalStructure." + error; - } - } + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + if (!$util.isString(message.nodeId)) + return "nodeId: string expected"; return null; }; - return CreateWorkflowFailureReason; + return ParentNodeExecutionMetadata; })(); - admin.WorkflowAttributes = (function() { + event.EventReason = (function() { /** - * Properties of a WorkflowAttributes. - * @memberof flyteidl.admin - * @interface IWorkflowAttributes - * @property {string|null} [project] WorkflowAttributes project - * @property {string|null} [domain] WorkflowAttributes domain - * @property {string|null} [workflow] WorkflowAttributes workflow - * @property {flyteidl.admin.IMatchingAttributes|null} [matchingAttributes] WorkflowAttributes matchingAttributes - * @property {string|null} [org] WorkflowAttributes org + * Properties of an EventReason. + * @memberof flyteidl.event + * @interface IEventReason + * @property {string|null} [reason] EventReason reason + * @property {google.protobuf.ITimestamp|null} [occurredAt] EventReason occurredAt */ /** - * Constructs a new WorkflowAttributes. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributes. - * @implements IWorkflowAttributes + * Constructs a new EventReason. + * @memberof flyteidl.event + * @classdesc Represents an EventReason. + * @implements IEventReason * @constructor - * @param {flyteidl.admin.IWorkflowAttributes=} [properties] Properties to set + * @param {flyteidl.event.IEventReason=} [properties] Properties to set */ - function WorkflowAttributes(properties) { + function EventReason(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -51161,114 +50881,75 @@ } /** - * WorkflowAttributes project. - * @member {string} project - * @memberof flyteidl.admin.WorkflowAttributes - * @instance - */ - WorkflowAttributes.prototype.project = ""; - - /** - * WorkflowAttributes domain. - * @member {string} domain - * @memberof flyteidl.admin.WorkflowAttributes - * @instance - */ - WorkflowAttributes.prototype.domain = ""; - - /** - * WorkflowAttributes workflow. - * @member {string} workflow - * @memberof flyteidl.admin.WorkflowAttributes - * @instance - */ - WorkflowAttributes.prototype.workflow = ""; - - /** - * WorkflowAttributes matchingAttributes. - * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes - * @memberof flyteidl.admin.WorkflowAttributes + * EventReason reason. + * @member {string} reason + * @memberof flyteidl.event.EventReason * @instance */ - WorkflowAttributes.prototype.matchingAttributes = null; + EventReason.prototype.reason = ""; /** - * WorkflowAttributes org. - * @member {string} org - * @memberof flyteidl.admin.WorkflowAttributes + * EventReason occurredAt. + * @member {google.protobuf.ITimestamp|null|undefined} occurredAt + * @memberof flyteidl.event.EventReason * @instance */ - WorkflowAttributes.prototype.org = ""; + EventReason.prototype.occurredAt = null; /** - * Creates a new WorkflowAttributes instance using the specified properties. + * Creates a new EventReason instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowAttributes + * @memberof flyteidl.event.EventReason * @static - * @param {flyteidl.admin.IWorkflowAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributes} WorkflowAttributes instance + * @param {flyteidl.event.IEventReason=} [properties] Properties to set + * @returns {flyteidl.event.EventReason} EventReason instance */ - WorkflowAttributes.create = function create(properties) { - return new WorkflowAttributes(properties); + EventReason.create = function create(properties) { + return new EventReason(properties); }; /** - * Encodes the specified WorkflowAttributes message. Does not implicitly {@link flyteidl.admin.WorkflowAttributes.verify|verify} messages. + * Encodes the specified EventReason message. Does not implicitly {@link flyteidl.event.EventReason.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowAttributes + * @memberof flyteidl.event.EventReason * @static - * @param {flyteidl.admin.IWorkflowAttributes} message WorkflowAttributes message or plain object to encode + * @param {flyteidl.event.IEventReason} message EventReason message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowAttributes.encode = function encode(message, writer) { + EventReason.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.workflow != null && message.hasOwnProperty("workflow")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.workflow); - if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) - $root.flyteidl.admin.MatchingAttributes.encode(message.matchingAttributes, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.org); + if (message.reason != null && message.hasOwnProperty("reason")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.reason); + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) + $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowAttributes message from the specified reader or buffer. + * Decodes an EventReason message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowAttributes + * @memberof flyteidl.event.EventReason * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowAttributes} WorkflowAttributes + * @returns {flyteidl.event.EventReason} EventReason * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowAttributes.decode = function decode(reader, length) { + EventReason.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributes(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.EventReason(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); + message.reason = reader.string(); break; case 2: - message.domain = reader.string(); - break; - case 3: - message.workflow = reader.string(); - break; - case 4: - message.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); - break; - case 5: - message.org = reader.string(); + message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -51279,120 +50960,410 @@ }; /** - * Verifies a WorkflowAttributes message. + * Verifies an EventReason message. * @function verify - * @memberof flyteidl.admin.WorkflowAttributes + * @memberof flyteidl.event.EventReason * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowAttributes.verify = function verify(message) { + EventReason.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.workflow != null && message.hasOwnProperty("workflow")) - if (!$util.isString(message.workflow)) - return "workflow: string expected"; - if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) { - var error = $root.flyteidl.admin.MatchingAttributes.verify(message.matchingAttributes); + if (message.reason != null && message.hasOwnProperty("reason")) + if (!$util.isString(message.reason)) + return "reason: string expected"; + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); if (error) - return "matchingAttributes." + error; + return "occurredAt." + error; } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; return null; }; - return WorkflowAttributes; + return EventReason; })(); - admin.WorkflowAttributesUpdateRequest = (function() { + event.TaskExecutionEvent = (function() { /** - * Properties of a WorkflowAttributesUpdateRequest. - * @memberof flyteidl.admin - * @interface IWorkflowAttributesUpdateRequest - * @property {flyteidl.admin.IWorkflowAttributes|null} [attributes] WorkflowAttributesUpdateRequest attributes + * Properties of a TaskExecutionEvent. + * @memberof flyteidl.event + * @interface ITaskExecutionEvent + * @property {flyteidl.core.IIdentifier|null} [taskId] TaskExecutionEvent taskId + * @property {flyteidl.core.INodeExecutionIdentifier|null} [parentNodeExecutionId] TaskExecutionEvent parentNodeExecutionId + * @property {number|null} [retryAttempt] TaskExecutionEvent retryAttempt + * @property {flyteidl.core.TaskExecution.Phase|null} [phase] TaskExecutionEvent phase + * @property {string|null} [producerId] TaskExecutionEvent producerId + * @property {Array.|null} [logs] TaskExecutionEvent logs + * @property {google.protobuf.ITimestamp|null} [occurredAt] TaskExecutionEvent occurredAt + * @property {string|null} [inputUri] TaskExecutionEvent inputUri + * @property {flyteidl.core.ILiteralMap|null} [inputData] TaskExecutionEvent inputData + * @property {string|null} [outputUri] TaskExecutionEvent outputUri + * @property {flyteidl.core.IExecutionError|null} [error] TaskExecutionEvent error + * @property {flyteidl.core.ILiteralMap|null} [outputData] TaskExecutionEvent outputData + * @property {google.protobuf.IStruct|null} [customInfo] TaskExecutionEvent customInfo + * @property {number|null} [phaseVersion] TaskExecutionEvent phaseVersion + * @property {string|null} [reason] TaskExecutionEvent reason + * @property {Array.|null} [reasons] TaskExecutionEvent reasons + * @property {string|null} [taskType] TaskExecutionEvent taskType + * @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionEvent metadata + * @property {number|null} [eventVersion] TaskExecutionEvent eventVersion + * @property {google.protobuf.ITimestamp|null} [reportedAt] TaskExecutionEvent reportedAt */ /** - * Constructs a new WorkflowAttributesUpdateRequest. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributesUpdateRequest. - * @implements IWorkflowAttributesUpdateRequest + * Constructs a new TaskExecutionEvent. + * @memberof flyteidl.event + * @classdesc Represents a TaskExecutionEvent. + * @implements ITaskExecutionEvent * @constructor - * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest=} [properties] Properties to set + * @param {flyteidl.event.ITaskExecutionEvent=} [properties] Properties to set + */ + function TaskExecutionEvent(properties) { + this.logs = []; + this.reasons = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * TaskExecutionEvent taskId. + * @member {flyteidl.core.IIdentifier|null|undefined} taskId + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.taskId = null; + + /** + * TaskExecutionEvent parentNodeExecutionId. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} parentNodeExecutionId + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.parentNodeExecutionId = null; + + /** + * TaskExecutionEvent retryAttempt. + * @member {number} retryAttempt + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.retryAttempt = 0; + + /** + * TaskExecutionEvent phase. + * @member {flyteidl.core.TaskExecution.Phase} phase + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.phase = 0; + + /** + * TaskExecutionEvent producerId. + * @member {string} producerId + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.producerId = ""; + + /** + * TaskExecutionEvent logs. + * @member {Array.} logs + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.logs = $util.emptyArray; + + /** + * TaskExecutionEvent occurredAt. + * @member {google.protobuf.ITimestamp|null|undefined} occurredAt + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.occurredAt = null; + + /** + * TaskExecutionEvent inputUri. + * @member {string} inputUri + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.inputUri = ""; + + /** + * TaskExecutionEvent inputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputData + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.inputData = null; + + /** + * TaskExecutionEvent outputUri. + * @member {string} outputUri + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.outputUri = ""; + + /** + * TaskExecutionEvent error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.error = null; + + /** + * TaskExecutionEvent outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.outputData = null; + + /** + * TaskExecutionEvent customInfo. + * @member {google.protobuf.IStruct|null|undefined} customInfo + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.customInfo = null; + + /** + * TaskExecutionEvent phaseVersion. + * @member {number} phaseVersion + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.phaseVersion = 0; + + /** + * TaskExecutionEvent reason. + * @member {string} reason + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.reason = ""; + + /** + * TaskExecutionEvent reasons. + * @member {Array.} reasons + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.reasons = $util.emptyArray; + + /** + * TaskExecutionEvent taskType. + * @member {string} taskType + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.taskType = ""; + + /** + * TaskExecutionEvent metadata. + * @member {flyteidl.event.ITaskExecutionMetadata|null|undefined} metadata + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.metadata = null; + + /** + * TaskExecutionEvent eventVersion. + * @member {number} eventVersion + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.eventVersion = 0; + + /** + * TaskExecutionEvent reportedAt. + * @member {google.protobuf.ITimestamp|null|undefined} reportedAt + * @memberof flyteidl.event.TaskExecutionEvent + * @instance + */ + TaskExecutionEvent.prototype.reportedAt = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * TaskExecutionEvent inputValue. + * @member {"inputUri"|"inputData"|undefined} inputValue + * @memberof flyteidl.event.TaskExecutionEvent + * @instance */ - function WorkflowAttributesUpdateRequest(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + Object.defineProperty(TaskExecutionEvent.prototype, "inputValue", { + get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * WorkflowAttributesUpdateRequest attributes. - * @member {flyteidl.admin.IWorkflowAttributes|null|undefined} attributes - * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest + * TaskExecutionEvent outputResult. + * @member {"outputUri"|"error"|"outputData"|undefined} outputResult + * @memberof flyteidl.event.TaskExecutionEvent * @instance */ - WorkflowAttributesUpdateRequest.prototype.attributes = null; + Object.defineProperty(TaskExecutionEvent.prototype, "outputResult", { + get: $util.oneOfGetter($oneOfFields = ["outputUri", "error", "outputData"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new WorkflowAttributesUpdateRequest instance using the specified properties. + * Creates a new TaskExecutionEvent instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest + * @memberof flyteidl.event.TaskExecutionEvent * @static - * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributesUpdateRequest} WorkflowAttributesUpdateRequest instance + * @param {flyteidl.event.ITaskExecutionEvent=} [properties] Properties to set + * @returns {flyteidl.event.TaskExecutionEvent} TaskExecutionEvent instance */ - WorkflowAttributesUpdateRequest.create = function create(properties) { - return new WorkflowAttributesUpdateRequest(properties); + TaskExecutionEvent.create = function create(properties) { + return new TaskExecutionEvent(properties); }; /** - * Encodes the specified WorkflowAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateRequest.verify|verify} messages. + * Encodes the specified TaskExecutionEvent message. Does not implicitly {@link flyteidl.event.TaskExecutionEvent.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest + * @memberof flyteidl.event.TaskExecutionEvent * @static - * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest} message WorkflowAttributesUpdateRequest message or plain object to encode + * @param {flyteidl.event.ITaskExecutionEvent} message TaskExecutionEvent message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowAttributesUpdateRequest.encode = function encode(message, writer) { + TaskExecutionEvent.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.attributes != null && message.hasOwnProperty("attributes")) - $root.flyteidl.admin.WorkflowAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.taskId != null && message.hasOwnProperty("taskId")) + $root.flyteidl.core.Identifier.encode(message.taskId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.parentNodeExecutionId != null && message.hasOwnProperty("parentNodeExecutionId")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.parentNodeExecutionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) + writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.retryAttempt); + if (message.phase != null && message.hasOwnProperty("phase")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.phase); + if (message.producerId != null && message.hasOwnProperty("producerId")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.producerId); + if (message.logs != null && message.logs.length) + for (var i = 0; i < message.logs.length; ++i) + $root.flyteidl.core.TaskLog.encode(message.logs[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) + $root.google.protobuf.Timestamp.encode(message.occurredAt, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.inputUri != null && message.hasOwnProperty("inputUri")) + writer.uint32(/* id 8, wireType 2 =*/66).string(message.inputUri); + if (message.outputUri != null && message.hasOwnProperty("outputUri")) + writer.uint32(/* id 9, wireType 2 =*/74).string(message.outputUri); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.customInfo != null && message.hasOwnProperty("customInfo")) + $root.google.protobuf.Struct.encode(message.customInfo, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); + if (message.phaseVersion != null && message.hasOwnProperty("phaseVersion")) + writer.uint32(/* id 12, wireType 0 =*/96).uint32(message.phaseVersion); + if (message.reason != null && message.hasOwnProperty("reason")) + writer.uint32(/* id 13, wireType 2 =*/106).string(message.reason); + if (message.taskType != null && message.hasOwnProperty("taskType")) + writer.uint32(/* id 14, wireType 2 =*/114).string(message.taskType); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.event.TaskExecutionMetadata.encode(message.metadata, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); + if (message.outputData != null && message.hasOwnProperty("outputData")) + $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); + if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) + writer.uint32(/* id 18, wireType 0 =*/144).int32(message.eventVersion); + if (message.inputData != null && message.hasOwnProperty("inputData")) + $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim(); + if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) + $root.google.protobuf.Timestamp.encode(message.reportedAt, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); + if (message.reasons != null && message.reasons.length) + for (var i = 0; i < message.reasons.length; ++i) + $root.flyteidl.event.EventReason.encode(message.reasons[i], writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowAttributesUpdateRequest message from the specified reader or buffer. + * Decodes a TaskExecutionEvent message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest + * @memberof flyteidl.event.TaskExecutionEvent * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowAttributesUpdateRequest} WorkflowAttributesUpdateRequest + * @returns {flyteidl.event.TaskExecutionEvent} TaskExecutionEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowAttributesUpdateRequest.decode = function decode(reader, length) { + TaskExecutionEvent.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesUpdateRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.TaskExecutionEvent(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.attributes = $root.flyteidl.admin.WorkflowAttributes.decode(reader, reader.uint32()); + message.taskId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 2: + message.parentNodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 3: + message.retryAttempt = reader.uint32(); + break; + case 4: + message.phase = reader.int32(); + break; + case 5: + message.producerId = reader.string(); + break; + case 6: + if (!(message.logs && message.logs.length)) + message.logs = []; + message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32())); + break; + case 7: + message.occurredAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 8: + message.inputUri = reader.string(); + break; + case 19: + message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 9: + message.outputUri = reader.string(); + break; + case 10: + message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); + break; + case 17: + message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 11: + message.customInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + case 12: + message.phaseVersion = reader.uint32(); + break; + case 13: + message.reason = reader.string(); + break; + case 21: + if (!(message.reasons && message.reasons.length)) + message.reasons = []; + message.reasons.push($root.flyteidl.event.EventReason.decode(reader, reader.uint32())); + break; + case 14: + message.taskType = reader.string(); + break; + case 16: + message.metadata = $root.flyteidl.event.TaskExecutionMetadata.decode(reader, reader.uint32()); + break; + case 18: + message.eventVersion = reader.int32(); + break; + case 20: + message.reportedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -51403,44 +51374,169 @@ }; /** - * Verifies a WorkflowAttributesUpdateRequest message. + * Verifies a TaskExecutionEvent message. * @function verify - * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest + * @memberof flyteidl.event.TaskExecutionEvent * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowAttributesUpdateRequest.verify = function verify(message) { + TaskExecutionEvent.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.attributes != null && message.hasOwnProperty("attributes")) { - var error = $root.flyteidl.admin.WorkflowAttributes.verify(message.attributes); + var properties = {}; + if (message.taskId != null && message.hasOwnProperty("taskId")) { + var error = $root.flyteidl.core.Identifier.verify(message.taskId); if (error) - return "attributes." + error; + return "taskId." + error; + } + if (message.parentNodeExecutionId != null && message.hasOwnProperty("parentNodeExecutionId")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.parentNodeExecutionId); + if (error) + return "parentNodeExecutionId." + error; + } + if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) + if (!$util.isInteger(message.retryAttempt)) + return "retryAttempt: integer expected"; + if (message.phase != null && message.hasOwnProperty("phase")) + switch (message.phase) { + default: + return "phase: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break; + } + if (message.producerId != null && message.hasOwnProperty("producerId")) + if (!$util.isString(message.producerId)) + return "producerId: string expected"; + if (message.logs != null && message.hasOwnProperty("logs")) { + if (!Array.isArray(message.logs)) + return "logs: array expected"; + for (var i = 0; i < message.logs.length; ++i) { + var error = $root.flyteidl.core.TaskLog.verify(message.logs[i]); + if (error) + return "logs." + error; + } + } + if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.occurredAt); + if (error) + return "occurredAt." + error; + } + if (message.inputUri != null && message.hasOwnProperty("inputUri")) { + properties.inputValue = 1; + if (!$util.isString(message.inputUri)) + return "inputUri: string expected"; + } + if (message.inputData != null && message.hasOwnProperty("inputData")) { + if (properties.inputValue === 1) + return "inputValue: multiple values"; + properties.inputValue = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); + if (error) + return "inputData." + error; + } + } + if (message.outputUri != null && message.hasOwnProperty("outputUri")) { + properties.outputResult = 1; + if (!$util.isString(message.outputUri)) + return "outputUri: string expected"; + } + if (message.error != null && message.hasOwnProperty("error")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.core.ExecutionError.verify(message.error); + if (error) + return "error." + error; + } + } + if (message.outputData != null && message.hasOwnProperty("outputData")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); + if (error) + return "outputData." + error; + } + } + if (message.customInfo != null && message.hasOwnProperty("customInfo")) { + var error = $root.google.protobuf.Struct.verify(message.customInfo); + if (error) + return "customInfo." + error; + } + if (message.phaseVersion != null && message.hasOwnProperty("phaseVersion")) + if (!$util.isInteger(message.phaseVersion)) + return "phaseVersion: integer expected"; + if (message.reason != null && message.hasOwnProperty("reason")) + if (!$util.isString(message.reason)) + return "reason: string expected"; + if (message.reasons != null && message.hasOwnProperty("reasons")) { + if (!Array.isArray(message.reasons)) + return "reasons: array expected"; + for (var i = 0; i < message.reasons.length; ++i) { + var error = $root.flyteidl.event.EventReason.verify(message.reasons[i]); + if (error) + return "reasons." + error; + } + } + if (message.taskType != null && message.hasOwnProperty("taskType")) + if (!$util.isString(message.taskType)) + return "taskType: string expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.event.TaskExecutionMetadata.verify(message.metadata); + if (error) + return "metadata." + error; + } + if (message.eventVersion != null && message.hasOwnProperty("eventVersion")) + if (!$util.isInteger(message.eventVersion)) + return "eventVersion: integer expected"; + if (message.reportedAt != null && message.hasOwnProperty("reportedAt")) { + var error = $root.google.protobuf.Timestamp.verify(message.reportedAt); + if (error) + return "reportedAt." + error; } return null; }; - return WorkflowAttributesUpdateRequest; + return TaskExecutionEvent; })(); - admin.WorkflowAttributesUpdateResponse = (function() { + event.ExternalResourceInfo = (function() { /** - * Properties of a WorkflowAttributesUpdateResponse. - * @memberof flyteidl.admin - * @interface IWorkflowAttributesUpdateResponse + * Properties of an ExternalResourceInfo. + * @memberof flyteidl.event + * @interface IExternalResourceInfo + * @property {string|null} [externalId] ExternalResourceInfo externalId + * @property {number|null} [index] ExternalResourceInfo index + * @property {number|null} [retryAttempt] ExternalResourceInfo retryAttempt + * @property {flyteidl.core.TaskExecution.Phase|null} [phase] ExternalResourceInfo phase + * @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] ExternalResourceInfo cacheStatus + * @property {Array.|null} [logs] ExternalResourceInfo logs + * @property {flyteidl.event.IWorkflowNodeMetadata|null} [workflowNodeMetadata] ExternalResourceInfo workflowNodeMetadata + * @property {google.protobuf.IStruct|null} [customInfo] ExternalResourceInfo customInfo */ /** - * Constructs a new WorkflowAttributesUpdateResponse. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributesUpdateResponse. - * @implements IWorkflowAttributesUpdateResponse + * Constructs a new ExternalResourceInfo. + * @memberof flyteidl.event + * @classdesc Represents an ExternalResourceInfo. + * @implements IExternalResourceInfo * @constructor - * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse=} [properties] Properties to set + * @param {flyteidl.event.IExternalResourceInfo=} [properties] Properties to set */ - function WorkflowAttributesUpdateResponse(properties) { + function ExternalResourceInfo(properties) { + this.logs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -51448,212 +51544,170 @@ } /** - * Creates a new WorkflowAttributesUpdateResponse instance using the specified properties. - * @function create - * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse - * @static - * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributesUpdateResponse} WorkflowAttributesUpdateResponse instance - */ - WorkflowAttributesUpdateResponse.create = function create(properties) { - return new WorkflowAttributesUpdateResponse(properties); - }; - - /** - * Encodes the specified WorkflowAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateResponse.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse - * @static - * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse} message WorkflowAttributesUpdateResponse message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - WorkflowAttributesUpdateResponse.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Decodes a WorkflowAttributesUpdateResponse message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowAttributesUpdateResponse} WorkflowAttributesUpdateResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * ExternalResourceInfo externalId. + * @member {string} externalId + * @memberof flyteidl.event.ExternalResourceInfo + * @instance */ - WorkflowAttributesUpdateResponse.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesUpdateResponse(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + ExternalResourceInfo.prototype.externalId = ""; /** - * Verifies a WorkflowAttributesUpdateResponse message. - * @function verify - * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not + * ExternalResourceInfo index. + * @member {number} index + * @memberof flyteidl.event.ExternalResourceInfo + * @instance */ - WorkflowAttributesUpdateResponse.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - return WorkflowAttributesUpdateResponse; - })(); - - admin.WorkflowAttributesGetRequest = (function() { + ExternalResourceInfo.prototype.index = 0; /** - * Properties of a WorkflowAttributesGetRequest. - * @memberof flyteidl.admin - * @interface IWorkflowAttributesGetRequest - * @property {string|null} [project] WorkflowAttributesGetRequest project - * @property {string|null} [domain] WorkflowAttributesGetRequest domain - * @property {string|null} [workflow] WorkflowAttributesGetRequest workflow - * @property {flyteidl.admin.MatchableResource|null} [resourceType] WorkflowAttributesGetRequest resourceType - * @property {string|null} [org] WorkflowAttributesGetRequest org + * ExternalResourceInfo retryAttempt. + * @member {number} retryAttempt + * @memberof flyteidl.event.ExternalResourceInfo + * @instance */ + ExternalResourceInfo.prototype.retryAttempt = 0; /** - * Constructs a new WorkflowAttributesGetRequest. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributesGetRequest. - * @implements IWorkflowAttributesGetRequest - * @constructor - * @param {flyteidl.admin.IWorkflowAttributesGetRequest=} [properties] Properties to set + * ExternalResourceInfo phase. + * @member {flyteidl.core.TaskExecution.Phase} phase + * @memberof flyteidl.event.ExternalResourceInfo + * @instance */ - function WorkflowAttributesGetRequest(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + ExternalResourceInfo.prototype.phase = 0; /** - * WorkflowAttributesGetRequest project. - * @member {string} project - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * ExternalResourceInfo cacheStatus. + * @member {flyteidl.core.CatalogCacheStatus} cacheStatus + * @memberof flyteidl.event.ExternalResourceInfo * @instance */ - WorkflowAttributesGetRequest.prototype.project = ""; + ExternalResourceInfo.prototype.cacheStatus = 0; /** - * WorkflowAttributesGetRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * ExternalResourceInfo logs. + * @member {Array.} logs + * @memberof flyteidl.event.ExternalResourceInfo * @instance */ - WorkflowAttributesGetRequest.prototype.domain = ""; + ExternalResourceInfo.prototype.logs = $util.emptyArray; /** - * WorkflowAttributesGetRequest workflow. - * @member {string} workflow - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * ExternalResourceInfo workflowNodeMetadata. + * @member {flyteidl.event.IWorkflowNodeMetadata|null|undefined} workflowNodeMetadata + * @memberof flyteidl.event.ExternalResourceInfo * @instance */ - WorkflowAttributesGetRequest.prototype.workflow = ""; + ExternalResourceInfo.prototype.workflowNodeMetadata = null; /** - * WorkflowAttributesGetRequest resourceType. - * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * ExternalResourceInfo customInfo. + * @member {google.protobuf.IStruct|null|undefined} customInfo + * @memberof flyteidl.event.ExternalResourceInfo * @instance */ - WorkflowAttributesGetRequest.prototype.resourceType = 0; + ExternalResourceInfo.prototype.customInfo = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * WorkflowAttributesGetRequest org. - * @member {string} org - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * ExternalResourceInfo targetMetadata. + * @member {"workflowNodeMetadata"|undefined} targetMetadata + * @memberof flyteidl.event.ExternalResourceInfo * @instance */ - WorkflowAttributesGetRequest.prototype.org = ""; + Object.defineProperty(ExternalResourceInfo.prototype, "targetMetadata", { + get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new WorkflowAttributesGetRequest instance using the specified properties. + * Creates a new ExternalResourceInfo instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * @memberof flyteidl.event.ExternalResourceInfo * @static - * @param {flyteidl.admin.IWorkflowAttributesGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributesGetRequest} WorkflowAttributesGetRequest instance + * @param {flyteidl.event.IExternalResourceInfo=} [properties] Properties to set + * @returns {flyteidl.event.ExternalResourceInfo} ExternalResourceInfo instance */ - WorkflowAttributesGetRequest.create = function create(properties) { - return new WorkflowAttributesGetRequest(properties); + ExternalResourceInfo.create = function create(properties) { + return new ExternalResourceInfo(properties); }; /** - * Encodes the specified WorkflowAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetRequest.verify|verify} messages. + * Encodes the specified ExternalResourceInfo message. Does not implicitly {@link flyteidl.event.ExternalResourceInfo.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * @memberof flyteidl.event.ExternalResourceInfo * @static - * @param {flyteidl.admin.IWorkflowAttributesGetRequest} message WorkflowAttributesGetRequest message or plain object to encode + * @param {flyteidl.event.IExternalResourceInfo} message ExternalResourceInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowAttributesGetRequest.encode = function encode(message, writer) { + ExternalResourceInfo.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.workflow != null && message.hasOwnProperty("workflow")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.workflow); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.resourceType); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.org); + if (message.externalId != null && message.hasOwnProperty("externalId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.externalId); + if (message.index != null && message.hasOwnProperty("index")) + writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.index); + if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) + writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.retryAttempt); + if (message.phase != null && message.hasOwnProperty("phase")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.phase); + if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) + writer.uint32(/* id 5, wireType 0 =*/40).int32(message.cacheStatus); + if (message.logs != null && message.logs.length) + for (var i = 0; i < message.logs.length; ++i) + $root.flyteidl.core.TaskLog.encode(message.logs[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) + $root.flyteidl.event.WorkflowNodeMetadata.encode(message.workflowNodeMetadata, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.customInfo != null && message.hasOwnProperty("customInfo")) + $root.google.protobuf.Struct.encode(message.customInfo, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowAttributesGetRequest message from the specified reader or buffer. + * Decodes an ExternalResourceInfo message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * @memberof flyteidl.event.ExternalResourceInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowAttributesGetRequest} WorkflowAttributesGetRequest + * @returns {flyteidl.event.ExternalResourceInfo} ExternalResourceInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowAttributesGetRequest.decode = function decode(reader, length) { + ExternalResourceInfo.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesGetRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.ExternalResourceInfo(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); + message.externalId = reader.string(); break; case 2: - message.domain = reader.string(); + message.index = reader.uint32(); break; case 3: - message.workflow = reader.string(); + message.retryAttempt = reader.uint32(); break; case 4: - message.resourceType = reader.int32(); + message.phase = reader.int32(); break; case 5: - message.org = reader.string(); + message.cacheStatus = reader.int32(); + break; + case 6: + if (!(message.logs && message.logs.length)) + message.logs = []; + message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32())); + break; + case 7: + message.workflowNodeMetadata = $root.flyteidl.event.WorkflowNodeMetadata.decode(reader, reader.uint32()); + break; + case 8: + message.customInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -51664,29 +51718,30 @@ }; /** - * Verifies a WorkflowAttributesGetRequest message. + * Verifies an ExternalResourceInfo message. * @function verify - * @memberof flyteidl.admin.WorkflowAttributesGetRequest + * @memberof flyteidl.event.ExternalResourceInfo * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowAttributesGetRequest.verify = function verify(message) { + ExternalResourceInfo.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.workflow != null && message.hasOwnProperty("workflow")) - if (!$util.isString(message.workflow)) - return "workflow: string expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { + var properties = {}; + if (message.externalId != null && message.hasOwnProperty("externalId")) + if (!$util.isString(message.externalId)) + return "externalId: string expected"; + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) + return "index: integer expected"; + if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) + if (!$util.isInteger(message.retryAttempt)) + return "retryAttempt: integer expected"; + if (message.phase != null && message.hasOwnProperty("phase")) + switch (message.phase) { default: - return "resourceType: enum value expected"; + return "phase: enum value expected"; case 0: case 1: case 2: @@ -51697,33 +51752,67 @@ case 7: break; } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; + if (message.cacheStatus != null && message.hasOwnProperty("cacheStatus")) + switch (message.cacheStatus) { + default: + return "cacheStatus: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break; + } + if (message.logs != null && message.hasOwnProperty("logs")) { + if (!Array.isArray(message.logs)) + return "logs: array expected"; + for (var i = 0; i < message.logs.length; ++i) { + var error = $root.flyteidl.core.TaskLog.verify(message.logs[i]); + if (error) + return "logs." + error; + } + } + if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) { + properties.targetMetadata = 1; + { + var error = $root.flyteidl.event.WorkflowNodeMetadata.verify(message.workflowNodeMetadata); + if (error) + return "workflowNodeMetadata." + error; + } + } + if (message.customInfo != null && message.hasOwnProperty("customInfo")) { + var error = $root.google.protobuf.Struct.verify(message.customInfo); + if (error) + return "customInfo." + error; + } return null; }; - return WorkflowAttributesGetRequest; + return ExternalResourceInfo; })(); - admin.WorkflowAttributesGetResponse = (function() { + event.ResourcePoolInfo = (function() { /** - * Properties of a WorkflowAttributesGetResponse. - * @memberof flyteidl.admin - * @interface IWorkflowAttributesGetResponse - * @property {flyteidl.admin.IWorkflowAttributes|null} [attributes] WorkflowAttributesGetResponse attributes + * Properties of a ResourcePoolInfo. + * @memberof flyteidl.event + * @interface IResourcePoolInfo + * @property {string|null} [allocationToken] ResourcePoolInfo allocationToken + * @property {string|null} [namespace] ResourcePoolInfo namespace */ /** - * Constructs a new WorkflowAttributesGetResponse. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributesGetResponse. - * @implements IWorkflowAttributesGetResponse + * Constructs a new ResourcePoolInfo. + * @memberof flyteidl.event + * @classdesc Represents a ResourcePoolInfo. + * @implements IResourcePoolInfo * @constructor - * @param {flyteidl.admin.IWorkflowAttributesGetResponse=} [properties] Properties to set + * @param {flyteidl.event.IResourcePoolInfo=} [properties] Properties to set */ - function WorkflowAttributesGetResponse(properties) { + function ResourcePoolInfo(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -51731,62 +51820,75 @@ } /** - * WorkflowAttributesGetResponse attributes. - * @member {flyteidl.admin.IWorkflowAttributes|null|undefined} attributes - * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * ResourcePoolInfo allocationToken. + * @member {string} allocationToken + * @memberof flyteidl.event.ResourcePoolInfo * @instance */ - WorkflowAttributesGetResponse.prototype.attributes = null; + ResourcePoolInfo.prototype.allocationToken = ""; /** - * Creates a new WorkflowAttributesGetResponse instance using the specified properties. + * ResourcePoolInfo namespace. + * @member {string} namespace + * @memberof flyteidl.event.ResourcePoolInfo + * @instance + */ + ResourcePoolInfo.prototype.namespace = ""; + + /** + * Creates a new ResourcePoolInfo instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * @memberof flyteidl.event.ResourcePoolInfo * @static - * @param {flyteidl.admin.IWorkflowAttributesGetResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributesGetResponse} WorkflowAttributesGetResponse instance + * @param {flyteidl.event.IResourcePoolInfo=} [properties] Properties to set + * @returns {flyteidl.event.ResourcePoolInfo} ResourcePoolInfo instance */ - WorkflowAttributesGetResponse.create = function create(properties) { - return new WorkflowAttributesGetResponse(properties); + ResourcePoolInfo.create = function create(properties) { + return new ResourcePoolInfo(properties); }; /** - * Encodes the specified WorkflowAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetResponse.verify|verify} messages. + * Encodes the specified ResourcePoolInfo message. Does not implicitly {@link flyteidl.event.ResourcePoolInfo.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * @memberof flyteidl.event.ResourcePoolInfo * @static - * @param {flyteidl.admin.IWorkflowAttributesGetResponse} message WorkflowAttributesGetResponse message or plain object to encode + * @param {flyteidl.event.IResourcePoolInfo} message ResourcePoolInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowAttributesGetResponse.encode = function encode(message, writer) { + ResourcePoolInfo.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.attributes != null && message.hasOwnProperty("attributes")) - $root.flyteidl.admin.WorkflowAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.allocationToken != null && message.hasOwnProperty("allocationToken")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.allocationToken); + if (message.namespace != null && message.hasOwnProperty("namespace")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.namespace); return writer; }; /** - * Decodes a WorkflowAttributesGetResponse message from the specified reader or buffer. + * Decodes a ResourcePoolInfo message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * @memberof flyteidl.event.ResourcePoolInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowAttributesGetResponse} WorkflowAttributesGetResponse + * @returns {flyteidl.event.ResourcePoolInfo} ResourcePoolInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowAttributesGetResponse.decode = function decode(reader, length) { + ResourcePoolInfo.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesGetResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.ResourcePoolInfo(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.attributes = $root.flyteidl.admin.WorkflowAttributes.decode(reader, reader.uint32()); + message.allocationToken = reader.string(); + break; + case 2: + message.namespace = reader.string(); break; default: reader.skipType(tag & 7); @@ -51797,49 +51899,52 @@ }; /** - * Verifies a WorkflowAttributesGetResponse message. + * Verifies a ResourcePoolInfo message. * @function verify - * @memberof flyteidl.admin.WorkflowAttributesGetResponse + * @memberof flyteidl.event.ResourcePoolInfo * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowAttributesGetResponse.verify = function verify(message) { + ResourcePoolInfo.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.attributes != null && message.hasOwnProperty("attributes")) { - var error = $root.flyteidl.admin.WorkflowAttributes.verify(message.attributes); - if (error) - return "attributes." + error; - } + if (message.allocationToken != null && message.hasOwnProperty("allocationToken")) + if (!$util.isString(message.allocationToken)) + return "allocationToken: string expected"; + if (message.namespace != null && message.hasOwnProperty("namespace")) + if (!$util.isString(message.namespace)) + return "namespace: string expected"; return null; }; - return WorkflowAttributesGetResponse; + return ResourcePoolInfo; })(); - admin.WorkflowAttributesDeleteRequest = (function() { + event.TaskExecutionMetadata = (function() { /** - * Properties of a WorkflowAttributesDeleteRequest. - * @memberof flyteidl.admin - * @interface IWorkflowAttributesDeleteRequest - * @property {string|null} [project] WorkflowAttributesDeleteRequest project - * @property {string|null} [domain] WorkflowAttributesDeleteRequest domain - * @property {string|null} [workflow] WorkflowAttributesDeleteRequest workflow - * @property {flyteidl.admin.MatchableResource|null} [resourceType] WorkflowAttributesDeleteRequest resourceType - * @property {string|null} [org] WorkflowAttributesDeleteRequest org + * Properties of a TaskExecutionMetadata. + * @memberof flyteidl.event + * @interface ITaskExecutionMetadata + * @property {string|null} [generatedName] TaskExecutionMetadata generatedName + * @property {Array.|null} [externalResources] TaskExecutionMetadata externalResources + * @property {Array.|null} [resourcePoolInfo] TaskExecutionMetadata resourcePoolInfo + * @property {string|null} [pluginIdentifier] TaskExecutionMetadata pluginIdentifier + * @property {flyteidl.event.TaskExecutionMetadata.InstanceClass|null} [instanceClass] TaskExecutionMetadata instanceClass */ /** - * Constructs a new WorkflowAttributesDeleteRequest. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributesDeleteRequest. - * @implements IWorkflowAttributesDeleteRequest + * Constructs a new TaskExecutionMetadata. + * @memberof flyteidl.event + * @classdesc Represents a TaskExecutionMetadata. + * @implements ITaskExecutionMetadata * @constructor - * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest=} [properties] Properties to set + * @param {flyteidl.event.ITaskExecutionMetadata=} [properties] Properties to set */ - function WorkflowAttributesDeleteRequest(properties) { + function TaskExecutionMetadata(properties) { + this.externalResources = []; + this.resourcePoolInfo = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -51847,114 +51952,120 @@ } /** - * WorkflowAttributesDeleteRequest project. - * @member {string} project - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * TaskExecutionMetadata generatedName. + * @member {string} generatedName + * @memberof flyteidl.event.TaskExecutionMetadata * @instance */ - WorkflowAttributesDeleteRequest.prototype.project = ""; + TaskExecutionMetadata.prototype.generatedName = ""; /** - * WorkflowAttributesDeleteRequest domain. - * @member {string} domain - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * TaskExecutionMetadata externalResources. + * @member {Array.} externalResources + * @memberof flyteidl.event.TaskExecutionMetadata * @instance */ - WorkflowAttributesDeleteRequest.prototype.domain = ""; + TaskExecutionMetadata.prototype.externalResources = $util.emptyArray; /** - * WorkflowAttributesDeleteRequest workflow. - * @member {string} workflow - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * TaskExecutionMetadata resourcePoolInfo. + * @member {Array.} resourcePoolInfo + * @memberof flyteidl.event.TaskExecutionMetadata * @instance */ - WorkflowAttributesDeleteRequest.prototype.workflow = ""; + TaskExecutionMetadata.prototype.resourcePoolInfo = $util.emptyArray; /** - * WorkflowAttributesDeleteRequest resourceType. - * @member {flyteidl.admin.MatchableResource} resourceType - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * TaskExecutionMetadata pluginIdentifier. + * @member {string} pluginIdentifier + * @memberof flyteidl.event.TaskExecutionMetadata * @instance */ - WorkflowAttributesDeleteRequest.prototype.resourceType = 0; + TaskExecutionMetadata.prototype.pluginIdentifier = ""; /** - * WorkflowAttributesDeleteRequest org. - * @member {string} org - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * TaskExecutionMetadata instanceClass. + * @member {flyteidl.event.TaskExecutionMetadata.InstanceClass} instanceClass + * @memberof flyteidl.event.TaskExecutionMetadata * @instance */ - WorkflowAttributesDeleteRequest.prototype.org = ""; + TaskExecutionMetadata.prototype.instanceClass = 0; /** - * Creates a new WorkflowAttributesDeleteRequest instance using the specified properties. + * Creates a new TaskExecutionMetadata instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @memberof flyteidl.event.TaskExecutionMetadata * @static - * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributesDeleteRequest} WorkflowAttributesDeleteRequest instance + * @param {flyteidl.event.ITaskExecutionMetadata=} [properties] Properties to set + * @returns {flyteidl.event.TaskExecutionMetadata} TaskExecutionMetadata instance */ - WorkflowAttributesDeleteRequest.create = function create(properties) { - return new WorkflowAttributesDeleteRequest(properties); + TaskExecutionMetadata.create = function create(properties) { + return new TaskExecutionMetadata(properties); }; /** - * Encodes the specified WorkflowAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteRequest.verify|verify} messages. + * Encodes the specified TaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.TaskExecutionMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @memberof flyteidl.event.TaskExecutionMetadata * @static - * @param {flyteidl.admin.IWorkflowAttributesDeleteRequest} message WorkflowAttributesDeleteRequest message or plain object to encode + * @param {flyteidl.event.ITaskExecutionMetadata} message TaskExecutionMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowAttributesDeleteRequest.encode = function encode(message, writer) { + TaskExecutionMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.workflow != null && message.hasOwnProperty("workflow")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.workflow); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.resourceType); - if (message.org != null && message.hasOwnProperty("org")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.org); + if (message.generatedName != null && message.hasOwnProperty("generatedName")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.generatedName); + if (message.externalResources != null && message.externalResources.length) + for (var i = 0; i < message.externalResources.length; ++i) + $root.flyteidl.event.ExternalResourceInfo.encode(message.externalResources[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.resourcePoolInfo != null && message.resourcePoolInfo.length) + for (var i = 0; i < message.resourcePoolInfo.length; ++i) + $root.flyteidl.event.ResourcePoolInfo.encode(message.resourcePoolInfo[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.pluginIdentifier != null && message.hasOwnProperty("pluginIdentifier")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.pluginIdentifier); + if (message.instanceClass != null && message.hasOwnProperty("instanceClass")) + writer.uint32(/* id 16, wireType 0 =*/128).int32(message.instanceClass); return writer; }; /** - * Decodes a WorkflowAttributesDeleteRequest message from the specified reader or buffer. + * Decodes a TaskExecutionMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @memberof flyteidl.event.TaskExecutionMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowAttributesDeleteRequest} WorkflowAttributesDeleteRequest + * @returns {flyteidl.event.TaskExecutionMetadata} TaskExecutionMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowAttributesDeleteRequest.decode = function decode(reader, length) { + TaskExecutionMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesDeleteRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.TaskExecutionMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); + message.generatedName = reader.string(); break; case 2: - message.domain = reader.string(); + if (!(message.externalResources && message.externalResources.length)) + message.externalResources = []; + message.externalResources.push($root.flyteidl.event.ExternalResourceInfo.decode(reader, reader.uint32())); break; case 3: - message.workflow = reader.string(); + if (!(message.resourcePoolInfo && message.resourcePoolInfo.length)) + message.resourcePoolInfo = []; + message.resourcePoolInfo.push($root.flyteidl.event.ResourcePoolInfo.decode(reader, reader.uint32())); break; case 4: - message.resourceType = reader.int32(); + message.pluginIdentifier = reader.string(); break; - case 5: - message.org = reader.string(); + case 16: + message.instanceClass = reader.int32(); break; default: reader.skipType(tag & 7); @@ -51965,142 +52076,69 @@ }; /** - * Verifies a WorkflowAttributesDeleteRequest message. + * Verifies a TaskExecutionMetadata message. * @function verify - * @memberof flyteidl.admin.WorkflowAttributesDeleteRequest + * @memberof flyteidl.event.TaskExecutionMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowAttributesDeleteRequest.verify = function verify(message) { + TaskExecutionMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.workflow != null && message.hasOwnProperty("workflow")) - if (!$util.isString(message.workflow)) - return "workflow: string expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { + if (message.generatedName != null && message.hasOwnProperty("generatedName")) + if (!$util.isString(message.generatedName)) + return "generatedName: string expected"; + if (message.externalResources != null && message.hasOwnProperty("externalResources")) { + if (!Array.isArray(message.externalResources)) + return "externalResources: array expected"; + for (var i = 0; i < message.externalResources.length; ++i) { + var error = $root.flyteidl.event.ExternalResourceInfo.verify(message.externalResources[i]); + if (error) + return "externalResources." + error; + } + } + if (message.resourcePoolInfo != null && message.hasOwnProperty("resourcePoolInfo")) { + if (!Array.isArray(message.resourcePoolInfo)) + return "resourcePoolInfo: array expected"; + for (var i = 0; i < message.resourcePoolInfo.length; ++i) { + var error = $root.flyteidl.event.ResourcePoolInfo.verify(message.resourcePoolInfo[i]); + if (error) + return "resourcePoolInfo." + error; + } + } + if (message.pluginIdentifier != null && message.hasOwnProperty("pluginIdentifier")) + if (!$util.isString(message.pluginIdentifier)) + return "pluginIdentifier: string expected"; + if (message.instanceClass != null && message.hasOwnProperty("instanceClass")) + switch (message.instanceClass) { default: - return "resourceType: enum value expected"; + return "instanceClass: enum value expected"; case 0: case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: break; } - if (message.org != null && message.hasOwnProperty("org")) - if (!$util.isString(message.org)) - return "org: string expected"; return null; }; - return WorkflowAttributesDeleteRequest; - })(); - - admin.WorkflowAttributesDeleteResponse = (function() { - - /** - * Properties of a WorkflowAttributesDeleteResponse. - * @memberof flyteidl.admin - * @interface IWorkflowAttributesDeleteResponse - */ - - /** - * Constructs a new WorkflowAttributesDeleteResponse. - * @memberof flyteidl.admin - * @classdesc Represents a WorkflowAttributesDeleteResponse. - * @implements IWorkflowAttributesDeleteResponse - * @constructor - * @param {flyteidl.admin.IWorkflowAttributesDeleteResponse=} [properties] Properties to set - */ - function WorkflowAttributesDeleteResponse(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new WorkflowAttributesDeleteResponse instance using the specified properties. - * @function create - * @memberof flyteidl.admin.WorkflowAttributesDeleteResponse - * @static - * @param {flyteidl.admin.IWorkflowAttributesDeleteResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowAttributesDeleteResponse} WorkflowAttributesDeleteResponse instance - */ - WorkflowAttributesDeleteResponse.create = function create(properties) { - return new WorkflowAttributesDeleteResponse(properties); - }; - - /** - * Encodes the specified WorkflowAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteResponse.verify|verify} messages. - * @function encode - * @memberof flyteidl.admin.WorkflowAttributesDeleteResponse - * @static - * @param {flyteidl.admin.IWorkflowAttributesDeleteResponse} message WorkflowAttributesDeleteResponse message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - WorkflowAttributesDeleteResponse.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Decodes a WorkflowAttributesDeleteResponse message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.admin.WorkflowAttributesDeleteResponse - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowAttributesDeleteResponse} WorkflowAttributesDeleteResponse - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - WorkflowAttributesDeleteResponse.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesDeleteResponse(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - /** - * Verifies a WorkflowAttributesDeleteResponse message. - * @function verify - * @memberof flyteidl.admin.WorkflowAttributesDeleteResponse - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not + * InstanceClass enum. + * @name flyteidl.event.TaskExecutionMetadata.InstanceClass + * @enum {string} + * @property {number} DEFAULT=0 DEFAULT value + * @property {number} INTERRUPTIBLE=1 INTERRUPTIBLE value */ - WorkflowAttributesDeleteResponse.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; + TaskExecutionMetadata.InstanceClass = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "DEFAULT"] = 0; + values[valuesById[1] = "INTERRUPTIBLE"] = 1; + return values; + })(); - return WorkflowAttributesDeleteResponse; + return TaskExecutionMetadata; })(); - return admin; + return event; })(); flyteidl.service = (function() { diff --git a/flyteidl/gen/pb_python/flyteidl/core/workflow_pb2.py b/flyteidl/gen/pb_python/flyteidl/core/workflow_pb2.py index 4f30f4d632..f314dbe562 100644 --- a/flyteidl/gen/pb_python/flyteidl/core/workflow_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/core/workflow_pb2.py @@ -19,11 +19,12 @@ from flyteidl.core import tasks_pb2 as flyteidl_dot_core_dot_tasks__pb2 from flyteidl.core import types_pb2 as flyteidl_dot_core_dot_types__pb2 from flyteidl.core import security_pb2 as flyteidl_dot_core_dot_security__pb2 +from flyteidl.admin import common_pb2 as flyteidl_dot_admin_dot_common__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lyteidl/core/workflow.proto\x12\rflyteidl.core\x1a\x1d\x66lyteidl/core/condition.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/tasks.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\"{\n\x07IfBlock\x12>\n\tcondition\x18\x01 \x01(\x0b\x32 .flyteidl.core.BooleanExpressionR\tcondition\x12\x30\n\tthen_node\x18\x02 \x01(\x0b\x32\x13.flyteidl.core.NodeR\x08thenNode\"\xd4\x01\n\x0bIfElseBlock\x12*\n\x04\x63\x61se\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.IfBlockR\x04\x63\x61se\x12,\n\x05other\x18\x02 \x03(\x0b\x32\x16.flyteidl.core.IfBlockR\x05other\x12\x32\n\telse_node\x18\x03 \x01(\x0b\x32\x13.flyteidl.core.NodeH\x00R\x08\x65lseNode\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x14.flyteidl.core.ErrorH\x00R\x05\x65rrorB\t\n\x07\x64\x65\x66\x61ult\"A\n\nBranchNode\x12\x33\n\x07if_else\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.IfElseBlockR\x06ifElse\"\x97\x01\n\x08TaskNode\x12>\n\x0creference_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierH\x00R\x0breferenceId\x12>\n\toverrides\x18\x02 \x01(\x0b\x32 .flyteidl.core.TaskNodeOverridesR\toverridesB\x0b\n\treference\"\xa6\x01\n\x0cWorkflowNode\x12\x42\n\x0elaunchplan_ref\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierH\x00R\rlaunchplanRef\x12\x45\n\x10sub_workflow_ref\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.IdentifierH\x00R\x0esubWorkflowRefB\x0b\n\treference\"/\n\x10\x41pproveCondition\x12\x1b\n\tsignal_id\x18\x01 \x01(\tR\x08signalId\"\x90\x01\n\x0fSignalCondition\x12\x1b\n\tsignal_id\x18\x01 \x01(\tR\x08signalId\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12\x30\n\x14output_variable_name\x18\x03 \x01(\tR\x12outputVariableName\"G\n\x0eSleepCondition\x12\x35\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\x08\x64uration\"\xc5\x01\n\x08GateNode\x12;\n\x07\x61pprove\x18\x01 \x01(\x0b\x32\x1f.flyteidl.core.ApproveConditionH\x00R\x07\x61pprove\x12\x38\n\x06signal\x18\x02 \x01(\x0b\x32\x1e.flyteidl.core.SignalConditionH\x00R\x06signal\x12\x35\n\x05sleep\x18\x03 \x01(\x0b\x32\x1d.flyteidl.core.SleepConditionH\x00R\x05sleepB\x0b\n\tcondition\"\xb9\x04\n\tArrayNode\x12\'\n\x04node\x18\x01 \x01(\x0b\x32\x13.flyteidl.core.NodeR\x04node\x12\"\n\x0bparallelism\x18\x02 \x01(\rH\x00R\x0bparallelism\x12%\n\rmin_successes\x18\x03 \x01(\rH\x01R\x0cminSuccesses\x12,\n\x11min_success_ratio\x18\x04 \x01(\x02H\x01R\x0fminSuccessRatio\x12M\n\x0e\x65xecution_mode\x18\x05 \x01(\x0e\x32&.flyteidl.core.ArrayNode.ExecutionModeR\rexecutionMode\x12^\n\x1eis_original_sub_node_interface\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x1aisOriginalSubNodeInterface\x12>\n\tdata_mode\x18\x07 \x01(\x0e\x32!.flyteidl.core.ArrayNode.DataModeR\x08\x64\x61taMode\"2\n\rExecutionMode\x12\x11\n\rMINIMAL_STATE\x10\x00\x12\x0e\n\nFULL_STATE\x10\x01\"=\n\x08\x44\x61taMode\x12\x15\n\x11SINGLE_INPUT_FILE\x10\x00\x12\x1a\n\x16INDIVIDUAL_INPUT_FILES\x10\x01\x42\x14\n\x12parallelism_optionB\x12\n\x10success_criteria\"\x8c\x03\n\x0cNodeMetadata\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x33\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x07timeout\x12\x36\n\x07retries\x18\x05 \x01(\x0b\x32\x1c.flyteidl.core.RetryStrategyR\x07retries\x12&\n\rinterruptible\x18\x06 \x01(\x08H\x00R\rinterruptible\x12\x1e\n\tcacheable\x18\x07 \x01(\x08H\x01R\tcacheable\x12%\n\rcache_version\x18\x08 \x01(\tH\x02R\x0c\x63\x61\x63heVersion\x12/\n\x12\x63\x61\x63he_serializable\x18\t \x01(\x08H\x03R\x11\x63\x61\x63heSerializableB\x15\n\x13interruptible_valueB\x11\n\x0f\x63\x61\x63heable_valueB\x15\n\x13\x63\x61\x63he_version_valueB\x1a\n\x18\x63\x61\x63he_serializable_value\"/\n\x05\x41lias\x12\x10\n\x03var\x18\x01 \x01(\tR\x03var\x12\x14\n\x05\x61lias\x18\x02 \x01(\tR\x05\x61lias\"\x9f\x04\n\x04Node\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x37\n\x08metadata\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.NodeMetadataR\x08metadata\x12.\n\x06inputs\x18\x03 \x03(\x0b\x32\x16.flyteidl.core.BindingR\x06inputs\x12*\n\x11upstream_node_ids\x18\x04 \x03(\tR\x0fupstreamNodeIds\x12;\n\x0eoutput_aliases\x18\x05 \x03(\x0b\x32\x14.flyteidl.core.AliasR\routputAliases\x12\x36\n\ttask_node\x18\x06 \x01(\x0b\x32\x17.flyteidl.core.TaskNodeH\x00R\x08taskNode\x12\x42\n\rworkflow_node\x18\x07 \x01(\x0b\x32\x1b.flyteidl.core.WorkflowNodeH\x00R\x0cworkflowNode\x12<\n\x0b\x62ranch_node\x18\x08 \x01(\x0b\x32\x19.flyteidl.core.BranchNodeH\x00R\nbranchNode\x12\x36\n\tgate_node\x18\t \x01(\x0b\x32\x17.flyteidl.core.GateNodeH\x00R\x08gateNode\x12\x39\n\narray_node\x18\n \x01(\x0b\x32\x18.flyteidl.core.ArrayNodeH\x00R\tarrayNodeB\x08\n\x06target\"\xfc\x02\n\x10WorkflowMetadata\x12M\n\x12quality_of_service\x18\x01 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfServiceR\x10qualityOfService\x12N\n\non_failure\x18\x02 \x01(\x0e\x32/.flyteidl.core.WorkflowMetadata.OnFailurePolicyR\tonFailure\x12=\n\x04tags\x18\x03 \x03(\x0b\x32).flyteidl.core.WorkflowMetadata.TagsEntryR\x04tags\x1a\x37\n\tTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"Q\n\x0fOnFailurePolicy\x12\x14\n\x10\x46\x41IL_IMMEDIATELY\x10\x00\x12(\n$FAIL_AFTER_EXECUTABLE_NODES_COMPLETE\x10\x01\"@\n\x18WorkflowMetadataDefaults\x12$\n\rinterruptible\x18\x01 \x01(\x08R\rinterruptible\"\xa2\x03\n\x10WorkflowTemplate\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32\x1f.flyteidl.core.WorkflowMetadataR\x08metadata\x12;\n\tinterface\x18\x03 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\tinterface\x12)\n\x05nodes\x18\x04 \x03(\x0b\x32\x13.flyteidl.core.NodeR\x05nodes\x12\x30\n\x07outputs\x18\x05 \x03(\x0b\x32\x16.flyteidl.core.BindingR\x07outputs\x12\x36\n\x0c\x66\x61ilure_node\x18\x06 \x01(\x0b\x32\x13.flyteidl.core.NodeR\x0b\x66\x61ilureNode\x12T\n\x11metadata_defaults\x18\x07 \x01(\x0b\x32\'.flyteidl.core.WorkflowMetadataDefaultsR\x10metadataDefaults\"\xc5\x01\n\x11TaskNodeOverrides\x12\x36\n\tresources\x18\x01 \x01(\x0b\x32\x18.flyteidl.core.ResourcesR\tresources\x12O\n\x12\x65xtended_resources\x18\x02 \x01(\x0b\x32 .flyteidl.core.ExtendedResourcesR\x11\x65xtendedResources\x12\'\n\x0f\x63ontainer_image\x18\x03 \x01(\tR\x0e\x63ontainerImage\"\xba\x01\n\x12LaunchPlanTemplate\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12;\n\tinterface\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\tinterface\x12<\n\x0c\x66ixed_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x0b\x66ixedInputsB\xb3\x01\n\x11\x63om.flyteidl.coreB\rWorkflowProtoP\x01Z:github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core\xa2\x02\x03\x46\x43X\xaa\x02\rFlyteidl.Core\xca\x02\rFlyteidl\\Core\xe2\x02\x19\x46lyteidl\\Core\\GPBMetadata\xea\x02\x0e\x46lyteidl::Coreb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lyteidl/core/workflow.proto\x12\rflyteidl.core\x1a\x1d\x66lyteidl/core/condition.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/tasks.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1egoogle/protobuf/wrappers.proto\"{\n\x07IfBlock\x12>\n\tcondition\x18\x01 \x01(\x0b\x32 .flyteidl.core.BooleanExpressionR\tcondition\x12\x30\n\tthen_node\x18\x02 \x01(\x0b\x32\x13.flyteidl.core.NodeR\x08thenNode\"\xd4\x01\n\x0bIfElseBlock\x12*\n\x04\x63\x61se\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.IfBlockR\x04\x63\x61se\x12,\n\x05other\x18\x02 \x03(\x0b\x32\x16.flyteidl.core.IfBlockR\x05other\x12\x32\n\telse_node\x18\x03 \x01(\x0b\x32\x13.flyteidl.core.NodeH\x00R\x08\x65lseNode\x12,\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x14.flyteidl.core.ErrorH\x00R\x05\x65rrorB\t\n\x07\x64\x65\x66\x61ult\"A\n\nBranchNode\x12\x33\n\x07if_else\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.IfElseBlockR\x06ifElse\"\x97\x01\n\x08TaskNode\x12>\n\x0creference_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierH\x00R\x0breferenceId\x12>\n\toverrides\x18\x02 \x01(\x0b\x32 .flyteidl.core.TaskNodeOverridesR\toverridesB\x0b\n\treference\"\xa6\x01\n\x0cWorkflowNode\x12\x42\n\x0elaunchplan_ref\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierH\x00R\rlaunchplanRef\x12\x45\n\x10sub_workflow_ref\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.IdentifierH\x00R\x0esubWorkflowRefB\x0b\n\treference\"/\n\x10\x41pproveCondition\x12\x1b\n\tsignal_id\x18\x01 \x01(\tR\x08signalId\"\x90\x01\n\x0fSignalCondition\x12\x1b\n\tsignal_id\x18\x01 \x01(\tR\x08signalId\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12\x30\n\x14output_variable_name\x18\x03 \x01(\tR\x12outputVariableName\"G\n\x0eSleepCondition\x12\x35\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\x08\x64uration\"\xc5\x01\n\x08GateNode\x12;\n\x07\x61pprove\x18\x01 \x01(\x0b\x32\x1f.flyteidl.core.ApproveConditionH\x00R\x07\x61pprove\x12\x38\n\x06signal\x18\x02 \x01(\x0b\x32\x1e.flyteidl.core.SignalConditionH\x00R\x06signal\x12\x35\n\x05sleep\x18\x03 \x01(\x0b\x32\x1d.flyteidl.core.SleepConditionH\x00R\x05sleepB\x0b\n\tcondition\"\xb9\x04\n\tArrayNode\x12\'\n\x04node\x18\x01 \x01(\x0b\x32\x13.flyteidl.core.NodeR\x04node\x12\"\n\x0bparallelism\x18\x02 \x01(\rH\x00R\x0bparallelism\x12%\n\rmin_successes\x18\x03 \x01(\rH\x01R\x0cminSuccesses\x12,\n\x11min_success_ratio\x18\x04 \x01(\x02H\x01R\x0fminSuccessRatio\x12M\n\x0e\x65xecution_mode\x18\x05 \x01(\x0e\x32&.flyteidl.core.ArrayNode.ExecutionModeR\rexecutionMode\x12^\n\x1eis_original_sub_node_interface\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\x1aisOriginalSubNodeInterface\x12>\n\tdata_mode\x18\x07 \x01(\x0e\x32!.flyteidl.core.ArrayNode.DataModeR\x08\x64\x61taMode\"2\n\rExecutionMode\x12\x11\n\rMINIMAL_STATE\x10\x00\x12\x0e\n\nFULL_STATE\x10\x01\"=\n\x08\x44\x61taMode\x12\x15\n\x11SINGLE_INPUT_FILE\x10\x00\x12\x1a\n\x16INDIVIDUAL_INPUT_FILES\x10\x01\x42\x14\n\x12parallelism_optionB\x12\n\x10success_criteria\"\xfb\x03\n\x0cNodeMetadata\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x33\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x07timeout\x12\x36\n\x07retries\x18\x05 \x01(\x0b\x32\x1c.flyteidl.core.RetryStrategyR\x07retries\x12&\n\rinterruptible\x18\x06 \x01(\x08H\x00R\rinterruptible\x12\x1e\n\tcacheable\x18\x07 \x01(\x08H\x01R\tcacheable\x12%\n\rcache_version\x18\x08 \x01(\tH\x02R\x0c\x63\x61\x63heVersion\x12/\n\x12\x63\x61\x63he_serializable\x18\t \x01(\x08H\x03R\x11\x63\x61\x63heSerializable\x12.\n\x06labels\x18\n \x01(\x0b\x32\x16.flyteidl.admin.LabelsR\x06labels\x12=\n\x0b\x61nnotations\x18\x0b \x01(\x0b\x32\x1b.flyteidl.admin.AnnotationsR\x0b\x61nnotationsB\x15\n\x13interruptible_valueB\x11\n\x0f\x63\x61\x63heable_valueB\x15\n\x13\x63\x61\x63he_version_valueB\x1a\n\x18\x63\x61\x63he_serializable_value\"/\n\x05\x41lias\x12\x10\n\x03var\x18\x01 \x01(\tR\x03var\x12\x14\n\x05\x61lias\x18\x02 \x01(\tR\x05\x61lias\"\x9f\x04\n\x04Node\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x37\n\x08metadata\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.NodeMetadataR\x08metadata\x12.\n\x06inputs\x18\x03 \x03(\x0b\x32\x16.flyteidl.core.BindingR\x06inputs\x12*\n\x11upstream_node_ids\x18\x04 \x03(\tR\x0fupstreamNodeIds\x12;\n\x0eoutput_aliases\x18\x05 \x03(\x0b\x32\x14.flyteidl.core.AliasR\routputAliases\x12\x36\n\ttask_node\x18\x06 \x01(\x0b\x32\x17.flyteidl.core.TaskNodeH\x00R\x08taskNode\x12\x42\n\rworkflow_node\x18\x07 \x01(\x0b\x32\x1b.flyteidl.core.WorkflowNodeH\x00R\x0cworkflowNode\x12<\n\x0b\x62ranch_node\x18\x08 \x01(\x0b\x32\x19.flyteidl.core.BranchNodeH\x00R\nbranchNode\x12\x36\n\tgate_node\x18\t \x01(\x0b\x32\x17.flyteidl.core.GateNodeH\x00R\x08gateNode\x12\x39\n\narray_node\x18\n \x01(\x0b\x32\x18.flyteidl.core.ArrayNodeH\x00R\tarrayNodeB\x08\n\x06target\"\xfc\x02\n\x10WorkflowMetadata\x12M\n\x12quality_of_service\x18\x01 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfServiceR\x10qualityOfService\x12N\n\non_failure\x18\x02 \x01(\x0e\x32/.flyteidl.core.WorkflowMetadata.OnFailurePolicyR\tonFailure\x12=\n\x04tags\x18\x03 \x03(\x0b\x32).flyteidl.core.WorkflowMetadata.TagsEntryR\x04tags\x1a\x37\n\tTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"Q\n\x0fOnFailurePolicy\x12\x14\n\x10\x46\x41IL_IMMEDIATELY\x10\x00\x12(\n$FAIL_AFTER_EXECUTABLE_NODES_COMPLETE\x10\x01\"@\n\x18WorkflowMetadataDefaults\x12$\n\rinterruptible\x18\x01 \x01(\x08R\rinterruptible\"\xa2\x03\n\x10WorkflowTemplate\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32\x1f.flyteidl.core.WorkflowMetadataR\x08metadata\x12;\n\tinterface\x18\x03 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\tinterface\x12)\n\x05nodes\x18\x04 \x03(\x0b\x32\x13.flyteidl.core.NodeR\x05nodes\x12\x30\n\x07outputs\x18\x05 \x03(\x0b\x32\x16.flyteidl.core.BindingR\x07outputs\x12\x36\n\x0c\x66\x61ilure_node\x18\x06 \x01(\x0b\x32\x13.flyteidl.core.NodeR\x0b\x66\x61ilureNode\x12T\n\x11metadata_defaults\x18\x07 \x01(\x0b\x32\'.flyteidl.core.WorkflowMetadataDefaultsR\x10metadataDefaults\"\xc5\x01\n\x11TaskNodeOverrides\x12\x36\n\tresources\x18\x01 \x01(\x0b\x32\x18.flyteidl.core.ResourcesR\tresources\x12O\n\x12\x65xtended_resources\x18\x02 \x01(\x0b\x32 .flyteidl.core.ExtendedResourcesR\x11\x65xtendedResources\x12\'\n\x0f\x63ontainer_image\x18\x03 \x01(\tR\x0e\x63ontainerImage\"\xba\x01\n\x12LaunchPlanTemplate\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12;\n\tinterface\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\tinterface\x12<\n\x0c\x66ixed_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x0b\x66ixedInputsB\xb3\x01\n\x11\x63om.flyteidl.coreB\rWorkflowProtoP\x01Z:github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core\xa2\x02\x03\x46\x43X\xaa\x02\rFlyteidl.Core\xca\x02\rFlyteidl\\Core\xe2\x02\x19\x46lyteidl\\Core\\GPBMetadata\xea\x02\x0e\x46lyteidl::Coreb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -34,48 +35,48 @@ DESCRIPTOR._serialized_options = b'\n\021com.flyteidl.coreB\rWorkflowProtoP\001Z:github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core\242\002\003FCX\252\002\rFlyteidl.Core\312\002\rFlyteidl\\Core\342\002\031Flyteidl\\Core\\GPBMetadata\352\002\016Flyteidl::Core' _WORKFLOWMETADATA_TAGSENTRY._options = None _WORKFLOWMETADATA_TAGSENTRY._serialized_options = b'8\001' - _globals['_IFBLOCK']._serialized_start=350 - _globals['_IFBLOCK']._serialized_end=473 - _globals['_IFELSEBLOCK']._serialized_start=476 - _globals['_IFELSEBLOCK']._serialized_end=688 - _globals['_BRANCHNODE']._serialized_start=690 - _globals['_BRANCHNODE']._serialized_end=755 - _globals['_TASKNODE']._serialized_start=758 - _globals['_TASKNODE']._serialized_end=909 - _globals['_WORKFLOWNODE']._serialized_start=912 - _globals['_WORKFLOWNODE']._serialized_end=1078 - _globals['_APPROVECONDITION']._serialized_start=1080 - _globals['_APPROVECONDITION']._serialized_end=1127 - _globals['_SIGNALCONDITION']._serialized_start=1130 - _globals['_SIGNALCONDITION']._serialized_end=1274 - _globals['_SLEEPCONDITION']._serialized_start=1276 - _globals['_SLEEPCONDITION']._serialized_end=1347 - _globals['_GATENODE']._serialized_start=1350 - _globals['_GATENODE']._serialized_end=1547 - _globals['_ARRAYNODE']._serialized_start=1550 - _globals['_ARRAYNODE']._serialized_end=2119 - _globals['_ARRAYNODE_EXECUTIONMODE']._serialized_start=1964 - _globals['_ARRAYNODE_EXECUTIONMODE']._serialized_end=2014 - _globals['_ARRAYNODE_DATAMODE']._serialized_start=2016 - _globals['_ARRAYNODE_DATAMODE']._serialized_end=2077 - _globals['_NODEMETADATA']._serialized_start=2122 - _globals['_NODEMETADATA']._serialized_end=2518 - _globals['_ALIAS']._serialized_start=2520 - _globals['_ALIAS']._serialized_end=2567 - _globals['_NODE']._serialized_start=2570 - _globals['_NODE']._serialized_end=3113 - _globals['_WORKFLOWMETADATA']._serialized_start=3116 - _globals['_WORKFLOWMETADATA']._serialized_end=3496 - _globals['_WORKFLOWMETADATA_TAGSENTRY']._serialized_start=3358 - _globals['_WORKFLOWMETADATA_TAGSENTRY']._serialized_end=3413 - _globals['_WORKFLOWMETADATA_ONFAILUREPOLICY']._serialized_start=3415 - _globals['_WORKFLOWMETADATA_ONFAILUREPOLICY']._serialized_end=3496 - _globals['_WORKFLOWMETADATADEFAULTS']._serialized_start=3498 - _globals['_WORKFLOWMETADATADEFAULTS']._serialized_end=3562 - _globals['_WORKFLOWTEMPLATE']._serialized_start=3565 - _globals['_WORKFLOWTEMPLATE']._serialized_end=3983 - _globals['_TASKNODEOVERRIDES']._serialized_start=3986 - _globals['_TASKNODEOVERRIDES']._serialized_end=4183 - _globals['_LAUNCHPLANTEMPLATE']._serialized_start=4186 - _globals['_LAUNCHPLANTEMPLATE']._serialized_end=4372 + _globals['_IFBLOCK']._serialized_start=379 + _globals['_IFBLOCK']._serialized_end=502 + _globals['_IFELSEBLOCK']._serialized_start=505 + _globals['_IFELSEBLOCK']._serialized_end=717 + _globals['_BRANCHNODE']._serialized_start=719 + _globals['_BRANCHNODE']._serialized_end=784 + _globals['_TASKNODE']._serialized_start=787 + _globals['_TASKNODE']._serialized_end=938 + _globals['_WORKFLOWNODE']._serialized_start=941 + _globals['_WORKFLOWNODE']._serialized_end=1107 + _globals['_APPROVECONDITION']._serialized_start=1109 + _globals['_APPROVECONDITION']._serialized_end=1156 + _globals['_SIGNALCONDITION']._serialized_start=1159 + _globals['_SIGNALCONDITION']._serialized_end=1303 + _globals['_SLEEPCONDITION']._serialized_start=1305 + _globals['_SLEEPCONDITION']._serialized_end=1376 + _globals['_GATENODE']._serialized_start=1379 + _globals['_GATENODE']._serialized_end=1576 + _globals['_ARRAYNODE']._serialized_start=1579 + _globals['_ARRAYNODE']._serialized_end=2148 + _globals['_ARRAYNODE_EXECUTIONMODE']._serialized_start=1993 + _globals['_ARRAYNODE_EXECUTIONMODE']._serialized_end=2043 + _globals['_ARRAYNODE_DATAMODE']._serialized_start=2045 + _globals['_ARRAYNODE_DATAMODE']._serialized_end=2106 + _globals['_NODEMETADATA']._serialized_start=2151 + _globals['_NODEMETADATA']._serialized_end=2658 + _globals['_ALIAS']._serialized_start=2660 + _globals['_ALIAS']._serialized_end=2707 + _globals['_NODE']._serialized_start=2710 + _globals['_NODE']._serialized_end=3253 + _globals['_WORKFLOWMETADATA']._serialized_start=3256 + _globals['_WORKFLOWMETADATA']._serialized_end=3636 + _globals['_WORKFLOWMETADATA_TAGSENTRY']._serialized_start=3498 + _globals['_WORKFLOWMETADATA_TAGSENTRY']._serialized_end=3553 + _globals['_WORKFLOWMETADATA_ONFAILUREPOLICY']._serialized_start=3555 + _globals['_WORKFLOWMETADATA_ONFAILUREPOLICY']._serialized_end=3636 + _globals['_WORKFLOWMETADATADEFAULTS']._serialized_start=3638 + _globals['_WORKFLOWMETADATADEFAULTS']._serialized_end=3702 + _globals['_WORKFLOWTEMPLATE']._serialized_start=3705 + _globals['_WORKFLOWTEMPLATE']._serialized_end=4123 + _globals['_TASKNODEOVERRIDES']._serialized_start=4126 + _globals['_TASKNODEOVERRIDES']._serialized_end=4323 + _globals['_LAUNCHPLANTEMPLATE']._serialized_start=4326 + _globals['_LAUNCHPLANTEMPLATE']._serialized_end=4512 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/core/workflow_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/core/workflow_pb2.pyi index bc93b230b3..6ff19ab6be 100644 --- a/flyteidl/gen/pb_python/flyteidl/core/workflow_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/core/workflow_pb2.pyi @@ -6,6 +6,7 @@ from flyteidl.core import literals_pb2 as _literals_pb2 from flyteidl.core import tasks_pb2 as _tasks_pb2 from flyteidl.core import types_pb2 as _types_pb2 from flyteidl.core import security_pb2 as _security_pb2 +from flyteidl.admin import common_pb2 as _common_pb2 from google.protobuf import duration_pb2 as _duration_pb2 from google.protobuf import wrappers_pb2 as _wrappers_pb2 from google.protobuf.internal import containers as _containers @@ -121,7 +122,7 @@ class ArrayNode(_message.Message): def __init__(self, node: _Optional[_Union[Node, _Mapping]] = ..., parallelism: _Optional[int] = ..., min_successes: _Optional[int] = ..., min_success_ratio: _Optional[float] = ..., execution_mode: _Optional[_Union[ArrayNode.ExecutionMode, str]] = ..., is_original_sub_node_interface: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., data_mode: _Optional[_Union[ArrayNode.DataMode, str]] = ...) -> None: ... class NodeMetadata(_message.Message): - __slots__ = ["name", "timeout", "retries", "interruptible", "cacheable", "cache_version", "cache_serializable"] + __slots__ = ["name", "timeout", "retries", "interruptible", "cacheable", "cache_version", "cache_serializable", "labels", "annotations"] NAME_FIELD_NUMBER: _ClassVar[int] TIMEOUT_FIELD_NUMBER: _ClassVar[int] RETRIES_FIELD_NUMBER: _ClassVar[int] @@ -129,6 +130,8 @@ class NodeMetadata(_message.Message): CACHEABLE_FIELD_NUMBER: _ClassVar[int] CACHE_VERSION_FIELD_NUMBER: _ClassVar[int] CACHE_SERIALIZABLE_FIELD_NUMBER: _ClassVar[int] + LABELS_FIELD_NUMBER: _ClassVar[int] + ANNOTATIONS_FIELD_NUMBER: _ClassVar[int] name: str timeout: _duration_pb2.Duration retries: _literals_pb2.RetryStrategy @@ -136,7 +139,9 @@ class NodeMetadata(_message.Message): cacheable: bool cache_version: str cache_serializable: bool - def __init__(self, name: _Optional[str] = ..., timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., retries: _Optional[_Union[_literals_pb2.RetryStrategy, _Mapping]] = ..., interruptible: bool = ..., cacheable: bool = ..., cache_version: _Optional[str] = ..., cache_serializable: bool = ...) -> None: ... + labels: _common_pb2.Labels + annotations: _common_pb2.Annotations + def __init__(self, name: _Optional[str] = ..., timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., retries: _Optional[_Union[_literals_pb2.RetryStrategy, _Mapping]] = ..., interruptible: bool = ..., cacheable: bool = ..., cache_version: _Optional[str] = ..., cache_serializable: bool = ..., labels: _Optional[_Union[_common_pb2.Labels, _Mapping]] = ..., annotations: _Optional[_Union[_common_pb2.Annotations, _Mapping]] = ...) -> None: ... class Alias(_message.Message): __slots__ = ["var", "alias"] diff --git a/flyteidl/gen/pb_rust/flyteidl.admin.rs b/flyteidl/gen/pb_rust/flyteidl.admin.rs index dd099daa67..0539e5de63 100644 --- a/flyteidl/gen/pb_rust/flyteidl.admin.rs +++ b/flyteidl/gen/pb_rust/flyteidl.admin.rs @@ -1,868 +1,868 @@ // @generated // This file is @generated by prost-build. -/// Represents a subset of runtime task execution metadata that are relevant to external plugins. -/// -/// ID of the task execution +/// Encapsulation of fields that identifies a Flyte resource. +/// A Flyte resource can be a task, workflow or launch plan. +/// A resource can internally have multiple versions and is uniquely identified +/// by project, domain, and name. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct TaskExecutionMetadata { - #[prost(message, optional, tag="1")] - pub task_execution_id: ::core::option::Option, - /// k8s namespace where the task is executed in +pub struct NamedEntityIdentifier { + /// Name of the project the resource belongs to. + #[prost(string, tag="1")] + pub project: ::prost::alloc::string::String, + /// Name of the domain the resource belongs to. + /// A domain can be considered as a subset within a specific project. #[prost(string, tag="2")] - pub namespace: ::prost::alloc::string::String, - /// Labels attached to the task execution - #[prost(map="string, string", tag="3")] - pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Annotations attached to the task execution - #[prost(map="string, string", tag="4")] - pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// k8s service account associated with the task execution - #[prost(string, tag="5")] - pub k8s_service_account: ::prost::alloc::string::String, - /// Environment variables attached to the task execution - #[prost(map="string, string", tag="6")] - pub environment_variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Represents the maximum number of attempts allowed for a task. - /// If a task fails, it can be retried up to this maximum number of attempts. - #[prost(int32, tag="7")] - pub max_attempts: i32, - /// Indicates whether the task execution can be interrupted. - /// If set to true, the task can be stopped before completion. - #[prost(bool, tag="8")] - pub interruptible: bool, - /// Specifies the threshold for failure count at which the interruptible property - /// will take effect. If the number of consecutive task failures exceeds this threshold, - /// interruptible behavior will be activated. - #[prost(int32, tag="9")] - pub interruptible_failure_threshold: i32, - /// Overrides for specific properties of the task node. - /// These overrides can be used to customize the behavior of the task node. - #[prost(message, optional, tag="10")] - pub overrides: ::core::option::Option, - /// Identity of user running this task execution - #[prost(message, optional, tag="11")] - pub identity: ::core::option::Option, -} -/// Represents a request structure to create task. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct CreateTaskRequest { - /// The inputs required to start the execution. All required inputs must be - /// included in this map. If not required and not provided, defaults apply. - /// +optional - #[prost(message, optional, tag="1")] - pub inputs: ::core::option::Option, - /// Template of the task that encapsulates all the metadata of the task. - #[prost(message, optional, tag="2")] - pub template: ::core::option::Option, - /// Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring) + pub domain: ::prost::alloc::string::String, + /// User provided value for the resource. + /// The combination of project + domain + name uniquely identifies the resource. + /// +optional - in certain contexts - like 'List API', 'Launch plans' #[prost(string, tag="3")] - pub output_prefix: ::prost::alloc::string::String, - /// subset of runtime task execution metadata. - #[prost(message, optional, tag="4")] - pub task_execution_metadata: ::core::option::Option, + pub name: ::prost::alloc::string::String, + /// Optional, org key applied to the resource. + #[prost(string, tag="4")] + pub org: ::prost::alloc::string::String, } -/// Represents a create response structure. +/// Additional metadata around a named entity. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct CreateTaskResponse { - /// ResourceMeta is created by the agent. It could be a string (jobId) or a dict (more complex metadata). - #[prost(bytes="vec", tag="1")] - pub resource_meta: ::prost::alloc::vec::Vec, +pub struct NamedEntityMetadata { + /// Common description across all versions of the entity + /// +optional + #[prost(string, tag="1")] + pub description: ::prost::alloc::string::String, + /// Shared state across all version of the entity + /// At this point in time, only workflow entities can have their state archived. + #[prost(enumeration="NamedEntityState", tag="2")] + pub state: i32, } +/// Encapsulates information common to a NamedEntity, a Flyte resource such as a task, +/// workflow or launch plan. A NamedEntity is exclusively identified by its resource type +/// and identifier. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct CreateRequestHeader { - /// Template of the task that encapsulates all the metadata of the task. - #[prost(message, optional, tag="1")] - pub template: ::core::option::Option, - /// Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring) - #[prost(string, tag="2")] - pub output_prefix: ::prost::alloc::string::String, - /// subset of runtime task execution metadata. +pub struct NamedEntity { + /// Resource type of the named entity. One of Task, Workflow or LaunchPlan. + #[prost(enumeration="super::core::ResourceType", tag="1")] + pub resource_type: i32, + #[prost(message, optional, tag="2")] + pub id: ::core::option::Option, + /// Additional metadata around a named entity. #[prost(message, optional, tag="3")] - pub task_execution_metadata: ::core::option::Option, - /// MaxDatasetSizeBytes is the maximum size of the dataset that can be generated by the task. - #[prost(int64, tag="4")] - pub max_dataset_size_bytes: i64, + pub metadata: ::core::option::Option, } +/// Specifies sort ordering in a list request. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecuteTaskSyncRequest { - #[prost(oneof="execute_task_sync_request::Part", tags="1, 2")] - pub part: ::core::option::Option, +pub struct Sort { + /// Indicates an attribute to sort the response values. + /// +required + #[prost(string, tag="1")] + pub key: ::prost::alloc::string::String, + /// Indicates the direction to apply sort key for response values. + /// +optional + #[prost(enumeration="sort::Direction", tag="2")] + pub direction: i32, } -/// Nested message and enum types in `ExecuteTaskSyncRequest`. -pub mod execute_task_sync_request { - #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Oneof)] - pub enum Part { - #[prost(message, tag="1")] - Header(super::CreateRequestHeader), - #[prost(message, tag="2")] - Inputs(super::super::core::LiteralMap), +/// Nested message and enum types in `Sort`. +pub mod sort { + #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] + #[repr(i32)] + pub enum Direction { + /// By default, fields are sorted in descending order. + Descending = 0, + Ascending = 1, + } + impl Direction { + /// String value of the enum field names used in the ProtoBuf definition. + /// + /// The values are not transformed in any way and thus are considered stable + /// (if the ProtoBuf definition does not change) and safe for programmatic use. + pub fn as_str_name(&self) -> &'static str { + match self { + Direction::Descending => "DESCENDING", + Direction::Ascending => "ASCENDING", + } + } + /// Creates an enum from field names used in the ProtoBuf definition. + pub fn from_str_name(value: &str) -> ::core::option::Option { + match value { + "DESCENDING" => Some(Self::Descending), + "ASCENDING" => Some(Self::Ascending), + _ => None, + } + } } } +/// Represents a request structure to list NamedEntityIdentifiers. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecuteTaskSyncResponseHeader { - #[prost(message, optional, tag="1")] - pub resource: ::core::option::Option, +pub struct NamedEntityIdentifierListRequest { + /// Name of the project that contains the identifiers. + /// +required + #[prost(string, tag="1")] + pub project: ::prost::alloc::string::String, + /// Name of the domain the identifiers belongs to within the project. + /// +required + #[prost(string, tag="2")] + pub domain: ::prost::alloc::string::String, + /// Indicates the number of resources to be returned. + /// +required + #[prost(uint32, tag="3")] + pub limit: u32, + /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page + /// in a query. + /// +optional + #[prost(string, tag="4")] + pub token: ::prost::alloc::string::String, + /// Specifies how listed entities should be sorted in the response. + /// +optional + #[prost(message, optional, tag="5")] + pub sort_by: ::core::option::Option, + /// Indicates a list of filters passed as string. + /// +optional + #[prost(string, tag="6")] + pub filters: ::prost::alloc::string::String, + /// Optional, org key applied to the resource. + #[prost(string, tag="7")] + pub org: ::prost::alloc::string::String, } +/// Represents a request structure to list NamedEntity objects #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ExecuteTaskSyncResponse { - /// Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). - /// Resource is for synchronous task execution. - #[prost(oneof="execute_task_sync_response::Res", tags="1, 2")] - pub res: ::core::option::Option, -} -/// Nested message and enum types in `ExecuteTaskSyncResponse`. -pub mod execute_task_sync_response { - /// Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). - /// Resource is for synchronous task execution. - #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Oneof)] - pub enum Res { - #[prost(message, tag="1")] - Header(super::ExecuteTaskSyncResponseHeader), - #[prost(message, tag="2")] - Outputs(super::super::core::LiteralMap), - } +pub struct NamedEntityListRequest { + /// Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. + /// +required + #[prost(enumeration="super::core::ResourceType", tag="1")] + pub resource_type: i32, + /// Name of the project that contains the identifiers. + /// +required + #[prost(string, tag="2")] + pub project: ::prost::alloc::string::String, + /// Name of the domain the identifiers belongs to within the project. + #[prost(string, tag="3")] + pub domain: ::prost::alloc::string::String, + /// Indicates the number of resources to be returned. + #[prost(uint32, tag="4")] + pub limit: u32, + /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page + /// in a query. + /// +optional + #[prost(string, tag="5")] + pub token: ::prost::alloc::string::String, + /// Specifies how listed entities should be sorted in the response. + /// +optional + #[prost(message, optional, tag="6")] + pub sort_by: ::core::option::Option, + /// Indicates a list of filters passed as string. + /// +optional + #[prost(string, tag="7")] + pub filters: ::prost::alloc::string::String, + /// Optional, org key applied to the resource. + #[prost(string, tag="8")] + pub org: ::prost::alloc::string::String, } -/// A message used to fetch a job resource from flyte agent server. +/// Represents a list of NamedEntityIdentifiers. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct GetTaskRequest { - /// A predefined yet extensible Task type identifier. - #[deprecated] - #[prost(string, tag="1")] - pub task_type: ::prost::alloc::string::String, - /// Metadata about the resource to be pass to the agent. - #[prost(bytes="vec", tag="2")] - pub resource_meta: ::prost::alloc::vec::Vec, - /// A predefined yet extensible Task type identifier. - #[prost(message, optional, tag="3")] - pub task_category: ::core::option::Option, +pub struct NamedEntityIdentifierList { + /// A list of identifiers. + #[prost(message, repeated, tag="1")] + pub entities: ::prost::alloc::vec::Vec, + /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page + /// in a query. If there are no more results, this value will be empty. + #[prost(string, tag="2")] + pub token: ::prost::alloc::string::String, } -/// Response to get an individual task resource. +/// Represents a list of NamedEntityIdentifiers. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct GetTaskResponse { - #[prost(message, optional, tag="1")] - pub resource: ::core::option::Option, +pub struct NamedEntityList { + /// A list of NamedEntity objects + #[prost(message, repeated, tag="1")] + pub entities: ::prost::alloc::vec::Vec, + /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page + /// in a query. If there are no more results, this value will be empty. + #[prost(string, tag="2")] + pub token: ::prost::alloc::string::String, } +/// A request to retrieve the metadata associated with a NamedEntityIdentifier #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct Resource { - /// DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI. - #[deprecated] - #[prost(enumeration="State", tag="1")] - pub state: i32, - /// The outputs of the execution. It's typically used by sql task. Agent service will create a - /// Structured dataset pointing to the query result table. - /// +optional - #[prost(message, optional, tag="2")] - pub outputs: ::core::option::Option, - /// A descriptive message for the current state. e.g. waiting for cluster. - #[prost(string, tag="3")] - pub message: ::prost::alloc::string::String, - /// log information for the task execution. - #[prost(message, repeated, tag="4")] - pub log_links: ::prost::alloc::vec::Vec, - /// The phase of the execution is used to determine the phase of the plugin's execution. - #[prost(enumeration="super::core::task_execution::Phase", tag="5")] - pub phase: i32, - /// Custom data specific to the agent. - #[prost(message, optional, tag="6")] - pub custom_info: ::core::option::Option<::prost_types::Struct>, - /// The error raised during execution - #[prost(message, optional, tag="7")] - pub agent_error: ::core::option::Option, +pub struct NamedEntityGetRequest { + /// Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. + /// +required + #[prost(enumeration="super::core::ResourceType", tag="1")] + pub resource_type: i32, + /// The identifier for the named entity for which to fetch metadata. + /// +required + #[prost(message, optional, tag="2")] + pub id: ::core::option::Option, } -/// A message used to delete a task. +/// Request to set the referenced named entity state to the configured value. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct DeleteTaskRequest { - /// A predefined yet extensible Task type identifier. - #[deprecated] - #[prost(string, tag="1")] - pub task_type: ::prost::alloc::string::String, - /// Metadata about the resource to be pass to the agent. - #[prost(bytes="vec", tag="2")] - pub resource_meta: ::prost::alloc::vec::Vec, - /// A predefined yet extensible Task type identifier. +pub struct NamedEntityUpdateRequest { + /// Resource type of the metadata to update + /// +required + #[prost(enumeration="super::core::ResourceType", tag="1")] + pub resource_type: i32, + /// Identifier of the metadata to update + /// +required + #[prost(message, optional, tag="2")] + pub id: ::core::option::Option, + /// Metadata object to set as the new value + /// +required #[prost(message, optional, tag="3")] - pub task_category: ::core::option::Option, + pub metadata: ::core::option::Option, } -/// Response to delete a task. +/// Purposefully empty, may be populated in the future. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, Copy, PartialEq, ::prost::Message)] -pub struct DeleteTaskResponse { +pub struct NamedEntityUpdateResponse { } -/// A message containing the agent metadata. +/// Shared request structure to fetch a single resource. +/// Resources include: Task, Workflow, LaunchPlan #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct Agent { - /// Name is the developer-assigned name of the agent. - #[prost(string, tag="1")] - pub name: ::prost::alloc::string::String, - /// SupportedTaskTypes are the types of the tasks that the agent can handle. - #[deprecated] - #[prost(string, repeated, tag="2")] - pub supported_task_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// IsSync indicates whether this agent is a sync agent. Sync agents are expected to return their - /// results synchronously when called by propeller. Given that sync agents can affect the performance - /// of the system, it's important to enforce strict timeout policies. - /// An Async agent, on the other hand, is required to be able to identify jobs by an - /// identifier and query for job statuses as jobs progress. - #[prost(bool, tag="3")] - pub is_sync: bool, - /// Supported_task_categories are the categories of the tasks that the agent can handle. - #[prost(message, repeated, tag="4")] - pub supported_task_categories: ::prost::alloc::vec::Vec, +pub struct ObjectGetRequest { + /// Indicates a unique version of resource. + /// +required + #[prost(message, optional, tag="1")] + pub id: ::core::option::Option, } +/// Shared request structure to retrieve a list of resources. +/// Resources include: Task, Workflow, LaunchPlan #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct TaskCategory { - /// The name of the task type. - #[prost(string, tag="1")] - pub name: ::prost::alloc::string::String, - /// The version of the task type. - #[prost(int32, tag="2")] - pub version: i32, +pub struct ResourceListRequest { + /// id represents the unique identifier of the resource. + /// +required + #[prost(message, optional, tag="1")] + pub id: ::core::option::Option, + /// Indicates the number of resources to be returned. + /// +required + #[prost(uint32, tag="2")] + pub limit: u32, + /// In the case of multiple pages of results, this server-provided token can be used to fetch the next page + /// in a query. + /// +optional + #[prost(string, tag="3")] + pub token: ::prost::alloc::string::String, + /// Indicates a list of filters passed as string. + /// More info on constructing filters : + /// +optional + #[prost(string, tag="4")] + pub filters: ::prost::alloc::string::String, + /// Sort ordering. + /// +optional + #[prost(message, optional, tag="5")] + pub sort_by: ::core::option::Option, } -/// A request to get an agent. +/// Defines an email notification specification. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct GetAgentRequest { - /// The name of the agent. - #[prost(string, tag="1")] - pub name: ::prost::alloc::string::String, +pub struct EmailNotification { + /// The list of email addresses recipients for this notification. + /// +required + #[prost(string, repeated, tag="1")] + pub recipients_email: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A response containing an agent. +/// Defines a pager duty notification specification. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct GetAgentResponse { - #[prost(message, optional, tag="1")] - pub agent: ::core::option::Option, -} -/// A request to list all agents. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, Copy, PartialEq, ::prost::Message)] -pub struct ListAgentsRequest { +pub struct PagerDutyNotification { + /// Currently, PagerDuty notifications leverage email to trigger a notification. + /// +required + #[prost(string, repeated, tag="1")] + pub recipients_email: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A response containing a list of agents. +/// Defines a slack notification specification. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ListAgentsResponse { - #[prost(message, repeated, tag="1")] - pub agents: ::prost::alloc::vec::Vec, +pub struct SlackNotification { + /// Currently, Slack notifications leverage email to trigger a notification. + /// +required + #[prost(string, repeated, tag="1")] + pub recipients_email: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A request to get the metrics from a task execution. +/// Represents a structure for notifications based on execution status. +/// The notification content is configured within flyte admin but can be templatized. +/// Future iterations could expose configuring notifications with custom content. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct GetTaskMetricsRequest { - /// A predefined yet extensible Task type identifier. - #[deprecated] - #[prost(string, tag="1")] - pub task_type: ::prost::alloc::string::String, - /// Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). - #[prost(bytes="vec", tag="2")] - pub resource_meta: ::prost::alloc::vec::Vec, - /// The metrics to query. If empty, will return a default set of metrics. - /// e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG - #[prost(string, repeated, tag="3")] - pub queries: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Start timestamp, inclusive. - #[prost(message, optional, tag="4")] - pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// End timestamp, inclusive.. - #[prost(message, optional, tag="5")] - pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Query resolution step width in duration format or float number of seconds. - #[prost(message, optional, tag="6")] - pub step: ::core::option::Option<::prost_types::Duration>, - /// A predefined yet extensible Task type identifier. - #[prost(message, optional, tag="7")] - pub task_category: ::core::option::Option, +pub struct Notification { + /// A list of phases to which users can associate the notifications to. + /// +required + #[prost(enumeration="super::core::workflow_execution::Phase", repeated, tag="1")] + pub phases: ::prost::alloc::vec::Vec, + /// The type of notification to trigger. + /// +required + #[prost(oneof="notification::Type", tags="2, 3, 4")] + pub r#type: ::core::option::Option, } -/// A response containing a list of metrics for a task execution. -#[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct GetTaskMetricsResponse { - /// The execution metric results. - #[prost(message, repeated, tag="1")] - pub results: ::prost::alloc::vec::Vec, +/// Nested message and enum types in `Notification`. +pub mod notification { + /// The type of notification to trigger. + /// +required + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum Type { + #[prost(message, tag="2")] + Email(super::EmailNotification), + #[prost(message, tag="3")] + PagerDuty(super::PagerDutyNotification), + #[prost(message, tag="4")] + Slack(super::SlackNotification), + } } -/// A request to get the log from a task execution. +/// Represents a string url and associated metadata used throughout the platform. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct GetTaskLogsRequest { - /// A predefined yet extensible Task type identifier. - #[deprecated] +pub struct UrlBlob { + /// Actual url value. #[prost(string, tag="1")] - pub task_type: ::prost::alloc::string::String, - /// Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). - #[prost(bytes="vec", tag="2")] - pub resource_meta: ::prost::alloc::vec::Vec, - /// Number of lines to return. - #[prost(uint64, tag="3")] - pub lines: u64, - /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page - /// in a query. If there are no more results, this value will be empty. - #[prost(string, tag="4")] - pub token: ::prost::alloc::string::String, - /// A predefined yet extensible Task type identifier. - #[prost(message, optional, tag="5")] - pub task_category: ::core::option::Option, + pub url: ::prost::alloc::string::String, + /// Represents the size of the file accessible at the above url. + #[prost(int64, tag="2")] + pub bytes: i64, } +/// Label values to be applied to an execution resource. +/// In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined +/// to specify how to merge labels defined at registration and execution time. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct GetTaskLogsResponseHeader { - /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page - /// in a query. If there are no more results, this value will be empty. - #[prost(string, tag="1")] - pub token: ::prost::alloc::string::String, +pub struct Labels { + /// Map of custom labels to be applied to the execution resource. + #[prost(map="string, string", tag="1")] + pub values: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } +/// Annotation values to be applied to an execution resource. +/// In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined +/// to specify how to merge annotations defined at registration and execution time. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct GetTaskLogsResponseBody { - /// The execution log results. - #[prost(string, repeated, tag="1")] - pub results: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, +pub struct Annotations { + /// Map of custom annotations to be applied to the execution resource. + #[prost(map="string, string", tag="1")] + pub values: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// A response containing the logs for a task execution. +/// Environment variable values to be applied to an execution resource. +/// In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined +/// to specify how to merge environment variables defined at registration and execution time. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct GetTaskLogsResponse { - #[prost(oneof="get_task_logs_response::Part", tags="1, 2")] - pub part: ::core::option::Option, +pub struct Envs { + /// Map of custom environment variables to be applied to the execution resource. + #[prost(message, repeated, tag="1")] + pub values: ::prost::alloc::vec::Vec, } -/// Nested message and enum types in `GetTaskLogsResponse`. -pub mod get_task_logs_response { - #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Oneof)] - pub enum Part { - #[prost(message, tag="1")] - Header(super::GetTaskLogsResponseHeader), - #[prost(message, tag="2")] - Body(super::GetTaskLogsResponseBody), - } +/// Defines permissions associated with executions created by this launch plan spec. +/// Use either of these roles when they have permissions required by your workflow execution. +/// Deprecated. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AuthRole { + /// Defines an optional iam role which will be used for tasks run in executions created with this launch plan. + #[prost(string, tag="1")] + pub assumable_iam_role: ::prost::alloc::string::String, + /// Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. + #[prost(string, tag="2")] + pub kubernetes_service_account: ::prost::alloc::string::String, } -/// Error message to propagate detailed errors from agent executions to the execution -/// engine. +/// Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). +/// See for more background information. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct AgentError { - /// A simplified code for errors, so that we can provide a glossary of all possible errors. +pub struct RawOutputDataConfig { + /// Prefix for where offloaded data from user workflows will be written + /// e.g. s3://bucket/key or s3://bucket/ #[prost(string, tag="1")] - pub code: ::prost::alloc::string::String, - /// An abstract error kind for this error. Defaults to Non_Recoverable if not specified. - #[prost(enumeration="agent_error::Kind", tag="3")] - pub kind: i32, - /// Defines the origin of the error (system, user, unknown). - #[prost(enumeration="super::core::execution_error::ErrorKind", tag="4")] - pub origin: i32, + pub output_location_prefix: ::prost::alloc::string::String, } -/// Nested message and enum types in `AgentError`. -pub mod agent_error { - /// Defines a generic error type that dictates the behavior of the retry strategy. - #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] - #[repr(i32)] - pub enum Kind { - NonRecoverable = 0, - Recoverable = 1, - } - impl Kind { - /// String value of the enum field names used in the ProtoBuf definition. - /// - /// The values are not transformed in any way and thus are considered stable - /// (if the ProtoBuf definition does not change) and safe for programmatic use. - pub fn as_str_name(&self) -> &'static str { - match self { - Kind::NonRecoverable => "NON_RECOVERABLE", - Kind::Recoverable => "RECOVERABLE", - } - } - /// Creates an enum from field names used in the ProtoBuf definition. - pub fn from_str_name(value: &str) -> ::core::option::Option { - match value { - "NON_RECOVERABLE" => Some(Self::NonRecoverable), - "RECOVERABLE" => Some(Self::Recoverable), - _ => None, - } - } - } +/// These URLs are returned as part of node and task execution data requests. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct FlyteUrLs { + #[prost(string, tag="1")] + pub inputs: ::prost::alloc::string::String, + #[prost(string, tag="2")] + pub outputs: ::prost::alloc::string::String, + #[prost(string, tag="3")] + pub deck: ::prost::alloc::string::String, } -/// The state of the execution is used to control its visibility in the UI/CLI. +/// The status of the named entity is used to control its visibility in the UI. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] -pub enum State { - RetryableFailure = 0, - PermanentFailure = 1, - Pending = 2, - Running = 3, - Succeeded = 4, +pub enum NamedEntityState { + /// By default, all named entities are considered active and under development. + NamedEntityActive = 0, + /// Archived named entities are no longer visible in the UI. + NamedEntityArchived = 1, + /// System generated entities that aren't explicitly created or managed by a user. + SystemGenerated = 2, } -impl State { +impl NamedEntityState { /// String value of the enum field names used in the ProtoBuf definition. /// /// The values are not transformed in any way and thus are considered stable /// (if the ProtoBuf definition does not change) and safe for programmatic use. pub fn as_str_name(&self) -> &'static str { match self { - State::RetryableFailure => "RETRYABLE_FAILURE", - State::PermanentFailure => "PERMANENT_FAILURE", - State::Pending => "PENDING", - State::Running => "RUNNING", - State::Succeeded => "SUCCEEDED", + NamedEntityState::NamedEntityActive => "NAMED_ENTITY_ACTIVE", + NamedEntityState::NamedEntityArchived => "NAMED_ENTITY_ARCHIVED", + NamedEntityState::SystemGenerated => "SYSTEM_GENERATED", } } /// Creates an enum from field names used in the ProtoBuf definition. pub fn from_str_name(value: &str) -> ::core::option::Option { match value { - "RETRYABLE_FAILURE" => Some(Self::RetryableFailure), - "PERMANENT_FAILURE" => Some(Self::PermanentFailure), - "PENDING" => Some(Self::Pending), - "RUNNING" => Some(Self::Running), - "SUCCEEDED" => Some(Self::Succeeded), + "NAMED_ENTITY_ACTIVE" => Some(Self::NamedEntityActive), + "NAMED_ENTITY_ARCHIVED" => Some(Self::NamedEntityArchived), + "SYSTEM_GENERATED" => Some(Self::SystemGenerated), _ => None, } } } -/// Encapsulates specifications for routing an execution onto a specific cluster. +/// Represents a subset of runtime task execution metadata that are relevant to external plugins. +/// +/// ID of the task execution #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ClusterAssignment { - #[prost(string, tag="3")] - pub cluster_pool_name: ::prost::alloc::string::String, +pub struct TaskExecutionMetadata { + #[prost(message, optional, tag="1")] + pub task_execution_id: ::core::option::Option, + /// k8s namespace where the task is executed in + #[prost(string, tag="2")] + pub namespace: ::prost::alloc::string::String, + /// Labels attached to the task execution + #[prost(map="string, string", tag="3")] + pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, + /// Annotations attached to the task execution + #[prost(map="string, string", tag="4")] + pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, + /// k8s service account associated with the task execution + #[prost(string, tag="5")] + pub k8s_service_account: ::prost::alloc::string::String, + /// Environment variables attached to the task execution + #[prost(map="string, string", tag="6")] + pub environment_variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, + /// Represents the maximum number of attempts allowed for a task. + /// If a task fails, it can be retried up to this maximum number of attempts. + #[prost(int32, tag="7")] + pub max_attempts: i32, + /// Indicates whether the task execution can be interrupted. + /// If set to true, the task can be stopped before completion. + #[prost(bool, tag="8")] + pub interruptible: bool, + /// Specifies the threshold for failure count at which the interruptible property + /// will take effect. If the number of consecutive task failures exceeds this threshold, + /// interruptible behavior will be activated. + #[prost(int32, tag="9")] + pub interruptible_failure_threshold: i32, + /// Overrides for specific properties of the task node. + /// These overrides can be used to customize the behavior of the task node. + #[prost(message, optional, tag="10")] + pub overrides: ::core::option::Option, + /// Identity of user running this task execution + #[prost(message, optional, tag="11")] + pub identity: ::core::option::Option, } -/// Encapsulation of fields that identifies a Flyte resource. -/// A Flyte resource can be a task, workflow or launch plan. -/// A resource can internally have multiple versions and is uniquely identified -/// by project, domain, and name. +/// Represents a request structure to create task. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct NamedEntityIdentifier { - /// Name of the project the resource belongs to. - #[prost(string, tag="1")] - pub project: ::prost::alloc::string::String, - /// Name of the domain the resource belongs to. - /// A domain can be considered as a subset within a specific project. - #[prost(string, tag="2")] - pub domain: ::prost::alloc::string::String, - /// User provided value for the resource. - /// The combination of project + domain + name uniquely identifies the resource. - /// +optional - in certain contexts - like 'List API', 'Launch plans' +pub struct CreateTaskRequest { + /// The inputs required to start the execution. All required inputs must be + /// included in this map. If not required and not provided, defaults apply. + /// +optional + #[prost(message, optional, tag="1")] + pub inputs: ::core::option::Option, + /// Template of the task that encapsulates all the metadata of the task. + #[prost(message, optional, tag="2")] + pub template: ::core::option::Option, + /// Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring) #[prost(string, tag="3")] - pub name: ::prost::alloc::string::String, - /// Optional, org key applied to the resource. - #[prost(string, tag="4")] - pub org: ::prost::alloc::string::String, + pub output_prefix: ::prost::alloc::string::String, + /// subset of runtime task execution metadata. + #[prost(message, optional, tag="4")] + pub task_execution_metadata: ::core::option::Option, } -/// Additional metadata around a named entity. +/// Represents a create response structure. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct NamedEntityMetadata { - /// Common description across all versions of the entity - /// +optional - #[prost(string, tag="1")] - pub description: ::prost::alloc::string::String, - /// Shared state across all version of the entity - /// At this point in time, only workflow entities can have their state archived. - #[prost(enumeration="NamedEntityState", tag="2")] - pub state: i32, +pub struct CreateTaskResponse { + /// ResourceMeta is created by the agent. It could be a string (jobId) or a dict (more complex metadata). + #[prost(bytes="vec", tag="1")] + pub resource_meta: ::prost::alloc::vec::Vec, } -/// Encapsulates information common to a NamedEntity, a Flyte resource such as a task, -/// workflow or launch plan. A NamedEntity is exclusively identified by its resource type -/// and identifier. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct NamedEntity { - /// Resource type of the named entity. One of Task, Workflow or LaunchPlan. - #[prost(enumeration="super::core::ResourceType", tag="1")] - pub resource_type: i32, - #[prost(message, optional, tag="2")] - pub id: ::core::option::Option, - /// Additional metadata around a named entity. +pub struct CreateRequestHeader { + /// Template of the task that encapsulates all the metadata of the task. + #[prost(message, optional, tag="1")] + pub template: ::core::option::Option, + /// Prefix for where task output data will be written. (e.g. s3://my-bucket/randomstring) + #[prost(string, tag="2")] + pub output_prefix: ::prost::alloc::string::String, + /// subset of runtime task execution metadata. #[prost(message, optional, tag="3")] - pub metadata: ::core::option::Option, + pub task_execution_metadata: ::core::option::Option, + /// MaxDatasetSizeBytes is the maximum size of the dataset that can be generated by the task. + #[prost(int64, tag="4")] + pub max_dataset_size_bytes: i64, } -/// Specifies sort ordering in a list request. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct Sort { - /// Indicates an attribute to sort the response values. - /// +required - #[prost(string, tag="1")] - pub key: ::prost::alloc::string::String, - /// Indicates the direction to apply sort key for response values. - /// +optional - #[prost(enumeration="sort::Direction", tag="2")] - pub direction: i32, +pub struct ExecuteTaskSyncRequest { + #[prost(oneof="execute_task_sync_request::Part", tags="1, 2")] + pub part: ::core::option::Option, } -/// Nested message and enum types in `Sort`. -pub mod sort { - #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] - #[repr(i32)] - pub enum Direction { - /// By default, fields are sorted in descending order. - Descending = 0, - Ascending = 1, - } - impl Direction { - /// String value of the enum field names used in the ProtoBuf definition. - /// - /// The values are not transformed in any way and thus are considered stable - /// (if the ProtoBuf definition does not change) and safe for programmatic use. - pub fn as_str_name(&self) -> &'static str { - match self { - Direction::Descending => "DESCENDING", - Direction::Ascending => "ASCENDING", - } - } - /// Creates an enum from field names used in the ProtoBuf definition. - pub fn from_str_name(value: &str) -> ::core::option::Option { - match value { - "DESCENDING" => Some(Self::Descending), - "ASCENDING" => Some(Self::Ascending), - _ => None, - } - } +/// Nested message and enum types in `ExecuteTaskSyncRequest`. +pub mod execute_task_sync_request { + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum Part { + #[prost(message, tag="1")] + Header(super::CreateRequestHeader), + #[prost(message, tag="2")] + Inputs(super::super::core::LiteralMap), } } -/// Represents a request structure to list NamedEntityIdentifiers. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct NamedEntityIdentifierListRequest { - /// Name of the project that contains the identifiers. - /// +required - #[prost(string, tag="1")] - pub project: ::prost::alloc::string::String, - /// Name of the domain the identifiers belongs to within the project. - /// +required - #[prost(string, tag="2")] - pub domain: ::prost::alloc::string::String, - /// Indicates the number of resources to be returned. - /// +required - #[prost(uint32, tag="3")] - pub limit: u32, - /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page - /// in a query. - /// +optional - #[prost(string, tag="4")] - pub token: ::prost::alloc::string::String, - /// Specifies how listed entities should be sorted in the response. - /// +optional - #[prost(message, optional, tag="5")] - pub sort_by: ::core::option::Option, - /// Indicates a list of filters passed as string. - /// +optional - #[prost(string, tag="6")] - pub filters: ::prost::alloc::string::String, - /// Optional, org key applied to the resource. - #[prost(string, tag="7")] - pub org: ::prost::alloc::string::String, +pub struct ExecuteTaskSyncResponseHeader { + #[prost(message, optional, tag="1")] + pub resource: ::core::option::Option, } -/// Represents a request structure to list NamedEntity objects #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct NamedEntityListRequest { - /// Resource type of the metadata to query. One of Task, Workflow or LaunchPlan. - /// +required - #[prost(enumeration="super::core::ResourceType", tag="1")] - pub resource_type: i32, - /// Name of the project that contains the identifiers. - /// +required - #[prost(string, tag="2")] - pub project: ::prost::alloc::string::String, - /// Name of the domain the identifiers belongs to within the project. - #[prost(string, tag="3")] - pub domain: ::prost::alloc::string::String, - /// Indicates the number of resources to be returned. - #[prost(uint32, tag="4")] - pub limit: u32, - /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page - /// in a query. - /// +optional - #[prost(string, tag="5")] - pub token: ::prost::alloc::string::String, - /// Specifies how listed entities should be sorted in the response. - /// +optional - #[prost(message, optional, tag="6")] - pub sort_by: ::core::option::Option, - /// Indicates a list of filters passed as string. - /// +optional - #[prost(string, tag="7")] - pub filters: ::prost::alloc::string::String, - /// Optional, org key applied to the resource. - #[prost(string, tag="8")] - pub org: ::prost::alloc::string::String, +pub struct ExecuteTaskSyncResponse { + /// Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). + /// Resource is for synchronous task execution. + #[prost(oneof="execute_task_sync_response::Res", tags="1, 2")] + pub res: ::core::option::Option, } -/// Represents a list of NamedEntityIdentifiers. +/// Nested message and enum types in `ExecuteTaskSyncResponse`. +pub mod execute_task_sync_response { + /// Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). + /// Resource is for synchronous task execution. + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum Res { + #[prost(message, tag="1")] + Header(super::ExecuteTaskSyncResponseHeader), + #[prost(message, tag="2")] + Outputs(super::super::core::LiteralMap), + } +} +/// A message used to fetch a job resource from flyte agent server. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct NamedEntityIdentifierList { - /// A list of identifiers. - #[prost(message, repeated, tag="1")] - pub entities: ::prost::alloc::vec::Vec, - /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page - /// in a query. If there are no more results, this value will be empty. - #[prost(string, tag="2")] - pub token: ::prost::alloc::string::String, +pub struct GetTaskRequest { + /// A predefined yet extensible Task type identifier. + #[deprecated] + #[prost(string, tag="1")] + pub task_type: ::prost::alloc::string::String, + /// Metadata about the resource to be pass to the agent. + #[prost(bytes="vec", tag="2")] + pub resource_meta: ::prost::alloc::vec::Vec, + /// A predefined yet extensible Task type identifier. + #[prost(message, optional, tag="3")] + pub task_category: ::core::option::Option, } -/// Represents a list of NamedEntityIdentifiers. +/// Response to get an individual task resource. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct NamedEntityList { - /// A list of NamedEntity objects - #[prost(message, repeated, tag="1")] - pub entities: ::prost::alloc::vec::Vec, - /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page - /// in a query. If there are no more results, this value will be empty. - #[prost(string, tag="2")] - pub token: ::prost::alloc::string::String, +pub struct GetTaskResponse { + #[prost(message, optional, tag="1")] + pub resource: ::core::option::Option, } -/// A request to retrieve the metadata associated with a NamedEntityIdentifier #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct NamedEntityGetRequest { - /// Resource type of the metadata to get. One of Task, Workflow or LaunchPlan. - /// +required - #[prost(enumeration="super::core::ResourceType", tag="1")] - pub resource_type: i32, - /// The identifier for the named entity for which to fetch metadata. - /// +required +pub struct Resource { + /// DEPRECATED. The state of the execution is used to control its visibility in the UI/CLI. + #[deprecated] + #[prost(enumeration="State", tag="1")] + pub state: i32, + /// The outputs of the execution. It's typically used by sql task. Agent service will create a + /// Structured dataset pointing to the query result table. + /// +optional #[prost(message, optional, tag="2")] - pub id: ::core::option::Option, + pub outputs: ::core::option::Option, + /// A descriptive message for the current state. e.g. waiting for cluster. + #[prost(string, tag="3")] + pub message: ::prost::alloc::string::String, + /// log information for the task execution. + #[prost(message, repeated, tag="4")] + pub log_links: ::prost::alloc::vec::Vec, + /// The phase of the execution is used to determine the phase of the plugin's execution. + #[prost(enumeration="super::core::task_execution::Phase", tag="5")] + pub phase: i32, + /// Custom data specific to the agent. + #[prost(message, optional, tag="6")] + pub custom_info: ::core::option::Option<::prost_types::Struct>, + /// The error raised during execution + #[prost(message, optional, tag="7")] + pub agent_error: ::core::option::Option, } -/// Request to set the referenced named entity state to the configured value. +/// A message used to delete a task. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct NamedEntityUpdateRequest { - /// Resource type of the metadata to update - /// +required - #[prost(enumeration="super::core::ResourceType", tag="1")] - pub resource_type: i32, - /// Identifier of the metadata to update - /// +required - #[prost(message, optional, tag="2")] - pub id: ::core::option::Option, - /// Metadata object to set as the new value - /// +required +pub struct DeleteTaskRequest { + /// A predefined yet extensible Task type identifier. + #[deprecated] + #[prost(string, tag="1")] + pub task_type: ::prost::alloc::string::String, + /// Metadata about the resource to be pass to the agent. + #[prost(bytes="vec", tag="2")] + pub resource_meta: ::prost::alloc::vec::Vec, + /// A predefined yet extensible Task type identifier. #[prost(message, optional, tag="3")] - pub metadata: ::core::option::Option, + pub task_category: ::core::option::Option, } -/// Purposefully empty, may be populated in the future. +/// Response to delete a task. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, Copy, PartialEq, ::prost::Message)] -pub struct NamedEntityUpdateResponse { +pub struct DeleteTaskResponse { } -/// Shared request structure to fetch a single resource. -/// Resources include: Task, Workflow, LaunchPlan +/// A message containing the agent metadata. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ObjectGetRequest { - /// Indicates a unique version of resource. - /// +required - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, +pub struct Agent { + /// Name is the developer-assigned name of the agent. + #[prost(string, tag="1")] + pub name: ::prost::alloc::string::String, + /// SupportedTaskTypes are the types of the tasks that the agent can handle. + #[deprecated] + #[prost(string, repeated, tag="2")] + pub supported_task_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, + /// IsSync indicates whether this agent is a sync agent. Sync agents are expected to return their + /// results synchronously when called by propeller. Given that sync agents can affect the performance + /// of the system, it's important to enforce strict timeout policies. + /// An Async agent, on the other hand, is required to be able to identify jobs by an + /// identifier and query for job statuses as jobs progress. + #[prost(bool, tag="3")] + pub is_sync: bool, + /// Supported_task_categories are the categories of the tasks that the agent can handle. + #[prost(message, repeated, tag="4")] + pub supported_task_categories: ::prost::alloc::vec::Vec, } -/// Shared request structure to retrieve a list of resources. -/// Resources include: Task, Workflow, LaunchPlan #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct ResourceListRequest { - /// id represents the unique identifier of the resource. - /// +required - #[prost(message, optional, tag="1")] - pub id: ::core::option::Option, - /// Indicates the number of resources to be returned. - /// +required - #[prost(uint32, tag="2")] - pub limit: u32, - /// In the case of multiple pages of results, this server-provided token can be used to fetch the next page - /// in a query. - /// +optional - #[prost(string, tag="3")] - pub token: ::prost::alloc::string::String, - /// Indicates a list of filters passed as string. - /// More info on constructing filters : - /// +optional - #[prost(string, tag="4")] - pub filters: ::prost::alloc::string::String, - /// Sort ordering. - /// +optional - #[prost(message, optional, tag="5")] - pub sort_by: ::core::option::Option, +pub struct TaskCategory { + /// The name of the task type. + #[prost(string, tag="1")] + pub name: ::prost::alloc::string::String, + /// The version of the task type. + #[prost(int32, tag="2")] + pub version: i32, } -/// Defines an email notification specification. +/// A request to get an agent. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct EmailNotification { - /// The list of email addresses recipients for this notification. - /// +required - #[prost(string, repeated, tag="1")] - pub recipients_email: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, +pub struct GetAgentRequest { + /// The name of the agent. + #[prost(string, tag="1")] + pub name: ::prost::alloc::string::String, } -/// Defines a pager duty notification specification. +/// A response containing an agent. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct PagerDutyNotification { - /// Currently, PagerDuty notifications leverage email to trigger a notification. - /// +required - #[prost(string, repeated, tag="1")] - pub recipients_email: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, +pub struct GetAgentResponse { + #[prost(message, optional, tag="1")] + pub agent: ::core::option::Option, } -/// Defines a slack notification specification. +/// A request to list all agents. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] -pub struct SlackNotification { - /// Currently, Slack notifications leverage email to trigger a notification. - /// +required - #[prost(string, repeated, tag="1")] - pub recipients_email: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct ListAgentsRequest { } -/// Represents a structure for notifications based on execution status. -/// The notification content is configured within flyte admin but can be templatized. -/// Future iterations could expose configuring notifications with custom content. +/// A response containing a list of agents. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct Notification { - /// A list of phases to which users can associate the notifications to. - /// +required - #[prost(enumeration="super::core::workflow_execution::Phase", repeated, tag="1")] - pub phases: ::prost::alloc::vec::Vec, - /// The type of notification to trigger. - /// +required - #[prost(oneof="notification::Type", tags="2, 3, 4")] - pub r#type: ::core::option::Option, -} -/// Nested message and enum types in `Notification`. -pub mod notification { - /// The type of notification to trigger. - /// +required - #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Oneof)] - pub enum Type { - #[prost(message, tag="2")] - Email(super::EmailNotification), - #[prost(message, tag="3")] - PagerDuty(super::PagerDutyNotification), - #[prost(message, tag="4")] - Slack(super::SlackNotification), - } +pub struct ListAgentsResponse { + #[prost(message, repeated, tag="1")] + pub agents: ::prost::alloc::vec::Vec, } -/// Represents a string url and associated metadata used throughout the platform. +/// A request to get the metrics from a task execution. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct UrlBlob { - /// Actual url value. +pub struct GetTaskMetricsRequest { + /// A predefined yet extensible Task type identifier. + #[deprecated] #[prost(string, tag="1")] - pub url: ::prost::alloc::string::String, - /// Represents the size of the file accessible at the above url. - #[prost(int64, tag="2")] - pub bytes: i64, + pub task_type: ::prost::alloc::string::String, + /// Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). + #[prost(bytes="vec", tag="2")] + pub resource_meta: ::prost::alloc::vec::Vec, + /// The metrics to query. If empty, will return a default set of metrics. + /// e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG + #[prost(string, repeated, tag="3")] + pub queries: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, + /// Start timestamp, inclusive. + #[prost(message, optional, tag="4")] + pub start_time: ::core::option::Option<::prost_types::Timestamp>, + /// End timestamp, inclusive.. + #[prost(message, optional, tag="5")] + pub end_time: ::core::option::Option<::prost_types::Timestamp>, + /// Query resolution step width in duration format or float number of seconds. + #[prost(message, optional, tag="6")] + pub step: ::core::option::Option<::prost_types::Duration>, + /// A predefined yet extensible Task type identifier. + #[prost(message, optional, tag="7")] + pub task_category: ::core::option::Option, } -/// Label values to be applied to an execution resource. -/// In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined -/// to specify how to merge labels defined at registration and execution time. +/// A response containing a list of metrics for a task execution. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct Labels { - /// Map of custom labels to be applied to the execution resource. - #[prost(map="string, string", tag="1")] - pub values: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, +pub struct GetTaskMetricsResponse { + /// The execution metric results. + #[prost(message, repeated, tag="1")] + pub results: ::prost::alloc::vec::Vec, } -/// Annotation values to be applied to an execution resource. -/// In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined -/// to specify how to merge annotations defined at registration and execution time. +/// A request to get the log from a task execution. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct Annotations { - /// Map of custom annotations to be applied to the execution resource. - #[prost(map="string, string", tag="1")] - pub values: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, +pub struct GetTaskLogsRequest { + /// A predefined yet extensible Task type identifier. + #[deprecated] + #[prost(string, tag="1")] + pub task_type: ::prost::alloc::string::String, + /// Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata). + #[prost(bytes="vec", tag="2")] + pub resource_meta: ::prost::alloc::vec::Vec, + /// Number of lines to return. + #[prost(uint64, tag="3")] + pub lines: u64, + /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page + /// in a query. If there are no more results, this value will be empty. + #[prost(string, tag="4")] + pub token: ::prost::alloc::string::String, + /// A predefined yet extensible Task type identifier. + #[prost(message, optional, tag="5")] + pub task_category: ::core::option::Option, } -/// Environment variable values to be applied to an execution resource. -/// In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined -/// to specify how to merge environment variables defined at registration and execution time. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct Envs { - /// Map of custom environment variables to be applied to the execution resource. - #[prost(message, repeated, tag="1")] - pub values: ::prost::alloc::vec::Vec, +pub struct GetTaskLogsResponseHeader { + /// In the case of multiple pages of results, the server-provided token can be used to fetch the next page + /// in a query. If there are no more results, this value will be empty. + #[prost(string, tag="1")] + pub token: ::prost::alloc::string::String, } -/// Defines permissions associated with executions created by this launch plan spec. -/// Use either of these roles when they have permissions required by your workflow execution. -/// Deprecated. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct AuthRole { - /// Defines an optional iam role which will be used for tasks run in executions created with this launch plan. - #[prost(string, tag="1")] - pub assumable_iam_role: ::prost::alloc::string::String, - /// Defines an optional kubernetes service account which will be used for tasks run in executions created with this launch plan. - #[prost(string, tag="2")] - pub kubernetes_service_account: ::prost::alloc::string::String, +pub struct GetTaskLogsResponseBody { + /// The execution log results. + #[prost(string, repeated, tag="1")] + pub results: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.). -/// See for more background information. +/// A response containing the logs for a task execution. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct RawOutputDataConfig { - /// Prefix for where offloaded data from user workflows will be written - /// e.g. s3://bucket/key or s3://bucket/ - #[prost(string, tag="1")] - pub output_location_prefix: ::prost::alloc::string::String, +pub struct GetTaskLogsResponse { + #[prost(oneof="get_task_logs_response::Part", tags="1, 2")] + pub part: ::core::option::Option, } -/// These URLs are returned as part of node and task execution data requests. +/// Nested message and enum types in `GetTaskLogsResponse`. +pub mod get_task_logs_response { + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum Part { + #[prost(message, tag="1")] + Header(super::GetTaskLogsResponseHeader), + #[prost(message, tag="2")] + Body(super::GetTaskLogsResponseBody), + } +} +/// Error message to propagate detailed errors from agent executions to the execution +/// engine. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct FlyteUrLs { +pub struct AgentError { + /// A simplified code for errors, so that we can provide a glossary of all possible errors. #[prost(string, tag="1")] - pub inputs: ::prost::alloc::string::String, - #[prost(string, tag="2")] - pub outputs: ::prost::alloc::string::String, - #[prost(string, tag="3")] - pub deck: ::prost::alloc::string::String, + pub code: ::prost::alloc::string::String, + /// An abstract error kind for this error. Defaults to Non_Recoverable if not specified. + #[prost(enumeration="agent_error::Kind", tag="3")] + pub kind: i32, + /// Defines the origin of the error (system, user, unknown). + #[prost(enumeration="super::core::execution_error::ErrorKind", tag="4")] + pub origin: i32, } -/// The status of the named entity is used to control its visibility in the UI. +/// Nested message and enum types in `AgentError`. +pub mod agent_error { + /// Defines a generic error type that dictates the behavior of the retry strategy. + #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] + #[repr(i32)] + pub enum Kind { + NonRecoverable = 0, + Recoverable = 1, + } + impl Kind { + /// String value of the enum field names used in the ProtoBuf definition. + /// + /// The values are not transformed in any way and thus are considered stable + /// (if the ProtoBuf definition does not change) and safe for programmatic use. + pub fn as_str_name(&self) -> &'static str { + match self { + Kind::NonRecoverable => "NON_RECOVERABLE", + Kind::Recoverable => "RECOVERABLE", + } + } + /// Creates an enum from field names used in the ProtoBuf definition. + pub fn from_str_name(value: &str) -> ::core::option::Option { + match value { + "NON_RECOVERABLE" => Some(Self::NonRecoverable), + "RECOVERABLE" => Some(Self::Recoverable), + _ => None, + } + } + } +} +/// The state of the execution is used to control its visibility in the UI/CLI. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] -pub enum NamedEntityState { - /// By default, all named entities are considered active and under development. - NamedEntityActive = 0, - /// Archived named entities are no longer visible in the UI. - NamedEntityArchived = 1, - /// System generated entities that aren't explicitly created or managed by a user. - SystemGenerated = 2, +pub enum State { + RetryableFailure = 0, + PermanentFailure = 1, + Pending = 2, + Running = 3, + Succeeded = 4, } -impl NamedEntityState { +impl State { /// String value of the enum field names used in the ProtoBuf definition. /// /// The values are not transformed in any way and thus are considered stable /// (if the ProtoBuf definition does not change) and safe for programmatic use. pub fn as_str_name(&self) -> &'static str { match self { - NamedEntityState::NamedEntityActive => "NAMED_ENTITY_ACTIVE", - NamedEntityState::NamedEntityArchived => "NAMED_ENTITY_ARCHIVED", - NamedEntityState::SystemGenerated => "SYSTEM_GENERATED", + State::RetryableFailure => "RETRYABLE_FAILURE", + State::PermanentFailure => "PERMANENT_FAILURE", + State::Pending => "PENDING", + State::Running => "RUNNING", + State::Succeeded => "SUCCEEDED", } } /// Creates an enum from field names used in the ProtoBuf definition. pub fn from_str_name(value: &str) -> ::core::option::Option { match value { - "NAMED_ENTITY_ACTIVE" => Some(Self::NamedEntityActive), - "NAMED_ENTITY_ARCHIVED" => Some(Self::NamedEntityArchived), - "SYSTEM_GENERATED" => Some(Self::SystemGenerated), + "RETRYABLE_FAILURE" => Some(Self::RetryableFailure), + "PERMANENT_FAILURE" => Some(Self::PermanentFailure), + "PENDING" => Some(Self::Pending), + "RUNNING" => Some(Self::Running), + "SUCCEEDED" => Some(Self::Succeeded), _ => None, } } } +/// Encapsulates specifications for routing an execution onto a specific cluster. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ClusterAssignment { + #[prost(string, tag="3")] + pub cluster_pool_name: ::prost::alloc::string::String, +} /// DescriptionEntity contains detailed description for the task/workflow. /// Documentation could provide insight into the algorithms, business use case, etc. #[allow(clippy::derive_partial_eq_without_eq)] diff --git a/flyteidl/gen/pb_rust/flyteidl.core.rs b/flyteidl/gen/pb_rust/flyteidl.core.rs index 62ad0b1602..d484c57554 100644 --- a/flyteidl/gen/pb_rust/flyteidl.core.rs +++ b/flyteidl/gen/pb_rust/flyteidl.core.rs @@ -2555,6 +2555,10 @@ pub struct NodeMetadata { /// Number of retries per task. #[prost(message, optional, tag="5")] pub retries: ::core::option::Option, + #[prost(message, optional, tag="10")] + pub labels: ::core::option::Option, + #[prost(message, optional, tag="11")] + pub annotations: ::core::option::Option, /// Identify whether node is interruptible #[prost(oneof="node_metadata::InterruptibleValue", tags="6")] pub interruptible_value: ::core::option::Option,